/* =========================================================
   Dra. Mariana Islas - Ginecología y Obstetricia
   Sistema: Newsreader (display) + Outfit (UI)
   Paleta: casi-negro neutro · marfil / blanco · un solo acento (magenta)
   ========================================================= */

:root{
  --ink:        #17151A;   /* casi-negro neutro, texto principal */
  --ink-soft:   #5B5862;   /* texto secundario (oscurecido para pasar 4.5:1 en toda superficie clara) */

  /* --- acento único --- */
  --accent:      #C2185B;
  --accent-dark: #99123F;
  --accent-soft: #F8E1EB;  /* tinte pálido: fondos de ícono, badges */

  /* --- superficies --- */
  --paper: #FFFFFF;
  --bone:  #FBF0F3;        /* alternancia de sección: tinte real del acento, no un blanco casi idéntico */
  --line:  #E9DEE2;        /* divisores estructurales, tintados para no leer como gris genérico */
  --wash:  radial-gradient(circle at 82% 15%, rgba(194,24,91,.10), transparent 55%),
           radial-gradient(circle at 8% 85%, rgba(194,24,91,.06), transparent 50%); /* atmósfera del hero */

  /* --- texto sobre fondo oscuro (footer) --- */
  --on-dark:      #F3F1EF;
  --on-dark-soft: #B4B0B8;

  /* Verde de WhatsApp: excepción funcional (no cuenta como acento de marca).
     #075E54 es el verde/teal oficial de WhatsApp para botones: mismo
     reconocimiento visual que #25D366 pero con contraste AA real con texto
     blanco (el brillante falla 2.0:1 contra el mínimo de 4.5:1). */
  --green-wa: #075E54;

  --font-display: 'Newsreader', Georgia, serif;
  --font-body:    'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* --- escala tipográfica: proporción de ~1.3 entre cada paso, con margen sobre el mínimo de 1.25 --- */
  --text-xs:   0.75rem;    /* 12px */
  --text-base: 1rem;       /* 16px */
  --text-md:   1.3125rem;  /* 21px */
  --text-lg:   1.75rem;    /* 28px */
  --text-xl:   2.3125rem;  /* 37px */

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-btn: 8px;

  --shadow-soft: 0 22px 46px -26px rgba(23, 21, 26, .18);
  --shadow-card: 0 10px 26px -16px rgba(23, 21, 26, .12);

  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --container: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: 84px; }
body{
  margin:0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3{ font-family: var(--font-display); font-weight: 500; margin:0; color: var(--ink); text-wrap: balance; }
p{ margin:0; }
.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }

::selection{ background: var(--accent); color: #fff; }
::-webkit-scrollbar{ width: 12px; }
::-webkit-scrollbar-track{ background: var(--bone); }
::-webkit-scrollbar-thumb{ background: var(--line); border-radius: 8px; border: 3px solid var(--bone); }
html{ scrollbar-color: var(--line) var(--bone); }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* ---------- accesibilidad ---------- */
.skip-link{
  position:absolute; left:16px; top:-60px; z-index:1000;
  background: var(--ink); color: var(--on-dark); padding:12px 18px; border-radius: var(--radius-btn);
  font-family: var(--font-body); font-weight:600; font-size: var(--text-base);
  transition: top .2s var(--ease-out);
}
.skip-link:focus{ top:16px; }
a:focus-visible, button:focus-visible{
  outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px;
}

/* ---------- botones ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding: 13px 24px;
  border-radius: var(--radius-btn);
  font-weight:600; font-size: var(--text-base); font-family: var(--font-body);
  border: 1.5px solid transparent;
  cursor:pointer; white-space:nowrap;
  transition: transform .18s var(--ease-out), box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
@media (hover: hover) and (pointer: fine){
  .btn:hover{ transform: translateY(-2px); }
}
.btn:active{ transform: translateY(0) scale(.97); }
/* Sombra neutra (tintada de tinta, no del propio color del botón): un halo de color
   sobre el botón es la firma clásica de "brillo IA"; la elevación va aparte del color. */
.btn-primary{ background: var(--green-wa); color:#fff; box-shadow: var(--shadow-card); }
.btn-primary:hover{ box-shadow: var(--shadow-soft); }
.btn-ghost{ background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover{ background: var(--bone); border-color: var(--ink); }
.btn-outline{ background: var(--paper); color: var(--accent); border-color: var(--line); }
.btn-outline:hover{ border-color: var(--accent); }

/* ---------- section heads ---------- */
.section-head{ max-width:600px; margin: 0 0 48px; }
.section-head.center{ text-align:center; margin-left:auto; margin-right:auto; }
.section-head h2{ font-size: clamp(var(--text-xl), 3vw, 2.3rem); margin-bottom:12px; letter-spacing:-.01em; }
.section-sub{ color: var(--ink-soft); font-size: var(--text-base); }
section{ padding: 96px 0; }
.services > .container > h2, .services-intro h2{ font-size: clamp(var(--text-xl), 3vw, 2.3rem); letter-spacing:-.01em; margin-bottom:12px; }

.rating-inline{ display:block; color: var(--ink); font-weight:500; margin-bottom:6px; }
.stars-static{ color: var(--accent); letter-spacing:1px; margin-right:4px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position: sticky; top:0; z-index:100;
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
/* El desenfoque va en un pseudo-elemento (no directo en .site-header) porque
   backdrop-filter convierte al elemento que lo tiene en el "contenedor" de
   sus descendientes position:fixed. Como el menú móvil (#mainNav) es fixed
   y vive dentro del header, eso rompía su posicionamiento en Safari/Chrome
   móvil: el panel quedaba anclado a los 76px del header en vez de ocupar
   toda la pantalla. Aislar el blur en ::before evita el problema. */
.site-header::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
}
.site-header.scrolled{ box-shadow: 0 8px 26px -20px rgba(23,21,26,.35); border-color: var(--line); }
.header-inner{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.brand{ display:flex; align-items:center; gap:10px; font-family: var(--font-display); font-weight:600; font-size: var(--text-md); color: var(--ink); }
.brand-icon{ display:inline-flex; color: var(--accent); }
.main-nav{ display:flex; align-items:center; gap:26px; }
.main-nav a{ font-size: var(--text-base); font-weight:500; color: var(--ink); position:relative; }
.main-nav a:not(.nav-cta)::after{
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background: var(--accent);
  transform: scaleX(0); transform-origin:left; transition: transform .25s var(--ease-out);
}
.main-nav a:not(.nav-cta):hover::after{ transform: scaleX(1); }
.nav-cta{
  display:flex; align-items:center; gap:8px;
  background: var(--green-wa); color:#fff; padding:9px 16px; border-radius: var(--radius-btn); font-weight:600; font-size: var(--text-base);
  transition: transform .18s ease;
}
@media (hover: hover) and (pointer: fine){
  .nav-cta:hover{ transform: translateY(-2px); }
}
.nav-cta:active{ transform: translateY(0) scale(.97); }

.nav-toggle{ display:none; background:none; border:none; color: var(--ink); cursor:pointer; padding:6px; }
.nav-toggle-icons{ position:relative; display:block; width:22px; height:22px; }
.nav-toggle-icons svg{ position:absolute; inset:0; transition: opacity .2s var(--ease-out), transform .2s var(--ease-out); }
.nav-toggle-icons .ic-close{ opacity:0; transform: rotate(-45deg) scale(.8); }
.nav-toggle-icons .ic-open{ opacity:1; transform: rotate(0) scale(1); }
.nav-toggle[aria-expanded="true"] .ic-open{ opacity:0; transform: rotate(45deg) scale(.8); }
.nav-toggle[aria-expanded="true"] .ic-close{ opacity:1; transform: rotate(0) scale(1); }

/* =========================================================
   HERO - asimétrico, sobre el mismo fondo claro que el resto
   ========================================================= */
.hero{ padding: 60px 0 100px; background: var(--paper); background-image: var(--wash); }
.hero-inner{ display:grid; grid-template-columns: 1.05fr .95fr; gap:64px; align-items:center; }

.hero-text{ opacity:0; transform: translateY(16px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.hero-text.in-view{ opacity:1; transform:none; }

.hero-text h1{ font-size: clamp(2.3rem, 4.6vw, 3.4rem); font-weight:600; line-height:1.1; letter-spacing:-.015em; color: var(--ink); display:flex; flex-direction:column; gap:10px; }
.hero-specialty{ font-family: var(--font-body); font-size: var(--text-base); font-weight:500; color: var(--accent); letter-spacing:0; }
.hero-desc{ font-size: var(--text-md); color: var(--ink-soft); max-width:480px; margin: 22px 0 32px; font-family: var(--font-display); font-style: italic; font-weight: 400; line-height:1.5; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:16px; }

.hero-media{ position:relative; display:flex; justify-content:center; opacity:0; transform: translateY(16px); transition: opacity .6s var(--ease-out) .1s, transform .6s var(--ease-out) .1s; }
.hero-media.in-view{ opacity:1; transform:none; }
.hero-media-frame{ position:relative; width:min(400px,100%); }
.hero-media-outline{
  position:absolute; inset:20px -20px -20px 20px; z-index:1;
  border: 1.5px solid var(--line); border-radius: var(--radius-lg);
}
.hero-photo-frame{
  position:relative; z-index:2; aspect-ratio: 4/5; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 72px;
  overflow:hidden; box-shadow: var(--shadow-soft);
}
.hero-photo-frame img{ width:100%; height:100%; object-fit:cover; }
.hero-badge{
  position:absolute; left:-16px; bottom:-22px; z-index:3;
  background: var(--paper); border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
  padding:14px 18px; display:flex; align-items:center; gap:12px;
}
.hero-badge svg{ color: var(--accent); flex-shrink:0; }
.hero-badge strong{ display:block; font-size: var(--text-base); color: var(--ink); font-family: var(--font-body); }
.hero-badge span{ font-size: var(--text-xs); color: var(--ink-soft); }

/* =========================================================
   SOBRE MÍ - lista editorial escalonada, sin tarjetas
   ========================================================= */
.about{ background: var(--bone); }
.about h2{ font-size: clamp(var(--text-xl), 3vw, 2.3rem); margin-bottom: 16px; }
.about-lead{ font-family: var(--font-display); font-style:italic; font-weight:400; font-size: clamp(1.2rem, 2.1vw, 1.5rem); color: var(--ink); max-width:700px; margin-bottom:60px; line-height:1.45; }

.about-list{ display:grid; grid-template-columns: repeat(3, 1fr); }
.about-item{
  padding: 16px 32px; border-left: 1px solid var(--line);
  opacity:0; transform: translateY(14px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.about-list.in-view .about-item{ opacity:1; transform:none; }
.about-list.in-view .about-item:nth-child(1){ transition-delay: 0ms; }
.about-list.in-view .about-item:nth-child(2){ transition-delay: 60ms; }
.about-list.in-view .about-item:nth-child(3){ transition-delay: 120ms; }
.about-item:first-child{ border-left: none; padding-left:0; }
.about-item h3{ font-size: var(--text-md); font-weight:600; font-family: var(--font-body); margin-bottom:8px; }
.about-item p{ color: var(--ink-soft); font-size: var(--text-base); }

/* =========================================================
   SERVICIOS - columna editorial + lista con divisores
   ========================================================= */
.services{ background: var(--paper); }
.services-layout{ display:grid; grid-template-columns: .74fr 1.26fr; gap:70px; margin-bottom:56px; }
.services-intro .section-sub{ margin-top:0; }

.service-list{ display:flex; flex-direction:column; }
.service-row{
  display:flex; align-items:center; gap:20px;
  padding: 20px 4px; border-bottom: 1px solid var(--line);
  opacity:0; transform: translateY(14px);
  transition: opacity .5s var(--ease-out), transform .3s var(--ease-out);
}
.service-list.in-view .service-row{ opacity:1; transform:none; }
.service-list.in-view .service-row:nth-child(1){ transition-delay: 0ms; }
.service-list.in-view .service-row:nth-child(2){ transition-delay: 50ms; }
.service-list.in-view .service-row:nth-child(3){ transition-delay: 100ms; }
.service-list.in-view .service-row:nth-child(4){ transition-delay: 150ms; }
.service-list.in-view .service-row:nth-child(5){ transition-delay: 200ms; }
.service-list.in-view .service-row:nth-child(6){ transition-delay: 250ms; }
.service-row:first-child{ padding-top:4px; }
@media (hover: hover) and (pointer: fine){
  .service-list.in-view .service-row:hover{ transition: transform .18s var(--ease-out); transform: translateX(6px); }
}
.service-icon{
  width:44px; height:44px; border-radius:50%; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background: var(--accent-soft); color: var(--accent);
}
.service-row h3{ font-size: var(--text-base); font-weight:500; font-family: var(--font-body); }

.highlight-grid{ display:grid; grid-template-columns: 1.4fr 1fr; gap:24px; }
.checkup-panel{
  background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); padding:42px;
  box-shadow: var(--shadow-soft);
}
.checkup-panel h3{ color: var(--on-dark); font-size: var(--text-lg); font-weight:600; margin-bottom:10px; }
.checkup-panel > p{ color: var(--on-dark-soft); margin-bottom:22px; }
.checkup-list{ display:grid; grid-template-columns: 1fr 1fr; gap:16px 22px; margin-bottom:30px; }
.checkup-list li{ display:flex; align-items:center; gap:10px; font-size: var(--text-base); }
.checkup-list svg{ flex-shrink:0; color: var(--accent); }

.vph-panel{
  background: var(--bone); border-radius: var(--radius-lg);
  padding:36px 30px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
}
.vph-icon{
  width:52px; height:52px; border-radius:50%; margin-bottom:16px;
  display:flex; align-items:center; justify-content:center;
  background: var(--accent-soft); color: var(--accent);
}
.vph-panel h3{ font-size: var(--text-lg); font-weight:600; margin-bottom:10px; }
.vph-panel p{ color: var(--ink-soft); font-size: var(--text-base); }
.vph-panel strong{ color: var(--ink); }

/* =========================================================
   CAROUSEL (compartido: instagram y reseñas)
   ========================================================= */
.carousel{ position:relative; display:flex; align-items:center; gap:14px; }
.carousel-track{
  display:flex; gap:20px; overflow-x:auto; scroll-snap-type:x mandatory;
  padding: 6px 4px 20px; scrollbar-width:none;
}
.carousel-track::-webkit-scrollbar{ display:none; }
/* Elevación declarada una sola vez (sombra), sin borde adicional. */
.carousel-arrow{
  flex-shrink:0; width:44px; height:44px; border-radius:50%;
  background: var(--paper); border: none; color: var(--ink);
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  box-shadow: var(--shadow-card); transition: background .18s ease, color .18s ease, transform .18s var(--ease-out);
}
.carousel-arrow:hover{ background: var(--ink); color:#fff; }
.carousel-arrow:active{ transform: scale(.94); }

/* ---------- instagram ---------- */
.instagram{ background: var(--bone); }
.ig-handle{ font-weight:600; color: var(--accent); }
.ig-handle:hover{ text-decoration: underline; text-underline-offset:3px; }
.ig-embed-item{
  scroll-snap-align:start; flex-shrink:0; width:340px; min-height:400px;
  border-radius: var(--radius-md); overflow:hidden; box-shadow: var(--shadow-card);
  background: var(--paper); display:flex; align-items:flex-start; justify-content:center;
}
/* Mientras embed.js reemplaza el blockquote por el iframe real, evita que se vea
   el borde/sombra por defecto de Instagram duplicando el marco de la tarjeta. */
.ig-embed-item .instagram-media{ margin:0 !important; border:0 !important; box-shadow:none !important; width:100% !important; min-width:0 !important; }
.ig-follow-cta{ text-align:center; margin-top:34px; }

/* ---------- reseñas ---------- */
.reviews{ background: var(--paper); }
.review-card{
  scroll-snap-align:start; flex-shrink:0; width:320px;
  background: var(--paper); border-radius: var(--radius-md); padding:30px;
  box-shadow: var(--shadow-card); position:relative; display:flex; flex-direction:column; gap:16px;
}
.quote-icon{ color: var(--accent-soft); }
.review-card .stars{ margin-top:-8px; }
.review-card .stars svg{ width:14px; height:14px; }
.review-card p{ color: var(--ink); font-size: var(--text-base); font-family: var(--font-display); font-style:italic; font-weight:400; flex-grow:1; }
.review-author{ display:flex; align-items:center; gap:12px; }
.avatar{
  width:40px; height:40px; border-radius: 12px 12px 12px 4px; flex-shrink:0;
  background: var(--accent-soft); color: var(--accent-dark); font-weight:700; font-size: var(--text-xs); font-family: var(--font-body);
  display:flex; align-items:center; justify-content:center;
}
.review-author div{ display:flex; flex-direction:column; }
.review-author strong{ font-size: var(--text-base); font-family: var(--font-body); }
.review-author span{ font-size: var(--text-xs); color: var(--ink-soft); }

/* =========================================================
   UBICACIÓN
   ========================================================= */
.location{ background: var(--bone); }
.location-inner{ display:grid; grid-template-columns: 1fr 1fr; gap:60px; align-items:center; }
.location-info h2{ font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom:32px; }
.info-list{ margin:0; }
.info-row{ display:flex; gap:16px; margin-bottom:24px; }
.info-row svg{ color: var(--accent); flex-shrink:0; margin-top:2px; }
.info-row dt{ font-size: var(--text-base); margin-bottom:3px; font-weight:600; }
.info-row dd{ margin:0; font-size: var(--text-base); color: var(--ink-soft); }
.info-row a{ color: var(--accent); font-weight:600; }
.info-row a:hover{ text-decoration: underline; text-underline-offset:3px; }
.location-info .btn{ margin-top:8px; }
.location-map{
  position:relative; border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-soft); height:380px;
}
.location-map iframe{
  width:100%; height:100%; border:0; filter: grayscale(.4) contrast(1.02);
  transition: filter .4s ease;
}
.location-map:hover iframe{ filter:none; }
.map-directions{
  position:absolute; left:16px; bottom:16px; z-index:2;
  display:flex; align-items:center; gap:8px;
  background: var(--paper); color: var(--ink); font-weight:600; font-size: var(--text-xs);
  padding:10px 14px; border-radius: var(--radius-btn); box-shadow: var(--shadow-card);
  transition: transform .18s var(--ease-out);
}
.map-directions svg{ color: var(--accent); }
@media (hover: hover) and (pointer: fine){
  .map-directions:hover{ transform: translateY(-2px); }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background: var(--ink); color: var(--on-dark-soft); padding: 56px 0 24px; }
.footer-inner{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-start; gap:32px; padding-bottom:32px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; font-family: var(--font-display); font-weight:600; font-size: var(--text-md); color: var(--on-dark); }
.footer-brand .brand-icon{ color: var(--accent); }
.footer-brand p{ width:100%; font-family: var(--font-body); font-weight:300; font-size: var(--text-xs); color: var(--on-dark-soft); margin-top:3px; }
.footer-nav{ display:flex; flex-wrap:wrap; gap:22px; }
.footer-nav a{ font-size: var(--text-base); color: var(--on-dark-soft); }
.footer-nav a:hover{ color: var(--on-dark); }
.footer-social{ display:flex; gap:10px; }
.footer-social a{
  width:36px; height:36px; border-radius:50%; background: rgba(255,255,255,.06);
  display:flex; align-items:center; justify-content:center; color: var(--on-dark); transition: background .2s ease;
}
.footer-social a:hover{ background: var(--accent); }
.footer-bottom{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; padding-top:20px; font-size: var(--text-xs); }
.footer-legal a:hover{ color: var(--on-dark); text-decoration: underline; text-underline-offset:3px; }

/* =========================================================
   WHATSAPP FLOTANTE
   ========================================================= */
.whatsapp-float{
  position:fixed; right:22px; bottom:22px; z-index:200;
  width:58px; height:58px; border-radius:50%; background: var(--green-wa); color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-soft);
  transition: transform .18s var(--ease-out);
}
@media (hover: hover) and (pointer: fine){
  .whatsapp-float:hover{ transform: scale(1.06); }
}
.whatsapp-float:active{ transform: scale(.95); }
/* Un único pulso de bienvenida (no continuo): llama la atención una vez y se detiene. */
.whatsapp-float{ animation: wa-pulse-once 1.1s var(--ease-out) 1.4s 2; }
@keyframes wa-pulse-once{
  0%, 100%{ box-shadow: var(--shadow-soft); }
  50%{ box-shadow: var(--shadow-soft), 0 0 0 10px rgba(7,94,84,.22); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; text-align:center; }
  .hero-desc{ margin-left:auto; margin-right:auto; }
  .hero-actions{ justify-content:center; }
  .hero-media{ order:-1; margin: 0 0 44px; }
  .hero-badge{ left:50%; transform: translateX(-50%); bottom:-20px; }
  .about-list{ grid-template-columns: 1fr; gap:30px; }
  .about-item{ border-left:none; border-top:1px solid var(--line); padding: 26px 0 0; }
  .about-item:first-child{ border-top:none; padding-top:8px; }
  .services-layout{ grid-template-columns: 1fr; gap:36px; }
  .highlight-grid{ grid-template-columns: 1fr; }
  .location-inner{ grid-template-columns: 1fr; }
  .location-map{ height:320px; }
}

@media (max-width: 760px){
  .main-nav{
    position:fixed; top:76px; left:0; right:0; bottom:0;
    background: var(--paper); flex-direction:column; align-items:flex-start;
    padding: 30px 24px; gap:22px; transform: translateX(100%);
    transition: transform .32s var(--ease-drawer); overflow-y:auto;
  }
  .main-nav.open{ transform: translateX(0); }
  body.nav-locked{ overflow:hidden; }
  .main-nav a{ font-size: var(--text-md); }
  .nav-cta{ margin-top:10px; }
  .nav-toggle{ display:block; }
  section{ padding: 68px 0; }
  .checkup-list{ grid-template-columns: 1fr; }
  .footer-inner{ flex-direction:column; }
  .footer-bottom{ flex-direction:column; }
}

@media (max-width: 480px){
  .review-card{ width:270px; }
  .ig-embed-item{ width:280px; min-height:340px; }
  .service-row{ gap:14px; }
  .hero-media-outline{ inset:14px -12px -12px 12px; }
}
