:root {
  /* Colors - EXACT TOKENS from DESIGN.md */
  --color-obsidian: #000d10;
  --color-canvas-white: #ffffff;
  --color-slate-mist: #8e8e95;
  --color-desert-sienna: #bc7155;
  --color-gold: #d4af37;

  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;

  /* Scale */
  --text-body-sm: 16px;
  --text-subheading: 18px;
  --text-heading-sm: 26px;
  --text-heading: 42px;
  --text-heading-lg: 52px;
  --text-display: clamp(32px, 6vw, 90px);

  /* Spacing */
  --spacing-section: 120px;
  --container-padding: 60px;

  /* Border Radius */
  --radius-full: 1000px;
  --radius-other: 30px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-canvas-white);
  color: var(--color-obsidian);
  line-height: 1.6;
  font-size: var(--text-body-sm);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: var(--color-obsidian);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

@media (max-width: 768px) {
  .container { padding: 0 25px; }
  --spacing-section: 80px;
}

/* Header & Navigation */
header {
  height: 100px; /* Increased to accommodate 78px logo */
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.main-logo {
  height: 32px;
  width: auto;
}

.desktop-navigation ul {
  display: flex;
  list-style: none;
  gap: 35px;
}

.desktop-navigation ul li a {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.desktop-navigation ul li a:hover {
  color: var(--color-gold);
}

/* Hamburger & Mobile Nav */
.hamburger-button {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2100;
}

.hamburger-button span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-obsidian);
  transition: 0.3s;
}

.hamburger-button.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-button.active span:nth-child(2) { opacity: 0; }
.hamburger-button.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-navigation-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100vh;
  background: white;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-navigation-overlay.active {
  transform: translateX(0);
}

.mobile-navigation-links {
  list-style: none;
  text-align: center;
}

.mobile-navigation-links li {
  margin-bottom: 25px;
}

.mobile-navigation-links li a {
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .desktop-navigation { display: none; }
  .hamburger-button { display: flex; }
}

/* Hero Slider */
.hero-slider-section {
  position: relative;
  height: 85vh;
  width: 100%;
  overflow: hidden;
  background: var(--color-obsidian);
}

.hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: 1s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

.hero-slide-background {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
  transform: scale(1.1);
  transition: transform 8s linear;
}

.hero-slide.active .hero-slide-background {
  transform: scale(1);
}

.hero-slide-content {
  position: relative;
  z-index: 20;
  color: white;
}

.hero-slide-content h1 {
  font-size: var(--text-display);
  margin-bottom: 25px;
  color: white;
}

.hero-slide-content p {
  font-size: 20px;
  color: var(--color-slate-mist);
  margin-bottom: 40px;
  max-width: 700px;
}

.hero-action-buttons {
  display: flex;
  gap: 20px;
}

@media (max-width: 768px) {
  .hero-action-buttons { flex-direction: column; }
  .hero-slider-section { height: 75vh; }
}

/* Marquee - ROBUST INFINITE SCROLL */
.brand-marquee {
  background: #fcfcfc;
  padding: 35px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.marquee-track {
  display: flex;
  width: calc(250px * 14);
  animation: scrollContinuous 35s linear infinite;
}

.brand-item {
  width: 250px;
  flex: 0 0 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  color: rgba(0,13,16,0.15);
  text-transform: uppercase;
  letter-spacing: 3px;
}

@keyframes scrollContinuous {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-250px * 7)); }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 35px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  cursor: pointer;
  border: none;
  transition: 0.3s;
  text-align: center;
}

.btn-primary { background: var(--color-desert-sienna); color: white; }
.btn-primary:hover { background: var(--color-gold); transform: translateY(-3px); }
.btn-ghost { background: transparent; color: white; border: 2px solid white; }
.btn-ghost:hover { background: white; color: var(--color-obsidian); }
.btn-obsidian { background: var(--color-obsidian); color: white; }

/* Grid & Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fcfcfc;
  padding: 50px;
  border-radius: var(--radius-other);
  border: 1px solid rgba(0,0,0,0.03);
  transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.05);
  border-color: var(--color-gold);
}

/* Detail Hero */
.detail-hero-section {
  padding: 160px 0 100px; /* Reduced from 180px/120px */
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}

.detail-hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,13,16,0.6), rgba(0,13,16,0.95));
  z-index: -1;
}

.service-detail-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  padding: 120px 0; /* Increased from 100px */
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.1);
  font-family: inherit;
  font-size: 16px;
  outline: none;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--color-gold);
}

/* Footer */
footer {
  background: var(--color-obsidian);
  color: white;
  padding: 100px 0 50px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-links h4 { color: white; margin-bottom: 25px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { color: var(--color-slate-mist); font-size: 14px; }
.footer-links ul li a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--color-slate-mist);
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  gap: 12px;
}

.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
}

.dot.active { background: var(--color-gold); transform: scale(1.2); }

/* Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.section-title-group {
  text-align: center;
  margin-bottom: 70px;
}

.section-title-group h2 {
  font-size: var(--text-heading);
  text-transform: uppercase;
  margin-bottom: 15px;
}
