:root {
  color-scheme: light;
  --navy: #0f2044;
  --navy-deep: #091630;
  --teal: #02bda7;
  --teal-bright: #24d9c2;
  --ink-soft: #5f6c83;
  --paper: #fff;
  --wash: #f5f7fa;
  --line: rgba(15, 32, 68, .1);
  --content: 1160px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--navy); background: var(--paper); line-height: 1.65; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--navy); background: var(--teal-bright); }
.wrap { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 100; inset: 12px auto auto 12px; padding: 10px 14px; color: var(--navy); background: white; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(15, 32, 68, .06); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 22px; font-weight: 800; letter-spacing: -.07em; line-height: 1; }
.brand-logo { display: block; width: 200px; max-height: 56px; object-fit: contain; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; color: var(--navy); border: 2px solid var(--teal); border-radius: 11px 4px 11px 4px; font-size: 20px; }
.brand-light { color: var(--teal); }
.brand small { display: block; margin-top: 5px; font-size: 7px; letter-spacing: .13em; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a:not(.button) { text-decoration: none; color: var(--ink-soft); font-size: 14px; font-weight: 600; transition: color .2s; }
.nav-links > a:not(.button):hover, .site-footer a:hover { color: var(--teal-bright); }
.language-toggle { min-width: 40px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); background: white; cursor: pointer; font-size: 12px; font-weight: 700; }
.language-toggle:hover { border-color: var(--teal); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--navy); cursor: pointer; font-size: 24px; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 23px; border: 1px solid transparent; border-radius: 999px; color: white; background: linear-gradient(120deg, var(--teal), #019a8a); box-shadow: 0 7px 22px rgba(2,189,167,.2); text-decoration: none; font-size: 14px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(2,189,167,.28); }
.button-small { min-height: 39px; padding-inline: 19px; font-size: 13px; }
.button-outline { color: var(--navy); background: transparent; border-color: rgba(15,32,68,.2); box-shadow: none; }
.button-outline:hover { border-color: var(--teal); background: white; box-shadow: none; }
.button-light { color: var(--navy); background: white; box-shadow: none; }
.button:disabled { cursor: not-allowed; transform: none; opacity: .55; box-shadow: none; }

.hero { min-height: 660px; position: relative; display: flex; align-items: center; overflow: hidden; background-color: #f5f7fa; background-image: linear-gradient(90deg, rgba(247,249,252,.98) 0%, rgba(237,242,247,.9) 42%, rgba(245,247,250,.12) 100%), url("imagenes/bannerMedios_Hero.webp"); background-position: center; background-size: cover; }
.hero::before { position: absolute; inset: 0; content: ""; opacity: .23; background-image: repeating-linear-gradient(135deg, transparent 0, transparent 56px, rgba(15,32,68,.035) 57px, transparent 58px); }
.hero::after { position: absolute; inset: 0 0 auto; height: 3px; content: ""; background: linear-gradient(90deg, transparent, var(--teal), var(--teal-bright), transparent); }
.hero-orb { position: absolute; width: 390px; aspect-ratio: 1; border-radius: 50%; filter: blur(85px); pointer-events: none; }
.hero-orb-one { top: -180px; left: -120px; background: rgba(2,189,167,.14); }
.hero-orb-two { right: -150px; bottom: -230px; background: rgba(15,32,68,.11); }
.hero-content { position: relative; z-index: 1; padding-block: 100px 112px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 8px 14px; border: 1px solid rgba(2,189,167,.3); border-radius: 999px; color: #078e80; background: rgba(2,189,167,.07); font-size: 13px; font-weight: 650; letter-spacing: .025em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(2,189,167,.12); }
.hero h1 { margin: 0; font-size: clamp(58px, 9vw, 104px); line-height: .99; letter-spacing: -.075em; }
.accent { color: var(--teal); }
.muted-title { color: rgba(15,32,68,.2); }
.hero-copy { max-width: 640px; margin: 30px 0 29px; color: var(--ink-soft); font-size: clamp(16px, 2vw, 19px); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 32px 0 0; color: #7e899a; font-size: 12px; letter-spacing: .025em; }
.scroll-cue { position: absolute; bottom: 24px; left: 50%; z-index: 1; color: var(--teal); font-size: 25px; text-decoration: none; }

.section { padding-block: 100px; }
.section-dark { color: white; background: var(--navy); }
.section-soft { background: var(--wash); }
.section-kicker { margin: 0 0 26px; color: rgba(36,217,194,.8); text-align: center; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 16px; background: rgba(255,255,255,.1); }
.process-card { min-height: 205px; padding: 26px; background: var(--navy); }
.step-number { color: rgba(255,255,255,.32); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.process-card h2 { margin: 18px 0 7px; font-size: 19px; }
.process-card p { margin: 0; color: rgba(255,255,255,.58); font-size: 13px; }

.section-heading { max-width: 900px; margin-bottom: 42px; }
.eyebrow-text { margin: 0 0 10px; color: #079888; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section-heading h2, .about-grid h2, .contact-grid h2 { max-width: 700px; margin: 0 0 15px; font-size: clamp(34px, 5vw, 52px); line-height: 1.12; letter-spacing: -.055em; }
.section-heading > p:last-child, .about-grid > div:first-child > p:not(.eyebrow-text), .contact-grid > div > p:not(.eyebrow-text) { max-width: 620px; color: var(--ink-soft); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { min-height: 250px; padding: 25px; border: 1px solid rgba(15,32,68,.07); border-radius: 16px; background: var(--wash); transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-3px); border-color: rgba(2,189,167,.45); background: white; box-shadow: 0 12px 32px rgba(15,32,68,.07); }
.service-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 12px; color: #078e80; background: rgba(2,189,167,.1); font-size: 21px; }
.service-card h3 { margin: 0 0 8px; font-size: 18px; }
.service-card p { min-height: 66px; margin: 0 0 16px; color: var(--ink-soft); font-size: 13px; }
.service-card a, .text-link { color: #078e80; font-size: 13px; font-weight: 750; text-decoration: none; }
.service-card a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.center-note { margin: 36px 0 0; color: var(--ink-soft); text-align: center; font-size: 14px; }

.about-grid { display: grid; grid-template-columns: 1fr .9fr; align-items: start; gap: 72px; }
.about-grid > div:first-child > p:not(.eyebrow-text) { margin: 0 0 16px; line-height: 1.8; }
.text-link { display: inline-block; margin-top: 10px; }
.values-panel { padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 15px 45px rgba(15,32,68,.035); }
.values-panel > .eyebrow-text { margin-bottom: 18px; }
.value-item { display: flex; gap: 16px; padding-block: 17px; border-top: 1px solid var(--line); }
.value-item > span { color: #079888; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.value-item h3 { margin: 0 0 4px; font-size: 15px; }
.value-item p { margin: 0; color: var(--ink-soft); font-size: 13px; }

.contact-section { background: white; }
.contact-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: start; }
.contact-details { margin-top: 34px; }
.platforms-section { background: var(--wash); }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.platform-grid li { display: grid; min-height: 96px; place-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.platform-logo { display: block; width: 48px; height: 48px; object-fit: contain; }
.contact-details p { display: grid; gap: 3px; margin: 0; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14px; }
.contact-details p > span:first-child { color: #7c8798; font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.contact-details a { width: fit-content; color: var(--navy); font-weight: 650; text-decoration-color: rgba(2,189,167,.5); text-underline-offset: 3px; }
.contact-form { display: grid; gap: 15px; padding: 25px; border: 1px solid var(--line); border-radius: 17px; background: var(--wash); }
.field-group { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.field-group span { color: var(--navy); }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid rgba(15,32,68,.12); border-radius: 9px; padding: 11px 12px; color: var(--navy); background: white; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid rgba(2,189,167,.2); border-color: rgba(2,189,167,.6); }
.contact-form input.invalid, .contact-form textarea.invalid { border-color: #d14343; background: #fff6f6; }
.field-error { min-height: 14px; color: #d14343; font-size: 11px; font-weight: 600; }
.turnstile-box { display: grid; margin-top: 4px; }
.cf-turnstile { min-height: 65px; }
.form-notice { margin: 0; padding: 12px 14px; border-left: 3px solid var(--teal); border-radius: 4px; color: #42516b; background: rgba(2,189,167,.08); font-size: 12px; }
.form-notice-error { border-left-color: #d14343; color: #8e2525; background: #fff0f0; }
.contact-form .button { justify-self: start; }

.faq-section { background: linear-gradient(180deg, #ffffff 0%, #f6f9fb 100%); }
.faq-wrap { display: grid; gap: 24px; }
.faq-heading { margin-bottom: 0; }
.faq-list { display: grid; gap: 16px; }
.faq-item { border: 1px solid rgba(15,32,68,.08); border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(245,247,250,.96)); box-shadow: 0 10px 28px rgba(15,32,68,.04); overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.faq-item:hover { border-color: rgba(2,189,167,.24); box-shadow: 0 14px 30px rgba(15,32,68,.06); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(2,189,167,.22); border-radius: 50%; color: #078e80; background: rgba(2,189,167,.08); font-size: 22px; font-weight: 600; line-height: 1; transition: transform .2s, background .2s, color .2s; }
.faq-item p { margin: 0; padding: 0 22px 22px; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.faq-item[open] { border-color: rgba(2,189,167,.25); }
.faq-item[open] summary { border-bottom: 1px solid rgba(15,32,68,.08); }
.faq-item[open] summary::after { content: "−"; background: rgba(2,189,167,.14); color: var(--navy); }

.cta-band { padding-block: 68px; color: white; background: var(--navy); }
.cta-content { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-content .eyebrow-text { color: var(--teal-bright); }
.cta-content h2 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -.045em; }
.cta-content p:last-child { margin: 0; color: rgba(255,255,255,.65); }
.cta-content .button { flex-shrink: 0; }

.site-footer { color: white; background: var(--navy-deep); }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 55px; padding-block: 58px 48px; }
.brand-footer { color: white; }
.footer-logo { display: block; width: 190px; max-width: 100%; max-height: 64px; object-fit: contain; }
.footer-description { max-width: 290px; margin: 18px 0 0; color: rgba(255,255,255,.57); font-size: 13px; }
.footer-main h2 { margin: 0 0 14px; font-size: 13px; }
.footer-main > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-main > div:not(:first-child) a, .footer-main > div:not(:first-child) span { color: rgba(255,255,255,.62); font-size: 13px; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: 11px; }
.footer-bottom > div { display: flex; gap: 21px; }
.footer-bottom a { color: inherit; text-decoration: none; }

.legal-main { min-height: 70vh; padding-block: 70px 100px; background: var(--wash); }
.legal-main h1 { margin: 0 0 8px; font-size: clamp(36px, 6vw, 56px); line-height: 1.1; letter-spacing: -.06em; }
.legal-updated { margin: 0 0 35px; color: #788398; font-size: 13px; }
.legal-section { margin: 14px 0; padding: 24px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.legal-section h2 { margin: 0 0 8px; font-size: 17px; }
.legal-section p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.back-link { display: inline-block; margin-bottom: 28px; color: #078e80; font-size: 13px; font-weight: 700; text-decoration: none; }

@media (max-width: 800px) {
  .wrap { width: min(var(--content), calc(100% - 36px)); }
  .nav { min-height: 70px; }
  .brand-logo { width: 170px; max-height: 48px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-links { position: absolute; top: 100%; inset-inline: 0; display: none; align-items: stretch; gap: 17px; padding: 20px 24px 24px; border-bottom: 1px solid var(--line); background: white; }
  .nav-links.is-open { display: flex; flex-direction: column; }
  .nav-links .button { align-self: flex-start; }
  .language-toggle { align-self: flex-start; }
  .hero { min-height: 620px; }
  .hero-content { padding-block: 83px 90px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .footer-main > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  .hero { min-height: 600px; }
  .hero h1 { font-size: clamp(55px, 17vw, 78px); }
  .hero-copy { font-size: 16px; }
  .button-row { align-items: stretch; flex-direction: column; }
  .button-row .button { width: fit-content; }
  .section { padding-block: 72px; }
  .process-grid, .services-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .process-card { min-height: 0; }
  .service-card { min-height: 0; }
  .service-card p { min-height: 0; }
  .values-panel { padding: 22px; }
  .cta-content { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-block: 42px 35px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .legal-main { padding-block: 46px 70px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
