:root {
  --navy: #11173b;
  --navy-soft: #19244f;
  --blue: #1b84bd;
  --cyan: #46bfd4;
  --ink: #182039;
  --text: #435068;
  --muted: #718096;
  --surface: #ffffff;
  --soft: #f4f8fb;
  --ice: #edf7fb;
  --line: #dce7ef;
  --shadow: 0 24px 70px rgba(17, 36, 72, .13);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; }

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(220,231,239,.9);
  box-shadow: 0 8px 24px rgba(17,36,72,.04);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); font-weight: 800; letter-spacing: .12em; }
.brand img { width: 54px; height: 54px; object-fit: contain; border-radius: 50%; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { position: relative; text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 700; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.menu-button { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--soft); padding: 11px; }
.menu-button span { display: block; height: 2px; margin: 5px 0; border-radius: 10px; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 82% 30%, rgba(70,191,212,.20), transparent 27%), linear-gradient(135deg, #0f1537, #192451 62%, #172c58);
  color: #fff;
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(111,218,233,.7), transparent); }
.hero-shape { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.09); pointer-events: none; }
.hero-shape-one { width: 570px; height: 570px; right: -170px; top: -210px; }
.hero-shape-two { width: 380px; height: 380px; left: -190px; bottom: -190px; }
.hero-grid { min-height: 700px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; padding: 84px 0; }
.tag, .eyebrow { display: inline-block; margin-bottom: 18px; color: var(--blue); font-size: .76rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.tag { color: #9ce3ed; }
.eyebrow.light { color: #9ce3ed; }
.hero h1 { margin: 0; max-width: 700px; font-size: clamp(3.3rem, 6.8vw, 6.5rem); line-height: .94; letter-spacing: -.055em; font-weight: 800; }
.hero h1 strong { display: block; color: #8de3ee; font-weight: inherit; }
.hero-copy > p { max-width: 650px; margin: 28px 0 0; color: #d7dfed; font-size: clamp(1.05rem, 1.8vw, 1.28rem); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 22px; border-radius: 14px; text-decoration: none; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, #55c8da, #1d8abe); color: #071429; box-shadow: 0 14px 36px rgba(39,154,193,.26); }
.button-secondary { color: #fff; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.06); }
.hero-audience { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 27px; }
.hero-audience span { padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.055); color: #d9e5f2; font-size: .8rem; }
.logo-stage { position: relative; display: grid; place-items: center; min-height: 500px; }
.logo-halo { position: absolute; width: min(480px, 42vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(73,191,213,.17), transparent 63%); border: 1px solid rgba(255,255,255,.08); }
.logo-card { position: relative; width: min(410px, 38vw); aspect-ratio: 1; display: grid; place-items: center; padding: 18px; border-radius: 50%; background: rgba(255,255,255,.94); box-shadow: 0 34px 90px rgba(3,10,35,.35); }
.logo-card img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }

.section-light { background: linear-gradient(180deg, #fff, #f7fafc); }
.section-heading { max-width: 850px; margin-bottom: 46px; }
.section-heading h2, .location-copy h2, .modality-card h2, .final-card h2 { margin: 0; color: var(--ink); font-size: clamp(2.1rem, 4.4vw, 3.65rem); line-height: 1.04; letter-spacing: -.04em; }
.section-heading p { margin: 16px 0 0; color: var(--muted); font-size: 1rem; }
.section-heading.split { max-width: none; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: end; }
.section-heading.split > p { margin: 0 0 5px; }

.audience-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.audience-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 16px 45px rgba(17,36,72,.055); }
.icon-badge { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, #e9f8fb, #f7fcfd); border: 1px solid #d7edf3; color: var(--blue); font-weight: 900; }
.audience-card h3 { margin: 19px 0 7px; color: var(--ink); font-size: 1.2rem; }
.audience-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.services { background: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { position: relative; overflow: hidden; min-height: 185px; display: flex; flex-direction: column; justify-content: space-between; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, #fff, #f6fafc); box-shadow: 0 15px 45px rgba(17,36,72,.05); }
.service-card::after { content: ""; position: absolute; width: 155px; height: 155px; right: -65px; bottom: -68px; border-radius: 50%; border: 26px solid rgba(70,191,212,.075); }
.service-card span { color: var(--blue); font-size: .72rem; font-weight: 900; letter-spacing: .15em; }
.service-card h3 { position: relative; z-index: 1; margin: 42px 0 0; color: var(--ink); font-size: 1.22rem; line-height: 1.28; }
.service-card.featured { background: linear-gradient(145deg, #141b42, #21305f); border-color: transparent; }
.service-card.featured span { color: #88ddea; }
.service-card.featured h3 { color: #fff; }
.service-card.featured::after { border-color: rgba(136,221,234,.09); }

.modality { background: var(--ice); }
.modality-card { position: relative; overflow: hidden; min-height: 330px; display: grid; grid-template-columns: 1fr 300px; align-items: center; gap: 40px; padding: 58px; border-radius: var(--radius-xl); color: #fff; background: linear-gradient(135deg, #10163a, #20305f); box-shadow: var(--shadow); }
.modality-card h2 { color: #fff; }
.modality-card p { margin: 17px 0 0; color: #d7dfed; }
.modality-decor { position: relative; height: 210px; }
.modality-decor span { position: absolute; inset: 50% auto auto 50%; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(116,218,232,.25); transform: translate(-50%,-50%); }
.modality-decor span:nth-child(2) { width: 110px; height: 110px; border-width: 3px; }
.modality-decor span:nth-child(3) { width: 28px; height: 28px; border: 0; background: #69d1e1; box-shadow: 0 0 0 17px rgba(105,209,225,.08); }

.focus-section { background: #fff; }
.focus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.focus-card { position: relative; padding: 32px; border-radius: var(--radius-lg); background: #f8fbfd; border: 1px solid var(--line); }
.focus-line { display: block; width: 52px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.focus-card h3 { margin: 19px 0 10px; color: var(--ink); font-size: 1.28rem; }
.focus-card p { margin: 0; color: var(--muted); }

.location { background: #f4f8fb; }
.location-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; }
.location-copy, .location-art { min-height: 370px; border-radius: var(--radius-xl); }
.location-copy { display: flex; flex-direction: column; justify-content: center; padding: 52px; background: #fff; border: 1px solid var(--line); }
.location-copy p { margin: 16px 0 0; color: var(--muted); }
.location-art { position: relative; overflow: hidden; display: grid; place-items: center; background: linear-gradient(145deg, #11173b, #253665); }
.location-art::before { content: ""; position: absolute; width: 520px; height: 170px; border: 1px solid rgba(255,255,255,.10); border-radius: 50%; transform: rotate(-18deg); }
.location-art::after { content: ""; position: absolute; width: 450px; height: 150px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; transform: rotate(25deg); }
.pin { position: relative; z-index: 3; width: 96px; height: 96px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); box-shadow: 0 0 0 19px rgba(77,195,214,.06); }
.pin svg { width: 48px; height: 48px; fill: none; stroke: #7ddbe9; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.route { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #79d8e7; opacity: .65; }
.route-a { left: 21%; top: 30%; }
.route-b { right: 23%; bottom: 25%; }

.final-section { background: #fff; }
.final-card { display: grid; grid-template-columns: 170px 1fr; gap: 42px; align-items: center; padding: 48px; border-radius: var(--radius-xl); background: linear-gradient(135deg, #12183d, #1e2d5a); color: #fff; box-shadow: var(--shadow); }
.final-card img { width: 170px; height: 170px; object-fit: contain; border-radius: 50%; background: #fff; }
.final-card h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.3rem); }
.final-card p { margin: 17px 0 0; color: #d7dfed; }

.footer { padding: 34px 0; background: #0e1432; color: #d8e0ee; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand img { width: 56px; height: 56px; object-fit: contain; border-radius: 50%; }
.footer-brand div { display: grid; }
.footer-brand strong { color: #fff; letter-spacing: .09em; }
.footer-brand span { color: #9eabc0; font-size: .8rem; }
.footer-copy { display: grid; gap: 4px; text-align: right; color: #9eabc0; font-size: .84rem; }

/* El contenido es visible incluso si JavaScript no carga. */
.reveal { opacity: 1; transform: none; }
.js-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.js-ready .reveal.visible { opacity: 1; transform: none; }

@media (hover: hover) {
  .audience-card, .service-card, .focus-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
  .audience-card:hover, .service-card:hover, .focus-card:hover { transform: translateY(-5px); box-shadow: 0 22px 55px rgba(17,36,72,.10); border-color: #c6dde8; }
}

@media (max-width: 980px) {
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 35px; padding: 70px 0 76px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-buttons, .hero-audience { justify-content: center; }
  .logo-stage { min-height: 390px; }
  .logo-halo { width: min(450px, 88vw); }
  .logo-card { width: min(370px, 76vw); }
  .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading.split { grid-template-columns: 1fr; gap: 14px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modality-card { grid-template-columns: 1fr 220px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 72px 0; }
  .header-inner { min-height: 70px; }
  .brand img { width: 46px; height: 46px; }
  .menu-button { display: block; cursor: pointer; }
  .menu-button.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button.active span:nth-child(2) { opacity: 0; }
  .menu-button.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: absolute; top: 70px; left: 14px; right: 14px; display: grid; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 13px 14px; border-radius: 11px; }
  .nav a::after { display: none; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 4.4rem); }
  .logo-stage { min-height: 330px; }
  .audience-grid, .services-grid, .focus-grid, .location-grid { grid-template-columns: 1fr; }
  .modality-card { grid-template-columns: 1fr; padding: 38px 28px; }
  .modality-decor { display: none; }
  .location-copy, .location-art { min-height: 300px; }
  .location-copy { padding: 34px 28px; }
  .final-card { grid-template-columns: 1fr; text-align: center; padding: 36px 26px; }
  .final-card img { width: 138px; height: 138px; margin: 0 auto; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy { text-align: left; }
}

@media (max-width: 480px) {
  .hero-grid { padding-top: 54px; }
  .hero-buttons { display: grid; }
  .button { width: 100%; }
  .hero-audience span { flex: 1 1 calc(50% - 8px); text-align: center; }
  .logo-card { width: min(300px, 86vw); }
  .logo-stage { min-height: 290px; }
  .section-heading h2, .location-copy h2, .modality-card h2 { font-size: 2.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .js-ready .reveal { opacity: 1 !important; transform: none !important; }
}
