/* ============================================================================
   BARBERS&BROWS — MUJER — mujer.css
   Extensión de styles.css. Solo estilos específicos de /mujer.
   ============================================================================ */

/* ============================================================
   HERO — override: imagen más cálida (menos contrast)
   ============================================================ */
.hero-bg img {
  filter: grayscale(0.4) contrast(1.02) brightness(.78);
}

/* ============================================================
   SERVICIOS — TABS
   ============================================================ */
.mujer-services { background: var(--bg-2); }

.msvc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: .75rem;
}

.msvc-tab {
  font-family: var(--sans);
  font-size: .86rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: .55rem 1.1rem;
  border-radius: 100px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  cursor: pointer;
  transition: background .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: .4em;
  white-space: nowrap;
}
.msvc-tab:hover { color: var(--ink); border-color: var(--ink-2); }
.msvc-tab.is-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.msvc-tab-star { font-size: .9em; }

/* Panels */
.msvc-panel { display: none; }
.msvc-panel.is-active { display: block; }

.msvc-panel ol,
.msvc-panel ul { list-style: none; padding: 0; }

.msvc-item {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.msvc-item:last-child { border-bottom: none; }

.msvc-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.msvc-name {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
}

.msvc-item .svc-price {
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.msvc-item .svc-price .from {
  font-weight: 400;
  color: var(--ink-2);
  margin-right: .25em;
}

.svc-price-pending {
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--ink-3);
  white-space: nowrap;
  flex-shrink: 0;
  font-style: italic;
}

.msvc-desc {
  margin-top: .45rem;
  font-size: .9rem;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 60ch;
}

.msvc-cta {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

/* ============================================================
   POR QUÉ ELEGIRNOS
   ============================================================ */
.mujer-why { background: var(--dark); color: var(--cream); }
.mujer-why .kicker { color: var(--cream-2); }
.mujer-why h2 { color: var(--cream); }
.mujer-why .wm { color: var(--cream); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.why-card {
  padding: 2rem;
  border: 1px solid rgba(244,241,234,.12);
  border-radius: 4px;
  transition: border-color .3s var(--ease-out);
}
.why-card:hover { border-color: rgba(244,241,234,.3); }

.why-num {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--cream-2);
  margin-bottom: 1.2rem;
}
.why-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: .6rem;
}
.why-card p {
  font-size: .92rem;
  color: var(--cream-2);
  line-height: 1.65;
}

/* ============================================================
   GALERÍA — placeholder elegante para fotos pendientes
   ============================================================ */
.gallery-placeholder {
  position: relative;
  background: var(--bg-2);
  aspect-ratio: 3/4;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.gallery-item:hover .gallery-placeholder img { transform: scale(1.04); }

.gallery-placeholder.no-img::after {
  content: attr(data-label);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.gallery-placeholder.no-img .gallery-placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.gallery-placeholder.no-img img { opacity: 0; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.mujer-cta { background: var(--bg-2); }

/* Fix: botón "Abrir en Google Maps" — no se sale del contenedor */
.mcta-info .ci-block .btn {
  display: flex;
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
  border-bottom: none;
  margin-top: .8rem;
  white-space: normal;
  text-align: center;
}
.mcta-info .ci-block .btn:hover { border-bottom: none; }

/* Tarjetas de /mujer: altura natural (no igual-altura como en portada) */
@media (min-width: 860px) {
  .svc-grid { align-items: start; }
  .svc-cta { margin-top: 1.8rem; }
}

/* Galería sin foto: ocultar figcaption duplicado */
.no-img-fig .gallery-cap { display: none; }

.mcta-inner { max-width: 740px; margin-inline: auto; }
.mcta-inner .kicker { text-align: center; margin-bottom: 1rem; }
.mcta-inner h2 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 2rem;
}

.mcta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.mcta-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
  margin-top: 1rem;
}

.ci-block h4 {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: .8rem;
}
.ci-block a:not(.btn) {
  display: block;
  color: var(--ink-2);
  font-size: .92rem;
  transition: color .3s var(--ease-out);
  margin-bottom: .3rem;
}
.ci-block a:not(.btn):hover { color: var(--ink); }
.ci-block p {
  font-size: .92rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: .8rem;
}
.ci-hours { font-size: .88rem; color: var(--ink-2); line-height: 1.8; }
.ci-hours li b { color: var(--ink); }

/* ============================================================
   LOCATION (hereda de styles.css, override del mapa)
   ============================================================ */
.location-map iframe {
  width: 100%;
  aspect-ratio: 4/3;
  border: none;
  border-radius: 4px;
  filter: grayscale(0.3);
}

/* ============================================================
   FOOTER — override footer-tag color (ya heredado)
   ============================================================ */
.footer .footer-brand .footer-tag { color: var(--cream-2); }
.footer-brand .emblem-sm .emblem-mark { width: 84px; height: auto; border-radius: 50%; display: block; }

/* ============================================================
   REVEAL animations (complementa a styles.css si no tiene)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger en grids */
.why-grid .why-card:nth-child(2) { transition-delay: .08s; }
.why-grid .why-card:nth-child(3) { transition-delay: .16s; }
.why-grid .why-card:nth-child(4) { transition-delay: .24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .msvc-tabs { gap: .4rem; }
  .msvc-tab { font-size: .78rem; padding: .45rem .85rem; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .why-card { padding: 1.4rem 1.2rem; }
  .mcta-info { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 400px) {
  .why-grid { grid-template-columns: 1fr; }
  .mcta-info { grid-template-columns: 1fr; }
}
