/* =============================================================================
   TALBERT ARCHITECTURAL — GLOBAL STYLESHEET
   Covers: all shared styles across every page, including the dropdown nav
   from index.html and the mobile overlay menu present on all pages.
   ============================================================================= */

/* ─── CSS VARIABLES ─────────────────────────────────────────────────────────── */
:root {
  --gold:       #B8892A;
  --gold-light: #D4A84B;
  --gold-pale:  #F0E0B6;
  --brown-dark: #2A1F0E;
  --brown-mid:  #4A3520;
  --brown-warm: #6B4C2A;
  --cream:      #FAF7F2;
  --off-white:  #F5F0E8;
  --white:      #FFFFFF;
  --charcoal:   #1C1C1C;
  --gray:       #6B6B6B;
  --gray-light: #D4CFC8;
  --nav-height: 80px;
}

/* ─── RESET ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* ─── UTILITY ────────────────────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block; padding: 14px 38px;
  background: var(--gold); color: var(--white);
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; text-decoration: none;
  border: 2px solid var(--gold); transition: background 0.3s, color 0.3s;
}
.btn-primary:hover { background: transparent; color: var(--gold); }

.btn-outline {
  display: inline-block; padding: 14px 38px;
  background: transparent; color: var(--gold);
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; text-decoration: none;
  border: 2px solid var(--gold); transition: background 0.3s, color 0.3s;
}
.btn-outline:hover { background: var(--gold); color: var(--white); }

.btn-outline-white {
  display: inline-block; padding: 14px 38px;
  background: transparent; color: var(--white);
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; text-decoration: none;
  border: 2px solid rgba(255,255,255,0.6);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn-outline-white:hover { background: var(--white); color: var(--brown-dark); border-color: var(--white); }

/* ─── HEADER ─────────────────────────────────────────────────────────────────── */
header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height); z-index: 1000;
  background: rgba(42,31,14,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(184,137,42,0.3);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; transition: background 0.3s;
}

/* ─── LOGO ───────────────────────────────────────────────────────────────────── */
.logo-wrap {
  display: flex; flex-direction: row; align-items: center;
  gap: 14px; text-decoration: none;
  transition: opacity 0.3s ease;
}
.logo-wrap:hover { opacity: 0.85; }
.nav-logo-img { height: 38px; width: auto; display: block; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; gap: 2px; }
.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 500; letter-spacing: 2px;
  color: var(--white); text-transform: uppercase; line-height: 1;
}
.logo-tagline {
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-weight: 400;
}

/* ─── DESKTOP NAV ────────────────────────────────────────────────────────────── */
nav { display: flex; align-items: center; gap: 36px; }
nav a {
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.8);
  text-decoration: none; transition: color 0.2s; position: relative;
}
nav a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--gold); transform: scaleX(0);
  transition: transform 0.2s;
}
nav a:hover { color: var(--white); }
nav a:hover::after, nav a.active::after { transform: scaleX(1); }
nav a.active { color: var(--white); }

.nav-cta {
  padding: 9px 22px; border: 1px solid var(--gold);
  color: var(--gold) !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--gold); color: var(--white) !important; }

.lang-switch {
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  border: 1px solid rgba(184,137,42,0.4); padding: 6px 12px;
  color: rgba(255,255,255,0.5); text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.lang-switch::after { display: none; }
.lang-switch:hover { color: var(--gold); border-color: var(--gold); }

/* ─── DROPDOWN MENU (DESKTOP) ────────────────────────────────────────────────── */
.nav-item { position: relative; }

.dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: var(--brown-dark);
  border: 1px solid rgba(184,137,42,0.2);
  min-width: 220px;
  display: flex; flex-direction: column;
  z-index: 999;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}
.nav-item:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  padding: 12px 18px; font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(184,137,42,0.1);
  white-space: nowrap; color: rgba(255,255,255,0.8);
}
.dropdown-menu a:hover { background: rgba(184,137,42,0.1); color: var(--gold); }
.dropdown-menu a::after { display: none; }
.dropdown-toggle::after { content: " ▾"; font-size: 10px; }

/* ─── HAMBURGER ──────────────────────────────────────────────────────────────── */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: var(--gold); padding: 10px 12px; border-radius: 2px;
  transition: background 0.2s; z-index: 1001; position: relative;
}
.hamburger:hover { background: var(--gold-light); }
.hamburger span {
  width: 22px; height: 2px; background: var(--white); display: block;
  transition: transform 0.3s, opacity 0.3s;
}

/* Close (×) button injected by JS */
.close-menu {
  display: none; position: absolute; top: 20px; right: 32px;
  background: none; border: none; color: var(--gold);
  font-size: 40px; cursor: pointer; z-index: 1000; line-height: 1;
}
nav.open .close-menu { display: block; }

/* ─── SECTIONS ───────────────────────────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--brown-dark); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px); font-weight: 300; line-height: 1.15;
  color: var(--brown-dark); margin-bottom: 18px;
}
.section-title-light { color: var(--white); }
.section-divider { width: 60px; height: 1px; background: var(--gold); margin: 0 auto 22px; }
.section-divider-left { margin-left: 0; }
.section-intro {
  font-size: 15px; font-weight: 300; line-height: 1.9;
  color: var(--gray); max-width: 640px; margin: 0 auto;
}

/* ─── PAGE BANNER ────────────────────────────────────────────────────────────── */
.page-banner {
  height: 420px; position: relative; display: flex;
  align-items: flex-end; margin-top: var(--nav-height); overflow: hidden;
}
.page-banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; }
.page-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42,31,14,0.88) 0%, rgba(42,31,14,0.35) 60%, rgba(42,31,14,0.15) 100%);
}
.page-banner-content { position: relative; z-index: 2; padding: 0 80px 60px; }
.page-banner-label {
  font-size: 10px; font-weight: 700; letter-spacing: 5px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.page-banner-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 5vw, 62px); font-weight: 300;
  color: var(--white); line-height: 1.1;
}
.page-banner-title em { font-style: italic; color: var(--gold-light); }
.page-banner-sub {
  font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.65);
  margin-top: 18px; max-width: 560px; line-height: 1.85;
}

/* Banner zoom animation */
@keyframes bannerZoom { to { transform: scale(1); } }
@keyframes bannerFade { from { opacity:0; transform: translateY(22px); } to { opacity:1; transform: translateY(0); } }

/* ─── BREADCRUMB ──────────────────────────────────────────────────────────────── */
.breadcrumb {
  background: var(--brown-dark); padding: 12px 0;
  margin-top: var(--nav-height); border-bottom: 1px solid rgba(184,137,42,0.15);
}
.breadcrumb-inner { display: flex; align-items: center; gap: 10px; }
.breadcrumb a {
  font-size: 10px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
  text-decoration: none; transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { font-size: 10px; color: rgba(184,137,42,0.4); }
.breadcrumb-current {
  font-size: 10px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
}

/* ─── SUB-NAV (product pages) ─────────────────────────────────────────────────── */
.sub-nav {
  background: var(--brown-dark);
  border-bottom: 1px solid rgba(184,137,42,0.2);
  position: sticky; top: var(--nav-height); z-index: 900;
}
.sub-nav-inner {
  display: flex; align-items: center; gap: 0;
  overflow-x: auto; scrollbar-width: none;
}
.sub-nav-inner::-webkit-scrollbar { display: none; }
.sub-nav-inner a {
  flex-shrink: 0; padding: 18px 28px; font-size: 9px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.5); text-decoration: none;
  border-right: 1px solid rgba(184,137,42,0.12);
  transition: color 0.2s, background 0.2s; white-space: nowrap;
}
.sub-nav-inner a::after { display: none; }
.sub-nav-inner a:hover, .sub-nav-inner a.active { color: var(--gold); background: rgba(184,137,42,0.06); }

/* ─── CTA STRIP ──────────────────────────────────────────────────────────────── */
.cta-strip { background: var(--brown-mid); padding: 80px 0; text-align: center; }
.cta-strip-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 300;
  color: var(--white); margin-bottom: 16px; line-height: 1.2;
}
.cta-strip-sub {
  font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.6);
  margin-bottom: 40px; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.8;
}
.cta-strip-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── FSC STRIP ──────────────────────────────────────────────────────────────── */
.fsc-strip { background: var(--brown-mid); padding: 60px 0; }
.fsc-strip-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.fsc-strip-text { flex: 1; min-width: 260px; }
.fsc-strip-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 300; color: var(--white); margin-bottom: 10px;
}
.fsc-strip-body {
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.55); line-height: 1.8;
}
.fsc-badge-large {
  display: flex; align-items: center; gap: 16px;
  background: rgba(184,137,42,0.12);
  border: 1px solid rgba(184,137,42,0.35);
  padding: 20px 28px; flex-shrink: 0;
}
.fsc-badge-large-icon svg { width: 36px; height: 36px; fill: var(--gold); }
.fsc-badge-large-text {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold-light); line-height: 1.7;
}

/* ─── INTRO SPLIT (shared across product pages) ──────────────────────────────── */
.intro-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.intro-body { font-size: 14px; font-weight: 300; line-height: 2; color: var(--gray); margin-bottom: 18px; }
.intro-features { list-style: none; margin: 28px 0 36px; display: flex; flex-direction: column; gap: 12px; }
.intro-features li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 13px; font-weight: 400; color: var(--charcoal); line-height: 1.6;
}
.intro-features li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; margin-top: 6px;
}
.intro-img-stack { position: relative; }
.intro-img-main { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.intro-img-accent {
  position: absolute; bottom: -32px; right: -32px; width: 55%;
  aspect-ratio: 4/3; object-fit: cover;
  border: 4px solid var(--cream); box-shadow: 0 16px 40px rgba(42,31,14,0.2);
}

/* ─── REVEAL ANIMATION ───────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── FOOTER ──────────────────────────────────────────────────────────────────── */
footer { background: var(--brown-dark); padding-top: 80px; border-top: 1px solid rgba(184,137,42,0.2); }
.footer-main {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(184,137,42,0.15);
}
.footer-tagline {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin: 6px 0 16px;
}
.footer-desc {
  font-size: 12px; font-weight: 300; line-height: 1.9;
  color: rgba(255,255,255,0.45); max-width: 280px; margin-bottom: 24px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid rgba(184,137,42,0.3);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.footer-social a:hover { border-color: var(--gold); background: rgba(184,137,42,0.1); }
.footer-social svg {
  width: 16px; height: 16px; fill: none; stroke: var(--gold);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.footer-col h4 {
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--white); margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 12px; font-weight: 300;
  color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; padding: 24px 0;
}
.footer-copyright { font-size: 11px; font-weight: 300; color: rgba(255,255,255,0.3); }
.footer-fsc { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; color: var(--gold); opacity: 0.8; }

/* ─── ABOUT PAGE ──────────────────────────────────────────────────────────────── */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-main { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; display: block; }
.about-badge {
  position: absolute; bottom: -28px; right: -28px;
  background: var(--gold); color: var(--white);
  padding: 28px; text-align: center; width: 140px;
}
.about-badge-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px; font-weight: 300; line-height: 1; display: block;
}
.about-badge-text {
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; margin-top: 4px; display: block;
}
.about-body { font-size: 14px; font-weight: 300; line-height: 2; color: var(--gray); margin-bottom: 24px; }
.about-stats { display: flex; gap: 40px; padding: 28px 0; border-top: 1px solid var(--gray-light); border-bottom: 1px solid var(--gray-light); margin: 32px 0; }
.about-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 300; color: var(--gold); line-height: 1;
}
.about-stat-label {
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gray); margin-top: 5px;
}
.fsc-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px; background: var(--off-white); border-left: 3px solid var(--gold);
}
.fsc-badge span { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: var(--brown-mid); }

/* ─── GALLERY (home & gallery pages) ─────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.gallery-item { overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item.tall { grid-row: span 2; aspect-ratio: 3/4; }
.gallery-item:not(.tall):not(.wide) { aspect-ratio: 4/3; }
.gallery-item.wide { grid-column: span 2; aspect-ratio: 16/7; }

/* ─── TRUST BAR ───────────────────────────────────────────────────────────────── */
.trust-bar { background: var(--brown-dark); border-bottom: 1px solid rgba(184,137,42,0.2); }
.trust-bar-inner { display: flex; justify-content: space-around; align-items: stretch; }
.trust-item {
  padding: 26px 28px; display: flex; align-items: center; gap: 14px;
  flex: 1; border-right: 1px solid rgba(184,137,42,0.12);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  width: 34px; height: 34px; border: 1px solid rgba(184,137,42,0.5);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trust-icon svg { width: 16px; height: 16px; fill: var(--gold); }
.trust-label { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--white); line-height: 1.4; }
.trust-sub { font-size: 10px; color: rgba(255,255,255,0.38); letter-spacing: 0.5px; margin-top: 2px; }

/* ─── PRODUCTS GRID (home + products pages) ──────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.products-grid .wide { grid-column: span 2; }
.product-tile { position: relative; overflow: hidden; aspect-ratio: 4/3; display: block; text-decoration: none; }
.products-grid .wide { aspect-ratio: 8/3; }
.product-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94); }
.product-tile:hover img { transform: scale(1.06); }
.product-tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42,31,14,0.88) 0%, rgba(42,31,14,0.05) 60%);
  transition: background 0.4s;
}
.product-tile:hover .product-tile-overlay { background: linear-gradient(to top, rgba(42,31,14,0.94) 0%, rgba(42,31,14,0.2) 60%); }
.product-tile-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px 28px; }
.product-tile-tag { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.product-tile-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 400; color: var(--white); line-height: 1.2; margin-bottom: 12px;
}
.product-tile-arrow { width: 26px; height: 1px; background: var(--gold); display: inline-block; transition: width 0.3s; vertical-align: middle; }
.product-tile:hover .product-tile-arrow { width: 42px; }

/* ─── RESOURCE CARDS ──────────────────────────────────────────────────────────── */
.resource-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--white); padding: 22px 24px; text-decoration: none;
  border-left: 3px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.resource-card:hover { border-left-color: var(--gold); box-shadow: 0 8px 24px rgba(42,31,14,0.08); transform: translateY(-2px); }
.resource-icon { width: 40px; height: 48px; flex-shrink: 0; position: relative; }
.resource-icon-body {
  width: 32px; height: 40px; border: 2px solid #e0d5c8; border-radius: 2px;
  background: var(--white); display: flex; align-items: center; justify-content: center; position: relative;
}
.resource-icon-body::after {
  content: ''; position: absolute; top: -1px; right: -1px;
  width: 10px; height: 10px; background: var(--off-white);
  border-left: 2px solid #e0d5c8; border-bottom: 2px solid #e0d5c8;
}
.resource-icon-body span { font-size: 8px; font-weight: 800; letter-spacing: 0.5px; color: #C0392B; }
.resource-title { font-size: 12px; font-weight: 700; letter-spacing: 0.5px; color: var(--charcoal); margin-bottom: 4px; }
.resource-desc { font-size: 11px; font-weight: 300; color: var(--gray); line-height: 1.5; }
.resource-dl {
  font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-top: 6px; display: flex; align-items: center; gap: 6px;
}
.resource-dl::before { content: '↓'; font-size: 11px; }


/* =============================================================================
   RESPONSIVE — 1024px
   ============================================================================= */
@media (max-width: 1024px) {
  .about-split { grid-template-columns: 1fr; gap: 56px; }
  .about-img-main { aspect-ratio: 16/9; }
  .about-badge { display: none; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .products-grid .wide { grid-column: span 2; aspect-ratio: 16/7; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .intro-split { grid-template-columns: 1fr; gap: 48px; }
  .intro-img-accent { display: none; }
}


/* =============================================================================
   RESPONSIVE — 991px  (show hamburger, slide-in menu)
   ============================================================================= */
@media (max-width: 991px) {
  .hamburger { display: flex; }
  nav {
    position: fixed; top: 0; right: -100%;
    width: 300px; height: 100vh;
    background: var(--brown-dark);
    flex-direction: column; padding: 80px 40px;
    transition: right 0.4s;
    /* override the 768 opacity/visibility approach at 991 */
    opacity: 1; visibility: visible; pointer-events: auto;
  }
  nav.open { right: 0; }

  /* At 991 the nav slides off-screen — dropdown must not intercept taps */
  .dropdown-menu {
    position: static; border: none; transform: none;
    opacity: 10; visibility: visible;
    max-height: 500px; overflow: visible;
    pointer-events: none;                 /* ← blocked while nav is off-screen */
    transition: none;
    display: flex; flex-direction: column;
    background: rgba(255,255,255,0.04); width: 100%;
  }
  nav.open .dropdown-menu {
    pointer-events: auto;                 /* ← re-enabled only when nav is open */
  }
  .dropdown-menu a { font-size: 13px; padding: 10px 0 10px 14px; border-bottom: 1px solid rgba(184,137,42,0.12); }
  .dropdown-toggle::after { display: inline; }
}


/* =============================================================================
   RESPONSIVE — 768px  (full mobile overlay menu + layout adjustments)
   ============================================================================= */
@media (max-width: 768px) {
  /* ── 1. GLOBAL & HEADER ── */
  :root { --nav-height: 64px; }
  header { padding: 0 20px; height: var(--nav-height); }
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .section-title { font-size: clamp(26px, 7vw, 40px); }
  .section-header { margin-bottom: 40px; }
  body.nav-open { overflow: hidden; }

  /* ── 2. MOBILE OVERLAY MENU ── */
  .hamburger { display: flex; }

  nav {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100dvh;
    background: rgba(42,31,14,0.98);
    padding: 100px 32px 48px;
    gap: 0; z-index: 998;
    overflow-y: auto;
    justify-content: flex-start; align-items: center;
    opacity: 0; visibility: hidden; pointer-events: none;
    right: auto; /* override 991 right:-100% */
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }
  nav.open { opacity: 1; visibility: visible; pointer-events: auto; }

  nav a {
    font-size: 16px; letter-spacing: 3px; text-transform: uppercase;
    color: rgba(255,255,255,0.8); padding: 18px 0;
    border-bottom: 1px solid rgba(184,137,42,0.15);
    width: 100%; text-align: center; display: block;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  nav a:first-child { border-top: 1px solid rgba(184,137,42,0.15); }
  nav a::after { display: none; }
  nav a:hover { color: var(--gold); transform: scale(1.05); }

  nav.open .nav-cta {
    background: transparent; color: var(--gold) !important;
    border: 1px solid var(--gold); padding: 14px 0;
    font-size: 15px; margin-top: 20px; border-radius: 4px;
  }
  nav.open .lang-switch {
    border: none; color: rgba(255,255,255,0.4); font-size: 12px; padding: 18px 0;
  }

  /* Dropdown in mobile nav — always expanded, blocked until nav is open */
  .dropdown-menu {
    position: static; border: none; transform: none;
    opacity: 1; visibility: visible;
    max-height: 500px; overflow: visible;
    pointer-events: none;                 /* ← blocked while nav is hidden */
    transition: none;
    display: flex; flex-direction: column;
    background: rgba(255,255,255,0.04); width: 100%;
  }
  nav.open .dropdown-menu {
    pointer-events: auto;                 /* ← re-enabled only when nav is open */
  }
  .dropdown-menu a {
    font-size: 14px; padding: 12px 0; border-bottom: 1px solid rgba(184,137,42,0.12);
    text-align: center; padding-left: 0;
  }
  .dropdown-toggle::after { display: inline; }

  /* ── 3. HERO & PAGE BANNERS ── */
  .hero { min-height: 92vh; align-items: flex-end; }
  .hero-content { padding: 0 20px 52px; max-width: 100%; }
  .hero-title { font-size: clamp(36px, 10vw, 52px); }
  .hero-body { font-size: 13px; margin-bottom: 32px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; text-align: center; padding: 16px 24px; }
  .hero-scroll, .hero-logo { display: none; }

  .page-banner { height: 280px; }
  .page-banner-content { padding: 0 20px 36px; }
  .page-banner-title { font-size: 36px; }
  .page-banner-sub { display: none; }
  .product-jumpnav-inner a { padding: 14px 18px; font-size: 8px; }

  /* ── 4. HOME & ABOUT ── */
  .trust-bar-inner { flex-direction: column; align-items: stretch; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(184,137,42,0.15); padding: 20px; flex: none; }
  .trust-item:last-child { border-bottom: none; }
  .about-split { grid-template-columns: 1fr; gap: 52px; }
  .about-img-wrap { max-width: 100%; }
  .about-badge { bottom: -14px; right: 14px; width: 110px; padding: 20px; }
  .about-badge-num { font-size: 34px; }
  .about-stats { flex-wrap: wrap; gap: 24px; }
  .quote-strip { padding: 40px 0; }

  /* ── 5. PRODUCTS & GALLERY GRIDS ── */
  .products-grid, .prod-grid, .panels-grid, .jambs-grid,
  .panel-types-grid, .panels-mosaic, .gallery-grid {
    grid-template-columns: 1fr; gap: 8px;
  }
  .doors-grid, .finish-options, .valueadded-grid {
    grid-template-columns: repeat(2, 1fr); gap: 12px;
  }
  .veneer-grid { grid-template-columns: repeat(4, 1fr); gap: 2px; }

  .product-tile, .panel-tile.wide .panel-tile-inner { aspect-ratio: 16/9; }
  .product-tile-content { padding: 20px; }
  .product-tile-title { font-size: 22px; }
  .products-grid .wide { grid-column: span 1; aspect-ratio: 4/3; }

  .panels-grid-item.tall, .panel-tile.wide, .gallery-item.wide, .gallery-item.tall {
    grid-column: span 1; grid-row: span 1;
  }
  .gallery-item { aspect-ratio: 4/3; }

  .fsc-strip-inner { flex-direction: column; }
  .cta-strip { padding: 56px 0; }
  .cta-strip-actions { flex-direction: column; align-items: center; }

  /* ── 6. FOOTER ── */
  .footer-main {
    display: flex; flex-wrap: wrap;
    gap: 36px; padding: 48px 0 40px;
  }
  .footer-nav-container,
  .footer-navigation,
  .footer-links-wrapper {
    display: flex !important; flex-direction: row !important;
    justify-content: space-between; width: 100%; gap: 10px;
  }
  .footer-column { flex: 1; width: 33.33%; min-width: 0; }
  .footer-column h3, .footer-column h4 { font-size: 14px; margin-bottom: 12px; }
  .footer-column a, .footer-column p, .footer-column li { font-size: 12px; word-wrap: break-word; line-height: 1.4; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-desc { max-width: 100%; }
}


/* =============================================================================
   RESPONSIVE — 480px  (smaller phones)
   ============================================================================= */
@media (max-width: 480px) {
  .page-banner-content { padding: 0 20px 40px; }
  .blueprint-callout-text { padding: 48px 28px; }
  .doors-grid, .valueadded-grid { grid-template-columns: 1fr 1fr; }
  .veneer-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-title { font-size: 30px; }
  .about-badge { display: none; }
}