/* =========================================================
   Pediatras Junt@s — styles
   Palette taken from the logo + Instagram posts
   ========================================================= */

:root {
  --teal: #0a9ab3;
  --teal-d: #067a8e;
  --blue: #3a9cc6;
  --pink: #e6489b;
  --pink-d: #c92f7f;
  --salmon: #f4948f;
  --yellow: #f6bd1b;
  --green: #7cba4e;
  --green-l: #bfe38a;
  --lilac: #cfb2ef;
  --lilac-d: #8d5fc9;
  --wa: #17864a;   /* slightly deeper WhatsApp green: white text passes WCAG AA (4.6:1) */
  --wa-d: #126b3b;

  --bg: #fffbf4;
  --bg-2: #fff4e3;
  --card: #ffffff;
  --ink: #1d2433;
  --ink-2: #4a5263;
  --line: rgba(29, 36, 51, .1);

  --r-lg: 28px;
  --r-md: 20px;
  --shadow: 0 1px 2px rgba(29, 36, 51, .06), 0 12px 32px -12px rgba(29, 36, 51, .18);
  --shadow-lg: 0 2px 4px rgba(29, 36, 51, .06), 0 24px 48px -16px rgba(29, 36, 51, .25);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --f-head: "Fredoka", "Nunito", system-ui, sans-serif;
  --f-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 76px;
  --gutter: clamp(16px, 4vw, 40px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.ico {
  width: 1.2em; height: 1.2em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }

/* color helpers */
.c-teal { color: var(--teal); } .c-salmon { color: var(--salmon); } .c-green { color: var(--green); } .c-yellow { color: var(--yellow); }
.c-bg-teal { background: var(--teal); } .c-bg-pink { background: var(--pink); } .c-bg-yellow { background: var(--yellow); }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--ink); --fg-btn: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.35em;
  border-radius: 999px; border: 2px solid transparent;
  background: var(--bg-btn); color: var(--fg-btn);
  font: 700 1rem/1 var(--f-body); text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform .35s var(--spring), box-shadow .3s var(--ease), background-color .2s;
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.35);
}
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 26px -10px rgba(0,0,0,.35); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { padding: .65em 1.05em; font-size: .92rem; }
.btn--lg { padding: 1em 1.6em; font-size: 1.05rem; }
.btn--wa { --bg-btn: var(--wa); }
.btn--wa:hover { --bg-btn: var(--wa-d); }
.btn--ghost { --bg-btn: transparent; --fg-btn: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--ghost:hover { --bg-btn: var(--ink); --fg-btn: #fff; }
.btn--light { --bg-btn: #fff; --fg-btn: var(--teal-d); }
.btn--ig { background: linear-gradient(45deg, #f09433, #dc2743 45%, #bc1888 70%, #8d5fc9); }

.link {
  display: inline-flex; align-items: center; gap: .35em;
  color: var(--teal-d); font-weight: 800; text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 1px;
}
.link .ico { transition: transform .3s var(--ease); }
.link:hover .ico { transform: translateX(4px); }

/* highlighter pill, like the Instagram posts */
.pill {
  display: inline-block; position: relative; z-index: 0;
  padding: 0 .22em; white-space: nowrap;
}
.pill::before {
  content: ""; position: absolute; z-index: -1;
  inset: .12em -.08em .02em;
  border-radius: .45em;
  background: var(--pill, var(--green-l));
  transform: rotate(-1.5deg) scaleX(var(--sx, 1));
  transform-origin: left center;
  transition: transform .9s var(--ease) .25s;
}
.pill--green { --pill: var(--green-l); }
.pill--lilac { --pill: var(--lilac); }
.pill--yellow { --pill: #ffe08a; }
.pill--pink { --pill: #ffc4de; }
.pill--teal { --pill: #b5e7ef; }
.js .reveal:not(.is-visible) .pill::before { --sx: 0; }

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 251, 244, .85);
  transition: box-shadow .3s, background-color .3s;
}
@supports (backdrop-filter: blur(12px)) {
  .nav { background: rgba(255, 251, 244, .72); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); }
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(0,0,0,.25); }
.nav__inner {
  max-width: 1320px; height: 100%; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__brand img { width: 46px; height: 46px; object-fit: contain; transition: transform .6s var(--spring); }
.nav__brand:hover img { transform: rotate(-12deg) scale(1.08); }
.wordmark { font-family: var(--f-head); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; white-space: nowrap; }
.wordmark b, .wordmark i { font-style: normal; font-weight: 700; }
.wordmark b { font-size: 1.15em; }

.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  text-decoration: none; font-weight: 700; color: var(--ink-2);
  padding: 8px 12px; border-radius: 999px; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.nav__links a:not(.btn):hover { background: rgba(10, 154, 179, .1); color: var(--teal-d); }
.nav__links .nav__cta-mobile { display: none; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; color: var(--teal-d); border: 2px solid rgba(10,154,179,.25);
  transition: transform .3s var(--spring), background-color .2s;
}
.icon-btn:hover { transform: rotate(-12deg) scale(1.08); background: #e8f7fa; }
.nav__toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--ink);
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer;
}
.nav__toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Blobs (decorative corners, as in the flyers) ---------- */
.blob {
  position: absolute; z-index: 0; pointer-events: none;
  width: clamp(180px, 26vw, 380px); aspect-ratio: 1;
  border-radius: 42% 58% 63% 37% / 45% 42% 58% 55%;
  animation: morph 14s ease-in-out infinite alternate;
  opacity: .95;
}
.blob--pink { background: #ff84bd; top: -12%; left: -9%; }
.blob--green { background: var(--green); top: -16%; right: -10%; animation-delay: -4s; }
.blob--yellow { background: #ffcd6b; bottom: -18%; left: -12%; animation-delay: -8s; }
.blob--teal { background: #69c6cf; bottom: -20%; right: -8%; animation-delay: -2s; }
.blob--sm { width: clamp(140px, 18vw, 260px); opacity: .9; }
@keyframes morph {
  0%   { border-radius: 42% 58% 63% 37% / 45% 42% 58% 55%; transform: rotate(0deg) scale(1); }
  50%  { border-radius: 60% 40% 35% 65% / 55% 60% 40% 45%; transform: rotate(14deg) scale(1.05); }
  100% { border-radius: 38% 62% 50% 50% / 62% 38% 62% 38%; transform: rotate(-8deg) scale(.97); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: clip;
  padding: clamp(40px, 7vw, 90px) var(--gutter) clamp(70px, 9vw, 120px);
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: flex; align-items: center;
}
.hero__inner {
  position: relative; z-index: 1;
  width: 100%; max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px 7px 12px; font-weight: 800; font-size: .9rem; color: var(--ink-2);
  box-shadow: var(--shadow);
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(230,72,155,.5); animation: ping 2.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(230,72,155,0); } 100% { box-shadow: 0 0 0 0 rgba(230,72,155,0); } }

.hero__title {
  font-size: clamp(2.6rem, 6.2vw, 5.1rem);
  font-weight: 700; line-height: 1.02;
  margin: 22px 0 22px;
  text-wrap: balance;
}
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-2); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero__proof { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.proof-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow);
  font-weight: 700; font-size: .92rem; color: var(--ink-2); text-decoration: none;
  transition: transform .35s var(--spring);
}
.proof-chip b { color: var(--ink); }
.proof-chip:hover { transform: translateY(-2px); }
.btn--virtual { --bg-btn: var(--teal-d); }
.btn--virtual:hover { --bg-btn: #055e6e; }

.social {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  color: #fff; text-decoration: none;
  transition: transform .35s var(--spring);
}
.social:hover { transform: translateY(-4px) rotate(-8deg); }
.social--ig { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.social--fb { background: #1877f2; }
.social--wa { background: var(--wa); }
.social--tel { background: var(--teal); }

.status {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 6px;
  font-size: .85rem; font-weight: 800; padding: 6px 12px; border-radius: 999px;
  background: #eef7e6; color: #3f7a1f;
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.is-closed { background: #f3eef9; color: var(--lilac-d); }

.hero__media { position: relative; }
.hero__frame {
  position: relative; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  overflow: hidden; aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-lg);
  border: 8px solid #fff;
  animation: frame 16s ease-in-out infinite alternate;
}
@keyframes frame {
  0% { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
  100% { border-radius: 56% 44% 54% 46% / 44% 56% 44% 56%; }
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform: scale(1.04); }
.sticker {
  position: absolute; z-index: 2;
  font-family: var(--f-head); font-weight: 600; font-size: clamp(.95rem, 1.3vw, 1.1rem); line-height: 1.15;
  padding: 12px 18px; border-radius: 18px; color: #fff; box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite; animation-delay: var(--d, 0s);
}
.sticker--pink { background: var(--pink); top: 8%; left: -6%; transform: rotate(-6deg); }
.sticker--yellow { background: var(--yellow); color: var(--ink); bottom: 10%; right: -4%; max-width: 16ch; transform: rotate(4deg); }
.hero__logo {
  position: absolute; z-index: 2; width: clamp(80px, 9vw, 120px); height: auto;
  bottom: -2%; left: 4%;
  background: #fff; border-radius: 50%; padding: 12px; box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite; animation-delay: var(--d, 0s);
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

/* ---------- Quick info ---------- */
.quick { position: relative; z-index: 2; padding: 0 var(--gutter); margin-top: -46px; }
.quick__grid {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.quick__item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border-radius: var(--r-md); padding: 22px 22px 18px;
  box-shadow: var(--shadow);
}
.quick__item h2 { font-size: 1.25rem; margin-bottom: 6px; }
.quick__item p { color: var(--ink-2); margin-bottom: .5em; font-size: .98rem; }
.quick__ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; color: #fff; flex: none; }
.quick__ico .ico { width: 24px; height: 24px; }
.c-bg-yellow .ico { color: var(--ink); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 130px) var(--gutter); }
.section__head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section__lead { color: var(--ink-2); font-size: 1.1rem; margin-top: 16px; }
.kicker {
  display: inline-block; font-family: var(--f-head); font-weight: 600; font-size: 1rem;
  color: var(--pink-d); background: #ffe6f2; padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
}
.kicker--light { color: #fff; background: rgba(255,255,255,.2); }
.h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 700; text-wrap: balance; }

/* ---------- About ---------- */
.about__grid {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center;
}
.about__media { position: relative; margin: 0; }
.about__media img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 30%;
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}
.about__media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border-radius: var(--r-lg); background: var(--lilac);
}

/* Photo carousel (crossfade). First photo is visible even without JS. */
.slider {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3;
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); background: #e9eef0;
}
.about__media .slider .slider__img {
  position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto;
  object-fit: cover; object-position: 50% 50%;
  border-radius: 0; box-shadow: none;
  opacity: 0; transform: scale(1.04);
  transition: opacity .9s var(--ease), transform 3.6s linear;
}
.about__media .slider .slider__img.is-active { opacity: 1; transform: scale(1); }
/* Fachada: shift framing left so the entrance door (left edge of the photo) stays in view */
.about__media .slider .slider__img--fachada { object-position: 10% 50%; transform-origin: 10% 50%; }
.slider__arrow {
  position: absolute; top: 50%; z-index: 2; translate: 0 -50%;
  display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.88); color: var(--ink); box-shadow: var(--shadow);
  opacity: 0; transition: opacity .25s, transform .3s var(--spring);
}
.slider__arrow .ico { width: 20px; height: 20px; }
.slider__arrow--prev { left: 12px; }
.slider__arrow--prev .ico { transform: rotate(180deg); }
.slider__arrow--next { right: 12px; }
.slider:hover .slider__arrow, .slider__arrow:focus-visible { opacity: 1; }
.slider__arrow:hover { transform: scale(1.1); }
@media (hover: none) { .slider__arrow { opacity: 1; width: 36px; height: 36px; } }
.slider__dots {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  display: flex; gap: 6px; padding: 6px 8px; border-radius: 999px; background: rgba(29,36,51,.35);
}
.slider__dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.6); transition: width .3s var(--ease), background-color .3s;
}
.slider__dot[aria-current="true"] { width: 22px; background: #fff; }
.about__badge { z-index: 3; }
.about__badge {
  position: absolute; right: -12px; bottom: 28px;
  background: var(--teal); color: #fff; font-family: var(--f-head); font-weight: 600; line-height: 1.2;
  padding: 14px 18px; border-radius: 18px; box-shadow: var(--shadow); transform: rotate(-3deg);
}
.about__badge b { color: var(--yellow); font-size: 1.3em; }
.about__copy .h2 { margin-bottom: 22px; }
.about__copy > p { font-size: 1.08rem; color: var(--ink-2); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 38px; font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.checks li:nth-child(2)::before { background-color: var(--pink); }
.checks li:nth-child(3)::before { background-color: var(--teal); }
/* "Envianos tu CV" call-to-action card */
.cv-cta {
  position: relative; overflow: hidden;
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px 16px;
  margin-top: 28px; padding: 18px 20px;
  background: #fff3c4; border: 2px dashed var(--yellow); border-radius: var(--r-md);
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow);
  transition: transform .4s var(--spring), box-shadow .3s;
}
.cv-cta::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%;
  background: var(--yellow); opacity: .25; pointer-events: none;
}
.cv-cta:hover, .js .cv-cta.reveal.is-visible:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: var(--shadow-lg); }
.cv-cta__icon {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: var(--yellow); color: var(--ink);
  animation: cvWiggle 4s ease-in-out infinite;
}
.cv-cta__icon .ico { width: 24px; height: 24px; }
@keyframes cvWiggle {
  0%, 82%, 100% { transform: rotate(0); }
  86% { transform: rotate(-14deg); } 90% { transform: rotate(12deg); } 94% { transform: rotate(-8deg); }
}
.cv-cta__text { flex: 1 1 180px; font: 600 1.18rem/1.25 var(--f-head); }
.cv-cta__btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 11px 18px; border-radius: 999px;
  background: var(--pink-d); color: #fff; font-weight: 800; font-size: .98rem;
  box-shadow: 0 6px 16px -8px rgba(201,47,127,.8);
}
.cv-cta__btn .ico { transition: transform .3s var(--ease); }
.cv-cta:hover .cv-cta__btn .ico { transform: translateX(4px); }

/* ---------- Services ---------- */
.services { background: var(--bg-2); border-radius: clamp(28px, 5vw, 56px); margin: 0 clamp(8px, 1.5vw, 20px); }
.services__grid {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.svc {
  --c: var(--teal);
  position: relative; overflow: hidden;
  background: var(--card); border-radius: var(--r-md); padding: 26px 22px 22px;
  box-shadow: var(--shadow);
  transition: transform .45s var(--spring), box-shadow .3s;
}
.svc::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 110px; height: 110px; border-radius: 50%;
  background: var(--c); opacity: .12; transition: transform .6s var(--ease);
}
.svc:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.svc:hover::after { transform: scale(2.6); }
.svc__ico {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; margin-bottom: 18px;
  background: var(--c); color: #fff;
  transition: transform .5s var(--spring);
}
.svc:hover .svc__ico { transform: rotate(-10deg) scale(1.1); }
.svc__ico .ico { width: 26px; height: 26px; }
.svc h3 { font-size: 1.2rem; margin-bottom: 10px; position: relative; }
.svc p { color: var(--ink-2); font-size: .96rem; margin: 0; position: relative; }
.svc { display: flex; flex-direction: column; }
.svc p { flex: 1; }
.svc__cta {
  position: relative; align-self: flex-start; margin-top: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 800; font-size: .92rem; text-decoration: none;
  /* dark text for legibility; the card color lives in the underline and arrow */
  color: var(--ink); border-bottom: 3px solid var(--c); padding-bottom: 1px;
}
.svc__cta .ico { color: var(--c); }
.svc--yellow .svc__cta .ico { color: #a77800; }
.svc__cta .ico { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.svc__cta:hover .ico { transform: translateX(4px); }

/* Consulta prenatal highlight band */
.prenatal {
  max-width: 1160px; margin: 24px auto 0;
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  background: #ffe9ec; border: 2px solid #ffc9cf; border-radius: var(--r-lg); padding: 28px 32px;
  box-shadow: var(--shadow);
}
.prenatal__ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--salmon); color: #fff; }
.prenatal__ico .ico { width: 30px; height: 30px; }
.prenatal .kicker { margin-bottom: 8px; }
.prenatal h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 8px; text-wrap: balance; }
.prenatal p:last-child { margin: 0; color: var(--ink-2); }
.btn--prenatal { --bg-btn: var(--pink-d); }
.svc--teal { --c: var(--teal); } .svc--pink { --c: var(--pink); } .svc--green { --c: var(--green); }
.svc--yellow { --c: var(--yellow); } .svc--blue { --c: var(--blue); } .svc--salmon { --c: var(--salmon); }
.svc--lilac { --c: var(--lilac-d); } .svc--ink { --c: var(--ink); }
.svc--yellow .svc__ico { color: var(--ink); }

.virtual {
  max-width: 1160px; margin: 36px auto 0;
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: var(--teal); color: #fff; border-radius: var(--r-lg); padding: 30px 34px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.virtual::before {
  content: ""; position: absolute; left: -60px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,.1);
}
.virtual h3 { font-size: 1.6rem; margin-bottom: 6px; }
.virtual p { margin: 0; opacity: .9; }
.virtual .kicker { margin-bottom: 10px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.tags li { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: .88rem; }

/* ---------- Team ---------- */
.team__grid {
  --cols: 4; --gap: 22px;
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap);
}
.team__grid > .doc { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
.doc {
  --c: var(--teal);
  text-align: center; background: var(--card); border-radius: var(--r-lg); padding: 28px 20px 24px;
  box-shadow: var(--shadow); position: relative;
  transition: transform .45s var(--spring);
}
.doc:hover { transform: translateY(-6px); }
.doc::before { content: ""; position: absolute; inset: 0 0 auto; height: 92px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--c); opacity: .18; }
.doc--teal { --c: var(--teal); } .doc--green { --c: var(--green); } .doc--yellow { --c: var(--yellow); } .doc--pink { --c: var(--pink); }
.doc--lilac { --c: var(--lilac-d); }

/* Roña: illustration + "¡Guau!" bubble on hover / focus / tap */
.doc--pet { cursor: pointer; outline-offset: 4px; }
.pet__woof {
  position: absolute; z-index: 2; top: 10px; right: 6%;
  font: 700 1.15rem/1 var(--f-head); color: #fff; background: var(--pink);
  padding: 9px 14px; border-radius: 18px 18px 18px 4px; box-shadow: var(--shadow);
  transform: scale(0) rotate(-12deg); transform-origin: bottom left;
  transition: transform .45s var(--spring);
  pointer-events: none;
}
.doc--pet:hover .pet__woof, .doc--pet:focus-visible .pet__woof, .doc--pet.is-woofing .pet__woof {
  transform: scale(1) rotate(-8deg);
}
.doc__photo {
  position: relative; width: 150px; height: 150px; margin: 0 auto 18px;
  border-radius: 50%; overflow: hidden; border: 5px solid #fff;
  box-shadow: 0 0 0 4px var(--c), var(--shadow);
  transition: border-radius .6s var(--ease);
}
.doc:hover .doc__photo { border-radius: 42% 58% 55% 45% / 50% 45% 55% 50%; }
.doc__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.doc h3 { font-size: 1.25rem; margin-bottom: 6px; }
.doc__role { color: var(--ink-2); font-weight: 600; margin: 0 0 10px; font-size: .96rem; }
.doc__mn { display: inline-block; margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .04em; color: var(--ink-2); background: var(--bg-2); padding: 3px 10px; border-radius: 999px; }
.doc { display: flex; flex-direction: column; align-items: center; }
.doc .doc__role { flex: 1; }
.doc__cta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  padding: 8px 14px; border-radius: 999px;
  /* same color as the ring around each photo; dark text keeps it readable on every color */
  background: var(--c); color: var(--ink); font-weight: 800; font-size: .86rem; text-decoration: none;
  transition: transform .35s var(--spring), filter .2s;
}
.doc__cta:hover { transform: translateY(-2px); filter: brightness(.92); }
.doc__cta .ico { width: 1.1em; height: 1.1em; }

/* ---------- Reviews ---------- */
.reviews { background: var(--bg-2); border-radius: clamp(28px, 5vw, 56px); margin: 0 clamp(8px, 1.5vw, 20px); }
.stars { color: var(--yellow); letter-spacing: .08em; font-size: 1.1rem; line-height: 1; }
.rating {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 22px;
  background: #fff; border-radius: 999px; padding: 10px 22px 10px 12px; box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink);
  transition: transform .35s var(--spring);
}
.rating:hover { transform: translateY(-3px); }
.rating__score {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--yellow); font: 700 1.35rem/1 var(--f-head);
}
.rating__right { display: grid; gap: 4px; text-align: left; }
.rating .stars { font-size: 1.25rem; }
.rating__count { font-weight: 700; font-size: .92rem; color: var(--ink-2); }

.reviews__grid { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }
.review {
  --c: var(--teal);
  position: relative; margin: 0;
  background: #fff; border-radius: var(--r-lg); padding: 28px 28px 22px;
  box-shadow: var(--shadow); border-top: 6px solid var(--c);
}
.review::before {
  content: "\201C"; position: absolute; right: 22px; top: 4px;
  font: 700 5rem/1 var(--f-head); color: var(--c); opacity: .18;
}
.review--teal { --c: var(--teal); } .review--pink { --c: var(--pink); } .review--green { --c: var(--green); } .review--lilac { --c: var(--lilac-d); }
.review__text { margin: 14px 0 18px; font-size: 1.02rem; line-height: 1.65; color: var(--ink); }
.js .review__text.is-clamped {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden;
}
.review__more {
  margin: -8px 0 16px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 800 .92rem/1.2 var(--f-body); color: var(--teal-d); text-decoration: underline; text-underline-offset: 3px;
}
.review figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.review figcaption b { font-family: var(--f-head); font-weight: 600; font-size: 1.08rem; }
.review figcaption span { font-size: .85rem; color: var(--ink-2); }
.reviews__ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn--review { --bg-btn: var(--yellow); --fg-btn: var(--ink); }

/* ---------- Parents ---------- */
.parents { background: linear-gradient(180deg, var(--bg) 0%, #f3fbfc 100%); }
.faq { max-width: 960px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item {
  --c: var(--teal);
  background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow);
  border-left: 8px solid var(--c);
  transition: box-shadow .3s;
}
.faq__item[open] { box-shadow: var(--shadow-lg); }
.faq--pink { --c: var(--pink); } .faq--green { --c: var(--green); } .faq--teal { --c: var(--teal); }
.faq--lilac { --c: var(--lilac-d); } .faq--yellow { --c: var(--yellow); } .faq--blue { --c: var(--blue); } .faq--salmon { --c: var(--salmon); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 14px;
  padding: 20px 22px; font: 600 1.2rem/1.25 var(--f-head);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__emoji { font-size: 1.5rem; line-height: 1; }
.faq__plus {
  margin-left: auto; width: 34px; height: 34px; padding: 7px; border-radius: 50%;
  background: var(--c); color: #fff; transition: transform .4s var(--spring);
}
.faq--yellow .faq__plus { color: var(--ink); }
.faq__item[open] .faq__plus { transform: rotate(135deg); }
.faq__body { padding: 0 26px 22px 64px; color: var(--ink-2); animation: open .45s var(--ease); }
.faq__body ul { margin: 0 0 12px; padding-left: 1.1em; display: grid; gap: 6px; }
.faq__body li::marker { color: var(--c); }
.faq__body p:last-child, .faq__body ul:last-child { margin-bottom: 0; }
.faq { grid-template-columns: minmax(0, 1fr); }
.faq__cta .btn, .downloads__cta .btn { white-space: normal; text-align: left; }
.faq__cta, .downloads__cta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px;
  margin-top: 16px; padding: 12px 14px; border-radius: 14px;
  background: var(--bg); border: 1px dashed var(--line);
  font-weight: 700; color: var(--ink);
}
.downloads__cta { justify-content: center; margin: 28px auto 0; max-width: 640px; background: #fff; box-shadow: var(--shadow); border: 0; }
.muted { font-size: .92rem; font-style: italic; }
.faq__alarm { font-style: italic; }
.faq__body .faq__alarm li::marker { color: var(--pink); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.timeline { list-style: none; padding-left: 0 !important; }
.timeline li { position: relative; padding-left: 22px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px #d6f1f5; }

.jump {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow);
  font-weight: 800; color: var(--teal-d); text-decoration: none;
  transition: transform .35s var(--spring);
}
.jump:hover { transform: translateY(3px); }

/* ---------- Downloads ---------- */
.downloads { max-width: 1160px; margin: 64px auto 0; scroll-margin-top: calc(var(--nav-h) + 20px); }
.downloads__head { text-align: center; margin-bottom: 28px; }
.downloads__head p { color: var(--ink-2); margin: 12px 0 0; }
.h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
.downloads__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dl__meta { font-size: .82rem; font-weight: 700; color: var(--ink-2); opacity: .8; margin-bottom: 12px; }
.dl {
  --c: var(--teal); --c-l: #d6f1f5;
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .45s var(--spring), box-shadow .3s;
}
.dl:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dl--teal { --c: var(--teal); --c-l: #d6f1f5; }
.dl--pink { --c: var(--pink); --c-l: #ffe0ee; }
.dl--lilac { --c: var(--lilac-d); --c-l: #efe4fb; }
.dl--yellow { --c: #d99a00; --c-l: #fff1c7; }
.dl--green { --c: var(--green); --c-l: #e6f4d8; }
.dl__cover {
  position: relative; display: grid; place-items: center; height: 150px;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.7) 0 18%, transparent 19%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,.5) 0 22%, transparent 23%),
    var(--c-l);
}
.dl__cover img { width: 100%; height: 100%; object-fit: cover; }
.dl__emoji {
  display: grid; place-items: center; width: 84px; height: 104px; font-size: 2.4rem;
  background: #fff; border-radius: 10px 26px 10px 10px; box-shadow: var(--shadow);
  transform: rotate(-4deg); transition: transform .5s var(--spring);
}
.dl__svg { width: 54px; height: 54px; }
.dl:hover .dl__emoji { transform: rotate(3deg) scale(1.06); }
.dl__tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--c); color: #fff; font: 700 .75rem/1 var(--f-body); letter-spacing: .08em;
  padding: 5px 9px; border-radius: 999px;
}
.dl__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.dl__body h4 { font: 600 1.15rem/1.2 var(--f-head); margin: 0 0 8px; }
.dl__body p { color: var(--ink-2); font-size: .95rem; margin: 0 0 12px; flex: 1; }
.btn--dl { --bg-btn: var(--c); align-self: flex-start; padding: .7em 1.1em; font-size: .95rem; }
.dl--yellow .btn--dl { --fg-btn: var(--ink); }

.ig-cta {
  max-width: 960px; margin: 40px auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: #fff; border-radius: var(--r-lg); padding: 26px 30px; box-shadow: var(--shadow);
  border: 2px dashed var(--lilac);
}
.ig-cta h3 { font-size: 1.4rem; margin-bottom: 4px; }
.ig-cta p { margin: 0; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact { overflow: clip; }
.contact .blob--pink { top: auto; bottom: -10%; left: -6%; }
.contact .blob--teal { bottom: auto; top: -8%; right: -6%; }
.contact__grid {
  position: relative; z-index: 1;
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center;
}
.contact__copy > p { font-size: 1.1rem; color: var(--ink-2); margin-top: 18px; }
.contact__list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; justify-items: start; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px; text-decoration: none;
  font-weight: 800; font-size: 1.02rem;
  transition: transform .35s var(--spring);
}
.chip:hover { transform: translateX(6px); }
.chip--teal { background: #b5e7ef; } .chip--green { background: #c8ef9e; } .chip--yellow { background: #ffe08a; } .chip--pink { background: #ffc4de; }
.chip { color: var(--ink); overflow-wrap: anywhere; }
/* Turno presencial + Consulta virtual side by side; "Llamar" centered below both */
.contact__ctas { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 12px; }
.contact__ctas .btn:last-child { grid-column: 1 / -1; justify-self: center; }
@media (max-width: 560px) {
  .contact__ctas { grid-template-columns: 1fr; }
  .contact__ctas .btn { width: 100%; }
}
.contact__map {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 8px solid #fff; aspect-ratio: 4 / 3.2; background: #e9eef0;
}
.contact__map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #e9ecf2; padding: 48px var(--gutter) 110px; }
.footer__inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center;
}
.footer__brand { display: flex; align-items: center; gap: 18px; }
.footer__brand img { width: 76px; height: 76px; background: #fff; border-radius: 50%; padding: 8px; }
.footer__brand p { margin: 0; font-weight: 600; opacity: .85; }
.footer__social { display: flex; gap: 10px; }
.footer__legal { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; opacity: .7; }

/* ---------- Floating action buttons ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab__btn {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  height: 58px; min-width: 58px; border-radius: 999px; color: #fff; text-decoration: none;
  box-shadow: 0 10px 26px -8px rgba(0,0,0,.45);
  transition: transform .35s var(--spring);
}
.fab__btn .ico { width: 28px; height: 28px; }
.fab__btn:hover { transform: scale(1.08) rotate(-4deg); }
.fab__btn--tel { background: var(--teal); width: 52px; height: 52px; min-width: 52px; }
.fab__btn--tel .ico { width: 24px; height: 24px; }
.fab__btn--wa { background: var(--wa); padding: 0 20px 0 16px; font-weight: 800; }
.fab__btn--wa::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(28,158,85,.55); animation: fabPulse 2.8s infinite;
}
.fab__btn--wa { position: relative; }
@keyframes fabPulse { 70% { box-shadow: 0 0 0 16px rgba(28,158,85,0); } 100% { box-shadow: 0 0 0 0 rgba(28,158,85,0); } }

/* ---------- Reveal ---------- */
/* Content is only hidden once JS confirms it's running (html.js) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* Only truly intrusive loops are toned down */
@media (prefers-reduced-motion: reduce) {
  .blob, .hero__frame { animation: none; }
  .fab__btn--wa::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { --cols: 2; }
  .downloads__grid { grid-template-columns: repeat(2, 1fr); }
  .virtual { grid-template-columns: 1fr; gap: 18px; }
  .prenatal { grid-template-columns: auto 1fr; }
  .prenatal .btn { grid-column: 1 / -1; justify-self: start; }
  .virtual .btn { justify-self: start; }
  .nav__links a { padding: 8px 10px; }
}

/* Collapse the top bar into the ☰ menu before its 6 links + buttons stop fitting on one line */
@media (max-width: 1260px) {
  .nav__actions { margin-left: auto; }
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed; left: 12px; right: 12px; top: calc(var(--nav-h) + 6px);
    flex-direction: column; gap: 2px; padding: 12px;
    background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98);
    transition: opacity .25s, transform .35s var(--ease), visibility .25s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 14px 16px; font-size: 1.1rem; }
  .nav__links .nav__cta-mobile { display: inline-flex; margin-top: 8px; }
}
@media (min-width: 621px) and (max-width: 1260px) {
  /* on wide screens the dropdown menu sits at the right, not full-width */
  .nav__links { left: auto; width: 320px; }
}

@media (max-width: 920px) {
  :root { --nav-h: 68px; }

  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; width: 100%; margin: 10px auto 0; }
  .sticker--pink { left: 0; }
  .sticker--yellow { right: 0; }

  .quick { margin-top: -30px; }
  .quick__grid { grid-template-columns: 1fr; }

  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { order: 2; }
  .about__badge { right: 8px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wordmark { font-size: 1.12rem; }
  .nav__brand img { width: 38px; height: 38px; }
  .icon-btn { width: 40px; height: 40px; }
  .hero__ctas .btn { width: 100%; white-space: normal; }
  .services__grid, .downloads__grid, .reviews__grid { grid-template-columns: 1fr; }
  .review { padding: 24px 20px 18px; }
  .reviews__ctas .btn { width: 100%; }
  .prenatal { grid-template-columns: 1fr; padding: 24px 20px; gap: 14px; }
  .prenatal .btn { width: 100%; white-space: normal; }
  .doc__cta { font-size: .78rem; padding: 7px 10px; }
  .team__grid { --cols: 2; --gap: 12px; }
  .pet__woof { font-size: .95rem; padding: 7px 11px; top: 6px; right: 2%; }
  .doc { padding: 20px 10px 18px; }
  .doc__photo { width: 104px; height: 104px; border-width: 4px; }
  .doc h3 { font-size: 1.05rem; }
  .doc__role { font-size: .85rem; }
  .alert { grid-template-columns: 1fr; padding: 22px 20px; gap: 12px; }
  .faq__item summary { font-size: 1.05rem; padding: 16px; gap: 10px; }
  .faq__body { padding: 0 18px 18px 22px; }
  .virtual { padding: 26px 22px; }
  .ig-cta { padding: 22px; }
  .ig-cta .btn { width: 100%; white-space: normal; }
  .footer__inner { grid-template-columns: 1fr; }
  .fab__label { display: none; }
  .fab__btn--wa { padding: 0; width: 58px; }
  .about__media::before { inset: 12px -8px -12px 12px; }
}
@media (max-width: 400px) {
  .wordmark { font-size: 1rem; }
  .nav__inner { gap: 10px; }
  .nav__actions { gap: 6px; }
}
@media (max-width: 330px) {
  .wordmark { display: none; }
}
