/* ==========================================================================
   DISEÑO MÉDICO: SALUD FEMENINA CÁLIDA, HUMANA Y ULTRA LEGIBLE
   Dra. Luz Mariella Farías Muñiz · Suelo Pélvico · Lima, Perú
   Tipografías comparables: Plus Jakarta Sans / Outfit / DM Sans
   Cero cajitas artificiales, alto contraste y lectura fluida y empática.
   ========================================================================== */

:root {
  /* Paleta cromática: Calidez humana, bienestar y confianza médica */
  --bg-main: #ffffff;
  --bg-subtle: #f8faf9;
  --bg-card: #ffffff;
  
  --text-title: #142420;
  --text-body: #2f3e3a;
  --text-muted: #5f706b;
  
  --color-teal-primary: #2e6f56;
  --color-teal-dark: #225340;
  --color-teal-light: #eef6f2;
  
  --color-whatsapp: #16a34a;
  --color-whatsapp-hover: #15803d;
  
  --color-border: #e6ede9;
  --color-border-light: #f1f5f3;

  /* Acento terracota/coral elegante (inspirado en la referencia médica) */
  --color-coral-accent: #c47768;

  /* Tipografía única y definitiva: Josefin Sans */
  --font-base: 'Josefin Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Josefin Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Contenedores */
  --container-max: 1120px;
  --container-narrow: 800px;
  --gutter: 24px;

  /* Bordes suaves y limpios */
  --radius-btn: 8px;
  --radius-img: 16px;
  --radius-card: 10px;
}

/* ==========================================================================
   RESETEO Y BASE (JOSEFIN SANS: DELGADA, ELEGANTE Y DISTINGUIDA)
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  background-color: var(--bg-main);
  color: var(--text-body);
  font-family: var(--font-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-base);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.72;
  background-color: var(--bg-main);
  color: var(--text-body);
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--text-title);
  letter-spacing: 0.015em;
}

p, li {
  font-family: var(--font-base);
  font-weight: 300;
  line-height: 1.72;
}

strong, b {
  font-weight: 500;
  color: var(--text-title);
}

::selection {
  background-color: #ccfbf1;
  color: #0f766e;
}

:focus-visible {
  outline: 2px solid var(--color-teal-primary);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Contenedores */
.content-container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.content-container.narrow {
  max-width: var(--container-narrow);
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   CABECERA
   ========================================================================== */

.site-header {
  position: relative;
  background-color: #ffffff;
  border-bottom: none;
}

.header-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  height: 38px;
  max-height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-title);
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1.15;
}

.brand-descriptor {
  font-family: var(--font-base);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #b78677;
  white-space: nowrap;
  line-height: 1.15;
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-base);
  font-size: 0.90rem;
  font-weight: 400;
  color: var(--text-body);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
  padding: 6px 0;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--text-title);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Botón de cabecera: Rectangular arquitectónico, radio 4px, CERO óvalos / píldoras */
.header-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-family: var(--font-base);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-title);
  background-color: transparent;
  border: 1px solid var(--text-title);
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.header-wa-link:hover {
  background-color: var(--text-title);
  color: #ffffff;
}

.header-wa-link .header-wa-icon {
  color: #16a34a;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.header-wa-link:hover .header-wa-icon {
  color: #ffffff;
}

.mobile-nav-cta {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  background-color: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.menu-toggle:hover {
  background-color: var(--bg-subtle);
  border-color: #cbd5e1;
}

.menu-toggle .bar {
  width: 20px;
  height: 2px;
  background-color: var(--text-title);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   BOTONES
   ========================================================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  background-color: var(--color-whatsapp);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background-color: #ffffff;
  color: var(--text-title);
  border: 1px solid var(--color-border);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: #cbd5e1;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding-top: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--color-border);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
}

.hero-eyebrow {
  font-family: var(--font-base);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #b78677;
  margin-bottom: 22px;
  display: inline-block;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
  font-weight: 400;
  color: var(--text-title);
  line-height: 1.25;
  letter-spacing: 0.015em;
  text-wrap: balance;
  margin-bottom: 26px;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 58ch;
}

.hero-lead strong {
  color: var(--text-title);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-credentials-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

/* Foto hero limpia */
.portrait-photo-container {
  overflow: hidden;
  border-radius: var(--radius-img);
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.portrait-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.portrait-caption-clean {
  margin-top: 14px;
  text-align: center;
}

.doctor-name-clean {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-title);
}

.doctor-role-clean {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CITA MÉDICA
   ========================================================================== */

.quote-section {
  padding: 64px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

.clean-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.3vw, 1.65rem);
  font-weight: 300;
  color: var(--text-title);
  line-height: 1.55;
  text-align: center;
  letter-spacing: 0.015em;
  margin-bottom: 18px;
}

.quote-signature {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-teal-primary);
  text-align: center;
}

/* ==========================================================================
   CONDICIONES QUE EVALUAMOS (LISTA LIMPIA SIN CAJAS)
   ========================================================================== */

.conditions-section {
  padding: 84px 0;
  border-bottom: 1px solid var(--color-border);
}

.section-intro-clean {
  margin-bottom: 48px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 2.9vw, 2.45rem);
  font-weight: 400;
  color: var(--text-title);
  letter-spacing: 0.015em;
  margin-bottom: 12px;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--text-body);
  max-width: 64ch;
  line-height: 1.65;
}

.conditions-list-clean {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
  margin-bottom: 48px;
}

.condition-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: baseline;
}

.condition-title-group {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.condition-num {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-teal-primary);
  flex-shrink: 0;
}

.condition-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-title);
  letter-spacing: 0.01em;
  margin-bottom: 2px;
}

.condition-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.condition-text {
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.68;
}

.reassurance-action-strip {
  border-top: 1px solid var(--color-border);
  padding: 36px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.reassurance-text {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text-title);
  max-width: 55ch;
}

/* ==========================================================================
   TRATAMIENTOS
   ========================================================================== */

.treatments-section {
  padding: 84px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

.treatments-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.treatment-col {
  padding-top: 24px;
  border-top: 2px solid var(--color-teal-primary);
}

.treatment-step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-title);
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

.treatment-step-text {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ==========================================================================
   SOBRE LA DOCTORA
   ========================================================================== */

.bio-section {
  padding: 88px 0;
  border-bottom: 1px solid var(--color-border);
}

.bio-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 56px;
}

.bio-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-img);
  border: 1px solid var(--color-border);
}

.bio-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.bio-lead-role {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-teal-primary);
  margin-top: -6px;
  margin-bottom: 20px;
}

.bio-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.bio-credentials-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.bio-credentials-list li {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-title);
  position: relative;
  padding-left: 20px;
}

.bio-credentials-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-teal-primary);
  font-weight: 700;
}

/* ==========================================================================
   UBICACIÓN Y CONSULTORIO
   ========================================================================== */

.location-section {
  padding: 84px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

.location-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.location-sub {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 24px;
}

.location-details-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.location-detail-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  font-size: 0.98rem;
}

.detail-label {
  font-weight: 600;
  color: var(--text-muted);
}

.detail-value {
  color: var(--text-title);
  font-weight: 500;
}

.location-buttons-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.location-map-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 38px 28px;
  text-align: center;
}

.map-pin-icon {
  width: 40px;
  height: 40px;
  color: var(--color-teal-primary);
  margin-bottom: 8px;
}

.map-city-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 4px;
}

.map-helper {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 26ch;
  margin: 0 auto 16px auto;
}

/* ==========================================================================
   PREGUNTAS FRECUENTES
   ========================================================================== */

.faq-section {
  padding: 88px 0;
  border-bottom: 1px solid var(--color-border);
}

.faq-clean-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
}

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

.faq-clean-header {
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-title);
}

.faq-clean-header::-webkit-details-marker {
  display: none;
}

.faq-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-clean-item[open] .faq-arrow {
  transform: rotate(180deg);
  color: var(--color-teal-primary);
}

.faq-clean-body {
  padding-bottom: 22px;
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.68;
}

.faq-clean-body strong {
  color: var(--text-title);
}

/* ==========================================================================
   CIERRE FINAL
   ========================================================================== */

.final-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.final-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--text-title);
  letter-spacing: 0.015em;
  margin-bottom: 14px;
}

.final-desc {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 58ch;
  margin: 0 auto 28px auto;
}

.final-btn-row {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--color-border);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 4px;
}

.footer-specialty {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 4px;
}

.footer-city {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-title);
  margin-bottom: 14px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-list a {
  font-size: 0.92rem;
  color: var(--text-body);
}

.footer-list a:hover {
  color: var(--color-teal-primary);
}

.footer-subtext {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 8px;
}

.footer-link-wa {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-whatsapp);
}

.footer-link-wa:hover {
  text-decoration: underline;
}

.footer-bottom-line {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-disclaimer {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 55ch;
}

/* ==========================================================================
   BOTÓN FLOTANTE
   ========================================================================== */

.floating-wa-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.floating-wa-wrapper.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.floating-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--color-whatsapp);
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.35);
  transition: all 0.2s ease;
}

.floating-wa-btn:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.45);
}

.floating-wa-label {
  display: none;
}

/* ==========================================================================
   MICRO-INTERACCIONES
   ========================================================================== */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Pantallas medianas / tablets en horizontal (<= 992px) */
@media (max-width: 992px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image-frame {
    max-width: 400px;
    margin: 0 auto;
  }

  .condition-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .treatments-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bio-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .location-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .reassurance-action-strip {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Menú colapsable a partir de 960px */
@media (max-width: 960px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 2px solid var(--color-border);
    padding: 20px var(--gutter);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.24s ease;
    z-index: 999;
  }

  .site-nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .site-nav .nav-link {
    font-size: 1.05rem;
    font-weight: 500;
    padding: 8px 0;
    display: block;
    border-bottom: 1px solid var(--color-border-light);
  }

  .mobile-nav-cta {
    display: block;
    margin-top: 10px;
    padding-top: 10px;
  }

  .mobile-nav-cta .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .menu-toggle {
    display: flex;
  }
}

/* Tablets y móviles (<= 768px) */
@media (max-width: 768px) {
  :root {
    --gutter: 20px;
  }

  .header-inner {
    padding: 10px var(--gutter);
    gap: 12px;
  }

  .brand-link {
    min-width: 0;
    max-width: calc(100% - 56px);
    gap: 10px;
  }

  .brand-icon {
    height: 32px !important;
    max-height: 32px !important;
    width: auto !important;
  }

  .brand-name {
    font-size: 1.10rem;
  }

  .brand-descriptor {
    font-size: 0.58rem;
    letter-spacing: 0.10em;
  }

  .header-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0;
  }

  /* En móvil ocultamos el botón secundario de WhatsApp en la cabecera:
     Evita el aspecto raro de dos cajitas pegadas y la redundancia con el botón gigante del hero */
  .header-actions .header-wa-link {
    display: none !important;
  }

  .menu-toggle {
    display: flex;
    width: 40px;
    height: 40px;
  }

  .hero-section {
    padding-top: 56px;
    padding-bottom: 48px;
  }

  .hero-eyebrow {
    font-size: 0.70rem;
    letter-spacing: 0.10em;
    margin-bottom: 16px;
  }

  .hero-heading {
    font-size: 1.85rem;
    line-height: 1.25;
    text-wrap: balance;
    margin-bottom: 22px;
  }

  .hero-lead {
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--text-body);
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 20px;
  }

  .hero-actions .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 14px 22px;
    font-size: 0.96rem;
    font-weight: 500;
    border-radius: 6px;
  }

  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 22px;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid var(--color-border);
  }

  .hero-credentials-text {
    font-size: 0.82rem;
    line-height: 1.5;
    text-align: center;
    color: var(--text-muted);
    padding-top: 16px;
    border-top: 1px solid var(--color-border-light);
  }

  .hero-image-frame {
    width: 100%;
    max-width: 320px;
    margin: 28px auto 0 auto;
  }

  .quote-section {
    padding: 42px 0;
  }

  .clean-quote {
    font-size: 1.2rem;
    line-height: 1.52;
    text-wrap: balance;
  }

  .conditions-section {
    padding: 52px 0;
  }

  .section-intro-clean {
    margin-bottom: 30px;
  }

  .section-heading {
    font-size: 1.7rem;
    line-height: 1.25;
    text-wrap: balance;
  }

  .section-lead {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .condition-item {
    padding: 20px 0;
    gap: 8px;
  }

  .condition-name {
    font-size: 1.18rem;
  }

  .condition-text {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .reassurance-action-strip {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 16px;
    padding-top: 24px;
  }

  .reassurance-text {
    font-size: 0.96rem;
    text-align: center;
  }

  .reassurance-action-strip .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .treatments-section {
    padding: 52px 0;
  }

  .treatment-col {
    padding-top: 18px;
  }

  .treatment-step-title {
    font-size: 1.18rem;
  }

  .treatment-step-text {
    font-size: 0.95rem;
  }

  .bio-section {
    padding: 52px 0;
  }

  .bio-img {
    aspect-ratio: 4 / 3;
  }

  .bio-lead-role {
    font-size: 1rem;
  }

  .bio-paragraphs {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .location-section {
    padding: 52px 0;
  }

  .location-detail-item {
    grid-template-columns: 1fr;
    gap: 2px;
    font-size: 0.94rem;
  }

  .location-buttons-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .location-buttons-row a {
    width: 100%;
    justify-content: center;
  }

  .location-map-card {
    padding: 28px 18px;
  }

  .faq-section {
    padding: 52px 0;
  }

  .faq-clean-header {
    font-size: 1.02rem;
    padding: 18px 0;
    gap: 12px;
  }

  .faq-clean-body {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .final-section {
    padding: 54px 0;
  }

  .final-title {
    font-size: 1.7rem;
    line-height: 1.25;
    text-wrap: balance;
  }

  .final-desc {
    font-size: 0.98rem;
  }

  .final-btn-row a {
    width: 100%;
    justify-content: center;
  }

  .site-footer {
    padding-top: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 32px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .floating-wa-btn {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }
}

/* Pantallas móviles pequeñas (<= 480px, e.g. 380px) */
@media (max-width: 480px) {
  :root {
    --gutter: 16px;
  }

  .header-inner {
    padding: 8px var(--gutter);
    gap: 8px;
  }

  .brand-link {
    max-width: calc(100% - 46px);
    gap: 8px;
  }

  .brand-icon {
    height: 28px !important;
    max-height: 28px !important;
    width: auto !important;
  }

  .brand-name {
    font-size: 1.02rem;
  }

  .brand-descriptor {
    font-size: 0.52rem;
    letter-spacing: 0.08em;
  }

  .brand-descriptor-city {
    display: none;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .hero-heading {
    font-size: 1.75rem;
    line-height: 1.24;
    text-wrap: balance;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-credentials-text {
    font-size: 0.78rem;
    text-align: center;
  }

  .section-heading {
    font-size: 1.55rem;
    text-wrap: balance;
  }

  .clean-quote {
    font-size: 1.12rem;
    text-wrap: balance;
  }

  .final-title {
    font-size: 1.55rem;
    text-wrap: balance;
  }

  .floating-wa-btn {
    bottom: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
  }
}
