/* ===================================================
   EB WOODCRAFT — style.css
   Target: ebwcnc.net
   =================================================== */

/* ---------- CSS VARIABLES ---------- */
:root {
  --wood-dark:   #2C1A0E;
  --wood-mid:    #5C3317;
  --wood-warm:   #8B4513;
  --wood-light:  #C68642;
  --wood-cream:  #F5EDD6;
  --accent:      #C68642;
  --accent-dark: #A0522D;
  --white:       #FFFFFF;
  --off-white:   #FAF7F2;
  --gray-100:    #F4F1EC;
  --gray-200:    #E8E2D9;
  --gray-400:    #9E9080;
  --gray-600:    #5A5248;
  --gray-800:    #2E2820;
  --text:        #1E1610;
  --text-light:  #6B5E52;
  --nav-h:       80px;
  --radius:      6px;
  --radius-lg:   14px;
  --shadow-sm:   0 2px 8px rgba(44,26,14,.08);
  --shadow-md:   0 6px 24px rgba(44,26,14,.14);
  --shadow-lg:   0 16px 48px rgba(44,26,14,.18);
  --transition:  .3s cubic-bezier(.4,0,.2,1);
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  /* Trade-Mod brand */
  --tm-navy:     #1B3A5C;
  --tm-copper:   #B87333;
  --tm-copper2:  #D4956A;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--text); background: var(--white); line-height: 1.7; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- UTILITIES ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header.light h2,
.section-header.light .section-eyebrow { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,.75); }
.section-eyebrow { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-header h2 { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: var(--wood-dark); line-height: 1.2; margin-bottom: 16px; }
.section-sub { font-size: 1.05rem; color: var(--text-light); max-width: 620px; margin: 0 auto; }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: var(--radius); font-size: .95rem; font-weight: 600; letter-spacing: .02em; transition: var(--transition); white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(198,134,66,.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-dark { background: var(--wood-dark); color: var(--white); }
.btn-dark:hover { background: var(--wood-mid); transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: .875rem; }
.btn-full { width: 100%; justify-content: center; padding: 16px; font-size: 1rem; }

/* ---------- NAVBAR ---------- */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h); transition: background var(--transition), box-shadow var(--transition); }
#navbar.scrolled { background: var(--white); box-shadow: var(--shadow-md); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; }
.logo-img { height: 44px; width: auto; transition: opacity var(--transition); }
.logo-white { display: block; }
.logo-black { display: none; }
#navbar.scrolled .logo-white { display: none; }
#navbar.scrolled .logo-black { display: block; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links li a { padding: 8px 14px; border-radius: var(--radius); font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.9); transition: var(--transition); }
.nav-links li a:hover { color: var(--white); background: rgba(255,255,255,.12); }
#navbar.scrolled .nav-links li a { color: var(--gray-600); }
#navbar.scrolled .nav-links li a:hover { color: var(--wood-dark); background: var(--gray-100); }
.nav-cta { background: var(--accent) !important; color: var(--white) !important; padding: 9px 20px !important; }
.nav-cta:hover { background: var(--accent-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
#navbar.scrolled .hamburger span { background: var(--wood-dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero { position: relative; height: 100vh; min-height: 640px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg-slider { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(28,14,6,.72) 0%, rgba(44,26,14,.55) 60%, rgba(92,51,23,.4) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 24px; max-width: 760px; }
.hero-logo { height: 80px; width: auto; margin: 0 auto 28px; filter: drop-shadow(0 4px 16px rgba(0,0,0,.4)); }
.hero-tagline { font-family: var(--font-serif); font-size: clamp(1.6rem, 4.5vw, 3rem); font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 16px; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.82); margin-bottom: 36px; letter-spacing: .04em; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.6); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{opacity:.4;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.2)} }

/* ---------- INTRO STRIP ---------- */
.intro-strip { background: var(--wood-dark); padding: 32px 0; }
.intro-grid { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; }
.intro-stat { text-align: center; padding: 16px 40px; }
.stat-num { display: block; font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.stat-label { display: block; font-size: .78rem; color: rgba(255,255,255,.65); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.intro-divider { width: 1px; height: 48px; background: rgba(255,255,255,.15); }

/* ---------- SERVICES ---------- */
.services { background: var(--off-white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.service-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px 32px; border: 1px solid var(--gray-200); transition: var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--wood-mid)); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.featured-service { border-color: var(--accent); }
.featured-service::before { transform: scaleX(1); }
.service-icon { width: 52px; height: 52px; background: var(--gray-100); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--accent); }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--wood-dark); margin-bottom: 12px; }
.service-card p { font-size: .93rem; color: var(--text-light); margin-bottom: 16px; line-height: 1.65; }
.service-list { display: flex; flex-direction: column; gap: 6px; }
.service-list li { font-size: .85rem; color: var(--gray-600); padding-left: 16px; position: relative; }
.service-list li::before { content: '—'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.service-card .btn { margin-top: 24px; }

/* ---------- VIDEO SECTION ---------- */
.video-section { background: var(--wood-dark); padding: 96px 0; }
.video-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: center; }
.video-text .section-eyebrow { color: var(--accent); }
.video-text h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 3.5vw, 2.5rem); color: var(--white); margin-bottom: 16px; }
.video-text p { color: rgba(255,255,255,.72); margin-bottom: 32px; font-size: 1rem; }
.video-player { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.video-player video { width: 100%; display: block; }

/* ---------- GALLERY ---------- */
.gallery { background: var(--white); }
.gallery-filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { padding: 9px 22px; border-radius: 40px; font-size: .875rem; font-weight: 500; border: 1.5px solid var(--gray-200); color: var(--gray-600); transition: var(--transition); }
.filter-btn:hover, .filter-btn.active { background: var(--accent); color: var(--white); border-color: var(--accent); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.gallery-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,14,6,.88) 0%, rgba(28,14,6,.2) 60%, transparent 100%); opacity: 0; transition: var(--transition); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { font-family: var(--font-serif); font-size: 1.05rem; color: var(--white); margin-bottom: 4px; }
.gallery-overlay p { font-size: .8rem; color: rgba(255,255,255,.72); }
.gallery-zoom { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.2); backdrop-filter: blur(4px); color: var(--white); font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.gallery-zoom:hover { background: var(--accent); }
.gallery-item.hidden { display: none; }

/* ---------- LIGHTBOX ---------- */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(10,5,2,.94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox-inner { max-width: 900px; width: 100%; text-align: center; }
.lightbox-inner img { max-height: 75vh; width: auto; max-width: 100%; border-radius: var(--radius); margin: 0 auto; }
.lightbox-caption { margin-top: 20px; }
.lightbox-caption h4 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--white); margin-bottom: 6px; }
.lightbox-caption p { font-size: .9rem; color: rgba(255,255,255,.65); max-width: 600px; margin: 0 auto; }
.lightbox-close { position: fixed; top: 20px; right: 24px; font-size: 2rem; color: rgba(255,255,255,.7); transition: var(--transition); z-index: 2001; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { color: var(--white); }
.lightbox-prev, .lightbox-next { position: fixed; top: 50%; transform: translateY(-50%); font-size: 3rem; color: rgba(255,255,255,.6); transition: var(--transition); z-index: 2001; padding: 0 16px; }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }
.lightbox-prev:hover, .lightbox-next:hover { color: var(--white); }

/* ---------- ABOUT ---------- */
.about { background: var(--off-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-text .section-eyebrow { color: var(--accent); }
.about-text h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 3.5vw, 2.4rem); color: var(--wood-dark); margin-bottom: 24px; line-height: 1.25; }
.about-text p { font-size: .97rem; color: var(--text-light); margin-bottom: 16px; line-height: 1.75; }
.about-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.badge { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: 40px; padding: 8px 20px; font-size: .82rem; color: var(--gray-600); }
.badge span { font-weight: 700; color: var(--accent); margin-right: 4px; }
.about-images { display: grid; grid-template-rows: auto auto; gap: 16px; }
.about-img-main img, .about-img-secondary img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.about-img-main img { height: 340px; }
.about-img-secondary img { height: 200px; }

/* ---------- MATERIALS STRIP ---------- */
.materials-strip { background: var(--wood-dark); padding: 96px 0; }
.materials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; margin-top: 16px; }
.material-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 28px 20px; text-align: center; transition: var(--transition); }
.material-card:hover { background: rgba(198,134,66,.15); border-color: var(--accent); transform: translateY(-4px); }
.material-icon { font-size: 2rem; margin-bottom: 12px; }
.material-card h4 { font-family: var(--font-serif); font-size: 1rem; color: var(--white); margin-bottom: 8px; }
.material-card p { font-size: .8rem; color: rgba(255,255,255,.55); line-height: 1.5; }

/* ---------- TRADE-MOD SECTION ---------- */
.trade-mod-section { background: var(--white); padding: 96px 0; }
.trade-mod-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.trade-mod-text .section-eyebrow { color: var(--tm-copper); }
.trade-mod-text h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 3.5vw, 2.4rem); color: var(--tm-navy); margin-bottom: 16px; line-height: 1.25; }
.trade-mod-text p { font-size: .97rem; color: var(--text-light); margin-bottom: 16px; line-height: 1.75; }
.trade-mod-logo-wrap { margin-bottom: 28px; }
.trade-mod-logo { height: 60px; width: auto; }
.trade-mod-features { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 32px; }
.tm-feature { display: flex; align-items: flex-start; gap: 12px; }
.tm-feature-icon { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--tm-navy), #2a5a8c); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.tm-feature-icon svg { width: 16px; height: 16px; color: var(--white); }
.tm-feature-text h5 { font-size: .9rem; font-weight: 600; color: var(--tm-navy); margin-bottom: 2px; }
.tm-feature-text p { font-size: .83rem; color: var(--text-light); }
.btn-trademod { background: linear-gradient(135deg, var(--tm-navy), #2a5a8c); color: var(--white); }
.btn-trademod:hover { background: linear-gradient(135deg, #142d47, var(--tm-navy)); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,58,92,.3); }
.trade-mod-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tm-gallery-item { border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.tm-gallery-item img { width: 100%; height: 200px; object-fit: cover; transition: transform .5s ease; }
.tm-gallery-item:hover img { transform: scale(1.05); }
.tm-gallery-item:first-child { grid-column: 1 / -1; }
.tm-gallery-item:first-child img { height: 260px; }
.tm-placeholder-badge { position: absolute; top: 10px; right: 10px; background: rgba(27,58,92,.85); color: rgba(255,255,255,.8); font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }

/* ---------- ORDER SECTION ---------- */
.order { background: var(--gray-100); }
.order-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
.order-text .section-eyebrow { color: var(--accent); }
.order-text h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 3.5vw, 2.4rem); color: var(--wood-dark); margin-bottom: 16px; line-height: 1.25; }
.order-text p { font-size: .97rem; color: var(--text-light); margin-bottom: 28px; line-height: 1.75; }
.order-info-list { display: flex; flex-direction: column; gap: 16px; }
.order-info-item { display: flex; align-items: center; gap: 14px; font-size: .93rem; color: var(--text-light); }
.order-info-item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.order-info-item a { color: var(--wood-dark); font-weight: 500; }
.order-info-item a:hover { color: var(--accent); }
.order-form-wrap { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
.order-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--gray-800); }
.req { color: var(--accent); }
.form-group input,
.form-group select,
.form-group textarea { padding: 12px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius); font-family: var(--font-sans); font-size: .93rem; color: var(--text); background: var(--off-white); transition: border-color var(--transition), box-shadow var(--transition); outline: none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(198,134,66,.15); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-check { flex-direction: row; align-items: flex-start; gap: 12px; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); }
.form-check label { font-size: .83rem; color: var(--text-light); font-weight: 400; }
.form-success, .form-error { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; border-radius: var(--radius); }
.form-success { background: #f0faf4; border: 1.5px solid #86efac; }
.form-success svg { color: #16a34a; width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.form-success strong { color: #15803d; display: block; margin-bottom: 4px; }
.form-success p { font-size: .85rem; color: #166534; }
.form-error { background: #fff5f5; border: 1.5px solid #fca5a5; }
.form-error svg { color: #dc2626; width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.form-error strong { color: #b91c1c; display: block; margin-bottom: 4px; }
.form-error p { font-size: .85rem; color: #991b1b; }
.form-error a { color: var(--accent); font-weight: 600; }

/* ---------- CONTACT ---------- */
.contact { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card { display: flex; align-items: flex-start; gap: 16px; background: var(--white); border-radius: var(--radius-lg); padding: 20px 24px; box-shadow: var(--shadow-sm); }
.contact-card svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-card h4 { font-size: .85rem; font-weight: 700; color: var(--wood-dark); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .06em; }
.contact-card p, .contact-card a { font-size: .93rem; color: var(--text-light); line-height: 1.6; }
.contact-card a:hover { color: var(--accent); }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }

/* ---------- FOOTER ---------- */
.footer { background: var(--wood-dark); padding: 72px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo { height: 48px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.5); line-height: 1.7; }
.footer-links h5, .footer-services h5, .footer-contact h5 { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.footer-links ul, .footer-services ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links li a, .footer-services li { font-size: .88rem; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-links li a:hover { color: var(--white); }
.footer-contact p { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 8px; }
.footer-contact a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.3); }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .about-grid, .order-wrap, .video-wrap, .trade-mod-inner { grid-template-columns: 1fr; gap: 40px; }
  .video-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
  .nav-links { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--white); flex-direction: column; padding: 24px; gap: 4px; box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; }
  .nav-links li a { color: var(--gray-600) !important; padding: 12px 16px; border-radius: var(--radius); display: block; }
  .nav-links li a:hover { background: var(--gray-100) !important; color: var(--wood-dark) !important; }
  .hamburger { display: flex; }
  .hero-logo { height: 56px; }
  .intro-grid { gap: 0; }
  .intro-divider { display: none; }
  .intro-stat { padding: 12px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .order-form-wrap { padding: 24px; }
  .trade-mod-gallery { grid-template-columns: 1fr; }
  .tm-gallery-item:first-child { grid-column: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .lightbox-prev, .lightbox-next { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===================================================
   FAMILY OF COMPANIES SECTION
   =================================================== */

.family-section {
  background: var(--off-white);
}

.family-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.family-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--wood-dark);
  margin-bottom: 1rem;
}

.family-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

.family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.family-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--accent);
}

.family-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.family-card--pps {
  border-top-color: #2E7D32;
}

.family-card--trademod {
  border-top-color: #8B6914;
}

.family-card-logo {
  padding: 1.8rem 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  background: var(--gray-100);
}

.family-card-logo img {
  max-height: 60px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
}

.family-card-body {
  padding: 1.5rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.family-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--wood-dark);
  margin-bottom: 0.3rem;
}

.family-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.family-card--pps .family-tagline {
  color: #2E7D32;
}

.family-card--trademod .family-tagline {
  color: #8B6914;
}

.family-card-body > p:not(.family-tagline) {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.family-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  flex: 1;
}

.family-list li {
  font-size: 0.9rem;
  color: var(--gray-600);
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.family-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.family-card--pps .family-list li::before {
  color: #2E7D32;
}

.family-card--trademod .family-list li::before {
  color: #8B6914;
}

.family-btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
  margin-top: auto;
}

.family-btn--ebw {
  background: var(--wood-dark);
  color: var(--white);
}

.family-btn--ebw:hover {
  background: var(--wood-warm);
  transform: translateY(-2px);
}

.family-btn--trademod {
  background: #8B6914;
  color: var(--white);
}

.family-btn--trademod:hover {
  background: #6B5010;
  transform: translateY(-2px);
}

.family-btn--pps {
  background: #2E7D32;
  color: var(--white);
}

.family-btn--pps:hover {
  background: #1B5E20;
  transform: translateY(-2px);
}

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