/* ==========================================================
   FamiPED — Identidad visual
   Paleta inspirada directamente en las piezas entregadas:
   azul profundo + fucsia + turquesa + verde + naranja.
   ========================================================== */

:root {
  --blue: #063d91;
  --blue-2: #0d54b8;
  --blue-soft: #eaf4ff;
  --pink: #f52d85;
  --pink-light: #ff4f9d;
  --cyan: #11b9ca;
  --green: #73c800;
  --orange: #ff8d2f;
  --purple: #6e5df6;
  --ink: #132858;
  --text: #405173;
  --muted: #72809c;
  --white: #ffffff;
  --bg: #fbfdff;
  --line: #e6edf7;
  --shadow: 0 18px 45px rgba(25, 62, 117, .10);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: -100px;
  left: 15px;
  padding: 10px 16px;
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
}
.skip-link:focus { top: 15px; }

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(230,237,247,.8);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
  gap: 12px;
}

.brand-word {
  display: inline-flex;
  align-items: baseline;
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 34px;
  line-height: .85;
  letter-spacing: -1.5px;
}

.brand-fami, .brand-p, .brand-e, .brand-d, .brand-dot {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
}

.brand-fami { color: var(--blue); }
.brand-p { color: var(--pink); }
.brand-e { color: var(--green); }
.brand-d { color: var(--blue); }
.brand-dot { color: var(--orange); margin-left: -3px; }

.brand-specialty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 12px;
  border-left: 1px solid rgba(6,61,145,.20);
  line-height: 1.05;
}

.brand-specialty strong {
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
}

.brand-specialty small {
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav > a:not(.nav-cta) {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  transition: color .2s ease;
}

.main-nav > a:not(.nav-cta):hover,
.main-nav > a.active { color: var(--pink); }

.nav-cta {
  background: var(--pink);
  color: #fff;
  border-radius: 9px;
  padding: 12px 19px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 9px 20px rgba(245,45,133,.22);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 4px auto;
  background: var(--blue);
  border-radius: 3px;
}

/* ---------- Shared ---------- */

.section { padding: 92px 0; }

.small-kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.small-kicker.white { color: #d7f8ff; }

.section-title h2 {
  color: var(--blue);
  font-family: "Baloo 2", cursive;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1;
  margin-top: 2px;
  letter-spacing: -.8px;
}

.section-title h2 strong { color: var(--pink); }

.section-title p {
  max-width: 680px;
  margin: 10px auto 0;
  color: var(--text);
  font-size: 14px;
}

.centered { text-align: center; }

.title-decoration {
  color: var(--pink);
  font-size: 28px;
  line-height: .8;
  margin-bottom: 6px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 45px;
  padding: 12px 19px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-pink {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 12px 25px rgba(245,45,133,.20);
}

.btn-outline {
  border: 2px solid var(--pink);
  color: var(--pink);
  background: #fff;
}

.btn-white {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.wa-symbol { font-size: 20px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  background: #fff;
}

.hero-grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: 25px;
  position: relative;
  z-index: 2;
  padding: 45px 0 65px;
}

.hero-copy { padding-left: 20px; }

.hero h1 {
  margin-top: 10px;
  color: var(--blue);
  font-family: "Baloo 2", cursive;
  font-size: clamp(47px, 5.5vw, 74px);
  line-height: .96;
  letter-spacing: -1.8px;
  max-width: 650px;
}

.hero h1 span {
  display: block;
  color: var(--pink);
}

.hero-lead {
  max-width: 520px;
  color: var(--text);
  margin-top: 20px;
  font-size: 17px;
}

.hero-points {
  list-style: none;
  margin-top: 20px;
}

.hero-points li {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  margin: 8px 0;
}

.hero-points li span {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--cyan);
  color: #fff;
  font-size: 11px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 27px;
}

.hero-art {
  position: relative;
  width: min(100%, 650px);
  justify-self: end;
  min-height: 550px;
  display: grid;
  place-items: center;
}

.hero-image-wrap {
  position: relative;
  z-index: 2;
  width: min(100%, 610px);
  overflow: hidden;
  border-radius: 50%;
  filter: drop-shadow(0 22px 35px rgba(20,67,130,.10));
}

.hero-image-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.hero-ring {
  position: absolute;
  width: 86%;
  aspect-ratio: 1;
  border: 2px solid #e2edff;
  border-radius: 50%;
  z-index: 1;
}

.hero-ring::after {
  content: "";
  position: absolute;
  inset: 6%;
  border: 2px dashed #4f94e9;
  border-radius: 50%;
}

.hero-deco,
.hero-splash,
.about-splash {
  position: absolute;
  border-radius: 50% 40% 55% 45%;
  transform: rotate(-20deg);
}

.hero-deco-pink {
  width: 150px;
  height: 90px;
  background: var(--pink);
  left: 43%;
  top: 70px;
  transform: rotate(-30deg);
  border-radius: 60% 40% 60% 35%;
  opacity: .95;
}

.hero-deco-green {
  width: 80px;
  height: 55px;
  background: var(--green);
  right: 8%;
  bottom: 80px;
  transform: rotate(25deg);
}

.splash-pink {
  width: 70px; height: 40px; background: var(--pink);
  left: 8%; bottom: 100px;
}
.splash-green {
  width: 78px; height: 45px; background: var(--green);
  right: 2%; top: 120px; transform: rotate(20deg);
}
.splash-cyan {
  width: 120px; height: 75px; background: var(--cyan);
  right: -3%; bottom: 60px; transform: rotate(-35deg);
}

/* ---------- Waves ---------- */

.wave {
  position: absolute;
  left: -5%;
  width: 110%;
  height: 85px;
  pointer-events: none;
}

.wave-hero {
  bottom: -1px;
  background: #f2f7ff;
  clip-path: ellipse(63% 48% at 52% 100%);
}

.wave-services {
  bottom: -60px;
  background: #eaf4ff;
  clip-path: ellipse(65% 55% at 50% 100%);
}

.wave-about {
  bottom: -50px;
  background: #fff;
  clip-path: ellipse(65% 55% at 50% 100%);
}

/* ---------- Services ---------- */

.services-section {
  position: relative;
  background: #f2f7ff;
  padding-bottom: 130px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 13px;
  margin-top: 42px;
}

.service-card {
  min-height: 300px;
  background: #fff;
  border-radius: 15px;
  padding: 23px 17px;
  box-shadow: 0 8px 24px rgba(40,76,125,.08);
  text-align: center;
  border: 1px solid #edf2f8;
  transition: transform .22s ease, box-shadow .22s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  font-size: 35px;
  font-weight: 900;
}

.service-icon.blue { color: #159bd7; background: #e6f8ff; }
.service-icon.pink { color: var(--pink); background: #fff0f7; }
.service-icon.green { color: var(--green); background: #f0fadf; }
.service-icon.orange { color: var(--orange); background: #fff3e8; }
.service-icon.purple { color: var(--purple); background: #f0eeff; }
.service-icon.cyan { color: var(--cyan); background: #e5fbff; }

.service-card h3 {
  color: var(--blue);
  font-family: "Baloo 2", cursive;
  font-size: 19px;
  line-height: 1.05;
}

.service-card p {
  color: var(--text);
  font-size: 11px;
  line-height: 1.55;
  margin-top: 12px;
}

.service-card a {
  display: inline-block;
  color: var(--pink);
  font-size: 10px;
  font-weight: 900;
  margin-top: 14px;
}

/* ---------- About ---------- */

.about-section {
  position: relative;
  overflow: hidden;
  background: #edf7ff;
  padding-bottom: 130px;
}

.about-grid {
  display: grid;
  grid-template-columns: .8fr 1fr .9fr;
  align-items: center;
  gap: 40px;
}

.about-photo {
  position: relative;
  width: min(100%, 370px);
  margin-inline: auto;
}

.photo-circle {
  position: absolute;
  inset: 4%;
  border: 2px dashed #4f94e9;
  border-radius: 50%;
  z-index: 1;
}

.about-photo img {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}

.about-splash.pink { width: 75px; height: 55px; background: var(--pink); left: -10px; top: 20%; }
.about-splash.cyan { width: 90px; height: 50px; background: var(--cyan); left: 5%; bottom: 8%; }
.about-splash.green { width: 70px; height: 42px; background: var(--green); right: 0; bottom: 10%; }

.about-copy { padding: 10px 0; }

.specialty {
  display: inline-block;
  color: var(--pink);
  font-weight: 900;
  font-size: 17px;
  margin-top: 3px;
}

.credentials-list {
  list-style: none;
  margin: 25px 0 28px;
}

.credentials-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 11px 0;
}

.credentials-list li > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.credentials-list strong,
.credentials-list small { display: block; }

.credentials-list strong { color: var(--blue); font-size: 12px; }
.credentials-list small { color: var(--text); font-size: 10px; }

.about-family img {
  width: 100%;
  max-width: 470px;
  margin-inline: auto;
}

/* ---------- Articles ---------- */

.parents-section { background: #fff; }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) .85fr;
  gap: 16px;
  margin-top: 42px;
}

.article-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(40,76,125,.06);
}

.article-image { height: 170px; overflow: hidden; }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.article-card:hover .article-image img { transform: scale(1.04); }

.article-body { padding: 18px; }
.article-body h3 {
  color: var(--blue);
  font-family: "Baloo 2", cursive;
  font-size: 17px;
  line-height: 1.1;
}
.article-body p { color: var(--text); font-size: 11px; margin-top: 8px; }
.article-body a { display: inline-block; color: var(--pink); font-size: 11px; font-weight: 900; margin-top: 14px; }

.appointment-card {
  padding: 28px 22px;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--pink), #ef287e);
  color: #fff;
  box-shadow: 0 18px 38px rgba(245,45,133,.18);
}

.appointment-card h3 {
  font-family: "Baloo 2", cursive;
  font-size: 31px;
  line-height: 1;
  margin-top: 10px;
}

.appointment-card > p { font-size: 12px; margin: 10px 0 19px; }

.appointment-whatsapp {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  color: var(--blue);
  padding: 10px;
  border-radius: 13px;
}

.appointment-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 21px;
}

.appointment-whatsapp small,
.appointment-whatsapp strong { display: block; }

.appointment-whatsapp small { font-size: 9px; }
.appointment-whatsapp strong { font-size: 14px; }

.appointment-location {
  display: block;
  margin-top: 18px;
  font-size: 10px;
}

.appointment-disclaimer {
  display: block;
  margin-top: 6px;
  font-size: 8px;
  opacity: .8;
}

/* ---------- FAQ ---------- */

.faq-section { background: #f6faff; }

.faq-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 80px;
  align-items: start;
}

.faq-intro {
  color: var(--text);
  font-size: 13px;
  margin: 20px 0 25px;
  max-width: 430px;
}

.accordion { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--blue);
  padding: 20px 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.faq-question span {
  color: var(--pink);
  font-size: 23px;
  transition: transform .2s ease;
}

.faq-question[aria-expanded="true"] span { transform: rotate(45deg); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}

.faq-answer p {
  overflow: hidden;
  color: var(--text);
  font-size: 12px;
}

.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer p { padding: 0 0 20px; }

/* ---------- CTA ---------- */

.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
  padding: 75px 0;
}

.final-cta::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 100px;
  right: -60px;
  top: -20px;
  background: var(--cyan);
  border-radius: 50%;
  transform: rotate(-25deg);
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  position: relative;
  z-index: 2;
}

.final-cta h2 {
  max-width: 720px;
  font-family: "Baloo 2", cursive;
  font-size: clamp(35px, 4vw, 55px);
  line-height: 1;
  margin-top: 7px;
}

.final-cta p { color: #d9e9ff; margin-top: 10px; }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  background: var(--blue);
  color: #fff;
  margin-top: 0;
  overflow: hidden;
}

.footer-wave {
  position: absolute;
  top: -1px;
  left: -5%;
  width: 110%;
  height: 62px;
  background: #fff;
  clip-path: ellipse(64% 58% at 50% 0%);
}

.site-footer::after {
  content: "";
  position: absolute;
  left: -25px;
  top: 35px;
  width: 150px;
  height: 38px;
  background: var(--green);
  border-radius: 50%;
  transform: rotate(-7deg);
}

.footer-container {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
  padding: 88px 0 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 45px;
}

.footer-logo {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  margin-bottom: 15px;
}

.footer-fami, .footer-p, .footer-e, .footer-d, .footer-dot {
  font-family: "Baloo 2", cursive;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
}

.footer-fami, .footer-d { color: #fff; }
.footer-p { color: var(--pink); }
.footer-e { color: var(--green); }
.footer-dot { color: var(--orange); margin-left: -3px; }

.footer-brand p {
  max-width: 290px;
  color: #d7e5ff;
  font-size: 12px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.footer-social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

.footer-social svg { width: 19px; height: 19px; }
.social-instagram { background: var(--pink); }
.social-whatsapp { background: #25d366; }

.footer-column h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column li { margin: 0 0 10px; }
.footer-column a {
  color: #d7e5ff;
  font-size: 11px;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.footer-column a:hover { color: #fff; }

.footer-contact-item {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  color: #d7e5ff !important;
  font-size: 11px;
}

.contact-icon {
  width: 20px;
  text-align: center;
  color: #fff;
  font-size: 17px;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  background: #042d72;
  border-top: 1px solid rgba(255,255,255,.13);
}

.footer-bottom-container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
  color: #b7d0f3;
  font-size: 9px;
}

/* ---------- WhatsApp ---------- */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1500;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(37,211,102,.35);
  transition: transform .25s ease, box-shadow .25s ease;
}

.whatsapp-float svg { width: 31px; height: 31px; }

.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 34px rgba(37,211,102,.45);
}

.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.38);
  animation: whatsappPulse 2.5s infinite;
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: .8; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ---------- Modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active { display: flex; }

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3,24,59,.65);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  max-height: 85vh;
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

.modal-content h2 {
  color: var(--blue);
  font-family: "Baloo 2", cursive;
  font-size: 32px;
}

.modal-content p {
  color: var(--text);
  font-size: 13px;
  margin-top: 13px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  border: 0;
  background: transparent;
  color: var(--pink);
  font-size: 30px;
  cursor: pointer;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .main-nav { gap: 16px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .appointment-card { grid-column: span 2; }
  .about-grid { grid-template-columns: .8fr 1.2fr; }
  .about-family { grid-column: 1 / -1; }
  .about-family img { max-width: 520px; }
}

@media (max-width: 850px) {
  .menu-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: .2s ease;
  }

  .main-nav.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .main-nav > a:not(.nav-cta) { padding: 12px 14px; }
  .nav-cta { margin: 7px; text-align: center; }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy { padding-left: 0; }
  .hero-lead { margin-inline: auto; }
  .hero-points { display: inline-block; text-align: left; }
  .hero-actions { justify-content: center; }

  .hero-art {
    justify-self: center;
    min-height: 480px;
    width: min(100%, 600px);
  }

  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 350px; }
  .about-copy { max-width: 620px; margin-inline: auto; }
  .about-family { grid-column: auto; }

  .faq-grid { grid-template-columns: 1fr; gap: 40px; }

  .final-cta-inner { flex-direction: column; align-items: flex-start; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--container)); }

  .nav { min-height: 72px; }
  .main-nav { top: 72px; left: 14px; right: 14px; }
  .brand-word { font-size: 29px; }
  .brand-specialty { display: none; }

  .hero-grid { padding: 50px 0 70px; }
  .hero h1 { font-size: 46px; }
  .hero-lead { font-size: 15px; }

  .hero-art { min-height: 370px; }
  .hero-image-wrap { width: 100%; }
  .hero-deco-pink { width: 100px; height: 65px; top: 20px; }
  .splash-cyan { width: 85px; height: 52px; }

  .section { padding: 70px 0; }

  .services-grid,
  .articles-grid { grid-template-columns: 1fr; }

  .appointment-card { grid-column: auto; }

  .about-family img { max-width: 100%; }

  .footer-container { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom-container { display: block; padding: 16px 0; }
  .footer-bottom p + p { margin-top: 5px; }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
  }

  .whatsapp-float svg { width: 28px; height: 28px; }
}

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