:root {
  --bg: #ffffff;
  --ink: #16313e;
  --muted: #62727d;
  --line: #dfe8eb;
  --soft: #f4fafb;
  --soft-blue: #e9f6fa;
  --aqua: #1b9db3;
  --deep: #0d5c73;
  --gold: #c79d45;
  --shadow: 0 24px 70px rgba(13, 92, 115, .14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(27, 157, 179, .10), transparent 26%),
    radial-gradient(circle at 92% 12%, rgba(199, 157, 69, .12), transparent 24%),
    var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223,232,235,.8);
}

.navbar {
  width: min(1160px, calc(100% - 32px));
  margin: auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--deep), var(--aqua));
  box-shadow: 0 10px 24px rgba(13, 92, 115, .22);
}
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 700; color: var(--muted); }
.nav-links a:hover { color: var(--deep); }
.menu-toggle { display: none; border: 0; background: var(--soft); border-radius: 12px; padding: 10px 12px; font-size: 22px; color: var(--ink); }

.section-shell { width: min(1160px, calc(100% - 32px)); margin: auto; }

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 38px;
  padding: 66px 0 54px;
}
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--deep);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
}
.eyebrow::before, .section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
}
h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: .92;
  letter-spacing: -.07em;
}
.hero-lead {
  margin: 24px 0 0;
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: linear-gradient(135deg, var(--deep), var(--aqua)); color: white; box-shadow: 0 18px 36px rgba(13, 92, 115, .22); }
.btn.secondary { background: white; border-color: var(--line); color: var(--deep); }
.hero-image-card {
  position: relative;
  border-radius: 34px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(27,157,179,.18), rgba(199,157,69,.16));
  box-shadow: var(--shadow);
}
.hero-image-card::after {
  content: "Atención especializada";
  position: absolute;
  right: 26px;
  bottom: 26px;
  color: white;
  background: rgba(13, 92, 115, .82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
}
.hero-image-card img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: contain;
  background: white;
}

.intro {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 24px;
  padding: 34px 0 72px;
}
.intro-card, .profile-card, .location-card, .pediatric, .why, .feature-panel {
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.intro-card { padding: clamp(26px, 4vw, 46px); }
.intro-card h2, .section-heading h2, .split h2, .profile h2, .pediatric h2, .location h2, .why h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -.05em;
}
.intro-card p, .section-heading p, .split p, .profile p, .location p, .pediatric p, .service-card p, .feature-panel p {
  color: var(--muted);
  font-size: 1.03rem;
}
.quick-list { display: grid; gap: 14px; }
.quick-list div, .why-grid div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, var(--soft), #fff);
}
.quick-list strong, .why-grid strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.quick-list span, .why-grid span { color: var(--muted); }

.services { padding: 76px 0; }
.section-heading { max-width: 790px; margin-bottom: 30px; }
.section-heading.compact { max-width: 680px; margin-bottom: 24px; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  min-height: 250px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 18px 42px rgba(13, 92, 115, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card.wide { grid-column: span 2; }
.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--deep);
  background: var(--soft-blue);
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.service-card h3, .feature-panel h3, .two-column h3 { margin: 0 0 10px; font-size: 1.3rem; line-height: 1.2; }

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: stretch;
  padding: 72px 0;
}
.split-content {
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius);
  color: white;
  background:
    linear-gradient(135deg, rgba(13,92,115,.94), rgba(27,157,179,.86)),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.3), transparent 28%);
  box-shadow: var(--shadow);
}
.split-content .section-kicker, .split-content p { color: white; }
.split-content .section-kicker::before { background: white; }
.highlight-note {
  margin-top: 24px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.25);
  font-weight: 800;
}
.feature-panel { padding: clamp(28px, 5vw, 52px); display: flex; flex-direction: column; justify-content: center; }

.pediatric { margin-top: 34px; padding: clamp(28px, 5vw, 52px); }
.two-column { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 24px; }
.two-column article { padding: 24px; border-radius: 22px; background: var(--soft); border: 1px solid var(--line); }

.profile { padding: 76px 0 34px; }
.profile-card { padding: clamp(28px, 5vw, 54px); max-width: 930px; margin: auto; }

.why { margin-top: 34px; padding: clamp(28px, 5vw, 48px); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.location { padding: 76px 0; }
.location-card {
  padding: clamp(30px, 6vw, 64px);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(244,250,251,.92)),
    radial-gradient(circle at 20% 20%, rgba(27,157,179,.16), transparent 30%);
}
.location-card .section-kicker { justify-content: center; }

.footer {
  text-align: center;
  padding: 34px 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: white;
}
.footer p:first-child { margin: 0 0 6px; font-weight: 900; color: var(--ink); }
.footer p:last-child { margin: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero, .intro, .split { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .navbar { min-height: 66px; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .hero { min-height: auto; padding-top: 40px; }
  .hero-image-card::after { left: 24px; right: auto; font-size: .85rem; }
  .service-grid, .two-column, .why-grid { grid-template-columns: 1fr; }
  .service-card.wide { grid-column: span 1; }
  .btn { width: 100%; }
}
