/* =========================================
   FC LUXE SPA & BEAUTY — Interior Pages CSS
   ========================================= */

/* ── PAGE HERO (interior) ─────────────── */
.page-hero {
  position: relative;
  height: 65vh;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(48px, 6vw, 80px);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.08);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: center 24%;
  will-change: transform;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 17, 17, 0.84) 0%,
    rgba(17, 17, 17, 0.46) 52%,
    rgba(17, 17, 17, 0.18) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 2;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
}

.page-hero__content h1 {
  color: var(--white);
  margin-top: 12px;
}

.page-hero__content h1 em {
  font-style: italic;
}

.page-hero__content p {
  color: rgba(255, 255, 255, 0.65);
  margin-top: 12px;
  max-width: 480px;
}

/* ── EYEBROW LABEL en el hero — pill con degradado ─────────────── */
.page-hero__content .section-label {
  display: inline-block;
  padding: 5px 16px;
  background: linear-gradient(
    110deg,
    rgba(17, 17, 17, 0.72) 0%,
    rgba(146, 25, 71, 0.52) 100%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: none;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ── BREADCRUMB ───────────────────────── */
.breadcrumb {
  padding: 20px 0;
  border-bottom: 1px solid var(--light-gray);
  margin-bottom: 0;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-subtitle);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.breadcrumb__list a {
  color: var(--mid-gray);
  transition: color var(--duration-fast);
}

.breadcrumb__list a:hover {
  color: var(--pink-mist);
}

.breadcrumb__list span {
  color: var(--light-gray);
}

.breadcrumb__list li:last-child a {
  color: var(--charcoal);
  pointer-events: none;
}

/* ── SERVICIO DETALLE ─────────────────── */
.service-detail {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.service-detail__images {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-detail__img-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-float);
}

.service-detail__img-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.7s var(--ease-luxury);
}

.service-detail__img-main:hover img {
  transform: scale(1.04);
}

.service-detail__img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.service-detail__img-secondary {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.service-detail__img-secondary img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.7s var(--ease-luxury);
}

.service-detail__img-secondary:hover img {
  transform: scale(1.05);
}

.service-detail__text {
  position: sticky;
  top: 100px;
}

.service-detail__text h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-top: 12px;
}

.service-detail__text h1 em {
  font-style: italic;
  color: var(--pink-mist);
}

.service-detail__intro {
  margin-top: 20px;
  font-size: 1.2rem;
  line-height: 1.8;
}

/* Tratamientos lista */
.treatments {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--light-gray);
}

.treatments h3 {
  font-family: var(--font-subtitle);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pink-mist);
  margin-bottom: 20px;
}

.treatments__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.treatment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--light-gray);
  transition: padding var(--duration-fast) var(--ease-luxury);
}

.treatment-item:hover {
  padding-left: 8px;
}

.treatment-item__name {
  font-family: var(--font-subtitle);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--charcoal);
}

.treatment-item__arrow {
  width: 20px;
  height: 1px;
  background: var(--pink-mist);
  position: relative;
  transition: width var(--duration-fast);
}

.treatment-item__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--pink-mist);
  border-right: 1px solid var(--pink-mist);
  transform: rotate(45deg);
}

.treatment-item:hover .treatment-item__arrow {
  width: 32px;
}

.service-detail__cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── GRID DE SERVICIOS (servicios.html) ─ */
.services-grid-section {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
  background-color: var(--off-white);
}

/* Overlay decorativo: hojas difuminadas sobre off-white */
.services-grid-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../rsc/png/decor/097.png") center center / cover no-repeat;
  opacity: 0.33;
  z-index: 0;
  pointer-events: none;
}

.services-grid-section > .container {
  position: relative;
  z-index: 2;
}

.services-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ── Card rediseñada: horizontal glass ── */
.service-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: #fff;
  border: 1px solid rgba(237, 92, 155, 0.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.07),
    0 2px 8px rgba(146, 25, 71, 0.06);
  transition:
    transform var(--duration-mid) var(--ease-luxury),
    box-shadow var(--duration-mid) var(--ease-luxury);
  will-change: transform;
  cursor: none;
  text-decoration: none;
}

.service-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.12),
    0 4px 14px rgba(146, 25, 71, 0.1);
}

.service-card__img {
  overflow: hidden;
  height: 100%;
  min-height: 180px;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-luxury);
  display: block;
}

.service-card:hover .service-card__img img {
  transform: scale(1.1);
}

.service-card__body {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  border-left: 3px solid var(--lavender-blush);
}

.service-card__num {
  font-family: var(--font-subtitle);
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: var(--pink-mist);
  text-transform: uppercase;
}

.service-card__body h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--charcoal);
  line-height: 1.2;
}

.service-card__body p {
  font-size: 1.08rem;
  color: var(--mid-gray);
  line-height: 1.55;
  flex: 1;
}

.service-card__body .btn--ghost {
  font-size: 0.9rem;
  margin-top: 10px;
  align-self: flex-start;
}

.service-card__body .btn--ghost:hover {
  background: var(--lavender-mist);
}

/* ── CTA INTERIOR ─────────────────────── */
.interior-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 8vw, 100px) 0;
  text-align: center;
}

.interior-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../rsc/png/decor/168.png") center center / cover no-repeat;
  z-index: 0;
}

.interior-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(250, 230, 240, 0.72) 0%,
    rgba(237, 92, 155, 0.45) 100%
  );
  z-index: 1;
}

.interior-cta > .container {
  position: relative;
  z-index: 2;
}

.interior-cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 26px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow:
    0 22px 55px rgba(146, 25, 71, 0.16),
    0 6px 18px rgba(0, 0, 0, 0.08);
}

.interior-cta__content h2 em {
  font-style: italic;
}

/* ── GALERIA INTERIOR ─────────────── */
.gallery-page {
  background: var(--off-white);
  padding: var(--section-padding) 0;
}

/* ── HISTORIA ─────────────────────────── */
.historia-section {
  padding: var(--section-padding) 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.historia-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../rsc/png/decor/084.png") center center / cover no-repeat;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}

.historia-section > .container {
  position: relative;
  z-index: 1;
}

.historia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
  margin-bottom: 80px;
}

.historia-grid.reverse {
  direction: rtl;
}

.historia-grid.reverse > * {
  direction: ltr;
}

.historia-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-float);
}

.historia-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* ── VALORES ──────────────────────────── */
.valores-section {
  background: var(--lavender-blush);
  padding: var(--section-padding) 0;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.valor-card {
  position: relative;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-radius: 28px;
  padding: 36px 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 8px 32px rgba(237, 92, 155, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(237, 92, 155, 0.08);
  overflow: hidden;
  transition:
    transform var(--duration-mid) var(--ease-luxury),
    box-shadow var(--duration-mid),
    background var(--duration-mid);
}

/* Reflejo especular superior izquierdo */
.valor-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.08) 60%,
    transparent 100%
  );
  border-radius: 28px 28px 0 0;
  pointer-events: none;
  z-index: 0;
}

/* Borde inferior con tinte rosa */
.valor-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(237, 92, 155, 0.35),
    transparent
  );
  pointer-events: none;
  z-index: 0;
}

.valor-card > * {
  position: relative;
  z-index: 1;
}

.valor-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.52);
  box-shadow:
    0 20px 48px rgba(237, 92, 155, 0.16),
    0 6px 16px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(237, 92, 155, 0.12);
}

.valor-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.valor-card h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-bottom: 10px;
}

/* ── RESPONSIVE ───────────────────────── */
@media (max-width: 1024px) {
  .services-full-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 180px 1fr;
  }

  .service-detail__grid,
  .historia-grid {
    grid-template-columns: 1fr;
  }

  .historia-grid.reverse {
    direction: ltr;
  }

  .historia-img img {
    height: 360px;
  }

  .service-detail__text {
    position: static;
  }

  .valores-grid {
    grid-template-columns: 1fr 1fr;
  }

  .interior-cta {
    padding: clamp(48px, 6vw, 72px) 0;
  }
}

@media (max-width: 768px) {
  .services-full-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card__img {
    min-height: 200px;
    height: 200px;
  }

  .service-detail__img-main img {
    height: 320px;
  }

  .service-detail__img-row {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail__img-secondary img {
    height: 150px;
  }

  .historia-img img {
    height: 260px;
  }

  .valores-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    height: 50vh;
    min-height: 360px;
  }

  .interior-cta {
    padding: 40px 0;
  }

  .interior-cta__content {
    padding: 24px 20px;
  }
}
