/* ==========================================================================
   SLAY & SPIN HUB — CORE DESIGN SYSTEM (v2)
   "The Stage Is Set."
   Direction: stage-light theatre, not dashboard cards.
   Sharp viewfinder framing, radial motion, Bodoni editorial display type.
   ========================================================================== */

:root {
  /* Color tokens */
  --black: #0a0a0a;
  --black-deep: #040404;
  --ink: #141414;
  --ink-soft: #1c1c1c;
  --gold: #c89b3c;
  --gold-bright: #f0c861;
  --gold-dim: #6b5420;
  --off-white: #f2efe9;
  --white: #ffffff;
  --line: rgba(200, 155, 60, 0.22);
  --line-soft: rgba(242, 239, 233, 0.07);
  --line-hard: rgba(200, 155, 60, 0.5);

  /* Type */
  --font-display: 'Bodoni Moda', serif;
  --font-body: 'Archivo', -apple-system, sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --space-2xl: 12rem;

  /* Motion */
  --ease-stage: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-spotlight: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.3s;
  --dur-med: 0.7s;
  --dur-slow: 1.4s;

  /* Layout */
  --container: 1280px;
  --container-narrow: 880px;
  --frame-inset: 18px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--black);
  color: var(--off-white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--gold); color: var(--black); }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

/* ==========================================================================
   VIEWFINDER FRAME — the structural signature.
   A thin bracket-cornered rule sits inside every major section,
   like a camera viewfinder or stage mark, instead of rounded cards.
   ========================================================================== */

.frame { position: relative; }

.frame-corners {
  position: absolute;
  inset: var(--frame-inset);
  pointer-events: none;
  z-index: 1;
}

.frame-corners span {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-hard);
  opacity: 0.7;
}

.frame-corners span:nth-child(1) { top: 0; left: 0; border-right: none; border-bottom: none; }
.frame-corners span:nth-child(2) { top: 0; right: 0; border-left: none; border-bottom: none; }
.frame-corners span:nth-child(3) { bottom: 0; left: 0; border-right: none; border-top: none; }
.frame-corners span:nth-child(4) { bottom: 0; right: 0; border-left: none; border-top: none; }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--white);
}

h1 { font-size: clamp(2.6rem, 7vw, 6.2rem); font-weight: 400; font-optical-sizing: auto; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 600; }

p { font-size: 1.02rem; color: rgba(242, 239, 233, 0.72); font-weight: 300; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.eyebrow::before {
  content: '';
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.eyebrow.is-centered { justify-content: center; width: 100%; }

/* ==========================================================================
   LAYOUT PRIMITIVES
   ========================================================================== */

.lede {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: rgba(242, 239, 233, 0.62);
  max-width: 620px;
  font-weight: 300;
  line-height: 1.7;
}

.gold-text { color: var(--gold); }
.serif-italic { font-style: italic; font-weight: 400; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

section { position: relative; padding: var(--space-xl) 0; }

.section-head { text-align: center; max-width: 700px; margin: 0 auto var(--space-lg); }

/* Arc divider replaces the old straight gold line — nods to rotation, not a ledger rule */
.divider {
  width: 72px;
  height: 36px;
  margin: var(--space-md) auto;
  position: relative;
}

.divider::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
  opacity: 0.7;
}

.divider::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 4px; height: 4px;
  background: var(--gold-bright);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px var(--gold);
}

/* ==========================================================================
   BUTTONS — clipped angular shape + flash-pulse instead of slide-fill
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.05rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all var(--dur-fast) var(--ease-stage);
  white-space: nowrap;
  position: relative;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border: 1px solid var(--gold);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
}

.btn-primary span { position: relative; z-index: 1; display: flex; align-items: center; gap: 0.6rem; }

.btn-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 1px var(--gold-bright), 0 0 36px rgba(240, 200, 97, 0.4);
}

.btn-primary:active { box-shadow: 0 0 60px rgba(240, 200, 97, 0.7); }

.btn-ghost {
  background: transparent;
  color: var(--off-white);
  border: 1px solid rgba(242, 239, 233, 0.22);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: inset 0 0 24px rgba(200,155,60,0.12);
}

.btn-row { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.7rem 0;
  transition: all var(--dur-fast) var(--ease-stage);
  background: linear-gradient(to bottom, rgba(4,4,4,0.9), transparent);
}

.site-nav.scrolled {
  padding: 1.05rem 0;
  background: rgba(7, 7, 7, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  letter-spacing: 0.01em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo .gold-dot { color: var(--gold); font-style: normal; }

.nav-links { display: flex; gap: 2.6rem; list-style: none; }

.nav-links a {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 239, 233, 0.7);
  position: relative;
  padding-bottom: 8px;
  transition: color var(--dur-fast);
}

/* underline sweeps from center, not left-to-right — radial habit, not linear */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--dur-fast) var(--ease-stage), left var(--dur-fast) var(--ease-stage);
}

.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; left: 0; }

.nav-cta { display: flex; align-items: center; gap: 1.4rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 26px; }
.nav-toggle span { height: 1px; background: var(--off-white); transition: all var(--dur-fast); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-primary { padding: 0.8rem 1.5rem; font-size: 0.68rem; }
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--black-deep);
  z-index: 300;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.6rem;
  transform: translateY(-100%);
  transition: transform var(--dur-med) var(--ease-stage);
}

.mobile-drawer.open { transform: translateY(0); }

.mobile-drawer a {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.9rem;
  color: var(--off-white);
}

.mobile-drawer .close-drawer {
  position: absolute;
  top: 2rem; right: 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--black-deep);
  border-top: 1px solid var(--line);
  padding: var(--space-xl) 0 var(--space-md);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 50%;
  width: 120px; height: 1px;
  background: var(--gold-bright);
  transform: translateX(-50%);
  box-shadow: 0 0 12px var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-tagline { font-style: italic; color: var(--gold); font-family: var(--font-display); font-size: 1.25rem; margin-top: 1rem; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.3rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { color: rgba(242,239,233,0.6); font-size: 0.92rem; transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--gold); }

.footer-social { display: flex; gap: 1rem; margin-top: 1.2rem; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur-fast);
  transform: rotate(45deg);
}
.footer-social a svg { transform: rotate(-45deg); }
.footer-social a:hover { border-color: var(--gold); background: rgba(200,155,60,0.08); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--line-soft);
  font-size: 0.8rem;
  color: rgba(242,239,233,0.4);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-stage-text { font-family: var(--font-display); font-style: italic; color: var(--gold); letter-spacing: 0.02em; }

/* ==========================================================================
   STICKY BOOKING + WHATSAPP — flash-pulse, not gentle glow-pulse
   ========================================================================== */

.sticky-book {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 150;
  padding: 1rem 1.9rem;
  background: var(--gold);
  color: var(--black);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
  box-shadow: 0 8px 24px rgba(200,155,60,0.2);
  animation: camera-flash-cta 5s steps(1) infinite;
}

@keyframes camera-flash-cta {
  0%, 96%, 100% { box-shadow: 0 8px 24px rgba(200,155,60,0.2); }
  97% { box-shadow: 0 0 50px rgba(240,200,97,0.9); }
}

.float-whatsapp {
  position: fixed;
  bottom: 5.7rem; right: 2rem;
  z-index: 150;
  width: 50px; height: 50px;
  border: 1px solid var(--gold);
  background: rgba(7, 7, 7, 0.88);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur-fast);
  transform: rotate(45deg);
}

.float-whatsapp svg { transform: rotate(-45deg); }
.float-whatsapp:hover { background: rgba(200,155,60,0.14); }

@media (max-width: 600px) {
  .sticky-book { bottom: 1.2rem; right: 1.2rem; padding: 0.85rem 1.4rem; font-size: 0.68rem; }
  .float-whatsapp { bottom: 4.7rem; right: 1.2rem; width: 44px; height: 44px; }
}

/* ==========================================================================
   UTILITY
   ========================================================================== */

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
