/* =========================================
   custom.css — Dra. Lourdes Vargas A.
   ========================================= */

html { scroll-behavior: smooth; }

/* ── FIX: texto blanco en botones primarios ── */
.btn-primary {
  --bs-btn-color: #fff !important;
  --bs-btn-hover-color: #fff !important;
  --bs-btn-active-color: #fff !important;
}

/* ── FIX: text-primary usa el color correcto ── */
.text-primary { color: #e3ada4 !important; }

/* ── Hero ── */
.hero-banner.style-1 {
  background-position: right center;
}

.hero-banner.style-1 .hero-content .title {
  color: #b6857b;
}

.hero-banner.style-1 .hero-content .text {
  color: #b6857b;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.hero-list li {
  color: #b6857b;
  font-size: 0.95rem;
  padding-left: 1.2rem;
  position: relative;
}

.hero-list li::before {
  content: "•";
  color: #e3ada4;
  position: absolute;
  left: 0;
}

.hero-contact-info p {
  color: #b6857b;
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}

.hero-contact-info a {
  color: #b6857b;
  text-decoration: none;
}

.hero-galenia-logo {
  height: 36px;
  object-fit: contain;
}

#hero.hero-banner {
  min-height: 600px; /* o el valor que ya uses */
}
/* ── Header separadores ── */
@media (min-width: 992px) {
  .site-header.box-header2 .nav > li + li > a::before {
    content: "✦";
    color: #e3ada4;
    font-size: 1.45rem;
    margin-right: 12px;
    vertical-align: middle;
  }
}

/* ── Secciones generales ── */
.content-inner { padding: 50px 0; }
.m-b30 { margin-bottom: 30px; }
.m-b40 { margin-bottom: 40px; }

@media (max-width: 768px) {
  .content-inner { padding: 50px 0; }
}

/* ── Section head ── */
.section-head.style-5 .sub-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e3ada4;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-head.style-5 .title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 550;
  color: #b6857b;
  line-height: 1.25;
  margin-bottom: 1rem;
}

/* ── Imágenes ── */
.content-media .dz-media {
  border-radius: 16px;
  overflow: hidden;
}

.content-media .dz-media img {
  width: 90%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ── Check list palomitas simples ── */
.list-check {
  list-style: none;
  padding: 0;
}

.list-check li {
  padding-left: 1.4rem;
  position: relative;
  color: #b6857b;
}

.list-check li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #e3ada4;
  position: absolute;
  left: 0;
  font-size: 0.72rem;
}

/* ── HIFU lista 2 columnas ── */
.list-check-hifu {
  list-style: none;
  padding: 0;
}

.list-check-hifu li {
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: #b6857b;
  font-weight: 500;
}

.list-check-hifu li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #e3ada4;
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 0.72rem;
}

/* ── Botones ── */
.btn-rounded { border-radius: 50px !important; }
.btn-hover2 { transition: all 0.25s ease; }
.btn-hover2:hover { transform: translateY(-2px); }
.btn-shadow { box-shadow: 0 4px 16px rgba(219, 71, 157, 0.3); }

/* ── Stats ── */
.stats-section {
  padding: 50px 0;
  background-color: #faf7f8;
}

.stat-number {
  display: block;
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  color: #e3ada4;
  line-height: 1;
  margin-bottom: 0.2rem;
  letter-spacing: -2px;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #b6857b;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

/* ── Servicios ── */
.services-section { background-color: #faf7f8; }

.services-title {
  font-size: clamp(2rem, 5vw, 3rem) !important;
  font-weight: 900 !important;
}

.service-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.service-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  background: linear-gradient(0deg, rgba(61,32,63,0.88) 0%, transparent 100%);
}

.service-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e3ada4;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.service-play-btn:hover {
  background: #e3ada4;
  color: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}

/* ── Insulina ── */
.insulin-number {
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 500;
  color: #e3ada4;
  line-height: 1;
  white-space: nowrap;
}

.insulin-label {
  font-size: 1.3rem;
  font-weight: 700;
  color: #b6857b;
  line-height: 1.6;
  padding-top: 0.5rem;
  margin: 0;
}

/* ── Ubicación ── */
.ubicacion-section {
  padding: 80px 0;
  position: relative;
}

.location-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.location-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #b6857b;
  margin-bottom: 0.25rem;
}

.location-subtitle {
  color: #999;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.location-block {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0e8f0;
}

.location-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.location-label {
  font-weight: 600;
  color: #b6857b;
  margin-bottom: 0.2rem;
  font-size: 0.88rem;
}

.location-block address {
  font-style: normal;
  color: #666;
  line-height:normal;
  margin: 0;
  font-size: 0.9rem;
}

.location-block a {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.location-block a:hover { color: #e3ada4; }

/* ── Por qué elegirme ── */
.why-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.why-icon {
  color: #e3ada4;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.why-card p {
  color: #b6857b;
  line-height: 1.5;
  margin: 0;
}

/* ── Formulario ── */
.appointment-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(61, 32, 63, 0.08);
}

.appt-input {
  border-radius: 12px;
  border: 1px solid #e1d5e8;
  padding: 0.75rem 1rem;
  color: #b6857b;
  width: 100%;
}

.appt-input:focus {
  border-color: #e3ada4;
  box-shadow: 0 0 0 0.2rem rgba(219, 71, 157, 0.2);
  outline: none;
}

.appt-input::placeholder { color: #aaa; }

.form-check-input:checked {
  background-color: #e3ada4;
  border-color: #e3ada4;
}

/* ── Footer ── */
.site-footer { background-color: #b6857b; }

.footer-logo {
  height: 50px;
  object-fit: contain;
}

.footer-title {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links { font-size: 0.88rem; }

.footer-links li {
  /* margin-bottom: 0.5rem; */
  font-size:12px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: #e3ada4; }

.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background-color 0.2s;
}

.footer-social:hover {
  background-color: #e3ada4;
  color: #fff;
}

/* ── Menú móvil ── */
@media (max-width: 991px) {
  .header-nav {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    transition: left 0.3s ease;
    padding: 2rem 1.5rem;
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
  }

  .header-nav.open { left: 0; }

  .fade-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
  }

  .fade-overlay.show { display: block; }

  .header-nav .nav {
    flex-direction: column;
    margin-top: 2rem;
  }

  .header-nav .nav li a {
    color: #b6857b;
    font-weight: 500;
    padding: 0.6rem 0;
    display: block;
    border-bottom: 1px solid #f0e8f0;
  }
}





/* ── Ubicación mapa ── */
.ubicacion-map-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.ubicacion-map-wrap iframe {
  display: block;
  width: 100%;
}

.location-thumb {
  width: 125px;
  height: 125px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
}

.location-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* ── Servicios media ── */
.service-media-wrap {
  position: relative;
}

.service-cover-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

.service-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e3ada4;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.2s;
  z-index: 2;
}

.service-play-btn:hover {
  background: #e3ada4;
  color: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}

.service-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  background: linear-gradient(0deg, rgba(61,32,63,0.85) 0%, transparent 100%);
  z-index: 1;
}



/* ── WhatsApp flotante ── */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
  color: #fff;
}



/* ── Select ── */
.appt-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23DB479D' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

/* ── Checkbox custom ── */
.appt-check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
}

.appt-check-input {
  display: none;
}

.appt-check-box {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid #e1d5e8;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  margin-top: 1px;
}

.appt-check-box i {
  color: #fff;
  font-size: 0.65rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.appt-check-input:checked + .appt-check-box {
  background-color: #e3ada4;
  border-color: #e3ada4;
}

.appt-check-input:checked + .appt-check-box i {
  opacity: 1;
}

.appt-check-text {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.4;
}