/* ============================================================
   Crown America International Indonesia
   Luxury Architectural Lighting - Complete Stylesheet
   ============================================================ */

/* --- FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS CUSTOM PROPERTIES --- */
:root {
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;

  --color-gold-300: #e5d3b3;
  --color-gold-400: #dfba73;
  --color-gold-500: #d4af37;
  --color-gold-600: #b89025;
  --color-matte-black: #050505;
  --color-graphite-dark: #0f0f11;
  --color-graphite: #18181c;
  --color-graphite-light: #242429;
  --color-warm-white: #f7f5f0;
  --color-amber-glow: #ffbf00;
}

/* --- RESET & BASE --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-matte-black);
  color: var(--color-warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- SELECTION --- */
::selection {
  background: rgba(223, 186, 115, 0.2);
  color: var(--color-gold-400);
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #050505;
}
::-webkit-scrollbar-thumb {
  background: #242429;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #dfba73;
}

/* --- UTILITY CLASSES --- */
.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }

.text-gold-300 { color: var(--color-gold-300); }
.text-gold-400 { color: var(--color-gold-400); }
.text-warm-white { color: var(--color-warm-white); }

.glow-text-gold {
  text-shadow: 0 0 15px rgba(223, 186, 115, 0.4);
}
.glow-box-gold {
  box-shadow: 0 0 40px -10px rgba(223, 186, 115, 0.3);
}

/* --- SCROLL PROGRESS BAR --- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--color-gold-500), var(--color-gold-400), var(--color-gold-300));
  transform-origin: left;
  z-index: 60;
  box-shadow: 0 1px 10px rgba(223, 186, 115, 0.4);
  transform: scaleX(0);
  transition: transform 0.1s linear;
}

/* --- CUSTOM CURSOR --- */
.custom-cursor-outer {
  position: fixed;
  pointer-events: none;
  z-index: 100;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(223, 186, 115, 0.6);
  mix-blend-mode: screen;
  transition: left 0.05s linear, top 0.05s linear;
}

.custom-cursor-inner {
  position: fixed;
  pointer-events: none;
  z-index: 100;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gold-400);
  box-shadow: 0 0 10px #dfba73;
  transition: left 0.05s linear, top 0.05s linear;
}

/* --- HEADER --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(5, 5, 5, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.header-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-title-main {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-warm-white);
  line-height: 1.15;
}

.header-title-sub {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold-400);
  margin-top: 2px;
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.desktop-nav a {
  font-size: 11px;
  font-family: var(--font-sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  padding: 8px 0;
  transition: color 0.3s;
}

.desktop-nav a:hover {
  color: var(--color-gold-400);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold-400);
  transition: width 0.3s;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-inquire {
  display: none;
  border: 1px solid rgba(223, 186, 115, 0.3);
  background: rgba(212, 175, 55, 0.05);
  padding: 8px 16px;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold-400);
  cursor: pointer;
  transition: all 0.3s;
}

@media (min-width: 640px) {
  .btn-inquire {
    display: inline-block;
  }
}

.btn-inquire:hover {
  border-color: var(--color-gold-400);
  background: rgba(223, 186, 115, 0.1);
}

/* Hamburger */
.btn-hamburger {
  display: block;
  padding: 8px;
  background: none;
  border: none;
  color: var(--color-warm-white);
  cursor: pointer;
  transition: color 0.3s;
}

@media (min-width: 1024px) {
  .btn-hamburger {
    display: none;
  }
}

.btn-hamburger:hover {
  color: var(--color-gold-400);
}

.btn-hamburger svg {
  width: 24px;
  height: 24px;
}

/* Mobile Menu */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 40;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0s linear 0.35s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0s;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu-links a {
  font-size: 14px;
  font-family: var(--font-sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.3s;
}

.mobile-menu-links a:hover,
.mobile-menu-links a:active {
  color: var(--color-gold-400);
}

.mobile-menu-contact {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-menu-contact-label {
  font-size: 10px;
  font-family: var(--font-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.mobile-menu-contact a {
  font-size: 12px;
  font-family: var(--font-sans);
  color: var(--color-gold-300);
  transition: color 0.3s;
}

.mobile-menu-contact a:hover {
  color: var(--color-gold-400);
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
  padding: 0 24px 96px;
}

@media (max-width: 767px) {
  .hero-section {
    padding: 0 24px 210px;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: all 1s;
  transform: scale(1.05);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 10;
}

.hero-ambient-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 35vh;
  background: linear-gradient(to bottom, rgba(251, 191, 36, 0.1), rgba(251, 191, 36, 0.03), transparent);
  pointer-events: none;
  animation: bloom 4s ease-in-out infinite alternate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px);
  background-size: 120px 120px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 20;
  max-width: 1280px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-gold-400);
  font-weight: 600;
  text-shadow: 0 0 15px rgba(223, 186, 115, 0.4);
  margin-bottom: 16px;
  opacity: 0;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-warm-white);
  font-weight: 300;
  opacity: 0;
}

.hero-title-italic {
  font-style: italic;
  font-weight: 300;
  color: var(--color-gold-300);
}

.hero-quote {
  margin-top: 32px;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-align: center;
  opacity: 0;
}

.hero-quote-author {
  display: block;
  margin-top: 8px;
  color: rgba(223, 186, 115, 0.7);
  font-family: var(--font-serif);
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.05em;
}

.hero-bottom {
  position: absolute;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 20;
  opacity: 0;
}

.hero-bottom span {
  font-size: 8px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.hero-bottom-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-gold-400), transparent);
  animation: pulse 2s ease-in-out infinite;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 96px;
  }
  .hero-quote {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 7.5rem;
  }
}

/* --- SECTION COMMON STYLES --- */
.section {
  position: relative;
  padding: 96px 24px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
  .section {
    padding: 128px 48px;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 144px 96px;
  }
}

.section-bg-black {
  background: #000;
}

.section-bg-dark {
  background: var(--color-matte-black);
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 64px;
}

.section-header-left {
  align-items: flex-start;
  text-align: left;
  margin-bottom: 48px;
}

.section-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-badge-line {
  width: 32px;
  height: 1px;
  background: rgba(223, 186, 115, 0.6);
}

.section-badge-text {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold-400);
}

@media (min-width: 768px) {
  .section-badge-text {
    font-size: 12px;
  }
}

.section-title {
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--color-warm-white);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 48px;
  }
}

.section-title-italic {
  font-style: italic;
  font-weight: 300;
  color: var(--color-gold-300);
}

.section-desc {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 600px;
}

@media (min-width: 768px) {
  .section-desc {
    font-size: 14px;
  }
}

/* --- ABOUT SECTION --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 5fr 7fr;
    gap: 80px;
  }
}

.about-heading {
  font-family: var(--font-serif);
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .about-heading {
    font-size: 48px;
  }
}

@media (min-width: 1024px) {
  .about-heading {
    font-size: 64px;
  }
}

.about-text p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .about-text p {
    font-size: 20px;
  }
}

.about-text .text-muted {
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .about-text .text-muted {
    font-size: 18px;
  }
}

.about-text .highlight {
  color: var(--color-warm-white);
  font-weight: 400;
}

.about-text .highlight-border {
  border-bottom: 1px solid rgba(223, 186, 115, 0.3);
}

.about-text .highlight-gold {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--color-gold-300);
}

/* Stats Grid */
.stats-grid {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--color-gold-300);
  font-weight: 300;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 48px;
  }
}

@media (min-width: 1024px) {
  .stat-number {
    font-size: 64px;
  }
}

.stat-label {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 768px) {
  .stat-label {
    font-size: 12px;
  }
}

/* --- WHY CHOOSE US / EXPERIENCE --- */
.timeline-section {
  position: relative;
  padding-left: 56px;
}

@media (min-width: 640px) {
  .timeline-section {
    padding-left: 80px;
  }
}

@media (min-width: 768px) {
  .timeline-section {
    padding-left: 112px;
  }
}

@media (min-width: 1024px) {
  .timeline-section {
    padding-left: 128px;
  }
}

.timeline-line {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 11px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.timeline-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, var(--color-gold-400), var(--color-gold-500), var(--color-gold-600));
  box-shadow: 0 0 8px #dfba73;
  transition: height 2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: height;
}

@media (min-width: 640px) {
  .timeline-line {
    left: 19px;
  }
}

@media (min-width: 768px) {
  .timeline-line {
    left: 35px;
  }
}

@media (min-width: 1024px) {
  .timeline-line {
    left: 43px;
  }
}

.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media (min-width: 768px) {
  .timeline-steps {
    gap: 64px;
  }
}

.timeline-step {
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
}

.timeline-step.visible {
  opacity: 1;
  transform: translateX(0);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-node {
  position: absolute;
  left: -53px;
  top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .timeline-node {
    left: -69px;
  }
}

@media (min-width: 768px) {
  .timeline-node {
    left: -85px;
  }
}

@media (min-width: 1024px) {
  .timeline-node {
    left: -93px;
  }
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #000;
  border: 2px solid var(--color-gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: transform 0.5s;
}

.timeline-dot-inner {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold-400);
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.timeline-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px 24px;
  transition: all 0.3s;
  width: 100%;
}

.timeline-card:hover {
  border-color: rgba(223, 186, 115, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.timeline-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.timeline-card-icon {
  display: flex;
  align-items: center;
  gap: 12px;
}

.timeline-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(223, 186, 115, 0.1);
  border: 1px solid rgba(223, 186, 115, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-icon-box svg {
  width: 20px;
  height: 20px;
  color: var(--color-gold-400);
}

.timeline-card-title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-warm-white);
}

@media (min-width: 768px) {
  .timeline-card-title {
    font-size: 20px;
  }
}

.timeline-card-num {
  font-family: var(--font-serif);
  font-size: 20px;
  color: rgba(223, 186, 115, 0.3);
  font-weight: 300;
  letter-spacing: 0.05em;
  font-style: italic;
  user-select: none;
}

@media (min-width: 768px) {
  .timeline-card-num {
    font-size: 24px;
  }
}

.timeline-card p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* WHY CHOOSE US layout tune: centered header + narrower timeline content */
#why-choose-us .section-container {
  max-width: 1100px;
}

#why-choose-us .section-badge {
  justify-content: center;
}

#why-choose-us .reveal {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#why-choose-us .section-title {
  margin-left: auto;
  margin-right: auto;
}

#why-choose-us .section-desc {
  margin-left: auto;
  margin-right: auto;
}

#why-choose-us .timeline-section {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}

/* Horizontal connector from timeline dot to card */
.timeline-step::before {
  content: '';
  position: absolute;
  left: -45px;
  top: 13px;
  width: 45px;
  height: 1px;
  background: linear-gradient(to right, rgba(223, 186, 115, 0.55), rgba(223, 186, 115, 0.1));
  pointer-events: none;
}

@media (min-width: 640px) {
  .timeline-step::before {
    left: -61px;
    width: 61px;
  }
}

@media (min-width: 768px) {
  .timeline-step::before {
    left: -77px;
    width: 77px;
  }
}

@media (min-width: 1024px) {
  .timeline-step::before {
    left: -85px;
    width: 85px;
  }
}

@media (min-width: 768px) {
  .timeline-card p {
    font-size: 14px;
  }
}

/* --- PORTFOLIO SECTION --- */
.portfolio-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 64px;
}

.feat-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 16px;
}

@media (min-width: 640px) {
  .feat-header {
    flex-direction: row;
    align-items: flex-end;
  }
}

.feat-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 300;
  color: var(--color-gold-300);
  font-style: italic;
}

@media (min-width: 768px) {
  .feat-title {
    font-size: 32px;
  }
}

.feat-subtitle {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
  display: block;
}

.feat-badge {
  display: none;
  font-size: 10px;
  color: rgba(223, 186, 115, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

@media (min-width: 640px) {
  .feat-badge {
    display: inline;
  }
}

/* Featured Grid */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .feat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 56px;
  }
}

.feat-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  cursor: default;
  opacity: 0;
  transform: translateY(30px);
}

.feat-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.feat-card-image {
  position: relative;
  aspect-ratio: 3/2;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--color-matte-black);
}

.feat-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.feat-card:hover .feat-card-image img {
  transform: scale(1.05);
}

.feat-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.2), transparent);
  opacity: 0.9;
}

.feat-card-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 4px;
}

.feat-card-tags {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feat-tag {
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold-400);
  background: rgba(223, 186, 115, 0.1);
  border: 1px solid rgba(223, 186, 115, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
}

.feat-location {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.feat-name {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-warm-white);
  font-weight: 300;
  transition: color 0.3s;
}

@media (min-width: 768px) {
  .feat-name {
    font-size: 24px;
  }
}

.feat-card:hover .feat-name {
  color: var(--color-gold-300);
}

.feat-challenge {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 4px;
}

/* Registry Section */
.registry-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 16px;
}

@media (min-width: 768px) {
  .registry-header {
    flex-direction: row;
    align-items: flex-end;
  }
}

.registry-count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* Registry Filters */
.registry-filters {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
  .registry-filters {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  align-self: flex-start;
}

.filter-tab {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
}

.filter-tab:hover {
  color: var(--color-warm-white);
  background: rgba(255, 255, 255, 0.05);
}

.filter-tab.active {
  background: var(--color-gold-400);
  color: var(--color-matte-black);
  font-weight: 600;
  box-shadow: 0 0 15px rgba(223, 186, 115, 0.25);
}

.filter-tab .tab-count {
  font-size: 9px;
  margin-left: 4px;
}

.filter-tab.active .tab-count {
  color: rgba(5, 5, 5, 0.6);
}

.filter-tab:not(.active) .tab-count {
  color: rgba(255, 255, 255, 0.3);
}

.filter-search {
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  .filter-search {
    width: 320px;
  }
}

.filter-search input {
  width: 100%;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 32px 10px 40px;
  font-size: 12px;
  color: var(--color-warm-white);
  outline: none;
  transition: all 0.3s;
}

.filter-search input:focus {
  border-color: rgba(223, 186, 115, 0.4);
  box-shadow: 0 0 0 1px rgba(223, 186, 115, 0.1);
}

.filter-search input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.filter-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.3);
}

.filter-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 2px;
  border-radius: 50%;
  transition: color 0.3s;
}

.filter-search-clear:hover {
  color: var(--color-gold-400);
}

/* Registry List */
.registry-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

@media (min-width: 768px) {
  .registry-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .registry-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.registry-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  cursor: default;
  transition: all 0.3s;
}

.registry-item:hover {
  background: rgba(255, 255, 255, 0.01);
}

.registry-index {
  font-size: 10px;
  color: rgba(223, 186, 115, 0.4);
  padding-top: 2px;
  width: 20px;
  flex-shrink: 0;
  user-select: none;
  transition: color 0.3s;
}

.registry-item:hover .registry-index {
  color: rgba(223, 186, 115, 0.7);
}

.registry-info {
  flex: 1;
  min-width: 0;
}

.registry-name {
  font-size: 13px;
  color: var(--color-warm-white);
  font-weight: 300;
  letter-spacing: 0.02em;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s;
}

@media (min-width: 768px) {
  .registry-name {
    font-size: 14px;
  }
}

.registry-item:hover .registry-name {
  color: var(--color-gold-300);
}

.registry-sublocation {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  display: block;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.registry-item:hover .registry-sublocation {
  color: rgba(255, 255, 255, 0.5);
}

.registry-empty {
  text-align: center;
  padding: 64px 0;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.01);
  grid-column: 1 / -1;
}

.registry-empty p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-weight: 300;
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.testimonial-card {
  position: relative;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s;
}

.testimonial-card:hover {
  border-color: rgba(223, 186, 115, 0.2);
  background: rgba(255, 255, 255, 0.02);
}

.testimonial-glow {
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(223, 186, 115, 0.25), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}

.testimonial-card:hover .testimonial-glow {
  opacity: 1;
}

.testimonial-quote-mark {
  font-family: var(--font-serif);
  font-size: 48px;
  color: rgba(223, 186, 115, 0.2);
  display: block;
  margin-bottom: 8px;
  user-select: none;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .testimonial-text {
    font-size: 14px;
  }
}

.testimonial-divider {
  width: 32px;
  height: 1px;
  background: rgba(223, 186, 115, 0.35);
  margin-bottom: 16px;
  transition: width 0.5s;
}

.testimonial-card:hover .testimonial-divider {
  width: 64px;
}

.testimonial-author {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 300;
  color: var(--color-warm-white);
  letter-spacing: 0.02em;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.testimonial-location {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.testimonial-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(223, 186, 115, 0.4);
}

.testimonial-role {
  font-size: 9px;
  color: var(--color-gold-400);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: rgba(223, 186, 115, 0.05);
  border: 1px solid rgba(223, 186, 115, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

/* --- CONTACT SECTION --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 80px;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s;
}

.contact-card:hover {
  border-color: rgba(223, 186, 115, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.contact-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(223, 186, 115, 0.05);
  border: 1px solid rgba(223, 186, 115, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.contact-icon-box svg {
  width: 20px;
  height: 20px;
  color: var(--color-gold-400);
}

.contact-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 300;
  color: var(--color-warm-white);
  margin-bottom: 12px;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 11px;
  margin-bottom: 32px;
}

.contact-details a {
  color: rgba(223, 186, 115, 0.9);
  transition: color 0.3s;
}

.contact-details a:hover {
  color: var(--color-gold-400);
}

.contact-label {
  color: rgba(255, 255, 255, 0.3);
}

.btn-full {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-warm-white);
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  font-family: var(--font-sans);
}

.btn-full:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(223, 186, 115, 0.3);
}

.btn-full-gold {
  background: var(--color-gold-400);
  color: var(--color-matte-black);
  font-weight: 600;
  box-shadow: 0 0 20px rgba(223, 186, 115, 0.15);
}

.btn-full-gold:hover {
  background: var(--color-gold-300);
  box-shadow: 0 0 25px rgba(223, 186, 115, 0.25);
}

.btn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* --- FOOTER --- */
.site-footer {
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .site-footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-copyright {
    align-items: flex-start;
  }
}

.footer-sub {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.2);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 16px;
}

.footer-nav a {
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--color-gold-400);
}

.footer-nav-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: none;
}

@media (min-width: 640px) {
  .footer-nav-dot {
    display: inline-block;
  }
}

/* --- FLOATING CHATBOT --- */
.chatbot-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  font-family: var(--font-sans);
}

.chat-window {
  position: absolute;
  bottom: 64px;
  right: 0;
  width: calc(100vw - 32px);
  max-width: 380px;
  height: 520px;
  max-height: 80vh;
  background: rgba(12, 12, 12, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.chat-glow-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: rgba(223, 186, 115, 0.03);
  filter: blur(32px);
  pointer-events: none;
}

.chat-glow-2 {
  position: absolute;
  bottom: 48px;
  left: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(223, 186, 115, 0.02);
  filter: blur(24px);
  pointer-events: none;
}

.chat-header {
  position: relative;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(18, 18, 18, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(223, 186, 115, 0.1);
  border: 1px solid rgba(223, 186, 115, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-avatar svg {
  width: 16px;
  height: 16px;
  color: var(--color-gold-400);
}

.chat-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  border: 1px solid #000;
}

.chat-agent-name {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-warm-white);
  font-weight: 500;
}

.chat-agent-status {
  font-size: 9px;
  color: rgba(223, 186, 115, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.chat-ping {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(223, 186, 115, 0.6);
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.chat-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
}

.chat-close-btn svg {
  width: 16px;
  height: 16px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}

.chat-msg-assistant {
  align-items: flex-start;
}

.chat-msg-user {
  align-items: flex-end;
  align-self: flex-end;
}

.chat-bubble {
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  border-radius: 12px;
}

.chat-bubble-assistant {
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top-left-radius: 0;
}

.chat-bubble-user {
  background: var(--color-gold-400);
  color: var(--color-matte-black);
  font-weight: 500;
  border-top-right-radius: 0;
}

.chat-bubble p {
  white-space: pre-wrap;
}

.chat-timestamp {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
  padding: 0 4px;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #10b981;
  color: #fff;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.3s;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.whatsapp-btn:hover {
  background: #34d399;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.whatsapp-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.whatsapp-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-top: 8px;
}

.chat-typing {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border-top-left-radius: 0;
}

.chat-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(223, 186, 115, 0.6);
  animation: bounce 1.4s ease-in-out infinite;
}

.chat-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.chat-typing-dot:nth-child(3) { animation-delay: 0.3s; }

.chat-quick-bar {
  padding: 8px 16px;
  background: rgba(18, 18, 18, 0.3);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-quick-btn {
  font-size: 10px;
  color: rgba(223, 186, 115, 0.8);
  background: rgba(223, 186, 115, 0.05);
  border: 1px solid rgba(223, 186, 115, 0.15);
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s;
}

.chat-quick-btn:hover {
  background: rgba(223, 186, 115, 0.1);
  border-color: rgba(223, 186, 115, 0.35);
}

.chat-footer {
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(18, 18, 18, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--color-warm-white);
  outline: none;
  transition: all 0.3s;
}

.chat-input:focus {
  border-color: rgba(223, 186, 115, 0.4);
}

.chat-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--color-gold-400);
  color: var(--color-matte-black);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.chat-send-btn:hover {
  background: var(--color-gold-300);
}

.chat-send-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.chat-send-btn svg {
  width: 16px;
  height: 16px;
}

/* Chat Trigger Button */
.chat-trigger {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-gold-400);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(223, 186, 115, 0.3);
  transition: background 0.3s, transform 0.2s;
  z-index: 995;
}

.chat-trigger:hover {
  background: var(--color-gold-300);
  transform: scale(1.05);
}

.chat-trigger:active {
  transform: scale(0.95);
}

.chat-trigger svg {
  width: 24px;
  height: 24px;
  color: var(--color-matte-black);
}

.chat-trigger-indicator {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid var(--color-gold-400);
}

.chat-trigger-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(223, 186, 115, 0.4);
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* --- AMBIENT GLOW EFFECTS --- */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* --- ANIMATIONS --- */
@keyframes bloom {
  0% {
    opacity: 0.3;
    filter: blur(20px) brightness(0.8);
  }
  100% {
    opacity: 0.8;
    filter: blur(35px) brightness(1.3);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes ping {
  0% { opacity: 0.8; }
  75%, 100% { transform: scale(2); opacity: 0; }
}

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- SCROLL REVEAL CLASSES --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- RESPONSIVE HELPERS --- */
@media (min-width: 640px) {
  .sm\:inline { display: inline; }
}
@media (min-width: 768px) {
  .md\:mt-12 { margin-top: 48px; }
  .md\:block { display: block; }
}
@media (min-width: 1024px) {
  .lg\:hidden { display: none; }
}

/* --- LOADER --- */
.loader-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-matte-black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.loader-ambient {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(223, 186, 115, 0.05);
  filter: blur(64px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.loader-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.01) 1px, transparent 1px);
  background-size: 32px 32px;
}

.loader-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 512px;
  padding: 0 24px;
  text-align: center;
  user-select: none;
}

.loader-ring {
  position: relative;
  width: 160px;
  height: 160px;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ring svg {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.loader-ring-bg {
  fill: transparent;
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 1;
}

.loader-ring-progress {
  fill: transparent;
  stroke: #dfba73;
  stroke-width: 2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(223, 186, 115, 0.4));
  transition: stroke-dashoffset 0.3s ease-out;
}

.loader-center {
  position: absolute;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 1px solid rgba(223, 186, 115, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 5, 0.4);
  backdrop-filter: blur(4px);
}

.loader-pct {
  font-size: 30px;
  letter-spacing: 0.15em;
  color: var(--color-warm-white);
  font-weight: 300;
}

.loader-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--color-gold-400);
  margin-top: 4px;
  text-transform: uppercase;
}

.loader-text {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.loader-text p {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 300;
  color: var(--color-warm-white);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

@media (min-width: 640px) {
  .loader-text p {
    font-size: 24px;
  }
}

.loader-sub {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
  animation-delay: 0.5s;
}

/* --- PRELOADER TEXT TRANSITIONS --- */
.loader-phrase {
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.loader-phrase-enter {
  opacity: 0;
  transform: translateY(15px);
}

.loader-phrase-active {
  opacity: 1;
  transform: translateY(0);
}

.loader-phrase-exit {
  opacity: 0;
  transform: translateY(-15px);
}

.loader-gold {
  color: var(--color-gold-400);
  font-style: italic;
  font-weight: 400;
}

.loader-final {
  letter-spacing: 0.1em;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--color-gold-400);
  font-weight: 500;
}

@media (min-width: 640px) {
  .loader-final {
    font-size: 24px;
  }
}

/* --- GOLD BAR GLOW --- */
.glow-bar {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(223, 186, 115, 0.25), transparent);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s;
}

/* Scroll reveal for stats */
.stat-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}
