:root {
  --blue-950: #06354f;
  --blue-900: #075a82;
  --blue-800: #087fb4;
  --blue-700: #0d96cc;
  --blue-500: #49b7e4;
  --blue-200: #cdeefb;
  --blue-100: #eaf8fd;
  --blue-50: #f6fcff;
  --ink: #173848;
  --muted: #607984;
  --white: #ffffff;
  --line: rgba(7, 127, 180, 0.14);
  --shadow: 0 18px 48px rgba(5, 82, 119, 0.10);
  --shadow-lg: 0 28px 70px rgba(5, 82, 119, 0.14);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(6, 53, 79, 0.04);
}
.header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand__main { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.045em; color: var(--blue-800); }
.brand__main span { color: var(--blue-500); }
.brand__sub { margin-top: 6px; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: var(--blue-700); }
.nav { display: flex; align-items: center; gap: 5px; }
.nav a { text-decoration: none; font-size: .88rem; font-weight: 700; color: #365a69; padding: 10px 12px; border-radius: 999px; transition: background .2s ease, color .2s ease; }
.nav a:hover, .nav a:focus-visible { background: var(--blue-100); color: var(--blue-900); outline: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--blue-100); cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--blue-900); margin: 5px 0; border-radius: 4px; transition: transform .2s ease, opacity .2s ease; }

.hero {
  padding: 38px 0 76px;
  background:
    radial-gradient(circle at 10% 5%, rgba(73,183,228,.12), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f8fdff 100%);
}
.hero__banner { overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); }
.hero__banner img { width: 100%; height: auto; }
.hero__content { max-width: 980px; margin: 46px auto 0; text-align: center; }
.tag { display: inline-block; margin-bottom: 12px; color: var(--blue-700); font-size: .76rem; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.hero h1 { margin: 0; color: var(--blue-950); font-size: clamp(2.15rem, 5.5vw, 4.8rem); line-height: 1.05; letter-spacing: -0.055em; }
.hero__links { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero__links a { text-decoration: none; padding: 12px 17px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--blue-900); font-size: .9rem; font-weight: 700; box-shadow: var(--shadow); transition: transform .2s ease, background .2s ease; }
.hero__links a:hover { transform: translateY(-2px); background: var(--blue-100); }

.section { padding: 94px 0; scroll-margin-top: 90px; }
.section--soft { background: linear-gradient(180deg, var(--blue-50), #eef9fd); border-top: 1px solid rgba(7,127,180,.06); border-bottom: 1px solid rgba(7,127,180,.06); }
.section-title { max-width: 860px; margin-bottom: 34px; }
.section-title--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title h2, .audience h2 { margin: 0; color: var(--blue-950); font-size: clamp(2rem, 4vw, 3.65rem); line-height: 1.08; letter-spacing: -0.045em; }

.lead-card { display: grid; grid-template-columns: 108px 1fr; align-items: center; gap: 30px; padding: clamp(26px, 4.5vw, 44px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.lead-card__icon { width: 92px; height: 92px; display: grid; place-items: center; border-radius: 28px; background: linear-gradient(145deg, var(--blue-100), #fff); border: 1px solid rgba(73,183,228,.25); }
.lead-card__icon svg { width: 58px; fill: none; stroke: var(--blue-700); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lead-card p, .text-panel p { margin: 0; color: #385665; font-size: clamp(1.03rem, 1.8vw, 1.18rem); }
.subheading { max-width: 790px; margin: 58px 0 26px; color: var(--blue-900); font-size: clamp(1.3rem, 2.5vw, 1.95rem); line-height: 1.2; letter-spacing: -0.025em; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { min-height: 168px; position: relative; overflow: hidden; padding: 27px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card span { display: inline-block; margin-bottom: 20px; color: var(--blue-500); font-size: .76rem; font-weight: 800; letter-spacing: .15em; }
.card h4 { margin: 0; max-width: 95%; font-size: 1.07rem; line-height: 1.35; }
.card::after { content: ""; position: absolute; right: -30px; bottom: -34px; width: 88px; height: 88px; border: 1px solid rgba(73,183,228,.2); border-radius: 50%; }
.cards--conditions .card:last-child { grid-column: span 2; }

.text-panel { max-width: 960px; padding: 28px 30px; background: rgba(255,255,255,.8); border-left: 4px solid var(--blue-500); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.text-panel--white { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue-500); box-shadow: var(--shadow); }
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.areas div { position: relative; min-height: 108px; display: flex; align-items: flex-start; padding: 22px 20px 22px 49px; background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 18px; font-weight: 700; }
.areas div::before { content: ""; position: absolute; top: 27px; left: 22px; width: 10px; height: 10px; background: var(--blue-500); border-radius: 50%; box-shadow: 0 0 0 6px rgba(73,183,228,.13); }

.therapy-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.therapy-grid div { position: relative; padding: 20px 20px 20px 50px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 24px rgba(5,82,119,.05); font-weight: 700; }
.therapy-grid div::before { content: ""; position: absolute; left: 20px; top: 50%; width: 13px; height: 13px; border: 3px solid var(--blue-500); border-radius: 50%; transform: translateY(-50%); }

.audience { position: relative; overflow: hidden; padding: 100px 0; scroll-margin-top: 90px; color: #fff; background: linear-gradient(135deg, #06354f 0%, #087fb4 100%); }
.audience::before, .audience::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.audience::before { width: 390px; height: 390px; top: -170px; right: -120px; background: rgba(73,183,228,.18); }
.audience::after { width: 300px; height: 300px; bottom: -170px; left: -130px; background: rgba(205,238,251,.10); }
.audience__inner { position: relative; z-index: 1; text-align: center; }
.tag--light { color: var(--blue-200); }
.audience h2 { max-width: 850px; margin: 0 auto; color: #fff; }
.audience__intro { margin: 18px 0 0; color: rgba(255,255,255,.82); font-size: 1.05rem; }
.audience__cards { max-width: 880px; margin: 42px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.audience__cards article { min-height: 175px; display: grid; place-content: center; border-radius: 27px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); }
.audience__cards span { color: var(--blue-200); font-size: .74rem; font-weight: 800; letter-spacing: .18em; }
.audience__cards h3 { margin: 9px 0 0; font-size: clamp(1.45rem, 3vw, 2.1rem); }
.audience__note { max-width: 960px; margin: 42px auto 0; color: rgba(255,255,255,.9); font-size: clamp(1rem, 2vw, 1.16rem); }

.modes { max-width: 760px; margin: 38px auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mode { min-height: 245px; display: grid; place-content: center; place-items: center; gap: 18px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow); }
.mode__icon { width: 82px; height: 82px; display: grid; place-items: center; border-radius: 27px; background: var(--blue-100); }
.mode__icon svg { width: 46px; fill: none; stroke: var(--blue-800); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.mode h3 { margin: 0; color: var(--blue-900); font-size: 1.45rem; }

.footer { padding: 40px 0; color: rgba(255,255,255,.82); background: #052f47; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer strong { color: #fff; font-size: 1.15rem; }
.footer p { margin: 5px 0 0; font-size: .86rem; }
.footer a { color: #fff; text-decoration: none; font-weight: 700; }

/* El contenido permanece visible aunque JavaScript no cargue. */
.js-ready .card,
.js-ready .areas div,
.js-ready .therapy-grid div,
.js-ready .mode,
.js-ready .audience__cards article {
  animation: appear .45s ease both;
}
@keyframes appear {
  from { opacity: .6; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: calc(100% + 8px); left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--conditions .card:last-child { grid-column: auto; }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .container { width: min(1180px, calc(100% - 28px)); }
  .header__inner { min-height: 68px; }
  .brand__sub { display: none; }
  .hero { padding: 22px 0 58px; }
  .hero__banner { border-radius: 18px; }
  .hero__content { margin-top: 34px; }
  .hero h1 { font-size: clamp(2rem, 10vw, 3.15rem); }
  .hero__links { display: grid; grid-template-columns: 1fr; }
  .hero__links a { text-align: center; }
  .section { padding: 72px 0; }
  .lead-card { grid-template-columns: 1fr; gap: 20px; }
  .lead-card__icon { width: 78px; height: 78px; border-radius: 22px; }
  .lead-card__icon svg { width: 48px; }
  .cards, .areas, .therapy-grid, .audience__cards, .modes { grid-template-columns: 1fr; }
  .card { min-height: 142px; }
  .audience { padding: 76px 0; }
  .audience__cards article { min-height: 142px; }
  .mode { min-height: 205px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
