@import url('https://fonts.googleapis.com/css2?family=Gloock&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
  /* Brand Colors (extracted from logo) */
  --walnut-dark: #FFFFFF;
  --walnut: #D1955F;
  --oak: #B4846C;
  --oak-light: #F0B966;
  --sage: #A1A89A;
  --sage-light: #B8C0B1;

  /* Backgrounds (Premium Midnight Dark) */
  --bg: #090807;
  --bg-warm: #11100F;
  --bg-surface: #1A1817;
  --bg-dark: #000000;

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #E5E1DE;
  --text-muted: #A19B97;
  --text-light: #726E6B;
  --text-on-dark: #090807;

  /* Borders */
  --border: #2B2826;
  --border-dark: #3F3B38;

  /* Typography */
  --font-heading: 'Gloock', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Shadows (Optimized for Dark Theme) */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.8), 0 8px 24px rgba(0, 0, 0, 0.6);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 450ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;

  /* Prevent scrolling while loading */
  &.loading {
    overflow: hidden;
  }
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  position: relative;
}

.loader-logo {
  height: 80px;
  width: auto;
  margin-bottom: var(--space-8);
  animation: logoPulse 2s ease-in-out infinite;
}

.loader-bar-container {
  width: 200px;
  height: 2px;
  background: var(--border);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.loader-bar {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--walnut), transparent);
  animation: barSlide 1.5s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
}

.loader-text {
  margin-top: var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@keyframes logoPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.98);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes barSlide {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 6vw, var(--text-7xl));
}

h2 {
  font-size: clamp(1.875rem, 4vw, var(--text-5xl));
}

h3 {
  font-size: clamp(1.375rem, 2.5vw, var(--text-3xl));
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

p {
  line-height: 1.7;
  color: var(--text-secondary);
}

.lead {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--wide {
  max-width: 1400px;
}

.container--narrow {
  max-width: 800px;
}

.section {
  padding: var(--space-24) 0;
}

.section--sm {
  padding: var(--space-16) 0;
}

.section--lg {
  padding: var(--space-32) 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oak);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--oak);
}

.section-header {
  margin-bottom: var(--space-12);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-label {
  justify-content: center;
}

.section-header--center .section-label::before {
  display: none;
}

.section-header--center .section-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--oak);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.875rem var(--space-6);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  border: 1px solid transparent;
  /* Slightly thinner for mirror look */
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Mirror/Shine Effect */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: 0.5s;
}

.btn:hover::after {
  left: 100%;
}

.btn--primary {
  background: var(--walnut);
  color: var(--bg-dark);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(209, 149, 95, 0.2);
}

.btn--primary:hover {
  background: var(--oak-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(209, 149, 95, 0.3);
}

.btn--oak {
  background: var(--oak);
  color: var(--bg-warm);
  border-color: var(--oak);
}

.btn--oak:hover {
  background: var(--oak-light);
  border-color: var(--oak-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--walnut);
  border-color: var(--walnut);
}

.btn--outline:hover {
  background: var(--walnut);
  color: var(--bg-warm);
  transform: translateY(-1px);
}

.btn--outline-light {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-primary);
}

.btn--lg {
  padding: 1.125rem var(--space-8);
  font-size: var(--text-base);
}

.btn--sm {
  padding: 0.625rem var(--space-4);
  font-size: var(--text-xs);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: rgba(18, 16, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--walnut);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oak-light);
  font-size: 1.1rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--walnut-dark);
  letter-spacing: -0.01em;
}

.logo-tagline {
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-link {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: var(--space-4);
  right: var(--space-4);
  height: 1px;
  background: var(--oak);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-link:hover {
  color: var(--walnut);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--walnut);
}

.nav-link.active::after {
  transform: scaleX(1);
}

.header-cta {
  margin-left: var(--space-4);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--walnut);
  z-index: 100;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--bg-warm);
  padding: var(--space-32) 0 var(--space-24);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(196, 135, 74, 0.06) 100%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-dark), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--oak);
  margin-bottom: var(--space-6);
}

.hero-label-dot {
  width: 6px;
  height: 6px;
  background: var(--oak);
  border-radius: var(--radius-full);
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.1;
  color: var(--walnut-dark);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  color: var(--oak);
}

.hero-text {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-8);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-top: var(--space-12);
  padding-top: var(--space-12);
  border-top: 1px solid var(--border);
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--walnut-dark);
  line-height: 1;
}

.hero-stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-top: var(--space-1);
}

.hero-visual {
  position: relative;
}

.hero-photo-main {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, #2B2826 0%, #1A1817 40%, #090807 100%);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.hero-photo-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-photo-badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  right: var(--space-6);
  background: rgba(26, 24, 23, 0.9);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  z-index: 1;
  border: 1px solid var(--border);
}

.badge-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  color: var(--walnut-dark);
  margin-bottom: var(--space-1);
}

.badge-sub {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 300;
}

.hero-photo-secondary {
  position: absolute;
  top: var(--space-6);
  right: calc(-1 * var(--space-6));
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, #6B7C5E 0%, #4A5E40 100%);
  border-radius: var(--radius-xl);
  border: 4px solid var(--bg-warm);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   MATERIAL SWATCHES
   ============================================ */
.materials {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.swatch {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}

.swatch:first-child {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.swatch:last-child {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.swatch-bg {
  width: 100%;
  height: 100%;
  transition: transform var(--transition-slow);
}

.swatch:hover .swatch-bg {
  transform: scale(1.05);
}

.swatch-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
  transition: opacity var(--transition);
}

.swatch:hover .swatch-overlay {
  opacity: 0.8;
}

.swatch-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4);
  color: white;
  transform: translateY(4px);
  transition: transform var(--transition);
}

.swatch:hover .swatch-info {
  transform: translateY(0);
}

.swatch-name {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.2;
  display: block;
}

.swatch-desc {
  font-size: var(--text-xs);
  opacity: 0.8;
  margin-top: 2px;
  font-weight: 300;
}

/* ============================================
   WHY CHOOSE SECTION
   ============================================ */
.why-choose {
  background: var(--bg-warm);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}



.why-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.why-feature {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.why-feature-icon {
  width: 48px;
  height: 48px;
  background: var(--sage);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--text-lg);
  flex-shrink: 0;
}

.why-feature-text h4 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--walnut-dark);
  margin-bottom: var(--space-1);
}

.why-feature-text p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

.why-visual {
  position: relative;
}

.why-photo {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, #EBE6E1 0%, #D8D2CB 50%, #BDB4AC 100%);
  border-radius: var(--radius-xl);
}

.why-cert-badge {
  position: absolute;
  top: var(--space-6);
  right: calc(-1 * var(--space-6));
  background: var(--bg-surface);
  color: var(--text-primary);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.cert-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--oak-light);
  line-height: 1;
}

.cert-sub {
  font-size: var(--text-xs);
  color: rgba(255, 248, 240, 0.7);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--space-1);
}

/* ============================================
   PROJECT GALLERY
   ============================================ */
.gallery {
  background: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-photo {
  width: 100%;
  height: 100%;
  min-height: 260px;
}

.gallery-item:first-child .gallery-photo {
  min-height: 560px;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-5) var(--space-6);
  background: rgba(26, 24, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.gallery-caption h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: var(--text-lg);
}

.gallery-caption p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-1);
}

/* ============================================
   FULL PAGE GALLERY (gallery.html)
   ============================================ */
.full-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.full-gallery-grid .gallery-item:first-child {
  grid-row: auto;
}

.full-gallery-grid .gallery-photo {
  min-height: 300px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(209, 149, 95, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials .section-label {
  color: var(--oak-light);
}

.testimonials .section-label::before {
  background: var(--oak-light);
}

.testimonials h2 {
  color: var(--text-primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%,
      rgba(255, 255, 255, 0.02) 100%);
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(201, 149, 95, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.testimonial-stars {
  display: flex;
  gap: var(--space-1);
  color: var(--oak-light);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

.testimonial-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
  font-style: italic;
  margin-bottom: var(--space-6);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--bg-warm);
}

.testimonial-location {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================
   PROCESS
   ============================================ */
.process {
  background: var(--bg-surface);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--oak), var(--oak-light), var(--oak));
  opacity: 0.4;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--bg-warm);
  border: 2px solid var(--oak);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--oak);
  margin: 0 auto var(--space-5);
  position: relative;
  z-index: 1;
}

.step-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--walnut-dark);
  margin-bottom: var(--space-2);
}

.step-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--walnut);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D1955F' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  color: var(--text-on-dark);
  margin-bottom: var(--space-4);
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-lg);
  font-weight: 300;
  margin-bottom: var(--space-8);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cta-phone {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.cta-phone i {
  font-size: var(--text-xl);
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.page-hero {
  background: var(--bg-warm);
  padding: var(--space-20) 0 var(--space-16);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}

.page-hero .lead {
  max-width: 600px;
}

.services-list {
  background: var(--bg-surface);
}

.service-block {
  padding: var(--space-16) 0;
  border-bottom: 1px solid var(--border);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.service-block-grid.reverse {
  direction: rtl;
}

.service-block-grid.reverse>* {
  direction: ltr;
}

.service-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.service-number {
  font-family: var(--font-heading);
  font-size: var(--text-7xl);
  color: var(--border);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.service-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: var(--walnut-dark);
  margin-bottom: var(--space-4);
}

.service-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.service-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.service-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--oak);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.service-meta {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}

.service-meta-item {
  text-align: left;
}

.meta-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}

.meta-value {
  font-size: var(--text-sm);
  color: var(--walnut);
  font-weight: 500;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-story {
  background: var(--bg-warm);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.story-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, #D1955F 0%, #0B0A12 100%);
  border-radius: var(--radius-xl);
}

.story-content h2 {
  margin-bottom: var(--space-6);
}

.story-content p {
  margin-bottom: var(--space-4);
  line-height: 1.8;
}

.team-section {
  background: var(--bg-surface);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.team-card {
  text-align: center;
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-4);
}

.team-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--walnut-dark);
  margin-bottom: var(--space-1);
}

.team-role {
  font-size: var(--text-sm);
  color: var(--oak);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
}

.team-bio {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

.certs-section {
  background: var(--bg-warm);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.cert-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cert-icon {
  width: 64px;
  height: 64px;
  background: var(--walnut);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oak-light);
  font-size: var(--text-2xl);
  margin: 0 auto var(--space-4);
}

.cert-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--walnut-dark);
  margin-bottom: var(--space-2);
}

.cert-body {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

.showroom-section {
  background: var(--bg-surface);
}

.showroom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.showroom-photo {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #F0B966 0%, #D1955F 60%, #B4846C 100%);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.showroom-photo::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.12) 0%,
      transparent 50%,
      rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 100%);
  pointer-events: none;
}

.form-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--walnut-dark);
  margin-bottom: var(--space-2);
}

.form-subtitle {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.875rem var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--oak);
  box-shadow: 0 0 0 3px rgba(240, 185, 102, 0.12);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  cursor: pointer;
  margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--oak);
  cursor: pointer;
}

.contact-info {
  padding-top: var(--space-4);
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--walnut-dark);
  margin-bottom: var(--space-6);
}

.contact-detail {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oak);
  font-size: var(--text-lg);
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}

.contact-detail-value {
  font-size: var(--text-base);
  color: var(--text-primary);
  font-weight: 500;
}

.contact-detail-note {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-6);
  font-size: var(--text-sm);
}

.hours-table td {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
}

.hours-table td:first-child {
  color: var(--text-muted);
  font-weight: 500;
}

.hours-table td:last-child {
  text-align: right;
  color: var(--text-primary);
  font-weight: 500;
}

.service-map {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #6B7C5E 0%, #4A5E40 100%);
  border-radius: var(--radius-xl);
  margin-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  opacity: 0.8;
}

.faq-section {
  background: var(--bg-warm);
}

.faq-list {
  max-width: 800px;
  margin: var(--space-12) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.faq-question {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--walnut-dark);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.faq-question::before {
  content: 'Q.';
  color: var(--oak);
  font-style: italic;
  flex-shrink: 0;
}

.faq-answer {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: calc(1.5rem + var(--space-3));
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-dark);
  color: #B4AFAB;
  padding: var(--space-16) 0 var(--space-8);
  border-top: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand .logo-name {
  color: #FFFFFF;
}

.footer-brand .logo-tagline {
  color: #8E8985;
}

.footer-brand .logo-icon {
  background: rgba(209, 149, 95, 0.15);
  color: var(--walnut);
}

.footer-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: var(--space-6);
  color: #B4AFAB;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
}

.footer-contact-item i {
  color: var(--oak);
  width: 16px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  color: #FFFFFF;
  margin-bottom: var(--space-6);
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: #B4AFAB;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--walnut);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--oak-light);
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-legal a {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
  text-align: center;
}

.text-oak {
  color: var(--oak);
}

.text-sage {
  color: var(--sage);
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-6 {
  margin-top: var(--space-6);
}

.mt-8 {
  margin-top: var(--space-8);
}

.mb-0 {
  margin-bottom: 0;
}

/* ============================================
   RESPONSIVE - TABLET (1024px)
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .hero-visual {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-photo-secondary {
    right: 0;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .why-cert-badge {
    right: var(--space-6);
  }

  .materials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
  }

  .swatch:first-child {
    border-radius: var(--radius-md) 0 0 0;
  }

  .swatch:nth-child(3) {
    border-radius: 0 var(--radius-md) 0 0;
  }

  .swatch:nth-child(4) {
    border-radius: 0 0 0 var(--radius-md);
  }

  .swatch:last-child {
    border-radius: 0 0 var(--radius-md) 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 2;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }

  .process-steps::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .story-grid,
  .showroom-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .service-block-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .service-block-grid.reverse {
    direction: ltr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item:first-child {
    grid-row: span 1;
    grid-column: span 2;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .certs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   RESPONSIVE - MOBILE (768px)
   ============================================ */
@media (max-width: 768px) {
  .section {
    padding: var(--space-16) 0;
  }

  .section--lg {
    padding: var(--space-20) 0;
  }

  .header-inner {
    justify-content: center;
    position: relative;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    right: 0;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    padding: var(--space-4) 0;
    box-shadow: var(--shadow-lg);
    gap: 0;
    z-index: 99;
    border-top: 1px solid var(--border);
  }

  .nav.nav-open {
    display: flex;
  }

  .nav-link {
    padding: var(--space-3) var(--space-8);
    width: 100%;
    text-align: center;
    border-radius: 0;
  }

  .nav-link::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: var(--space-20) 0 var(--space-16);
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-6);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
  }

  .materials-grid .swatch {
    border-radius: 0;
  }

  .materials-grid .swatch:first-child {
    border-radius: var(--radius-md) 0 0 0;
  }

  .materials-grid .swatch:nth-child(2) {
    border-radius: 0 var(--radius-md) 0 0;
  }

  .materials-grid .swatch:nth-child(5) {
    border-radius: 0 0 0 var(--radius-md);
  }

  .materials-grid .swatch:nth-child(6) {
    border-radius: 0 0 var(--radius-md) 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item:first-child {
    grid-column: span 1;
  }

  .gallery-item:first-child .gallery-photo {
    min-height: 280px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .certs-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .contact-form-wrapper {
    padding: var(--space-6);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .checkbox-group {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-photo-secondary {
    display: none;
  }

  .why-cert-badge {
    position: static;
    margin-top: var(--space-4);
    display: inline-block;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}