/**
 * Maison Blanc — premium polish (airy luxury). Load last on every page.
 */

:root {
  --color-bg: #f7f6f2;
  --color-surface: #ffffff;
  --color-accent-soft: #f2efe8;
  --color-hero-mist: rgba(255, 255, 255, 0.94);
  --shadow-luxury: 0 28px 70px rgba(20, 20, 18, 0.1);
  --shadow-luxury-soft: 0 12px 40px rgba(20, 20, 18, 0.06);
  --gradient-champagne: linear-gradient(
    118deg,
    rgba(201, 184, 150, 0.55) 0%,
    rgba(255, 255, 255, 0) 42%,
    rgba(201, 184, 150, 0.35) 100%
  );
}

::selection {
  background: rgba(201, 184, 150, 0.38);
  color: var(--color-text);
}

/* Subtle paper grain — keeps the site airy, not flat digital white */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    display: none;
  }
}

/* Header — gallery-white bar with champagne hairline */
.site-header {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.88) 100%
  );
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  border-bottom: 1px solid rgba(235, 230, 223, 0.85);
  transition:
    box-shadow var(--transition),
    background var(--transition);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 1px 0 rgba(201, 184, 150, 0.22),
    var(--shadow-luxury-soft);
}

.site-header__logo {
  letter-spacing: 0.24em;
  font-size: clamp(0.6875rem, 1.5vw, 0.8125rem);
  font-weight: 600;
  text-transform: uppercase;
}

.site-header__menu a {
  letter-spacing: 0.06em;
  font-size: 0.6875rem;
  text-transform: uppercase;
  font-weight: 500;
}

.site-header__menu a[aria-current="page"] {
  position: relative;
}

.site-header__menu a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-champagne), transparent);
}

/* Hero — cinematic, airy panel */
.hero {
  min-height: min(92vh, 48rem);
}

.hero__overlay {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.35) 0%, rgba(18, 18, 18, 0.55) 55%, rgba(18, 18, 18, 0.72) 100%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201, 184, 150, 0.18), transparent 70%);
}

.hero-slides__item.is-active {
  animation-duration: 22s;
  animation-timing-function: var(--ease-luxury);
}

.hero__content.glass-panel,
.hero__content--lux {
  text-align: center;
  max-width: 38rem;
  margin-inline: auto;
  padding: var(--space-xl) var(--space-2xl);
  color: var(--color-text);
  background: var(--color-hero-mist);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-luxury);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  position: relative;
  overflow: hidden;
}

.hero__content.glass-panel::before,
.hero__content--lux::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gradient-champagne);
  opacity: 0.9;
}

.hero__content .hero__title,
.hero__content .hero__lead,
.hero__content .hero__eyebrow {
  color: var(--color-text);
}

.hero__content .hero__lead {
  color: var(--color-text-muted);
}

.hero__eyebrow,
.page-header__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.page-header__eyebrow::before,
.hero__content .hero__eyebrow::before {
  content: "";
  flex: 0 0 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-champagne));
}

.page-header__eyebrow::after,
.hero__content .hero__eyebrow::after {
  content: "";
  flex: 0 0 2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--color-champagne), transparent);
}

.hero__title {
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.08;
  font-size: clamp(2.125rem, 5.5vw, 3.35rem);
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  pointer-events: none;
}

.hero-scroll-hint__line {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), transparent);
  animation: hero-scroll-pulse 2.4s var(--ease-luxury) infinite;
}

@keyframes hero-scroll-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.65);
    transform-origin: top;
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-hint__line {
    animation: none;
  }
}

/* Stats — jewel strip */
.stats-bar {
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-accent-soft) 100%);
  border-block: 1px solid var(--color-border-refined);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.stats-bar__value {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 500;
  color: var(--color-text);
}

.stats-bar__label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.6875rem;
}

/* Page headers — editorial air */
.page-header--gradient,
.page-header {
  background:
    radial-gradient(ellipse 90% 80% at 50% -20%, rgba(201, 184, 150, 0.12), transparent 55%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%);
}

.page-header__title {
  font-weight: 500;
  letter-spacing: 0.015em;
}

.intro__heading,
.highlights__title,
.offers__title,
.section-label {
  position: relative;
}

.intro__heading::after,
.highlights__title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  margin: var(--space-md) auto 0;
  background: linear-gradient(90deg, var(--color-champagne), transparent);
}

.page-home .intro__heading::after,
.page-home .highlights__title::after {
  margin-inline: 0;
}

/* Buttons — quiet shine */
.btn-primary {
  background: linear-gradient(165deg, #2a2a2a 0%, #1a1a1a 55%, #252525 100%);
  box-shadow: var(--shadow-btn);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn-hover);
  background: linear-gradient(165deg, #333 0%, #1f1f1f 50%, #2d2d2d 100%);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--color-champagne);
  outline-offset: 3px;
}

/* CTA bands — rare dark-lux moment */
.cta-band {
  background:
    radial-gradient(ellipse 70% 120% at 10% 50%, rgba(201, 184, 150, 0.14), transparent 55%),
    linear-gradient(135deg, #1c1c1c 0%, #121212 48%, #1a1814 100%);
  color: rgba(255, 255, 255, 0.92);
  border-block: 1px solid rgba(201, 184, 150, 0.2);
}

.cta-band__title {
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.cta-band__lead {
  color: rgba(255, 255, 255, 0.78);
}

.cta-band__lead a {
  color: var(--color-champagne);
}

.cta-band .btn-primary {
  background: linear-gradient(165deg, #fff 0%, #f5f3ef 100%);
  color: #1a1a1a;
  border-color: transparent;
}

.cta-band .btn-primary:hover {
  color: #000;
  background: #fff;
}

.cta-band .btn-whatsapp {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* Footer — soft close */
.site-footer--expanded {
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
  border-top: 1px solid var(--color-border-refined);
  position: relative;
}

.site-footer--expanded::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(12rem, 40%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-champagne), transparent);
}

.site-footer__brand-name {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Images — editorial hover */
.room-row__media,
.highlights__media,
.offer-card__media,
.bento-cell,
.gallery-item--cover {
  box-shadow: var(--shadow-luxury-soft);
  transition: box-shadow var(--transition-slow), transform var(--transition-slow);
}

.room-row:hover .room-row__media,
.highlights__grid--editorial .highlights__card:hover .highlights__media {
  box-shadow: var(--shadow-luxury);
}

/* WhatsApp float — refined pill */
.whatsapp-float {
  box-shadow:
    0 4px 20px rgba(37, 211, 102, 0.35),
    0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Reveal — slower, more gallery-like */
.reveal {
  transition-duration: 1s;
}

@media (min-width: 768px) {
  .hero:not(.hero--has-booking) {
    justify-content: flex-start;
    padding-left: clamp(var(--space-lg), 6vw, var(--space-3xl));
    text-align: left;
  }

  .hero:not(.hero--has-booking) .hero__content.glass-panel,
  .hero:not(.hero--has-booking) .hero__content--lux {
    margin-inline: 0;
  }

  .hero:not(.hero--has-booking) .hero__eyebrow {
    justify-content: flex-start;
  }
}
