/* =============================================================
   HOME — Mercedes Patallo
   Estilos exclusivos de la front-page.php
   ============================================================= */

/* Tag claro sobre fondos oscuros */
.mp-tag--light { color: rgba(255,255,255,0.85); }
.mp-tag--light::before { background: rgba(255,255,255,0.85); }

.mp-h-light { color: var(--white); }
.mp-section-head--dark h2 { color: var(--white); }

/* ────────────────────────────────
   HERO (con soporte de slider auto-adaptativo)
   ──────────────────────────────── */
.mp-hero {
  position: relative;
  min-height: 88vh;
  color: var(--white);
  overflow: hidden;
}
.mp-hero__bar {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 5px;
  background: var(--rojo);
  z-index: 5;
}

/* Contenedor de slides — siempre rellena el hero */
.mp-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Cada slide */
.mp-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 100px 60px 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
  pointer-events: none;
}
.mp-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Si NO es slider (1 sola imagen), slide siempre activo y sin transición */
.mp-hero:not(.mp-hero--slider) .mp-hero__slide {
  opacity: 1;
  visibility: visible;
  transition: none;
}

.mp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(15,8,5,0.85) 0%, rgba(15,8,5,0.55) 55%, rgba(15,8,5,0.25) 100%);
  z-index: 1;
}
.mp-hero__inner {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

/* Dots de navegación */
.mp-hero__dots {
  position: absolute;
  left: 60px;
  bottom: 240px;
  display: flex;
  gap: 10px;
  z-index: 4;
}
.mp-hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.5);
  padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.mp-hero__dot:hover { background: rgba(255,255,255,0.6); transform: scale(1.1); }
.mp-hero__dot.is-active {
  background: var(--rojo);
  border-color: var(--rojo);
  transform: scale(1.2);
}
.mp-hero__title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(40px, 5.8vw, 72px);
  line-height: 1.02;
  color: var(--white);
  margin: 18px 0 22px;
}
.mp-hero__title em { font-style: italic; }
.mp-hero__desc {
  color: rgba(255,255,255,0.88);
  font-size: 16px;
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 32px;
}
.mp-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.mp-hero__actions .mp-btn--ghost:hover { color: var(--white); border-bottom-color: var(--white); }

.mp-hero__stats {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(15,8,5,0.85);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mp-stat {
  padding: 24px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mp-stat:last-child { border-right: none; }
.mp-stat__num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 28px;
  color: var(--rojo);
  line-height: 1;
}
.mp-stat__lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ────────────────────────────────
   BANNERS DE CATEGORÍA
   ──────────────────────────────── */
.mp-banners { padding-top: 60px; padding-bottom: 60px; }
.mp-banners__grid {
  display: grid;
  gap: 12px;
}
.mp-banners__grid--3 { grid-template-columns: repeat(3, 1fr); }
.mp-banners__grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 1100px; margin: 0 auto; }
.mp-banners__grid--1 { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
.mp-banner {
  position: relative;
  aspect-ratio: 5/6;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: block;
  color: var(--white);
}
.mp-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(15,8,5,0.7) 100%);
  transition: opacity .3s;
}
.mp-banner:hover .mp-banner__overlay { background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(15,8,5,0.85) 100%); }
.mp-banner__content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
}
.mp-banner__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
}
.mp-banner__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.mp-banner__title em { font-style: italic; }
.mp-banner__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 2px;
  transition: border-color .2s;
}
.mp-banner:hover .mp-banner__link { border-color: var(--rojo); }

/* ────────────────────────────────
   SERVICIOS (4 col)
   ──────────────────────────────── */
.mp-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.mp-service {
  background: var(--white);
  padding: 36px 28px 32px;
  border-top: 3px solid var(--rojo);
  transition: transform .25s, box-shadow .25s;
}
.mp-service:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(26,16,8,0.08);
}
.mp-service__num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 36px;
  color: var(--rojo);
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}
.mp-service__title { font-size: 20px; margin-bottom: 10px; }
.mp-service__desc { font-size: 14px; color: var(--muted); margin-bottom: 18px; }

/* ────────────────────────────────
   SOBRE NOSOTROS
   ──────────────────────────────── */
.mp-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.mp-about__media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.mp-about__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-about__badge {
  position: absolute;
  top: 24px; right: 24px;
  width: 110px; height: 110px;
  background: var(--rojo);
  color: var(--white);
  border-radius: 50%;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mp-about__badge small { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-style: normal; font-weight: 600; margin-top: 2px; }
.mp-about__caption {
  position: absolute;
  left: 24px; bottom: 24px;
  background: rgba(15,8,5,0.85);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 16px;
}
.mp-about__copy h2 { margin: 18px 0 18px; }
.mp-about__copy h2 em { font-style: italic; }
.mp-about__list {
  margin: 22px 0 32px;
}
.mp-about__list li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 14px;
  color: var(--body);
  border-bottom: 1px solid var(--rule);
}
.mp-about__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 16px;
  width: 8px; height: 8px;
  background: var(--rojo);
  border-radius: 50%;
}

/* ────────────────────────────────
   TRATAMIENTOS ESTRELLA
   ──────────────────────────────── */
.mp-treatments__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.mp-treatment {
  background: var(--white);
  padding: 32px 32px 28px;
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.mp-treatment:hover { border-color: var(--rojo); transform: translateY(-2px); }
.mp-treatment__num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 30px;
  color: var(--rojo);
  margin-bottom: 6px;
}
.mp-treatment__title { font-size: 22px; margin-bottom: 8px; }
.mp-treatment__title em { font-style: italic; }
.mp-treatment__desc { font-size: 14px; color: var(--muted); margin-bottom: 18px; flex: 1; }
.mp-treatment__price {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.mp-treatment__price em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 28px;
  color: var(--rojo);
  font-weight: 700;
  letter-spacing: 0;
  margin-left: 4px;
}

/* ────────────────────────────────
   TIENDA PREVIEW
   ──────────────────────────────── */
.mp-shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.mp-product-card {
  background: var(--white);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.mp-product-card:hover { box-shadow: 0 12px 28px rgba(26,16,8,0.08); transform: translateY(-2px); }
.mp-product-card__img { display: block; overflow: hidden; aspect-ratio: 1/1; }
.mp-product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mp-product-card:hover .mp-product-card__img img { transform: scale(1.05); }
.mp-product-card__body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.mp-product-card__title { font-size: 16px; line-height: 1.3; }
.mp-product-card__title a { color: var(--ink); }
.mp-product-card__title a:hover { color: var(--rojo); }
.mp-product-card__price {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--rojo);
  font-weight: 700;
}
.mp-product-card__price del { color: var(--muted); font-size: 16px; opacity: .6; margin-right: 6px; }
.mp-shop-empty { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 40px; }

/* ────────────────────────────────
   TESTIMONIOS
   ──────────────────────────────── */
.mp-section--dark { color: var(--white); }
.mp-section--dark p { color: rgba(255,255,255,0.8); }
.mp-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mp-testimonial {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--rojo);
  padding: 32px 28px;
}
.mp-testimonial__stars {
  color: var(--rojo);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.mp-testimonial__quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: var(--white);
  margin-bottom: 22px;
}
.mp-testimonial__author { display: flex; flex-direction: column; }
.mp-testimonial__author strong {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: var(--white);
  font-size: 14px;
}
.mp-testimonial__author span {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ────────────────────────────────
   CTA RESERVAS
   ──────────────────────────────── */
.mp-cta-block {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 100px 60px;
  text-align: center;
  color: var(--white);
}
.mp-cta-block__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(191,59,43,0.92), rgba(154,46,32,0.95));
}
.mp-cta-block__inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.mp-cta-block__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--white);
  margin: 16px 0 24px;
  line-height: 1.1;
}
.mp-cta-block__title em { font-style: italic; }
.mp-cta-block__phone {
  display: block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: 1px;
}
.mp-cta-block .mp-btn--white { color: var(--rojo); padding: 16px 36px; font-size: 14px; }

/* ────────────────────────────────
   RESPONSIVE
   ──────────────────────────────── */
@media (max-width: 1024px) {
  .mp-hero { min-height: 80vh; }
  .mp-hero__slide { padding: 80px 32px 180px; }
  .mp-hero__dots { left: 32px; bottom: 220px; }
  .mp-services__grid { grid-template-columns: repeat(2, 1fr); }
  .mp-shop-grid { grid-template-columns: repeat(2, 1fr); }
  .mp-testimonials__grid { grid-template-columns: 1fr; }
  .mp-banners__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .mp-about { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .mp-hero__slide { padding: 70px 20px 220px; }
  .mp-hero__dots { left: 20px; bottom: 250px; }
  .mp-hero__stats { grid-template-columns: 1fr 1fr; }
  .mp-stat { padding: 18px 20px; border-right: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
  .mp-stat:nth-child(2) { border-right: none; }
  .mp-stat:nth-child(3), .mp-stat:nth-child(4) { border-bottom: none; }
  .mp-banners__grid { grid-template-columns: 1fr; }
  .mp-banner { aspect-ratio: 16/10; }
  .mp-treatments__grid { grid-template-columns: 1fr; }
  .mp-cta-block { padding: 80px 24px; }
}

@media (max-width: 600px) {
  .mp-services__grid { grid-template-columns: 1fr; }
  .mp-shop-grid { grid-template-columns: 1fr 1fr; }
  .mp-hero__actions { flex-direction: column; align-items: flex-start; }
  .mp-hero__actions .mp-btn { width: 100%; text-align: center; }
}

@media (max-width: 520px) {
  .mp-hero__slide { padding: 60px 16px 240px; }
  .mp-hero__dots { left: 16px; bottom: 260px; }
  .mp-shop-grid { grid-template-columns: 1fr; }
  .mp-about__badge { width: 86px; height: 86px; font-size: 24px; top: 16px; right: 16px; }
}
