/* =========================================================
   Consultorio Nutricional Adriana Hirales · Nutrición Inteligente
   Paleta tomada del flyer: azul cielo, azul intenso, rosa magenta,
   verde hoja, blanco y celeste muy claro.
   ========================================================= */

:root {
  /* Colores */
  --blue: #1e9bd7;
  --blue-deep: #1277b8;
  --blue-dark: #0e5c93;
  --sky: #5bc0eb;
  --sky-light: #cfe9f7;
  --sky-pale: #eaf6fc;
  --pink: #ec2a86;
  --pink-deep: #d3186f;
  --pink-light: #fde6f1;
  --green: #7dc243;
  --green-deep: #5ea62c;
  --white: #ffffff;
  --ink: #163a55;
  --ink-soft: #4a6479;
  --muted: #7d94a6;

  /* Tipografía */
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Forma y sombras */
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 6px 18px rgba(18, 119, 184, 0.08);
  --shadow: 0 18px 45px rgba(18, 119, 184, 0.14);
  --shadow-lg: 0 32px 80px rgba(18, 119, 184, 0.2);
  --shadow-pink: 0 14px 34px rgba(236, 42, 134, 0.32);

  /* Movimiento */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-h: 78px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(91, 192, 235, 0.22), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(236, 42, 134, 0.08), transparent 60%),
    linear-gradient(180deg, #f3fafe 0%, #ffffff 40%, #f3fafe 100%);
  overflow-x: clip;
}
html { overflow-x: clip; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; color: var(--ink); }
p { margin: 0; }
address { font-style: normal; }
svg { display: block; }

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  position: relative;
}

.section__head {
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.section__head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 1rem;
}
.section__head p {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}
h2 em {
  font-style: normal;
  color: var(--pink);
  position: relative;
  white-space: nowrap;
}
h2 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.05em;
  height: 0.28em;
  background: linear-gradient(90deg, rgba(236, 42, 134, 0.18), rgba(91, 192, 235, 0.35));
  border-radius: 999px;
  z-index: -1;
}

/* ---------- Píldoras ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  color: var(--white);
}
.pill--blue { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); box-shadow: 0 8px 22px rgba(30, 155, 215, 0.3); }
.pill--pink { background: linear-gradient(135deg, var(--pink), var(--pink-deep)); box-shadow: 0 8px 22px rgba(236, 42, 134, 0.3); }
.pill--sm { font-size: 0.7rem; padding: 0.4rem 1rem; letter-spacing: 0.1em; }

.pill-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.4rem 0 1.6rem;
}
.leaf-ico {
  width: 18px; height: 18px;
  background: var(--green);
  border-radius: 0 100% 0 100%;
  transform: rotate(-20deg);
  box-shadow: inset -3px -3px 0 rgba(0,0,0,0.08);
}
.leaf-ico--flip { transform: rotate(160deg); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 0.12s; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn--pink { background: linear-gradient(135deg, var(--pink), var(--pink-deep)); color: var(--white); box-shadow: var(--shadow-pink); }
.btn--pink:hover { box-shadow: 0 20px 44px rgba(236, 42, 134, 0.42); }

.btn--blue { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: var(--white); box-shadow: 0 14px 34px rgba(30, 155, 215, 0.32); }
.btn--blue:hover { box-shadow: 0 20px 44px rgba(30, 155, 215, 0.42); }

.btn--green { background: linear-gradient(135deg, #25d366, #1ca851); color: var(--white); box-shadow: 0 14px 34px rgba(37, 211, 102, 0.3); }

.btn--ghost { background: rgba(255,255,255,0.7); color: var(--blue-deep); border-color: rgba(30, 155, 215, 0.35); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: var(--white); border-color: var(--blue); box-shadow: var(--shadow-sm); }

.btn--outline { background: transparent; color: var(--blue-deep); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: var(--white); }

.btn--white { background: var(--white); color: var(--pink-deep); box-shadow: 0 16px 40px rgba(0,0,0,0.18); }
.btn--white:hover { box-shadow: 0 22px 50px rgba(0,0,0,0.24); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 8px 30px rgba(18, 119, 184, 0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.brand__logo {
  width: 42px;
  height: 54px;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 14px rgba(30, 155, 215, 0.3));
  transition: transform 0.5s var(--ease-spring);
}
.brand:hover .brand__logo { transform: rotate(-6deg) scale(1.05); }
.brand__logo svg { width: 100%; height: 100%; }
.brand__logo--lg { width: 60px; height: 78px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--blue-deep); font-weight: 700; }
.brand__text small { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pink); font-weight: 700; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav > a:not(.btn) {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.25s ease;
}
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav > a:not(.btn):hover, .nav > a.is-active { color: var(--blue-deep); }
.nav > a:not(.btn):hover::after, .nav > a.is-active::after { transform: scaleX(1); }
.nav__cta { padding: 0.65rem 1.3rem; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 20px; height: 2.4px;
  border-radius: 2px;
  background: var(--blue-deep);
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: drift 18s ease-in-out infinite alternate;
}
.blob--1 {
  width: 62vw; height: 62vw; max-width: 820px; max-height: 820px;
  right: -18vw; top: -22vw;
  background: radial-gradient(circle at 30% 30%, #8fd6f5 0%, #5bc0eb 45%, #1e9bd7 100%);
  opacity: 0.85;
}
.blob--2 {
  width: 28vw; height: 28vw; max-width: 360px; max-height: 360px;
  right: 6vw; bottom: -6vw;
  background: radial-gradient(circle at 40% 40%, #ff8ec3, var(--pink));
  opacity: 0.55;
  animation-duration: 22s;
  animation-delay: -6s;
}
.blob--3 {
  width: 22vw; height: 22vw; max-width: 300px; max-height: 300px;
  left: -8vw; bottom: 6vw;
  background: radial-gradient(circle at 40% 40%, #d7f0fb, #8fd6f5);
  opacity: 0.8;
  animation-duration: 26s;
  animation-delay: -12s;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3%, 4%, 0) scale(1.06); }
}

.dots {
  position: absolute;
  width: 140px; height: 140px;
  background-image: radial-gradient(rgba(18, 119, 184, 0.35) 2px, transparent 2.6px);
  background-size: 16px 16px;
  opacity: 0.7;
}
.dots--tl { left: 4vw; top: 8vh; }
.dots--br { right: 42%; bottom: 8vh; background-image: radial-gradient(rgba(236, 42, 134, 0.35) 2px, transparent 2.6px); }

.leaf {
  position: absolute;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, #9ad95f, var(--green));
  border-radius: 0 100% 0 100%;
  transform: rotate(-30deg);
  opacity: 0.9;
  animation: sway 6s ease-in-out infinite alternate;
}
.leaf--1 { left: 38%; top: 12vh; }
.leaf--2 { right: 8vw; top: 62vh; width: 34px; height: 34px; animation-delay: -3s; }
@keyframes sway {
  from { transform: rotate(-30deg) translateY(0); }
  to { transform: rotate(-12deg) translateY(-12px); }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-areas:
    "intro visual"
    "details visual";
  align-items: center;
  column-gap: clamp(2rem, 5vw, 4rem);
}
.hero__intro { grid-area: intro; align-self: end; }
.hero__details { grid-area: details; align-self: start; }
.hero__visual { grid-area: visual; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero__title {
  font-size: clamp(2.6rem, 6.2vw, 4.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  display: flex;
  flex-direction: column;
}
.hero__title-line {
  color: var(--blue);
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-deep) 60%, var(--sky) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__title-name {
  margin-top: 0.14em;
  font-size: 0.62em;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: -0.02em;
}

.hero__collab {
  font-size: 1.2rem;
  color: var(--ink);
}
.hero__collab strong { color: var(--blue-deep); font-weight: 700; }
.hero__lead {
  margin-top: 0.6rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
}
.hero__quote {
  margin-top: 0.4rem;
  font-style: italic;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--pink);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-top: 2rem;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.hero__badges li { display: inline-flex; align-items: center; gap: 0.5rem; }
.check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  position: relative;
  flex-shrink: 0;
}
.check::after {
  content: "";
  position: absolute;
  left: 6px; top: 3px;
  width: 5px; height: 9px;
  border: solid var(--white);
  border-width: 0 2.4px 2.4px 0;
  transform: rotate(45deg);
}

/* Retrato */
.hero__visual { display: flex; justify-content: center; }
.portrait {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 4 / 5;
}
.portrait picture {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
  background: var(--sky-light);
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.portrait__ring {
  position: absolute;
  inset: -22px;
  border-radius: 220px 220px 50px 50px;
  border: 2px dashed rgba(255, 255, 255, 0.8);
  z-index: 1;
}
.portrait__pink {
  position: absolute;
  right: -10%;
  bottom: -6%;
  width: 55%;
  height: 40%;
  background: radial-gradient(circle at 30% 30%, #ff9fcd, var(--pink));
  border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
  opacity: 0.85;
  z-index: 1;
  filter: blur(1px);
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.75rem 1rem 0.75rem 0.75rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
}
.floating-card strong { display: block; font-family: var(--font-head); font-size: 0.95rem; color: var(--ink); line-height: 1.1; }
.floating-card small { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.floating-card__icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: var(--white);
  flex-shrink: 0;
}
.floating-card__icon svg { width: 22px; height: 22px; }
.floating-card__icon--pink { background: linear-gradient(135deg, var(--pink), var(--pink-deep)); }
.floating-card--a { left: -12%; top: 22%; animation-delay: -2s; }
.floating-card--b { right: -8%; bottom: 14%; animation-delay: -4.5s; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(18, 119, 184, 0.45);
  border-radius: 999px;
  z-index: 2;
}
.scroll-hint span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--pink);
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Franja marquee ---------- */
.ribbon {
  background: linear-gradient(90deg, var(--pink), var(--pink-deep) 50%, var(--pink));
  color: var(--white);
  overflow: hidden;
  padding: 0.85rem 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}
.ribbon__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.ribbon__track span { white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Servicios ---------- */
.services { background: linear-gradient(180deg, var(--white), var(--sky-pale)); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.service {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(30, 155, 215, 0.08);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
  overflow: hidden;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 100% 0%, rgba(91, 192, 235, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service:hover::before { opacity: 1; }
.service > * { position: relative; }
.service__icon {
  width: 64px; height: 64px;
  border-radius: 20px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: var(--white);
  box-shadow: 0 12px 26px rgba(30, 155, 215, 0.3);
  margin-bottom: 1.4rem;
  transition: transform 0.5s var(--ease-spring);
}
.service:hover .service__icon { transform: rotate(-6deg) scale(1.06); }
.service__icon svg { width: 34px; height: 34px; }
.service h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.6rem; }
.service p { color: var(--ink-soft); font-size: 0.98rem; }

.service--cta {
  background: linear-gradient(140deg, var(--pink) 0%, var(--pink-deep) 100%);
  color: var(--white);
  border: 0;
}
.service--cta::before { background: radial-gradient(400px 200px at 100% 100%, rgba(255,255,255,0.22), transparent 60%); opacity: 1; }
.service--cta h3, .service--cta p { color: var(--white); }
.service--cta p { opacity: 0.9; }
.service__icon--white { background: rgba(255,255,255,0.18); box-shadow: none; }
.service__arrow {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: var(--font-head);
  font-weight: 600;
  transition: transform 0.35s var(--ease-out);
}
.service--cta:hover .service__arrow { transform: translateX(6px); }

/* ---------- Consultorio ---------- */
.clinic__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.clinic__visual { position: relative; }
.photo-card {
  position: relative;
  z-index: 2;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--white);
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 41 / 30; transition: transform 1.2s var(--ease-out); }
.photo-card:hover img { transform: scale(1.04); }
.photo-card figcaption {
  position: absolute;
  left: 1rem; bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  padding: 0.55rem 0.9rem 0.55rem 0.55rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.photo-card__pin {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  display: grid; place-items: center;
}
.photo-card__pin svg { width: 18px; height: 18px; }
.clinic__decor { position: absolute; z-index: 1; pointer-events: none; }
.clinic__decor--dots {
  width: 160px; height: 160px;
  left: -40px; top: -40px;
  background-image: radial-gradient(rgba(236, 42, 134, 0.35) 2px, transparent 2.6px);
  background-size: 16px 16px;
}
.clinic__decor--blob {
  width: 70%; height: 70%;
  right: -12%; bottom: -14%;
  background: radial-gradient(circle at 30% 30%, #9ddcf6, var(--sky));
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  opacity: 0.8;
}

.clinic__content h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 1rem 0 1.2rem;
}
.clinic__content > p { color: var(--ink-soft); font-size: 1.08rem; }

.feature-list { margin-top: 1.8rem; display: grid; gap: 1rem; }
.feature-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.feature-list__icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: var(--white);
  margin-top: 0.15rem;
}
.feature-list__icon svg { width: 16px; height: 16px; }
.feature-list strong { display: block; font-family: var(--font-head); font-weight: 600; }
.feature-list span:not(.feature-list__icon) { color: var(--ink-soft); font-size: 0.96rem; }

.stats {
  position: relative;
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(30, 155, 215, 0.08);
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0 33.33%, var(--pink) 33.33% 66.66%, var(--green) 66.66%);
}
.stat {
  padding: 1.35rem 0.75rem 1.2rem;
  text-align: center;
}
.stat + .stat { border-left: 1px solid rgba(18, 119, 184, 0.12); }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.45rem; color: var(--blue-deep); font-weight: 800; letter-spacing: -0.02em; }
.stat:nth-child(2) strong { color: var(--pink); }
.stat:nth-child(3) strong { color: var(--green-deep); }
.stat span { display: block; font-size: 0.85rem; line-height: 1.35; color: var(--muted); font-weight: 600; margin-top: 0.15rem; }

/* ---------- Precios ---------- */
.prices { background: linear-gradient(180deg, var(--sky-pale), var(--white)); }
.prices__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.6rem;
  align-items: stretch;
}
.price--featured {
  position: relative;
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 70%, var(--blue-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.2rem;
  box-shadow: 0 30px 70px rgba(18, 119, 184, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.price--featured::before {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  right: -90px; top: -90px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.price--featured::after {
  content: "";
  position: absolute;
  width: 180px; height: 180px;
  left: -70px; bottom: -70px;
  border-radius: 50%;
  background: rgba(236, 42, 134, 0.35);
  filter: blur(6px);
}
.price--featured > * { position: relative; z-index: 1; }
.price__tag {
  align-self: flex-start;
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.price--featured h3 { color: var(--white); font-size: 1.5rem; font-weight: 700; }
.price__amount {
  font-family: var(--font-head);
  font-size: 4.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0.6rem 0 0.8rem;
}
.price__amount sup { font-size: 0.45em; vertical-align: top; margin-right: 0.1em; opacity: 0.85; }
.price__desc { opacity: 0.9; flex-grow: 1; margin-bottom: 1.6rem; }

.price-list {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 0.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0.6rem;
  border-bottom: 1px dashed rgba(18, 119, 184, 0.2);
  border-radius: 14px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.price-row:last-child { border-bottom: 0; }
.price-row:hover { background: var(--sky-pale); transform: translateX(4px); }
.price-row h3 { font-size: 1.05rem; font-weight: 600; }
.price-row p { color: var(--muted); font-size: 0.9rem; margin-top: 0.15rem; }
.price-row__amount {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--pink);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* ---------- Horario / citas ---------- */
.schedule__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.8rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--white);
}
.card__head svg { width: 28px; height: 28px; }
.card__head--pink { background: linear-gradient(90deg, var(--pink), var(--pink-deep)); }
.schedule__list { padding: 1.6rem 1.8rem 0.6rem; display: grid; gap: 1.2rem; }
.schedule__list li { display: flex; gap: 1rem; align-items: flex-start; }
.schedule__icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--sky-pale);
  color: var(--blue-deep);
}
.schedule__icon svg { width: 24px; height: 24px; }
.schedule__list strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; margin-bottom: 0.15rem; }
.schedule__list div span { display: block; color: var(--ink-soft); }
.schedule__status {
  margin: 1rem 1.8rem 1.8rem;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--sky-pale);
  color: var(--blue-deep);
}
.schedule__status::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 0 4px rgba(125, 148, 166, 0.2);
}
.schedule__status.is-open { background: #edf8e4; color: var(--green-deep); }
.schedule__status.is-open::before { background: var(--green); box-shadow: 0 0 0 4px rgba(125, 194, 67, 0.25); animation: pulse 1.8s ease-in-out infinite; }
.schedule__status.is-closed { background: var(--pink-light); color: var(--pink-deep); }
.schedule__status.is-closed::before { background: var(--pink); box-shadow: 0 0 0 4px rgba(236, 42, 134, 0.2); }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(125, 194, 67, 0.12); } }

.card--appointment {
  padding: 2.2rem 2rem;
  background:
    radial-gradient(400px 260px at 100% 0%, rgba(91, 192, 235, 0.25), transparent 60%),
    var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card--appointment h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 1rem 0 1.4rem;
}
.phone {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 1.4rem 0.7rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: var(--white);
  box-shadow: 0 14px 34px rgba(30, 155, 215, 0.32);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease;
}
.phone:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 20px 44px rgba(30, 155, 215, 0.42); }
.phone__icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--green);
  display: grid; place-items: center;
}
.phone__icon svg { width: 24px; height: 24px; }
.phone__number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: 0.02em;
}
.appointment__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.appointment__note { margin-top: 1.2rem; color: var(--muted); font-size: 0.92rem; font-weight: 600; }

/* ---------- Ubicación ---------- */
.location { background: linear-gradient(180deg, var(--white), var(--sky-pale)); }
.location__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.6rem;
  align-items: stretch;
}
.location__info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.address {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: var(--white);
  padding: 1.6rem;
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(30, 155, 215, 0.3);
  font-size: 1.02rem;
  line-height: 1.55;
}
.address strong { font-family: var(--font-head); font-size: 1.15rem; }
.address__icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--pink);
  display: grid; place-items: center;
}
.address__icon svg { width: 26px; height: 26px; }

.qr-card {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  background: var(--white);
  padding: 1.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(30, 155, 215, 0.1);
}
.qr-card__code {
  position: relative;
  flex-shrink: 0;
  width: 132px;
  height: 132px;
  padding: 10px;
  border-radius: 18px;
  background: var(--white);
  border: 2px solid var(--sky-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease, border-color 0.3s ease;
}
.qr-card__code:hover { transform: scale(1.04); border-color: var(--blue); box-shadow: var(--shadow); }
.qr-card__code img { width: 100%; height: 100%; display: block; }
.qr-card__badge {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(236, 42, 134, 0.4);
  border: 3px solid var(--white);
}
.qr-card__badge svg { width: 18px; height: 18px; }
.qr-card strong { display: block; font-family: var(--font-head); color: var(--blue-deep); font-size: 1.1rem; margin: 0.6rem 0 0.2rem; }
.qr-card p { color: var(--ink-soft); font-size: 0.92rem; }

.map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 8px solid var(--white);
  min-height: 380px;
  background: var(--sky-light);
}
.map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
  filter: saturate(1.05);
}

/* ---------- CTA final ---------- */
.cta-final {
  padding: 0 0 clamp(4rem, 8vw, 6rem);
}
.cta-final__inner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--pink) 0%, var(--pink-deep) 55%, #b5135d 100%);
  color: var(--white);
  box-shadow: 0 30px 70px rgba(236, 42, 134, 0.35);
}
.cta-final__inner::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  right: -120px; top: -160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.cta-final__inner::after {
  content: "";
  position: absolute;
  width: 200px; height: 200px;
  left: 30%; bottom: -140px;
  border-radius: 50%;
  background: rgba(91, 192, 235, 0.35);
  filter: blur(4px);
}
.cta-final__inner > * { position: relative; z-index: 1; }
.cta-final__media {
  position: relative;
  min-height: 300px;
}
.cta-final__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 30%;
}
.cta-final__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(236, 42, 134, 0) 60%, var(--pink) 100%);
}
.cta-final__body {
  padding: clamp(2rem, 4vw, 3.2rem) clamp(1.6rem, 4vw, 3.2rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.cta-final__body .btn { margin-top: 1.6rem; }
.cta-final h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.02em; }
.cta-final h2 em { color: #ffe1ef; }
.cta-final h2 em::after { background: rgba(255,255,255,0.25); }
.cta-final p { margin-top: 0.6rem; opacity: 0.92; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(180deg, #0f4e7c, var(--blue-dark));
  color: rgba(255,255,255,0.86);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 2rem;
  padding: 3.4rem 0 2.4rem;
  align-items: start;
}
.footer__brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer__brand .brand__logo { filter: drop-shadow(0 6px 14px rgba(0,0,0,0.25)); }
.footer__brand strong { display: block; font-family: var(--font-head); color: var(--white); font-size: 1.1rem; }
.footer__brand p { font-size: 0.92rem; opacity: 0.8; margin-top: 0.3rem; }
.footer__nav { display: grid; gap: 0.55rem; font-family: var(--font-head); font-weight: 500; }
.footer__nav a { opacity: 0.85; transition: opacity 0.2s ease, transform 0.3s var(--ease-out); display: inline-block; }
.footer__nav a:hover { opacity: 1; transform: translateX(4px); color: #ff9fcd; }
.footer__contact { display: grid; gap: 0.5rem; font-size: 0.95rem; }
.footer__contact a { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; color: var(--white); letter-spacing: 0.02em; }
.footer__contact a:hover { color: #ff9fcd; }
.footer__bar {
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.9rem 0;
}
.footer__bar .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- FAB WhatsApp ---------- */
.whatsapp-fab {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1ca851);
  color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.42);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease;
}
.whatsapp-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: ring 2.2s ease-out infinite;
}
@keyframes ring { to { transform: scale(1.6); opacity: 0; } }
.whatsapp-fab svg { width: 32px; height: 32px; }
.whatsapp-fab:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 22px 44px rgba(37, 211, 102, 0.5); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal--delay { transition-delay: 0.15s; }
.reveal.is-visible { opacity: 1; transform: none; }
.services__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.services__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.services__grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.services__grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.services__grid .reveal:nth-child(6) { transition-delay: 0.40s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr 0.85fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .floating-card--a { left: -4%; }
  .floating-card--b { right: -2%; }
}

/* ===== Tablet y móvil ===== */
@media (max-width: 900px) {
  :root { --header-h: 66px; }

  /* Navegación */
  .header { background: rgba(255,255,255,0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0.75rem; right: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.9rem 0.9rem 1.1rem;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px rgba(18, 119, 184, 0.18);
    border-radius: var(--radius);
    transform: translateY(-10px) scale(0.98);
    transform-origin: top center;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav > a:not(.btn) { padding: 0.8rem 0.9rem; font-size: 1.02rem; border-radius: 12px; color: var(--ink); }
  .nav > a:not(.btn)::after { display: none; }
  .nav > a:not(.btn):hover, .nav > a.is-active { background: var(--sky-pale); color: var(--blue-deep); }
  .nav__cta { margin-top: 0.7rem; padding: 0.95rem; font-size: 1rem; }
  .nav-toggle { display: flex; }

  /* Hero: título → foto → detalles */
  .hero { min-height: auto; padding: 0.75rem 0 2.75rem; }
  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "visual" "details";
    row-gap: 0;
    text-align: center;
  }
  .hero__intro, .hero__details { display: flex; flex-direction: column; align-items: center; align-self: auto; }
  .hero__intro { padding-top: 1rem; }
  .hero__title { font-size: clamp(2.5rem, 11.5vw, 3.6rem); line-height: 0.95; }
  .hero__title-name { margin-top: 0.14em; }

  .hero__visual { margin: 1.5rem 0 1.5rem; }
  .portrait { width: 100%; max-width: 520px; aspect-ratio: 4 / 3; }
  .portrait picture { border-radius: var(--radius-lg); border-width: 5px; }
  .portrait img { object-position: 50% 30%; }
  .portrait__ring { inset: -12px; border-radius: 40px; }
  .portrait__pink { right: -6%; bottom: -10%; width: 40%; height: 45%; }
  .floating-card { padding: 0.5rem 0.8rem 0.5rem 0.5rem; border-radius: 14px; gap: 0.55rem; }
  .floating-card__icon { width: 34px; height: 34px; border-radius: 10px; }
  .floating-card__icon svg { width: 18px; height: 18px; }
  .floating-card strong { font-size: 0.85rem; }
  .floating-card small { font-size: 0.7rem; }
  .floating-card--a { left: 4%; top: auto; bottom: 7%; }
  .floating-card--b { right: 4%; bottom: auto; top: 7%; }

  .pill-wrap { margin: 0 0 1rem; }
  .hero__collab { font-size: 1.05rem; }
  .hero__lead { font-size: 1rem; max-width: 34ch; margin-top: 0.4rem; }
  .hero__quote { font-size: 1rem; margin-top: 0.3rem; }
  .hero__actions { margin-top: 1.4rem; width: 100%; max-width: 380px; flex-direction: column; gap: 0.65rem; }
  .hero__actions .btn { width: 100%; }
  .hero__badges { margin-top: 1.25rem; justify-content: center; gap: 0.45rem; }
  .hero__badges li {
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(30, 155, 215, 0.15);
    padding: 0.38rem 0.75rem 0.38rem 0.45rem;
    border-radius: 999px;
    font-size: 0.84rem;
    box-shadow: var(--shadow-sm);
  }

  .scroll-hint, .leaf, .dots--br, .blob--3 { display: none; }
  .dots--tl { left: 2vw; top: 2vh; width: 80px; height: 80px; opacity: 0.45; }
  .blob--1 { width: 120vw; height: 120vw; right: -50vw; top: -96vw; opacity: 0.35; }
  .blob--2 { width: 48vw; height: 48vw; right: -14vw; top: 34%; bottom: auto; opacity: 0.4; }

  /* Secciones */
  .section { padding: 3.75rem 0; }
  .section__head { margin-bottom: 2rem; }
  .section__head h2 { font-size: clamp(1.7rem, 6.4vw, 2.3rem); }
  .section__head p { font-size: 1rem; margin-top: 0.75rem; }
  .ribbon { padding: 0.7rem 0; font-size: 0.86rem; }

  h2 em { white-space: normal; }
  .clinic { overflow: hidden; }
  .clinic__grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .clinic__decor--dots { width: 110px; height: 110px; left: -20px; top: -24px; }
  .clinic__content h2 { font-size: clamp(1.7rem, 6.4vw, 2.3rem); }

  .prices__grid, .schedule__grid, .location__grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .price-list { padding: 0.4rem 1rem; }

  .cta-final__inner { grid-template-columns: 1fr; text-align: center; }
  .cta-final__media { min-height: 240px; }
  .cta-final__media::after { background: linear-gradient(180deg, rgba(236, 42, 134, 0) 55%, var(--pink) 100%); }
  .cta-final__body { align-items: center; padding-top: 1.5rem; }
  .cta-final__body .btn { width: 100%; max-width: 360px; }

  .footer__grid { padding: 2.75rem 0 2rem; gap: 1.75rem; }
}

/* ===== Móvil ===== */
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .container { width: min(1180px, calc(100% - 2.25rem)); }

  .brand__text small { display: none; }
  .brand__logo { width: 36px; height: 46px; }

  .hero__title-name { font-size: 0.64em; }

  .section { padding: 3.25rem 0; }

  .services__grid { grid-template-columns: 1fr; gap: 1rem; }
  .service {
    padding: 1.35rem 1.25rem;
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 0.9rem;
    row-gap: 0.6rem;
    align-items: center;
  }
  .service__icon { width: 52px; height: 52px; border-radius: 15px; margin-bottom: 0; grid-row: 1; grid-column: 1; }
  .service__icon svg { width: 27px; height: 27px; }
  .service h3 { font-size: 1.05rem; margin-bottom: 0; grid-row: 1; grid-column: 2; }
  .service p { font-size: 0.94rem; grid-column: 1 / -1; }
  .service__arrow { grid-column: 1 / -1; margin-top: 0.2rem; }

  .photo-card { border-width: 6px; }
  .photo-card figcaption { font-size: 0.82rem; }
  .feature-list { gap: 0.85rem; margin-top: 1.4rem; }
  .stats { margin-top: 1.75rem; }
  .stat { padding: 1.1rem 0.5rem 1rem; }
  .stat strong { font-size: 1.15rem; }
  .stat span { font-size: 0.74rem; line-height: 1.3; }

  .price--featured { padding: 1.75rem 1.5rem; border-radius: var(--radius); }
  .price__amount { font-size: 3.4rem; margin: 0.4rem 0 0.6rem; }
  .price-list { border-radius: var(--radius); }
  .price-row { padding: 1rem 0.5rem; gap: 0.9rem; }
  .price-row h3 { font-size: 0.98rem; }
  .price-row p { font-size: 0.84rem; }
  .price-row__amount { font-size: 1.35rem; }

  .card { border-radius: var(--radius); }
  .card__head { padding: 0.95rem 1.35rem; }
  .schedule__list { padding: 1.35rem 1.35rem 0.4rem; gap: 1rem; }
  .schedule__status { margin: 0.9rem 1.35rem 1.35rem; font-size: 0.86rem; }
  .card--appointment { padding: 1.75rem 1.35rem; align-items: stretch; text-align: center; }
  .card--appointment .pill { align-self: center; }
  .card--appointment h2 { font-size: 1.55rem; margin: 0.9rem 0 1.2rem; }
  .phone { justify-content: center; }
  .appointment__actions { flex-direction: column; margin-top: 1.1rem; }
  .appointment__actions .btn { width: 100%; }

  .address { padding: 1.25rem; gap: 0.85rem; font-size: 0.98rem; }
  .address__icon { width: 42px; height: 42px; }
  .qr-card { flex-direction: column; text-align: center; align-items: center; padding: 1.4rem 1.25rem; gap: 1.1rem; }
  .qr-card__code { width: 168px; height: 168px; padding: 12px; }
  .location__info .btn { width: 100%; }
  .map { min-height: 300px; border-width: 6px; border-radius: var(--radius); }
  .map iframe { min-height: 300px; }

  .cta-final { padding-bottom: 3rem; }
  .cta-final__inner { border-radius: var(--radius); }
  .cta-final__media { min-height: 210px; }
  .cta-final h2 { font-size: 1.55rem; }
  .cta-final p { font-size: 0.98rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.25rem 0 1.75rem; }
  .footer__nav { grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; }
  .footer__contact a { font-size: 1.3rem; }
  .footer__bar { font-size: 0.82rem; }
  .footer__bar .container { justify-content: center; text-align: center; gap: 0.35rem; }

  .whatsapp-fab { width: 54px; height: 54px; right: 1rem; bottom: 1rem; }
  .whatsapp-fab svg { width: 28px; height: 28px; }

  .cookie {
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(4.75rem + env(safe-area-inset-bottom));
    width: auto;
  }
  .cookie__actions { width: 100%; justify-content: flex-end; }
  .cookie .btn { flex: 1; justify-content: center; }
}

/* ---------- Cookies ---------- */
html:not(.cookies-ok) body {
  padding-bottom: 7.5rem;
}

.cookie {
  position: fixed;
  z-index: 80;
  left: auto;
  right: 1.25rem;
  bottom: 1.25rem;
  width: min(34rem, calc(100vw - 2.5rem));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem 1rem;
  padding: 0.85rem 0.95rem 0.85rem 1.1rem;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-deep));
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

html.cookies-ok .cookie { display: none; }

.cookie p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}
.cookie p b { color: #fff; font-weight: 700; font-family: var(--font-head); }

.cookie__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: none;
}

.cookie__link {
  color: #fff;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  font: inherit;
  font-size: 0.88rem;
}
.cookie__link:hover { color: #ff9fcd; }

.cookie .btn {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.cookie__x {
  width: 2rem;
  height: 2rem;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.cookie__x:hover { background: rgba(255, 255, 255, 0.24); }

.footer__bar-end {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__privacy {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  opacity: 0.85;
}
.footer__privacy:hover { opacity: 1; color: #ff9fcd; }

/* ---------- Privacidad ---------- */
.sheet {
  border: 0;
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 30rem;
  width: calc(100% - 2rem);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.sheet::backdrop {
  background: rgba(14, 92, 147, 0.45);
  backdrop-filter: blur(4px);
}
.sheet h2 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
  color: var(--blue-dark);
}
.sheet p {
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
  font-size: 0.98rem;
}
.sheet a {
  color: var(--blue-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.sheet .btn { margin-top: 1rem; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}
