/* Los atributos width/height del <img> reservan el espacio y evitan CLS, pero el
   navegador los aplica tambien como altura. Con height:auto la altura vuelve a
   depender del CSS (width + aspect-ratio). Las reglas de clase que definen una
   altura propia siguen teniendo prioridad por especificidad. */
img {
  height: auto;
}

/* Lumina VitalFit brand lockup for the shared site header. */
.brand-link.brand-lockup {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 0.6rem;
  height: 4.15rem;
  justify-content: flex-start;
  overflow: visible;
  width: max-content;
}

.brand-link.brand-lockup:hover {
  opacity: 0.75;
}

.brand-lockup__isotipo {
  align-items: center;
  display: flex;
  flex: 0 0 4rem;
  height: 4rem;
  justify-content: center;
  width: 1.65rem;
}

.brand-lockup__mark {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.brand-lockup__wordmark {
  display: block;
  height: 2.85rem;
  object-fit: cover;
  object-position: center;
  width: 7.6rem;
}

/* The original nav keeps a compact height on smaller screens. */
@media screen and (max-width: 767px) {
  .brand-link.brand-lockup {
    gap: 0.45rem;
    height: 3.05rem;
  }

  .brand-lockup__isotipo {
    flex-basis: 2.65rem;
    height: 2.65rem;
    width: 2.65rem;
  }

  .brand-lockup__wordmark {
    height: 3.05rem;
    width: 6.45rem;
  }
}

/* Keep the text footer mark aligned with the existing footer spacing. */
.footer-logo {
  color: var(--primary-color);
  display: block;
  font-family: Beautique Display, Georgia, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  height: auto;
  line-height: 1;
  margin-bottom: 5px;
  text-align: center;
  text-transform: none;
  width: auto;
}

/* Boton flotante de WhatsApp (conversion principal del sitio). */
.wa-float {
  align-items: center;
  background-color: #25d366;
  border-radius: 50%;
  bottom: 1.25rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
  display: flex;
  height: 3.5rem;
  justify-content: center;
  position: fixed;
  right: 1.25rem;
  transition: transform .2s ease, box-shadow .2s ease;
  width: 3.5rem;
  z-index: 9999;
}

.wa-float:hover,
.wa-float:focus-visible {
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
  transform: translateY(-2px);
}

.wa-float svg {
  height: 1.95rem;
  width: 1.95rem;
}

.wa-float__label {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media screen and (max-width: 767px) {
  .wa-float {
    bottom: 1rem;
    height: 3.1rem;
    right: 1rem;
    width: 3.1rem;
  }

  .wa-float svg {
    height: 1.7rem;
    width: 1.7rem;
  }
}

/* Acordeon de preguntas frecuentes (mismo tratamiento visual que las fichas de servicio). */
.lumina-faq-list {
  border-top: 1px solid rgba(64, 52, 45, .18);
  margin: 0 auto;
  max-width: 52rem;
  text-align: left;
}

.lumina-faq-item {
  border-bottom: 1px solid rgba(64, 52, 45, .18);
}

.lumina-faq-item summary {
  color: #292522;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  list-style: none;
  padding: 1.25rem 2rem 1.25rem 0;
  position: relative;
}

.lumina-faq-item summary::-webkit-details-marker {
  display: none;
}

.lumina-faq-item summary::after {
  color: #8f5d4b;
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  position: absolute;
  right: .15rem;
  top: 1rem;
}

.lumina-faq-item[open] summary::after {
  content: '−';
}

.lumina-faq-item p {
  color: #756b64;
  font-size: .92rem;
  line-height: 1.7;
  margin: -.25rem 2rem 1.35rem 0;
}

/* Navegación persistente: permanece disponible durante todo el scroll. */
.navbar {
  background-color: rgba(255, 246, 240, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(41, 46, 50, .1);
  left: 0;
  position: fixed !important;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1000;
}

/* El menú móvil heredaba una altura de enlace pensada para el hover de escritorio.
   Al dejar una sola línea visible se eliminan los recortes que aparecen en la captura. */
@media screen and (max-width: 991px) {
  .navbar {
    padding-bottom: .75rem;
    padding-top: .75rem;
  }

  .nav-menu {
    overflow-y: auto;
  }

  .nav-menu-content {
    align-items: center;
    gap: 1rem;
    overflow-y: auto;
    padding: 7rem 1.5rem 2.5rem;
  }

  .nav-link-overflow {
    height: auto;
    overflow: visible;
  }

  .nav-link {
    align-items: center;
    height: auto;
    justify-content: center;
    min-height: 2.8rem;
    overflow: visible;
  }

  .nav-text {
    font-size: clamp(1.95rem, 8.8vw, 2.7rem);
    line-height: 1.05;
  }

  .nav-text.is-hover {
    display: none;
  }
}

/* Contacto directo por WhatsApp, sin formulario ni correo electrónico. */
.contact-whatsapp-block {
  align-items: stretch;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.75rem) clamp(1.5rem, 4vw, 3.5rem);
}

.contact-whatsapp-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0 auto;
  max-width: 36rem;
  width: 100%;
}

.contact-whatsapp-kicker {
  color: #8f5d4b;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.contact-whatsapp-content .contact-heading {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
  margin: 0;
  text-align: center;
}

.contact-whatsapp-intro,
.contact-whatsapp-detail,
.contact-whatsapp-note {
  color: #756b64;
  font-size: .98rem;
  line-height: 1.65;
  margin: 0;
  text-align: center;
}

.contact-whatsapp-detail {
  color: #292522;
  font-size: .94rem;
}

.contact-whatsapp-button {
  align-items: center;
  align-self: flex-start;
  background-color: #292522;
  border-color: #292522;
  color: #fff;
  display: inline-flex;
  font-size: .9rem;
  gap: .6rem;
  justify-content: center;
  margin-top: .4rem;
  min-height: 3.4rem;
  padding: .85rem 1.35rem;
  text-decoration: none;
  width: 100%;
}

.contact-whatsapp-button:hover,
.contact-whatsapp-button:focus-visible {
  background-color: #8f5d4b;
  color: #fff;
}

.contact-whatsapp-note {
  border-top: 1px solid rgba(64, 52, 45, .16);
  font-size: .86rem;
  padding-top: 1rem;
}

@media screen and (max-width: 767px) {
  .contact-whatsapp-content {
    gap: 1rem;
  }

  .contact-whatsapp-button {
    align-self: stretch;
  }
}
