/* ==================================================
   DRA. ZAIRA CLAVO | OFTALMOLOGÍA
   Estilos principales
================================================== */

/* 01. VARIABLES */
:root {
  --brand: #6A0DAD;
  --accent: #FF8000;
  --dark: #25212A;
  --muted: #706978;
  --pale: #F6F1FA;
  --line: #E9DFEE;
  --white: #FFFFFF;
  --hero-bg: #F0ECF4;
  --reserve-bg: #C65F00;
  --reserve-hover: #A94F00;
  --max: 1280px;
  --header-height: 60px;
  --gutter: 32px;
  --font-body: "Roboto", Arial, sans-serif;
  --font-heading: "Kanit", Arial, sans-serif;
  --font-ui: "Manrope", Arial, sans-serif;
}

/* 02. RESET Y ESTILOS GENERALES */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 15px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--dark);
  font: 16px/1.6 var(--font-body);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-top: 0;
}

p {
  margin-top: 0;
  color: var(--muted);
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { display: block; }
[hidden] { display: none !important; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}

/* 03. CONTENEDORES Y TÍTULOS */
.wrap,
.section-wrap {
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--max);
  margin-inline: auto;
}

.section { padding: 80px 0; }
.center { text-align: center; }
.pale { background: var(--pale); }

.intro {
  max-width: 700px;
  margin: 0 auto 40px;
}

.intro h2,
.split h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -.035em;
}

.intro h2 { margin-bottom: 14px; }
.split h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  flex-shrink: 0;
  background: var(--accent);
}

/* 04. ICONOS LUCIDE Y BOTONES */
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: 700 14px/1.4 var(--font-ui);
  transition: background .25s, color .25s;
}

.btn.primary {
  background: var(--brand);
  color: var(--white);
}

.btn.primary:hover { background: #510986; }

.btn.secondary {
  background: var(--white);
  color: var(--brand);
  border-color: var(--brand);
}

.btn.secondary:hover { background: var(--pale); }

.btn[aria-disabled="true"] {
  opacity: .6;
  cursor: not-allowed;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
}

/* 05. HEADER PRINCIPAL */
#navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: var(--white);
}

.topbar-shadow { box-shadow: 0 3px 15px rgba(0, 0, 0, .05); }

#navbar .header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: none;
  height: var(--header-height);
  padding-left: clamp(20px, 4vw, 70px);
}

/* Logotipo (también utilizado en el footer) */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brand);
  font: 800 19px/1.2 var(--font-ui);
  white-space: nowrap;
}

#navbar .brand { min-width: 0; }

#navbar .brand img {
  width: auto;
  height: 48px;
  max-width: 180px;
  object-fit: contain;
}

.brandmark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--brand);
  flex-shrink: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

/* Navegación de escritorio */
.desktop {
  display: flex;
  align-items: center;
  gap: 24px;
}

.desktop a {
  font: 500 14px/1.4 var(--font-ui);
  color: var(--dark);
  white-space: nowrap;
  transition: color .2s ease;
}

.desktop a:hover { color: var(--brand); }

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  flex-shrink: 0;
}

.quick-icon-btn {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  color: var(--brand);
}

/* Reserva de citas */
.reserve-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--header-height);
  padding: 0 24px;
  background: var(--reserve-bg);
  color: var(--white);
  font: 800 14px/1.4 var(--font-ui);
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(255, 128, 0, .16);
  transition: background .25s ease;
}

.reserve-btn:hover { background: var(--reserve-hover); }

/* Hamburguesa: visible solamente en tablet y móvil */
#navbar .menu-btn {
  display: none;
  width: 58px;
  height: var(--header-height);
  padding: 0;
  border: 0;
  background: transparent;
  color: #050505;
  flex-shrink: 0;
  transition: transform .2s ease;
}

.menu-btn__lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-bottom: 4px;
}

.menu-btn__lines span {
  display: block;
  width: 28px;
  height: 2px;
  background: currentColor;
}

.menu-btn__lines span:last-child { width: 20px; }

.menu-btn__label {
  font: 800 9px/1 var(--font-ui);
  letter-spacing: -.02em;
}

#navbar .menu-btn:active { transform: scale(.95); }

/* 06. MENÚ LATERAL */
#menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(88vw, 370px);
  height: 100vh;
  height: 100dvh;
  max-height: none;
  max-width: none;
  margin: 0;
  padding: 25px;
  border: 0;
  background: var(--white);
  color: var(--dark);
  overflow-y: auto;
}

#menu::backdrop {
  background: rgba(25, 15, 35, .48);
  backdrop-filter: blur(3px);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 25px;
  color: var(--brand);
}

.drawer-head button {
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: var(--pale);
  color: var(--brand);
}

.drawer-links {
  display: grid;
  gap: 8px;
}

.drawer-links > a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.drawer-links > a:not(.btn):hover { color: var(--brand); }

.drawer-links > a:not(.btn) .icon {
  width: 22px;
  height: 22px;
  color: var(--brand);
}

.drawer-links .btn { margin-top: 15px; }


/* 07. HERO PRINCIPAL */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--hero-bg);
}

/* CÍRCULOS DECORATIVOS */

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(255, 255, 255, .6);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.hero::before {
  width: 850px;
  height: 850px;
  left: -210px;
  top: -40px;
}

.hero::after {
  width: 490px;
  height: 490px;
  left: -20px;
  top: 155px;
}

/* DISTRIBUCIÓN */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  min-height: 520px;
  padding: 35px 0 0;
}

/* TEXTO IZQUIERDO */

.hero-copy {
  width: 100%;
  max-width: 650px;
  text-align: left;
  padding-bottom: 35px;
}

.hero-copy .eyebrow {
  color: #000000;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
  color: #000000;
  margin: 0 0 20px;
}

/* TEXTO DESTACADO */

.hero-highlight {
  display: inline-block;
  padding: 10px 18px;
  margin-bottom: 22px;
  border-radius: 0 0 22px 0;
  background: var(--accent);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  font-weight: 500;
  line-height: 1.25;
}

/* DESCRIPCIÓN */

.hero-copy > p {
  max-width: 550px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #000000;
}

/* IMAGEN DE LA DOCTORA */

.hero-image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: stretch;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.hero-image img {
  display: block;
  width: 100%;
  max-width: 580px;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  margin: 0;
}





/* =====================================
   NUESTROS SERVICIOS
===================================== */

.servicios {
  background: #FFFFFF;
  overflow: hidden;
}

/* TÍTULO PRINCIPAL */

.servicios__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #000000;
  margin: 0 0 45px;
}

/* DISTRIBUCIÓN PRINCIPAL */

.servicios__layout {
  display: grid;
  grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  grid-template-areas:
    "info track"
    "controls track";
  column-gap: 40px;
  row-gap: 20px;
  align-items: center;
}

/* INFORMACIÓN DEL SERVICIO */

.servicios__info {
  grid-area: info;
  min-width: 0;
  align-self: center;
}

.servicios__number {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  color: var(--brand);
}

.servicios__content h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 1.15;
  color: #000000;
  margin: 0 0 16px;
}

.servicios__content p {
  max-width: 320px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 22px;
}

/* BOTÓN VER SERVICIO */

.servicios__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  background: #F2F2F2;
  color: #000000;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  transition: background .2s, color .2s;
}

.servicios__btn:hover {
  background: var(--brand);
  color: #FFFFFF;
}

.servicios__btn svg {
  width: 18px;
  height: 18px;
}

/* CARRUSEL HORIZONTAL */

.servicios__track {
  --slide-width: min(78%, 640px);
  --slide-gap: 24px;
  --slide-height: 400px;

  grid-area: track;
  position: relative;
  display: flex;
  gap: var(--slide-gap);
  min-width: 0;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

/* OCULTAR BARRA DE DESPLAZAMIENTO */

.servicios__track::-webkit-scrollbar {
  display: none;
}

/* ESPACIO PARA ALINEAR LA ÚLTIMA IMAGEN */

.servicios__track::after {
  content: "";
  flex: 0 0 max(
    0px,
    calc(100% - var(--slide-width) - var(--slide-gap))
  );
}

/* TARJETAS DE IMÁGENES */

.servicios__card {
  flex: 0 0 var(--slide-width);
  height: var(--slide-height);
  overflow: hidden;
  background: #F2F2F2;
  scroll-snap-align: start;
}

.servicios__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* FLECHAS DE NAVEGACIÓN */

.servicios__controls {
  grid-area: controls;
  display: flex;
  align-items: center;
  gap: 10px;
}

.servicios__controls button {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  background: #FFFFFF;
  border: 1px solid #D6D6D6;
  color: var(--brand);
  transition: background .2s, color .2s, border-color .2s;
}

.servicios__controls button svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.8;
}

.servicios__controls button:not(:disabled):hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

.servicios__controls button:disabled {
  color: #B8B8B8;
  cursor: default;
}

.servicios__notice {
  margin-top: 30px;
  font-size: 13px;
}

/* =====================================
   SERVICIOS - TABLETS
===================================== */

@media (max-width: 1024px) {

  .servicios__title {
    margin-bottom: 30px;
  }

  .servicios__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "info"
      "track"
      "controls";
    gap: 22px;
  }

  .servicios__track {
    --slide-width: 68%;
    --slide-gap: 18px;
    --slide-height: 330px;
  }

  .servicios__content h3 {
    font-size: 2.1rem;
  }

  .servicios__content p {
    max-width: 100%;
  }

  .servicios__controls {
    justify-content: center;
  }

}

/* =====================================
   SERVICIOS - CELULARES
===================================== */

@media (max-width: 767px) {

  .servicios__title {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .servicios__layout {
    gap: 18px;
  }

  .servicios__number {
    font-size: 13px;
    margin-bottom: 5px;
  }

  .servicios__content h3 {
    font-size: 1.75rem;
    margin-bottom: 10px;
  }

  .servicios__content p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .servicios__btn {
    font-size: 13px;
    padding: 10px 15px;
  }

  .servicios__track {
    --slide-width: 86%;
    --slide-gap: 12px;
    --slide-height: 240px;
  }

  .servicios__controls button {
    width: 44px;
    height: 44px;
  }

  .servicios__controls button svg {
    width: 22px;
    height: 22px;
  }

}

/* CELULARES PEQUEÑOS */

@media (max-width: 380px) {

  .servicios__track {
    --slide-height: 210px;
  }

}



/* =====================================
   10. SOBRE LA DOCTORA
===================================== */

.doctora {
  background: var(--white);
}

/* DISTRIBUCIÓN */

.doctora__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 70px;
}

/* FOTOGRAFÍA */

.doctora__photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  min-width: 0;
  background: var(--hero-bg);
  border-radius: 24px;
}

.doctora__photo img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
}

/* INFORMACIÓN */

.doctora__content {
  min-width: 0;
}

.doctora__content .eyebrow {
  margin-bottom: 12px;
}

.doctora__content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: #000000;
  margin: 0 0 6px;
}

/* ESPECIALIDAD */

.doctora__specialty {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--brand);
  margin-bottom: 24px;
}

/* DESCRIPCIÓN */

.doctora__content p {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: #454545;
  margin: 0 0 16px;
}

/* BENEFICIOS */

.doctora__benefits {
  display: grid;
  gap: 15px;
  padding: 22px 0 0;
  margin: 25px 0;
  border-top: 1px solid #EAEAEA;
  list-style: none;
}

.doctora__benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  color: #000000;
}

.doctora__benefits .icon {
  width: 22px;
  height: 22px;
  color: var(--brand);
}

/* BOTÓN */

.doctora__btn {
  margin-top: 5px;
  padding: 15px 24px;
  min-height: 52px;
}

.doctora__btn .icon {
  width: 21px;
  height: 21px;
}



/* 12. PREGUNTAS FRECUENTES */
.faq {
  display: grid;
  gap: 13px;
  max-width: 850px;
  margin-inline: auto;
}

.faq details {
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 19px 0;
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--dark);
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-size: 24px;
  color: var(--brand);
  flex-shrink: 0;
}

.faq details[open] summary::after { content: "−"; }

.faq details p {
  margin-bottom: 20px;
  font-size: 15px;
}

/* 13. CONTACTO Y UBICACIÓN */
.contact-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row .icon { color: var(--brand); }

.contact-row small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.notice {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

/* 14. FOOTER */
footer {
  padding: 55px 0 25px;
  background: #35134D;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}

footer .brand,
footer .brandmark { color: var(--white); }

footer p,
footer small,
footer .brand small { color: #E4D8ED; }

footer h3 {
  font-size: 17px;
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 35px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: 13px;
}

/* 15. BOTONES FLOTANTES */
.floating {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.floating a,
.floating button {
  display: grid;
  place-items: center;
  width: 53px;
  height: 53px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .15);
}

#whatsapp-float {
  background: #25D366;
  color: #103B24;
}

.floating button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--brand);
}

/* 16. RESPONSIVE: LAPTOPS */
@media (max-width: 1250px) {
  .desktop { gap: 18px; }
  .desktop a { font-size: 13px; }
  #navbar .header-main { gap: 12px; }
  .reserve-btn { padding-inline: 20px; }
}

/* 17. RESPONSIVE: TABLETS */
@media (max-width: 1024px) {
  :root {
    --header-height: 76px;
    --gutter: 24px;
  }

  #navbar .header-main {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 0;
    padding: 0;
  }

  #navbar .menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    grid-column: 1;
  }

  #navbar .brand {
    grid-column: 2;
    padding-left: 5px;
    overflow: hidden;
  }

  #navbar .brand img {
    height: 42px;
    max-width: min(100%, 180px);
  }

  #navbar .header-tools {
    grid-column: 3;
    gap: 0;
  }

  #navbar .desktop,
  #navbar .desktop-only { display: none; }

  .reserve-btn { padding-inline: 12px; }
  /* HERO EN TABLETS */

.hero-grid {
  grid-template-columns: minmax(0, 1fr);
  min-height: auto;
  gap: 24px;
  padding: 40px 0 0;
}

.hero-copy {
  max-width: 700px;
  margin-inline: auto;
  padding-bottom: 0;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.12;
}

.hero-copy > p {
  max-width: 550px;
  margin-inline: auto;
}

.hero-image img {
  max-width: 440px;
}
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 60px 0; }
  .split { gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* SOBRE LA DOCTORA - TABLETS */

.doctora__grid {
  gap: 30px;
}

.doctora__content h2 {
  font-size: 2.5rem;
}

.doctora__specialty {
  font-size: 20px;
}

.doctora__content p {
  font-size: 15px;
}

.doctora__benefits li {
  font-size: 14px;
}

/* 18. RESPONSIVE: CELULARES */
@media (max-width: 767px) {
  :root {
    --header-height: 60px;
    --gutter: 16px;
  }

  .brand { gap: 6px; font-size: 14px; }
  .brand small { font-size: 11px; }
  .brandmark { width: 34px; height: 34px; }

  .reserve-btn {
    gap: 8px;
    font-size: 13px;
  }

  .reserve-btn .icon { width: 21px; height: 21px; }

 
  /* HERO EN CELULARES */

  .hero-grid {
    gap: 18px;
    padding: 28px 0 0;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
    line-height: 1.12;
    letter-spacing: -.025em;
    margin-bottom: 15px;
  }

  .hero-copy .eyebrow {
    font-size: 10px;
    margin-bottom: 12px;
    letter-spacing: .08em;
  }

  .hero-highlight {
    max-width: 100%;
    padding: 8px 14px;
    margin-bottom: 16px;
    border-radius: 30px;
    font-size: 13px;
    line-height: 1.3;
  }

  .hero-copy > p {
    max-width: 350px;
    font-size: 15px;
    line-height: 1.5;
  }

  .hero-image img {
    max-width: 340px;
  }


  .hero::before {
    width: 570px;
    height: 570px;
    top: 30px;
    left: -180px;
  }

  .hero::after {
    width: 350px;
    height: 350px;
    top: 160px;
    left: 5px;
  }

  .section { padding: 45px 0; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .card { padding: 22px; }

  .quick {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0;
  }

  .quick div { justify-content: flex-start; }
  .actions .btn { width: 100%; }
  .photo { min-height: 310px; }
  .contact-card { padding: 20px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .floating { right: 14px; bottom: 14px; }
  .floating a, .floating button { width: 48px; height: 48px; }
}



/* SOBRE LA DOCTORA - CELULARES */

.doctora__grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.doctora__photo {
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  border-radius: 18px;
}

.doctora__photo img {
  max-width: 340px;
}

.doctora__content .eyebrow {
  font-size: 11px;
}

.doctora__content h2 {
  font-size: 2rem;
}

.doctora__specialty {
  font-size: 19px;
  margin-bottom: 18px;
}

.doctora__content p {
  font-size: 15px;
  line-height: 1.65;
}

.doctora__benefits {
  gap: 12px;
  margin: 20px 0;
  padding-top: 20px;
}

.doctora__benefits li {
  font-size: 14px;
}

.doctora__btn {
  width: 100%;
}


/* 19. RESPONSIVE: CELULARES PEQUEÑOS */
@media (max-width: 380px) {
  #navbar .brand img { height: 38px; }
  .reserve-btn { padding-inline: 8px; gap: 5px; font-size: 12px; }
  
}

/* 20. ACCESIBILIDAD */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
