/*
Theme Name: Herydes Conecta
Author: Herydes
Description: Informática, software, audiovisuales e impresión. Diseño luminoso con imágenes fotorrealistas, editor nativo y formulario integrado.
Version: 1.2.0
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: herydes
*/
:root {
  --ink: var(--wp--preset--color--ink, #152044);
  --paper: var(--wp--preset--color--paper, #fff);
  --accent: var(--wp--preset--color--accent, #3856f6);
  --violet: var(--wp--preset--color--violet, #8247ed);
  --cyan: var(--wp--preset--color--cyan, #08bddd);
  --muted: #59627c;
  --line: #e3e7f5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 115px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Segoe UI", Arial, Helvetica, sans-serif; font-size: 17px; line-height: 1.7; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.045em; font-weight: 700; }
h1 { font-size: clamp(44px, 4.6vw, 70px); }
h2 { font-size: clamp(34px, 3.8vw, 54px); }
h3 { font-size: 25px; letter-spacing: -.035em; }
em { font-style: normal; color: var(--accent); }
p { margin: 0 0 20px; }
img { display: block; max-width: 100%; height: auto; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.container { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
body .is-layout-constrained > .container { max-width: 1280px; }
.site-header { background: #ffffffed; border-bottom: 1px solid #e9ecfa; backdrop-filter: blur(18px); }
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { font-size: 34px; font-weight: 800; letter-spacing: -2px; margin: 0; }
.brand a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-symbol { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; padding-right: 3px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--violet)); font-size: 31px; letter-spacing: -3px; box-shadow: 0 5px 18px #3856f62b; }
.brand-dot { color: #a7c6ff; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 600; }
.main-nav a:not(.nav-contact):hover { color: var(--accent); }
.nav-contact { background: var(--accent); color: #fff; border-radius: 100px; padding: 12px 22px; box-shadow: 0 6px 20px #3856f625; }
.nav-contact span { margin-left: 15px; }
.hero { padding: 74px 0 82px; background: radial-gradient(ellipse at 95% 8%, #e5dcff 0, transparent 48%), radial-gradient(ellipse at 2% 90%, #dff4ff 0, transparent 45%), #f7f9ff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 54px; }
.eyebrow { font-size: 10px; letter-spacing: .13em; font-weight: 700; color: var(--accent); margin-bottom: 24px; }
.hero-copy > .eyebrow { display: inline-block; border: 1px solid #d9dfff; border-radius: 100px; background: #ffffffb8; padding: 8px 12px; font-size: 9px; letter-spacing: .1em; }
.hero h1 { margin-bottom: 28px; }
.hero h1 em, .printing h2 em { color: var(--accent); background: linear-gradient(110deg, var(--accent), var(--violet)); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { font-size: 16px; color: var(--muted); max-width: 490px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 32px; }
.hero-actions p { margin: 0; font-size: 12px; font-weight: 600; }
.wp-block-buttons { display: flex; }
.wp-block-button__link, button { display: inline-flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 23px; border: 0; border-radius: 100px; background: var(--accent); color: #fff; font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1.5; cursor: pointer; box-shadow: 0 7px 20px #3856f627; transition: transform .2s, box-shadow .2s; text-decoration: none; }
.wp-block-button__link:hover, button:hover { transform: translateY(-2px); box-shadow: 0 10px 26px #3856f63d; text-decoration: none; }
.is-style-outline .wp-block-button__link { color: inherit; background: transparent; border: 1px solid currentColor; box-shadow: none; }
.hero-collage { position: relative; min-width: 0; }
.hero-photo { overflow: hidden; border-radius: 28px; border: 7px solid #ffffffb5; box-shadow: 0 24px 70px #4054a126; }
.hero-photo img { width: 100%; height: 450px; object-fit: cover; object-position: 50% 50%; }
.photo-caption { position: absolute; top: 25px; left: 25px; max-width: calc(100% - 50px); border: 1px solid #fff; border-radius: 15px; background: #ffffffee; backdrop-filter: blur(12px); padding: 12px 17px; box-shadow: 0 8px 24px #15204412; }
.photo-title { font-size: 15px; font-weight: 700; margin-bottom: 1px; letter-spacing: -.025em; }
.photo-subtitle { font-size: 8px; color: var(--muted); margin: 0; }
.hero-thumbnails { width: 83%; margin: -38px 16px 0 auto; position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.hero-mini { border: 6px solid #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 12px 35px #15204426; }
.hero-mini img { width: 100%; height: 142px; object-fit: cover; }
.section-space { padding: 96px 0; }
.section-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 75px; align-items: end; margin-bottom: 44px; }
.section-intro { font-size: 16px; color: var(--muted); max-width: 450px; margin: 0; }
.technology { background: #fff; }
.solutions-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.solution { overflow: hidden; position: relative; padding: 0 21px 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 8px 30px #283b6510; transition: transform .22s, box-shadow .22s; }
.solution:hover { transform: translateY(-6px); box-shadow: 0 18px 40px #283b6520; }
.solution-photo { margin: 0 -21px 24px; overflow: hidden; }
.solution-photo img { width: 100%; height: 172px; object-fit: cover; }
.software-photo img { object-position: 83% 65%; transform: scale(1.42); }
.solution-number { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: #edf0ff; color: var(--accent); border-radius: 9px; font-size: 10px; font-weight: 700; margin-bottom: 19px; }
.solution:nth-child(2) .solution-number { background: #f2eaff; color: #7537c8; }
.solution:nth-child(3) .solution-number { background: #e0f8fd; color: #006d85; }
.solution:nth-child(4) .solution-number { background: #fff0e7; color: #ad4912; }
.solution h3 { min-height: 54px; margin-bottom: 17px; font-size: 24px; }
.solution > p:not(.solution-number):not(.text-link) { font-size: 13px; color: var(--muted); min-height: 88px; }
.text-link { font-size: 11px; color: var(--accent); font-weight: 700; margin: 24px 0 0; }
.text-link a { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.business { background: linear-gradient(140deg, #f1f6ff, #f6f1ff 75%, #fff5fa); }
.business-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.business-column { background: #ffffffed; border: 1px solid #fff; border-radius: 24px; padding: 39px; box-shadow: 0 12px 40px #3f51a00b; }
.business-column h2 { margin-bottom: 24px; font-size: clamp(34px, 3.1vw, 46px); }
.business-column > p:not(.eyebrow) { font-size: 15px; color: var(--muted); max-width: 490px; }
.business-column:nth-child(2) .eyebrow { color: #7537c8; }
.business-column:nth-child(2) .wp-block-button__link { background: var(--violet); box-shadow: 0 7px 20px #8247ed27; }
.offering-details { margin: 27px 0; }
.offering-details h3 { font-size: 20px; margin-bottom: 8px; }
.offering-details p { font-size: 14px; color: var(--muted); margin-bottom: 22px; max-width: 470px; }
.feature { color: #fff; background: linear-gradient(125deg, #3452e6, #6043df 60%, #8247ed); }
.feature-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 65px; align-items: center; }
.feature .eyebrow { color: #d7f3ff; }
.feature h2 { margin-bottom: 25px; }
.feature-copy > p:not(.eyebrow), .feature .offering-details p { color: #eef1ff; font-size: 15px; }
.feature .offering-details h3 { font-size: 21px; }
.feature .wp-block-buttons { margin-top: 32px; }
.feature .is-style-outline .wp-block-button__link { color: var(--accent); background: #fff; border-color: #fff; }
.av-photo { overflow: hidden; border-radius: 25px; border: 7px solid #ffffff26; box-shadow: 0 20px 70px #1b1c7d45; transform: rotate(1deg); }
.av-photo img { width: 100%; height: 470px; object-fit: cover; object-position: 60% center; }
.printing { background: linear-gradient(115deg, #edfcff, #eaf4ff 65%, #eff0ff); }
.printing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; align-items: center; }
.printing-copy h2 { margin-bottom: 26px; }
.printing-copy > p:not(.eyebrow) { font-size: 16px; color: var(--muted); max-width: 465px; }
.printing-copy .wp-block-buttons { margin-top: 32px; }
.printing-panel { overflow: hidden; background: #fff; padding: 0 28px 28px; border: 1px solid #fff; border-radius: 24px; box-shadow: 0 15px 50px #335a8614; }
.printing-photo { margin: 0 -28px 28px; }
.printing-photo img { width: 100%; height: 270px; object-fit: cover; object-position: 50% 52%; }
.printing-panel > .eyebrow { font-size: 10px; margin-bottom: 5px; }
.printing-step { display: flex; gap: 17px; align-items: flex-start; padding-top: 21px; margin-top: 21px; border-top: 1px solid var(--line); }
.printing-step .process-number { flex-shrink: 0; margin: 0; }
.printing-step h3 { font-size: 21px; margin-bottom: 9px; }
.printing-step-copy p { font-size: 13px; color: var(--muted); margin: 0; }
.services { background: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.process-step { padding: 27px 23px; border-radius: 20px; background: #f5f7ff; border: 1px solid #e8ecff; }
.process-number { display: flex; align-items: center; justify-content: center; width: 39px; height: 39px; font-size: 11px; font-weight: 700; background: #e8eeff; color: var(--accent); border-radius: 12px; margin-bottom: 28px; }
.process-step h3 { font-size: 23px; margin-bottom: 17px; }
.process-step > p:last-child { font-size: 13px; color: var(--muted); margin-bottom: 0; }
.about { background: #f5efff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 95px; }
.about-lead { font-size: 23px; font-weight: 600; letter-spacing: -.025em; }
.about-copy > p:not(.about-lead):not(.address-label) { font-size: 16px; color: var(--muted); max-width: 470px; }
.address-label { font-size: 10px; letter-spacing: .1em; margin: 30px 0 0; color: #664298; }
.contact { background: radial-gradient(ellipse at 0 10%, #e9f0ff, transparent 55%), #fbfcff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact h2 { font-size: clamp(39px, 4.3vw, 62px); margin-bottom: 25px; }
.contact-copy > p:not(.eyebrow) { font-size: 15px; color: var(--muted); max-width: 350px; }
.contact-address { font-size: 14px; margin-top: 32px; }
.contact-address a { display: block; color: var(--accent); }
.contact-form-wrap { padding: 34px; background: #fff; border: 1px solid #e6eaf6; border-radius: 24px; box-shadow: 0 20px 60px #44539312; }
.form-intro { font-size: 24px; font-weight: 600; letter-spacing: -.03em; margin-bottom: 25px; }
.herydes-form label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 20px; }
.herydes-form input:not([type=checkbox]), .herydes-form textarea, .herydes-form select { display: block; width: 100%; margin-top: 7px; border: 1px solid #dce2f2; border-radius: 10px; background: #f9faff; color: var(--ink); padding: 13px; font-family: inherit; font-size: 13px; line-height: 1.5; }
.herydes-form textarea { resize: vertical; min-height: 110px; }
.herydes-form .consent { display: flex; gap: 9px; font-size: 11px; line-height: 1.6; font-weight: 400; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--accent); }
.consent a { text-decoration: underline; }
.herydes-form button { width: 100%; font-size: 14px; }
.form-note { font-size: 10px; color: var(--muted); margin: 14px 0 0; }
.herydes-notice { padding: 15px; margin-bottom: 22px; border: 1px solid #9dcbbc; background: #f0fff9; border-radius: 10px; font-size: 13px; }
.herydes-error { border-color: #e9afa4; background: #fff5f3; }
.herydes-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.site-footer { background: #172147; color: #fff; padding: 35px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-inner p { margin: 0; font-size: 11px; color: #d5dffb; }
.footer-inner .footer-brand { font-size: 30px; font-weight: 800; letter-spacing: -1.8px; color: #fff; }
.footer-tagline { flex: 1; padding-left: 30px; }
.page-content { padding-block: 70px; min-height: 60vh; }
.page-content h1 { margin-bottom: 35px; }
.page-content p { margin-bottom: 20px; }
.page-content .wp-block-post-title { font-size: 42px; }
.wp-block-post-content a { color: var(--accent); text-decoration: underline; }
.wp-block-query-pagination { display: flex; gap: 20px; margin-top: 30px; }
.skip-link { position: absolute; left: -10000px; top: 15px; z-index: 99999; padding: 12px; background: #fff; color: var(--accent); }
.skip-link:focus { left: 15px; }
@media (min-width: 1600px) { .hero { padding-top: 90px; padding-bottom: 100px; } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 56px); }
  .header-inner { min-height: 90px; }
  .main-nav { gap: 19px; font-size: 12px; }
  .hero-grid { gap: 30px; }
  .hero-photo img { height: 420px; }
  .hero-mini img { height: 115px; }
  .section-heading { gap: 40px; }
  .solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .solution { padding-inline: 16px; }
  .solution-photo { margin-inline: -16px; }
  .solution h3 { font-size: 22px; }
  .solution-photo img { height: 210px; }
  .solution > p:not(.solution-number):not(.text-link) { min-height: 66px; }
  .text-link { font-size: 10px; }
  .business-column { padding: 29px; }
  .feature-grid, .printing-grid, .contact-grid, .about-grid { gap: 40px; }
  .av-photo img { height: 440px; }
  .contact-form-wrap { padding: 27px; }
  .process-grid { gap: 17px; }
  .process-step { padding: 22px 18px; }
}
@media(max-width:760px) {
  html { scroll-padding-top: 25px; }
  .container { width: calc(100% - 40px); }
  .header-inner { flex-wrap: wrap; justify-content: center; padding: 18px 0; gap: 17px; }
  .brand { font-size: 30px; }
  .brand-symbol { width: 39px; height: 39px; font-size: 27px; border-radius: 12px; }
  .main-nav { flex-wrap: wrap; justify-content: center; gap: 15px; font-size: 11px; }
  .nav-contact { padding: 9px 14px; }
  .nav-contact span { margin-left: 9px; }
  .hero { padding: 40px 0 54px; }
  .hero-grid, .section-heading, .business-grid, .feature-grid, .printing-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  h1 { font-size: clamp(44px, 8vw, 62px); }
  .hero-description { max-width: 550px; }
  .hero-actions { gap: 18px; margin-top: 27px; }
  .hero-copy > .eyebrow { font-size: 8px; }
  .hero-photo img { height: 410px; }
  .hero-mini img { height: 135px; }
  .hero-thumbnails { margin-top: -40px; }
  .section-space { padding: 61px 0; }
  .eyebrow { margin-bottom: 20px; }
  .section-heading { margin-bottom: 32px; gap: 24px; }
  .solutions-grid, .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  .solution { padding-inline: 18px; }
  .solution-photo { margin-inline: -18px; }
  .solution-photo img { height: 185px; }
  .solution > p:not(.solution-number):not(.text-link) { min-height: 88px; }
  .solution h3 { min-height: 50px; }
  .text-link { font-size: 11px; }
  .business-column { padding: 30px; }
  .av-photo { transform: none; }
  .av-photo img { height: 360px; }
  .printing-photo img { height: 290px; }
  .printing-panel { padding-inline: 24px; }
  .printing-photo { margin-inline: -24px; }
  .about-grid { gap: 25px; }
  .contact h2 { font-size: 45px; }
  .footer-inner { flex-wrap: wrap; align-items: flex-start; gap: 15px; }
  .footer-tagline { padding-left: 0; padding-top: 12px; min-width: 200px; }
  .footer-inner p:last-child { flex-basis: 100%; }
}
@media (max-width: 440px) {
  .container { width: calc(100% - 32px); }
  .main-nav { gap: 12px; font-size: 10px; }
  .hero-photo img { height: 330px; }
  .hero-mini img { height: 100px; }
  .hero-thumbnails { width: 87%; margin-right: 5px; margin-top: -25px; gap: 10px; }
  .photo-caption { top: 17px; left: 17px; max-width: calc(100% - 34px); padding: 10px 12px; }
  .photo-title { font-size: 13px; }
  .photo-subtitle { font-size: 7px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-photo img { height: 215px; }
  .solution h3, .solution > p:not(.solution-number):not(.text-link) { min-height: 0; }
  .text-link { font-size: 12px; }
  .business-column { padding: 25px; }
  .business-column h2 { font-size: 34px; }
  .av-photo img { height: 300px; }
  .printing-photo img { height: 240px; }
  .printing-step { gap: 13px; }
  .printing-step h3 { font-size: 20px; }
  .process-grid { gap: 13px; }
  .process-step { padding: 20px 16px; }
  .process-step h3 { font-size: 20px; }
  .process-step > p:last-child { font-size: 12px; }
  .contact-form-wrap { padding: 23px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
