/* ============================================================
   HEAVY MACHINERY SALES — REDESIGNED DESIGN SYSTEM
   Light / White Background · Mature Industrial Palette
   Typography: Cormorant Garamond (headings) + Barlow (body)
   Glassmorphism on light background
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Barlow:wght@300;400;500;600;700;800;900&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Base Palette */
  --white:       #FFFFFF;
  --off-white:   #F7F5F2;
  --bone:        #EDE9E3;
  --cream:       #F2EEE8;
  --beige:       #E8E1D8;

  /* Dark / Text */
  --ink:         #1A1815;
  --ink-mid:     #3D3831;
  --ink-light:   #6B6459;
  --ink-xlight:  #9E978E;

  /* Accent — Rich Steel Red (like Antek) */
  --accent:      #B82B0D;
  --accent-mid:  #D43510;
  --accent-light:#F26040;
  --accent-pale: rgba(184, 43, 13, 0.08);

  /* Secondary Accent — Deep Gold / Brass */
  --gold:        #8B6914;
  --gold-light:  #C49A20;
  --gold-pale:   rgba(139, 105, 20, 0.10);

  /* Steel / Structural tones */
  --steel:       #4A5568;
  --steel-light: #718096;

  /* Glassmorphism on WHITE background */
  --glass-bg:       rgba(255, 255, 255, 0.65);
  --glass-bg-mid:   rgba(255, 255, 255, 0.80);
  --glass-bg-strong:rgba(255, 255, 255, 0.92);
  --glass-border:   rgba(26, 24, 21, 0.08);
  --glass-border-h: rgba(26, 24, 21, 0.15);
  --glass-blur:     blur(20px);
  --glass-blur-sm:  blur(12px);
  --glass-blur-lg:  blur(32px);
  --glass-shadow:   0 4px 24px rgba(26,24,21,0.08), 0 1px 4px rgba(26,24,21,0.06);
  --glass-shadow-h: 0 12px 40px rgba(26,24,21,0.14), 0 2px 8px rgba(26,24,21,0.08);
  --glass-inset:    inset 0 1px 0 rgba(255,255,255,0.9);

  /* Typography */
  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Barlow', system-ui, sans-serif;

  /* Spacing */
  --sp-xs: 0.25rem;
  --sp-sm: 0.5rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 6rem;

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 18px;
  --r-full: 9999px;

  /* Transitions */
  --t-fast: 0.18s ease;
  --t-base: 0.32s ease;
  --t-slow: 0.55s ease;

  /* Nav */
  --nav-h: 80px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background-color: var(--off-white);
  color: var(--ink-mid);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Background Texture ───────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(184,43,13,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 90% 100%, rgba(139,105,20,0.05) 0%, transparent 60%),
    var(--off-white);
  pointer-events: none;
}

/* Fine linen texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(26,24,21,0.012) 2px,
      rgba(26,24,21,0.012) 4px
    );
  pointer-events: none;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-sm);
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  margin-bottom: var(--sp-md);
  color: var(--ink);
  font-style: italic;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--ink-light);
  max-width: 560px;
  line-height: 1.8;
  font-weight: 400;
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

.section    { padding: var(--sp-4xl) 0; }
.section-sm { padding: var(--sp-3xl) 0; }

/* ── Glassmorphism Components (LIGHT BG) ──────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-inset);
  border-radius: var(--r-lg);
}

.glass-strong {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur-lg);
  -webkit-backdrop-filter: var(--glass-blur-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-h), var(--glass-inset);
  border-radius: var(--r-xl);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all var(--t-base);
  position: relative;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}
.btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(26,24,21,0.2);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(26,24,21,0.15);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 0.85rem; }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.75rem; }

/* ── Category / Status Badges ─────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;
}

.badge-forestry    { background: rgba(34,100,54,0.1);  color: #1A6634; border-left: 2px solid #1A6634; }
.badge-construction{ background: rgba(184,43,13,0.1);  color: var(--accent); border-left: 2px solid var(--accent); }
.badge-medical     { background: rgba(25,80,150,0.1);  color: #194A8C; border-left: 2px solid #194A8C; }
.badge-other       { background: rgba(90,60,130,0.1);  color: #5A3C82; border-left: 2px solid #5A3C82; }

/* ── Navigation ───────────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: all var(--t-base);
}

#site-nav.scrolled {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur-lg);
  -webkit-backdrop-filter: var(--glass-blur-lg);
  border-bottom: 1px solid var(--glass-border-h);
  box-shadow: var(--glass-shadow);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-xl);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 36px; height: 36px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
}
.nav-logo-text { line-height: 1.15; }
.nav-logo-text .brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  display: block;
  letter-spacing: -0.01em;
}
.nav-logo-text .tagline {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-xlight);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-link {
  padding: 0.4rem 1rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  transition: color var(--t-fast);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--accent);
  transition: left var(--t-base), right var(--t-base);
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { left: 1rem; right: 1rem; }

.nav-cta { margin-left: var(--sp-lg); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); border-radius: 1px;
  transition: all var(--t-base);
}

/* ── Mobile Nav ───────────────────────────────────────────── */
#mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur-lg);
  -webkit-backdrop-filter: var(--glass-blur-lg);
  border-bottom: 1px solid var(--glass-border-h);
  padding: var(--sp-lg) var(--sp-xl);
  z-index: 999;
  flex-direction: column;
  gap: 0;
  box-shadow: var(--glass-shadow);
}
#mobile-nav.open { display: flex; }
.mobile-nav-link {
  display: block;
  padding: 0.9rem 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mid);
  border-bottom: 1px solid var(--glass-border);
  transition: color var(--t-fast);
}
.mobile-nav-link:hover { color: var(--accent); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: var(--sp-4xl);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10,8,6,0.85) 0%, rgba(10,8,6,0.45) 45%, rgba(10,8,6,0.25) 100%),
    linear-gradient(to right, rgba(10,8,6,0.55) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-top: var(--nav-h);
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1.5px;
  background: var(--accent-light);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 600;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: var(--sp-lg);
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: italic;
  color: rgba(255,255,255,0.75);
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--sp-xl);
  line-height: 1.75;
  max-width: 440px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

/* Hero side stat strip */
.hero-stats-strip {
  position: absolute;
  right: 0;
  bottom: var(--sp-4xl);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.hero-stat {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-left: 3px solid var(--accent);
  padding: var(--sp-md) var(--sp-lg);
  min-width: 160px;
}
.hero-stat-val {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 2px;
}
.hero-stat-lbl {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  font-weight: 600;
}

/* ── Stats Bar (standalone) ───────────────────────────────── */
.stats-bar { background: var(--ink); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: var(--sp-xl) var(--sp-xl);
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  transition: background var(--t-base);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.04); }
.stat-value {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 6px;
  font-style: italic;
}
.stat-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
}

/* ── Section Headers ──────────────────────────────────────── */
.section-header { margin-bottom: var(--sp-3xl); }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

.heading-rule {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  margin-bottom: var(--sp-2xl);
}
.heading-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--glass-border-h);
}

/* ── Category Cards ───────────────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--glass-border-h);
}

.category-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-right: 1px solid var(--glass-border-h);
  transition: all var(--t-slow);
}
.category-card:last-child { border-right: none; }

.category-card-bg {
  position: absolute;
  inset: 0;
}
.category-card-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
  filter: saturate(0.85);
}
.category-card:hover .category-card-bg img { transform: scale(1.06); filter: saturate(1); }
.category-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,12,9,0.88) 30%, rgba(15,12,9,0.2) 100%);
  transition: background var(--t-base);
}
.category-card:hover .category-card-bg::after {
  background: linear-gradient(to top, rgba(184,43,13,0.82) 0%, rgba(15,12,9,0.5) 100%);
}

.category-card-body {
  position: relative;
  z-index: 1;
  padding: var(--sp-xl);
  padding-top: var(--sp-2xl);
}

.category-icon {
  font-size: 1.5rem;
  margin-bottom: var(--sp-sm);
  opacity: 0.9;
}

.category-card h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.2;
}

.category-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: var(--sp-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base), opacity var(--t-base);
  opacity: 0;
}
.category-card:hover p {
  max-height: 80px;
  opacity: 1;
}

.category-link {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--t-fast);
}
.category-card:hover .category-link { color: var(--white); gap: 14px; }

/* ── Product Cards ────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.product-card {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--glass-shadow), var(--glass-inset);
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-h);
  border-color: var(--glass-border-h);
}
.product-card:hover::before { transform: scaleX(1); }

.product-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bone);
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
  filter: saturate(0.9);
}
.product-card:hover .product-card-img img { transform: scale(1.05); filter: saturate(1); }

.product-card-badge {
  position: absolute;
  top: 0; left: 0;
}

.product-avail {
  position: absolute;
  top: var(--sp-sm);
  right: var(--sp-sm);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  background: rgba(34,100,54,0.9);
  color: white;
  text-transform: uppercase;
}
.product-avail.order {
  background: rgba(139,105,20,0.9);
}

.product-card-body {
  padding: var(--sp-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin: 8px 0 6px;
  line-height: 1.25;
}

.product-card p {
  font-size: 0.82rem;
  color: var(--ink-light);
  line-height: 1.65;
  margin-bottom: var(--sp-md);
}

/* Product specs mini table */
.product-specs-mini {
  border-top: 1px solid var(--glass-border);
  margin-bottom: var(--sp-md);
}
.spec-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.78rem;
}
.spec-mini:last-child { border-bottom: none; }
.spec-mini-label { color: var(--ink-xlight); font-weight: 500; }
.spec-mini-value { color: var(--ink); font-weight: 600; text-align: right; }

.product-card-actions {
  display: flex;
  gap: var(--sp-sm);
  margin-top: auto;
  padding-top: var(--sp-md);
  border-top: 1px solid var(--glass-border);
}

/* ── Product Price Block ──────────────────────────────────── */
.product-price-block {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  background: var(--ink);
  margin: var(--sp-md) calc(-1 * var(--sp-lg));
  padding: 10px var(--sp-lg);
  gap: var(--sp-sm);
}
.product-price-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}
.product-price-value {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1;
}

/* ── Features / Why Us ────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--glass-border);
  border: 1px solid var(--glass-border);
}

.feature-tile {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  padding: var(--sp-2xl);
  transition: background var(--t-base);
  position: relative;
}
.feature-tile:hover { background: var(--white); }
.feature-tile:hover .feature-icon-wrap { background: var(--accent); color: white; }

.feature-icon-wrap {
  width: 44px; height: 44px;
  background: var(--accent-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: var(--sp-lg);
  transition: background var(--t-base), color var(--t-base);
}

.feature-tile h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  margin-bottom: var(--sp-sm);
  color: var(--ink);
}
.feature-tile p {
  font-size: 0.85rem;
  color: var(--ink-light);
  line-height: 1.75;
}
}

/* ── Board of Directors ─────────────────────────────────────── */
.directors-section-bg {
  background: #f6f7fa;
}

/* Desktop: flex row, centered, with overflow for the photo */
.directors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
  margin-top: 3.5rem;
  padding-top: 70px; /* room for overflowing photos */
}

.director-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,.09);
  width: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0 0 0;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: visible; /* let photo overflow */
}
.director-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 56px rgba(0,0,0,.14);
}

/* Oval photo wrapper — overflows above card */
.director-photo-wrap {
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 160px;
  border-radius: 50% / 45%;
  overflow: hidden;
  background: #e8eaf0;
  border: 5px solid #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,.14);
  z-index: 2;
}
.director-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.director-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #B82B0D 0%, #6b1807 100%);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}

/* Card body — top padding to clear the photo */
.director-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 100px 16px 0; /* 100px = photo height/2 + gap */
}
.director-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 4px;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.director-position {
  font-size: .78rem;
  color: #666;
  font-weight: 500;
  margin-bottom: .85rem;
}

/* Social icons bar at the bottom */
.director-socials {
  width: 100%;
  background: #B82B0D;
  border-radius: 0 0 20px 20px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: auto;
}
.director-socials a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: background .2s, transform .2s;
}
.director-socials a:hover {
  background: rgba(255,255,255,.2);
  transform: scale(1.15);
}
.director-socials a svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

/* ── Mobile Director Slider ─────────────────────────────────── */
@media (max-width: 768px) {
  .directors-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.25rem;
    padding: 80px 10vw 1.5rem;   /* horizontal padding = (100vw - card_width) / 2 */
    margin-top: 1.5rem;
    scrollbar-width: none;
    cursor: grab;
    scroll-padding-inline: 10vw;  /* tells snap where the "start" is */
  }
  .directors-grid::-webkit-scrollbar { display: none; }
  .directors-grid.is-dragging { cursor: grabbing; }

  .director-card {
    scroll-snap-align: center;
    flex-shrink: 0;
    width: 80vw;
    max-width: 280px;
  }

  /* Dot indicators */
  .directors-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.25rem;
  }
  .directors-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(184,43,13,.25);
    transition: background .2s, transform .2s;
    cursor: pointer;
  }
  .directors-dots .dot.active {
    background: #B82B0D;
    transform: scale(1.3);
  }
}
@media (min-width: 769px) {
  .directors-dots { display: none; }
}

/* ── Testimonials ─────────────────────────────────────────── */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

/* ── Testimonials Mobile Slider ────────────────────────────── */
@media (max-width: 768px) {
  .testimonials-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: unset !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 0.25rem 1.5rem 1rem;
    margin: 0 -1rem; /* bleed to edges on mobile */
    scrollbar-width: none;
    cursor: grab;
    scroll-padding-inline: 1.5rem;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonials-grid.is-dragging { cursor: grabbing; }

  .testimonial-card {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: calc(100vw - 3rem); /* one full-width card */
    max-width: 480px;
    margin: 0;
  }

  .testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.25rem;
  }
  .testimonials-dots .tdot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(184,43,13,.25);
    transition: background .2s, transform .2s;
    cursor: pointer;
    border: none;
    padding: 0;
  }
  .testimonials-dots .tdot.active {
    background: #B82B0D;
    transform: scale(1.35);
  }
}
@media (min-width: 769px) {
  .testimonials-dots { display: none; }
}

.testimonial-card {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  padding: var(--sp-2xl);
  box-shadow: var(--glass-shadow);
  transition: all var(--t-base);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-head);
  font-size: 6rem;
  color: var(--accent);
  opacity: 0.12;
  position: absolute;
  top: -10px; left: 24px;
  line-height: 1;
  font-weight: 700;
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--glass-shadow-h); }

.stars { color: var(--gold); font-size: 0.8rem; letter-spacing: 2px; margin-bottom: var(--sp-md); }
.testimonial-text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: var(--sp-lg);
}
.testimonial-author { display: flex; align-items: center; gap: var(--sp-sm); }
.testimonial-avatar {
  width: 40px; height: 40px;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.testimonial-company {
  font-size: 0.75rem;
  color: var(--ink-xlight);
  letter-spacing: 0.06em;
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: var(--ink);
  padding: var(--sp-4xl);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60%; right: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,43,13,0.15) 0%, transparent 70%);
}
.cta-banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2xl);
  flex-wrap: wrap;
}
.cta-banner h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  font-style: italic;
}
.cta-banner p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.55);
  max-width: 400px;
  line-height: 1.75;
  margin-top: var(--sp-sm);
}
.cta-btn-group { display: flex; gap: var(--sp-md); flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────────── */
#site-footer {
  background: var(--ink);
  padding: var(--sp-4xl) 0 var(--sp-xl);
  border-top: 3px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: var(--sp-3xl);
  margin-bottom: var(--sp-3xl);
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.85;
  max-width: 280px;
  margin-top: var(--sp-md);
}

.footer-brand .nav-logo-text .brand,
.footer-brand .nav-logo-text .tagline {
  color: rgba(255,255,255,0.9) !important;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: var(--sp-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--t-fast);
}
.footer-link:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-sm);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  align-items: flex-start;
  line-height: 1.6;
}
.footer-contact-item span:first-child { color: var(--accent-light); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--sp-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.social-links { display: flex; gap: var(--sp-sm); }
.social-link {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  transition: all var(--t-fast);
}
.social-link:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: rgba(184,43,13,0.08);
}

/* ── Page Hero (Inner Pages) ──────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + var(--sp-3xl));
  padding-bottom: var(--sp-2xl);
  border-bottom: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-xlight);
  margin-bottom: var(--sp-lg);
}
.breadcrumb a { color: var(--ink-xlight); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--ink); }
.breadcrumb .sep { color: var(--beige); }

/* ── Product Filter ───────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: var(--sp-3xl);
  border: 1px solid var(--glass-border-h);
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-right: 1px solid var(--glass-border-h);
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  color: var(--ink-light);
  cursor: pointer;
  transition: all var(--t-fast);
}
.filter-btn:last-child { border-right: none; }
.filter-btn:hover { background: var(--bone); color: var(--ink); }
.filter-btn.active {
  background: var(--ink);
  color: var(--white);
  border-right-color: var(--ink);
}

/* ── Product Detail ───────────────────────────────────────── */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-3xl);
  align-items: start;
}

.product-gallery {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.product-gallery-main {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.product-gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.product-info { display: flex; flex-direction: column; gap: var(--sp-xl); }

.product-info-header h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-style: italic;
  color: var(--ink);
  margin: var(--sp-sm) 0;
  line-height: 1.1;
}

.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(34,100,54,0.1);
  color: #1A6634;
  border-left: 2px solid #1A6634;
}
.avail-badge.order {
  background: rgba(139,105,20,0.1);
  color: var(--gold);
  border-left-color: var(--gold);
}

/* Spec table */
.spec-table-wrap {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  overflow: hidden;
}
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--glass-border); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table tr:hover { background: rgba(26,24,21,0.02); }
.spec-table th {
  padding: 10px var(--sp-md);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-light);
  text-align: left;
  width: 42%;
  background: rgba(26,24,21,0.02);
}
.spec-table td {
  padding: 10px var(--sp-md);
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 500;
}

/* Feature list */
.product-features-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-mid);
  line-height: 1.6;
}
.product-features-list li::before {
  content: '—';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* CTA box */
.detail-cta-box {
  background: var(--ink);
  padding: var(--sp-xl);
}
.detail-cta-box h2 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--white);
  margin-bottom: var(--sp-sm);
}
.detail-cta-box p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--sp-lg);
  line-height: 1.7;
}
.detail-cta-actions { display: flex; gap: var(--sp-sm); flex-wrap: wrap; }

/* ── Contact ──────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--sp-3xl);
  align-items: start;
}

.contact-info-panel {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  padding: var(--sp-2xl);
  box-shadow: var(--glass-shadow);
}

.contact-info-item {
  display: flex;
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
  align-items: flex-start;
}
.contact-info-icon {
  width: 36px; height: 36px;
  background: var(--accent-pale);
  border-left: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.contact-info-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-xlight);
  margin-bottom: 2px;
}
.contact-info-value {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}

.hours-table { width: 100%; }
.hours-table tr { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid var(--glass-border); }
.hours-table tr:last-child { border: none; }
.hours-table td { font-size: 0.82rem; color: var(--ink-light); }
.hours-table td:last-child { color: var(--ink); font-weight: 600; }

.map-embed {
  margin-top: var(--sp-xl);
  border: 1px solid var(--glass-border);
  overflow: hidden;
}
.map-embed iframe { width: 100%; height: 200px; border: none; filter: grayscale(50%) contrast(90%); }

/* ── Contact Form ─────────────────────────────────────────── */
.contact-form-panel {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  padding: var(--sp-2xl);
  box-shadow: var(--glass-shadow);
}

.form-group { margin-bottom: var(--sp-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-md); }

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 6px;
}
.form-label .req { color: var(--accent); }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem var(--sp-md);
  background: var(--white);
  border: 1px solid var(--glass-border-h);
  border-radius: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: all var(--t-fast);
  outline: none;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgba(26,24,21,0.08);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--ink-xlight);
  font-style: italic;
}
.form-select option { background: var(--white); color: var(--ink); }

.form-textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

.form-input.error,
.form-select.error,
.form-textarea.error { border-color: var(--accent); }
.form-error-msg {
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 4px;
  display: none;
}
.form-error-msg.visible { display: block; }

.honeypot-field { display: none !important; }

.form-alert {
  padding: var(--sp-md) var(--sp-lg);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: var(--sp-lg);
  display: none;
  font-family: var(--font-body);
}
.form-alert.success { display: block; background: rgba(34,100,54,0.08); border-left: 3px solid #1A6634; color: #1A6634; }
.form-alert.error   { display: block; background: rgba(184,43,13,0.08); border-left: 3px solid var(--accent); color: var(--accent); }

/* ── Scroll Reveal Animations ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* ── Empty State ──────────────────────────────────────────── */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--sp-4xl) var(--sp-xl);
}
.empty-state h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: var(--sp-sm);
}
.empty-state p { color: var(--ink-light); font-size: 0.9rem; }

/* ── Utility ──────────────────────────────────────────────── */
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--ink-light); }
.text-white   { color: var(--white); }
.text-center  { text-align: center; }
.mt-auto      { margin-top: auto; }
.w-full       { width: 100%; }
.hidden       { display: none !important; }
.divider      { height: 1px; background: var(--glass-border); margin: var(--sp-xl) 0; }

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bone); }
::-webkit-scrollbar-thumb { background: var(--ink-xlight); border-radius: 2px; }

/* ── Selection ────────────────────────────────────────────── */
::selection { background: rgba(184,43,13,0.15); color: var(--ink); }

/* ══ RESPONSIVE ═════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .hero-stats-strip { display: none; }
}

@media (max-width: 1024px) {
  .products-grid        { grid-template-columns: repeat(2, 1fr); }
  .stats-grid           { grid-template-columns: repeat(2, 1fr); }
  .product-detail-grid  { grid-template-columns: 1fr; }
  .contact-grid         { grid-template-columns: 1fr; }
  .features-grid        { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid    { grid-template-columns: 1fr; }
  .directors-grid       { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .category-grid  { grid-template-columns: 1fr 1fr; }
  .features-grid  { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .form-row       { grid-template-columns: 1fr; }
  .cta-banner     { padding: var(--sp-3xl) var(--sp-xl); }
  .cta-banner-content { flex-direction: column; align-items: flex-start; }
  .hero-actions   { flex-direction: column; align-items: flex-start; }
  .section        { padding: var(--sp-3xl) 0; }
  .container      { padding: 0 var(--sp-md); }
  .filter-bar     { border: none; }
  .filter-btn     { border: 1px solid var(--glass-border-h); margin-bottom: 4px; }

  /* Products: 1 full-width card per row on mobile */
  .products-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .category-grid  { grid-template-columns: 1fr; }
  .stats-grid     { grid-template-columns: 1fr 1fr; }
  .hero-title     { font-size: 2.8rem; }
}
