/* ============================================================
   DESIGNCRAFT USA — Main Stylesheet
   Premium Broadcast Studio Furniture | designcraftusa.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap');

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand Colors — Heritage Craftsman Palette */
  --navy-900: #141820;
  --navy-800: #1c2230;
  --navy-700: #252d3a;
  --navy-600: #303a4a;
  --navy-500: #3d4a5c;
  --navy-400: #556378;
  --navy-300: #7b8da3;
  --navy-200: #a8b5c4;
  --navy-100: #d1d8e0;
  --navy-50:  #eef0f3;

  /* Accent — Burnished Copper (craftsmanship warmth) */
  --red-700: #9a5e2a;
  --red-600: #b36d32;
  --red-500: #c87941;
  --red-400: #d69560;
  --red-300: #e4b48a;
  --red-100: #f8ece0;

  --gold-600: #9a6d28;
  --gold-500: #c08b3e;
  --gold-400: #d4a44e;
  --gold-300: #dfc07a;
  --gold-200: #eedcaa;
  --gold-100: #f8f0dc;

  --white: #ffffff;
  --gray-100: #f5f3f0;
  --gray-200: #e8e4de;
  --gray-300: #d4cec5;
  --gray-400: #a9a198;
  --gray-500: #7d7670;
  --gray-600: #5c5650;
  --gray-700: #3e3a36;
  --gray-800: #2a2724;
  --gray-900: #1a1816;

  --success: #3d9970;
  --warning: #d4943c;
  --error:   #c44f4f;

  /* Typography */
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;

  --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;

  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-extrabold:800;
  --weight-black:    900;

  /* 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;

  /* Borders & Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.15), 0 4px 10px rgba(0,0,0,.1);
  --shadow-xl: 0 20px 40px rgba(0,0,0,.25), 0 8px 20px rgba(0,0,0,.1);
  --shadow-glow-gold: 0 0 30px rgba(200,121,65,.2);
  --shadow-card: 0 4px 24px rgba(20,24,32,.35);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow:   400ms ease;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 800px;
  --header-height: 90px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   3. UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

.text-center { text-align: center; }
.text-gold { color: var(--gold-500); }
.text-teal { color: var(--navy-700); }
.text-navy { color: var(--navy-800); }
.text-white { color: var(--white); }

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gold-500);
  border-radius: var(--radius-full);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: var(--weight-bold);
  line-height: 1.15;
  color: var(--navy-800);
}

.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 640px;
}

.section-subtitle.light { color: var(--navy-100); }

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.02em;
  transition: all var(--transition-normal);
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--red-500);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(200,121,65,.3);
}

.btn-primary:hover {
  background: var(--red-600);
  box-shadow: 0 6px 20px rgba(200,121,65,.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--red-500);
  border: 1.5px solid var(--red-500);
}

.btn-outline:hover {
  background: var(--red-500);
  color: var(--white);
  border-color: var(--red-500);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy-800);
  color: var(--white);
  border: 2px solid var(--navy-600);
}

.btn-navy:hover {
  background: var(--navy-700);
  transform: translateY(-1px);
}

.btn-lg {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-base);
}

.btn-sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================================
   6. HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(20, 24, 32, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}

.site-header.solid {
  background: var(--navy-900);
}

.header-inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 85px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Keep old classes in case any page still references them (graceful fallback) */
.logo-mark {
  display: none;
}

.logo-text {
  display: none;
}

.logo-name {
  display: none;
}

.logo-tagline {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: rgba(255,255,255,.85);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,.08);
}

.nav-link svg { width: 14px; height: 14px; transition: transform var(--transition-fast); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: var(--navy-700);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-3) var(--space-2) var(--space-2);
  margin-top: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

/* Invisible bridge to prevent hover gap */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.8);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.dropdown-link:hover {
  background: rgba(255,255,255,.08);
  color: var(--white);
  padding-left: var(--space-5);
}

.dropdown-divider {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: var(--space-2) 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--gold-400);
  transition: color var(--transition-fast);
}

.header-phone:hover { color: var(--gold-300); }
.header-phone svg { width: 16px; height: 16px; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

/* ============================================================
   7. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(20,24,32,0.95) 0%,
    rgba(20,24,32,0.80) 50%,
    rgba(20,24,32,0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-20);
}

.hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(200,121,65,.15);
  border: 1px solid rgba(200,121,65,.3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--space-6);
}

.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--gold-500);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: var(--weight-bold);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: var(--space-6);
  max-width: 720px;
}

.hero-title span { color: var(--gold-500); }

.hero-subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: var(--space-10);
}

/* Conversion Goals Bar */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-16);
  align-items: center;
}

.cta-divider {
  color: rgba(255,255,255,.2);
  font-size: var(--text-lg);
  display: none;
}

/* Stats */
.hero-stats {
  display: flex;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.stat-item { display: flex; flex-direction: column; gap: var(--space-1); }

.stat-number {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,.5);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll svg { width: 20px; height: 20px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   8. SECTION LAYOUTS
   ============================================================ */
.section {
  padding: var(--space-24) 0;
}

.section-sm { padding: var(--space-16) 0; }
.section-lg { padding: var(--space-32) 0; }

.section-header {
  margin-bottom: var(--space-12);
}

.section-header.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ============================================================
   9. MARKET SEGMENTS
   ============================================================ */
.segments {
  background: var(--gray-100);
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}

.segment-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--gray-200);
}

.segment-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--navy-400);
}

.segment-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--navy-800);
  position: relative;
}

.segment-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.segment-card:hover .segment-card-img img { transform: scale(1.06); }

.segment-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.segment-badge.primary {
  background: var(--gold-500);
  color: var(--navy-900);
}

.segment-badge.new {
  background: var(--success);
  color: var(--white);
}

.segment-card-body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.segment-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--gold-400);
}

.segment-icon svg { width: 22px; height: 22px; }

.segment-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--navy-800);
  margin-bottom: var(--space-2);
}

.segment-desc {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--space-5);
}

.segment-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--red-500);
  transition: gap var(--transition-fast);
}

.segment-link svg { width: 16px; height: 16px; transition: transform var(--transition-fast); }
.segment-card:hover .segment-link svg { transform: translateX(4px); }
.segment-card:hover .segment-link { gap: var(--space-3); }

/* ============================================================
   10. FEATURED PRODUCTS
   ============================================================ */
.products-section {
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.products-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,121,65,.06) 0%, transparent 70%);
  pointer-events: none;
}

.products-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.products-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: rgba(255,255,255,.5);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.tab-btn.active, .tab-btn:hover {
  color: var(--gold-400);
  border-bottom-color: var(--gold-500);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.product-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: rgba(90,158,158,.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-gold);
}

.product-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--navy-700);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-img img { transform: scale(1.05); }

.product-card-body {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--white);
  margin-bottom: var(--space-2);
}

.product-card-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--space-4);
}

.product-card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-series {
  display: flex;
  gap: var(--space-1);
}

.series-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  opacity: 0.4;
}

.series-dot.active { opacity: 1; }

/* ============================================================
   11. TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '"';
  position: absolute;
  top: -60px; left: -20px;
  font-family: var(--font-serif);
  font-size: 400px;
  line-height: 1;
  color: rgba(20,24,32,.04);
  pointer-events: none;
  user-select: none;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: var(--space-6);
  transition: transform var(--transition-slow);
}

.testimonial-card {
  flex: 0 0 calc(33.333% - var(--space-4));
  background: var(--navy-900);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-width: 300px;
}

.testimonial-stars {
  display: flex;
  gap: var(--space-1);
  color: var(--gold-500);
}

.testimonial-stars svg { width: 16px; height: 16px; fill: currentColor; }

.testimonial-quote {
  font-size: var(--text-base);
  line-height: 1.75;
  color: rgba(255,255,255,.8);
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,.08);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-bold);
  font-size: var(--text-base);
  color: var(--navy-900);
  flex-shrink: 0;
}

.author-info { display: flex; flex-direction: column; }

.author-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--white);
}

.author-role {
  font-size: var(--text-xs);
  color: var(--gold-400);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--navy-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-400);
  transition: all var(--transition-fast);
}

.slider-btn:hover {
  border-color: var(--gold-500);
  color: var(--gold-500);
  background: var(--gold-100);
}

.slider-btn svg { width: 20px; height: 20px; }

.slider-dots {
  display: flex;
  gap: var(--space-2);
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy-300);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  width: 24px;
  border-radius: var(--radius-full);
  background: var(--gold-500);
}

/* ============================================================
   12. WHY DESIGNCRAFT
   ============================================================ */
.why-section {
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.why-image-stack {
  position: relative;
  height: 520px;
}

.why-image-main {
  position: absolute;
  top: 0; left: 0;
  width: 75%;
  height: 75%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.why-image-secondary {
  position: absolute;
  bottom: 0; right: 0;
  width: 60%;
  height: 55%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--navy-900);
}

.why-image-main img, .why-image-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.michigan-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold-500);
  color: var(--navy-900);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  text-align: center;
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  box-shadow: var(--shadow-xl);
  z-index: 10;
  white-space: nowrap;
}

.michigan-badge strong { display: block; font-size: var(--text-2xl); font-family: var(--font-serif); }

.why-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.why-point {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}

.why-point-icon {
  width: 48px;
  height: 48px;
  background: rgba(200,121,65,.12);
  border: 1px solid rgba(200,121,65,.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  flex-shrink: 0;
}

.why-point-icon svg { width: 22px; height: 22px; }

.why-point-text h4 {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--white);
  margin-bottom: var(--space-1);
}

.why-point-text p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.55);
  line-height: 1.6;
}

/* ============================================================
   13. CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--gold-600) 0%, var(--gold-500) 100%);
  padding: var(--space-16) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::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='%23000000' fill-opacity='0.04'%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");
}

.cta-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
}

.cta-banner-text {}

.cta-banner-title {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: var(--weight-bold);
  color: var(--navy-900);
  margin-bottom: var(--space-2);
}

.cta-banner-subtitle {
  font-size: var(--text-lg);
  color: rgba(20,24,32,.65);
}

.cta-banner-actions {
  display: flex;
  gap: var(--space-4);
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ============================================================
   14. GALLERY PREVIEW
   ============================================================ */
.gallery-section { background: var(--gray-100); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: var(--space-3);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  background: var(--navy-700);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 4; }
.gallery-item:nth-child(3) { grid-column: span 3; }
.gallery-item:nth-child(4) { grid-column: span 3; }
.gallery-item:nth-child(5) { grid-column: span 4; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,24,32,.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  align-items: flex-end;
  padding: var(--space-5);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay-text {
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

/* ============================================================
   15. CONTACT SECTION
   ============================================================ */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--navy-900);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  flex-shrink: 0;
}

.contact-info-icon svg { width: 20px; height: 20px; }

.contact-info-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: var(--space-1);
}

.contact-info-value {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--navy-800);
}

.contact-info-value a { color: var(--red-500); }
.contact-info-value a:hover { color: var(--red-600); text-decoration: underline; }

/* Form */
.contact-form-card {
  background: var(--navy-900);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: var(--shadow-xl);
}

.form-title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--white);
  margin-bottom: var(--space-2);
}

.form-subtitle {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.5);
  margin-bottom: var(--space-8);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group.full-width { grid-column: span 2; }

.form-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: var(--space-4);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,.3); }

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--navy-400);
  background: rgba(255,255,255,.08);
  box-shadow: 0 0 0 3px rgba(90,158,158,.2);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,.4)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.form-select option { background: var(--navy-800); color: var(--white); }

.form-textarea { resize: vertical; min-height: 120px; }

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

.form-privacy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.35);
  max-width: 200px;
  line-height: 1.5;
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-8);
  color: var(--success);
}

.form-success svg { width: 48px; height: 48px; margin: 0 auto var(--space-4); }

/* ============================================================
   16. FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer-brand {}

.footer-brand-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-900);
  transform: translateY(-2px);
}

.social-link svg { width: 16px; height: 16px; }

.footer-col-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.5);
  transition: color var(--transition-fast);
}

.footer-link:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}

.footer-contact-item a {
  color: rgba(255,255,255,.5);
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.3);
}

.footer-legal {
  display: flex;
  gap: var(--space-5);
}

.footer-legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.3);
  transition: color var(--transition-fast);
}

.footer-legal a:hover { color: var(--white); }

/* ============================================================
   17. INNER PAGE HERO
   ============================================================ */
.page-hero {
  background: var(--navy-900);
  padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,121,65,.4), transparent);
}

.page-hero-inner { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.4);
  margin-bottom: var(--space-5);
}

.breadcrumb a { color: rgba(255,255,255,.4); transition: color var(--transition-fast); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb svg { width: 12px; height: 12px; }

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: var(--weight-bold);
  color: var(--white);
  margin-bottom: var(--space-4);
}

.page-hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.6);
  max-width: 600px;
  line-height: 1.7;
}

/* ============================================================
   18. PRODUCT CATEGORY PAGE
   ============================================================ */
.product-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
}

.product-full-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  text-decoration: none;
  color: inherit;
}

.product-full-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--navy-400);
}

.product-full-card .img-wrap {
  height: 240px;
  overflow: hidden;
  background: var(--navy-800);
}

.product-full-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-full-card:hover .img-wrap img { transform: scale(1.05); }

.product-full-card .card-body {
  padding: var(--space-6);
}

.product-full-card h3 {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--navy-800);
  margin-bottom: var(--space-2);
}

.product-full-card p {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

/* ============================================================
   19. ABOUT PAGE
   ============================================================ */
.about-story { background: var(--white); }

.timeline {
  position: relative;
  padding-left: var(--space-12);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-500), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-10);
}

.timeline-dot {
  position: absolute;
  left: -38px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-500);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold-200);
}

.timeline-year {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: var(--space-2);
}

.timeline-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--navy-800);
  margin-bottom: var(--space-2);
}

.timeline-text {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================================
   20. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .why-grid, .contact-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .why-image-stack { height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .gallery-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: repeat(3, 200px);
  }
  .gallery-item:nth-child(1) { grid-column: span 1; grid-row: span 2; }
  .gallery-item:nth-child(2) { grid-column: span 2; }
  .gallery-item:nth-child(3), .gallery-item:nth-child(4), .gallery-item:nth-child(5) { grid-column: span 1; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }

  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-phone { display: none; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--navy-900);
    padding: var(--space-4);
    gap: var(--space-1);
    border-top: 1px solid rgba(255,255,255,.08);
    z-index: 999;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .nav-dropdown {
    position: static;
    transform: none !important;
    opacity: 1;
    pointer-events: auto;
    display: none;
    background: rgba(255,255,255,.04);
    border-radius: var(--radius-md);
    margin-top: var(--space-2);
    box-shadow: none;
  }

  .nav-item.open .nav-dropdown { display: block; }

  .hero-stats { gap: var(--space-6); }
  .segments-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-card { flex: 0 0 calc(100% - var(--space-6)); }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 160px); }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(2), .gallery-item:nth-child(3) { grid-column: span 1; }
  .hero-cta-group { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .segments-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: var(--space-6); }
}

/* ============================================================
   21. ANIMATIONS
   ============================================================ */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.animate-fade-in.in-view { opacity: 1; }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   22. MISC COMPONENTS
   ============================================================ */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
  margin: var(--space-12) 0;
}

.divider.gold {
  background: linear-gradient(90deg, transparent, rgba(200,121,65,.4), transparent);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  background: var(--navy-100);
  color: var(--navy-700);
}

.tag.gold {
  background: var(--gold-100);
  color: var(--gold-600);
}

/* Notice bar */
.notice-bar {
  background: var(--gold-500);
  color: var(--navy-900);
  text-align: center;
  padding: var(--space-2) var(--space-6);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.05em;
}

/* Blog card */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-6);
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition-normal);
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-400);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--navy-800);
}

.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }

.blog-card-body { padding: var(--space-6); }
.blog-card-category { font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-600); margin-bottom: var(--space-3); }
.blog-card-title { font-size: var(--text-lg); font-weight: var(--weight-bold); color: var(--navy-800); margin-bottom: var(--space-3); line-height: 1.4; }
.blog-card-excerpt { font-size: var(--text-sm); color: var(--gray-500); line-height: 1.6; }

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
  z-index: 500;
}

.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); background: var(--gold-400); }
.scroll-top svg { width: 20px; height: 20px; }
