/* Global Styles & Design System */

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4.5vw, 48px);
  padding-right: clamp(16px, 4.5vw, 48px);
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* Background Atmosphere */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  background-image: radial-gradient(var(--white) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Subtle atmospheric elements */

@media (max-width: 992px) {
  .noise-overlay {
    opacity: 0.02;
  }
}

/* Typography System */
.font-serif {
  font-family: var(--serif);
}

.font-sans {
  font-family: var(--sans);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.heading-display {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 5.5vw, 5.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
}

.heading-display em,
.heading-editorial em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-light);
}

.heading-editorial {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--white);
}

.heading-sub {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.75;
  color: var(--muted);
  max-width: 620px;
}

.text-gold {
  color: var(--gold-light);
}

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

/* Hairline Dividers */
.hairline {
  width: 100%;
  height: 1px;
  background: var(--border);
  border: none;
}

.hairline-gold {
  height: 1px;
  background: var(--gold-line-gradient);
  border: none;
}

/* Buttons & Interactive Elements */
.btn-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 34px;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--black-soft);
  color: var(--white);
  border: 1px solid var(--border);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(228, 201, 142, 0.15), transparent);
  transition: transform 0.6s ease;
}

.btn-primary:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background-color: var(--black-elevated);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover::before {
  transform: translateX(200%);
}

.btn-outline {
  background: transparent;
  color: var(--white-soft);
  border: 1px solid rgba(245, 243, 238, 0.15);
}

.btn-outline:hover {
  background: rgba(245, 243, 238, 0.05);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #E4C98E 0%, #B09159 100%);
  color: #100F0D;
  font-weight: 600;
  border: 1px solid #E4C98E;
}

.btn-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(176, 145, 89, 0.25);
}

.btn-icon {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Reveal on Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 150ms; }
.reveal-delay-2 { transition-delay: 300ms; }
.reveal-delay-3 { transition-delay: 450ms; }
.reveal-delay-4 { transition-delay: 600ms; }

/* Section Spacing */
section {
  position: relative;
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

@media (max-width: 768px) {
  .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    gap: 8px;
    margin-bottom: 1rem;
  }

  .eyebrow::before {
    width: 16px;
  }

  .heading-sub {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .btn {
    padding: 14px 22px;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-group .btn {
    width: 100%;
  }
}

/* Floating WhatsApp Quick Action for Mobile */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 18px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #141311;
  border: 1px solid var(--border-active);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.75), 0 0 18px rgba(228, 201, 142, 0.2);
  border-radius: 999px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.floating-whatsapp:hover,
.floating-whatsapp:focus {
  transform: translateY(-2px) scale(1.02);
  border-color: var(--gold-light);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85), 0 0 24px rgba(228, 201, 142, 0.35);
}

.floating-whatsapp-icon {
  width: 22px;
  height: 22px;
  fill: #25D366;
  flex-shrink: 0;
}

@media (min-width: 993px) {
  .floating-whatsapp {
    display: none;
  }
}

@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;
  }
}

