/* ============================================================
   EverBest Mabati — Theme CSS
   All design tokens, layout, and component styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;900&family=Barlow:wght@300;400;500;600&family=Oswald:wght@400;500;600;700&display=swap');

/* ─── TOKENS ─── */
:root {
  --rust:         #D4500A;
  --rust-bright:  #FF6B1A;
  --steel:        #1C2631;
  --steel-mid:    #263545;
  --steel-light:  #354A5E;
  --silver:       #8FA3B3;
  --silver-light: #C5D5DF;
  --white:        #F0F4F7;
  --black:        #0D1318;
  --yellow:       #F5A623;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

/* ─── FIX: WordPress wraps pages in extra divs that need the dark bg ─── */
.wp-site-blocks,
.entry-content,
.post-content,
.page-content,
#page,
#content,
#main,
.site,
.site-content,
main.site-main {
  background: var(--black);
  color: var(--white);
}

/* WordPress default link reset */
a { color: var(--rust); }
a:hover { color: var(--rust-bright); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--steel); }
::-webkit-scrollbar-thumb { background: var(--rust); border-radius: 3px; }

img { max-width: 100%; height: auto; display: block; }

/* ─── TYPOGRAPHY ─── */
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before { content: ''; width: 30px; height: 2px; background: var(--rust); }

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
}
.section-title em { color: var(--rust); font-style: normal; }

.section-desc {
  font-size: 16px;
  color: var(--silver);
  line-height: 1.8;
  max-width: 620px;
  font-weight: 300;
}

/* ─── BUTTONS ─── */
.btn-primary {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--rust);
  color: white;
  border: none;
  padding: 16px 36px;
  cursor: pointer;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: background 0.25s, transform 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { background: var(--rust-bright); transform: translateY(-2px); color: white; }

.btn-outline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: transparent;
  color: var(--white);
  border: 2px solid var(--steel-light);
  padding: 14px 34px;
  cursor: pointer;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: border-color 0.25s, color 0.25s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--rust); color: var(--rust); }

.btn-white {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: white;
  color: var(--rust);
  border: none;
  padding: 16px 36px;
  cursor: pointer;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: all 0.25s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.btn-white:hover { background: var(--black); color: white; }

/* ─── SITE WRAPPER ─── */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site-content { flex: 1; }

/* ─── NAVIGATION ─── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.12);
  border-bottom: 3px solid var(--rust);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.18); }

/* ─── LOGO IMAGE (replaces old hexagon icon) ─── */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  height: 66px;
}

.logo-img {
  height: 62px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Hide old icon-based logo parts when logo image is present */
.site-logo .logo-icon { display: none; }
.site-logo .logo-text { display: none; }

/* Fallback text logo if no image uploaded */
.site-logo.text-only .logo-text { display: block; }
.site-logo.text-only .logo-text .brand {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #1a237e;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-logo.text-only .logo-text .sub {
  font-size: 10px;
  color: var(--rust);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ─── NAV LINKS — dark on white ─── */
.main-nav ul { display: flex; list-style: none; gap: 0; }
.main-nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1a237e;
  text-decoration: none;
  padding: 8px 16px;
  position: relative;
  transition: color 0.25s;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 50%; right: 50%;
  height: 3px;
  background: var(--rust);
  transition: left 0.25s, right 0.25s;
}
.main-nav a:hover { color: var(--rust); }
.main-nav a:hover::after { left: 16px; right: 16px; }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: var(--rust); }

/* ─── CTA BUTTON ─── */
.nav-cta {
  background: var(--rust) !important;
  color: white !important;
  padding: 9px 22px !important;
  font-size: 12px !important;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%) !important;
  border-radius: 0 !important;
}
.nav-cta:hover { background: var(--rust-bright) !important; color: white !important; }
.nav-cta::after { display: none !important; }

/* ─── HAMBURGER — dark on white ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span { width: 26px; height: 2px; background: #1a237e; transition: all 0.3s; display: block; }

/* ─── PAGE HEADER (inner pages) ─── */
.page-hero {
  padding: 140px 40px 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--steel) 0%, var(--black) 100%);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.page-hero::before {
  position: absolute;
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Oswald', sans-serif;
  font-size: clamp(80px, 18vw, 200px);
  font-weight: 900;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
  white-space: nowrap;
}

/* ─── HERO (homepage) ─── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
  padding-top: 70px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(212,80,10,0.18) 0%, transparent 70%),
    linear-gradient(135deg, #0D1318 0%, #1C2631 50%, #0D1318 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,80,10,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,80,10,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 80% 50%, black, transparent);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--rust); font-weight: 600;
  margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; width: 40px; height: 2px; background: var(--rust); }
.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(50px, 7vw, 88px);
  font-weight: 700; line-height: 0.92;
  text-transform: uppercase; color: var(--white); margin-bottom: 28px;
}
.hero-title span { color: var(--rust); display: block; }
.hero-desc { font-size: 16px; color: var(--silver); line-height: 1.8; max-width: 480px; margin-bottom: 40px; font-weight: 300; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-usps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.usp-badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(212,80,10,0.12);
  border: 1px solid rgba(212,80,10,0.35);
  padding: 8px 14px;
}
.usp-badge span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--white); font-weight: 700;
}

/* Hero stats */
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.stat-card {
  background: var(--steel-mid); padding: 32px 28px;
  position: relative; overflow: hidden;
  border-top: 3px solid transparent;
  transition: border-color 0.3s, transform 0.3s;
}
.stat-card:hover { border-color: var(--rust); transform: translateY(-4px); }
.stat-number { font-family: 'Oswald', sans-serif; font-size: 44px; font-weight: 700; color: var(--rust); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 12px; color: var(--silver); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500; }

/* ─── TICKER ─── */
.ticker-wrap { background: var(--rust); overflow: hidden; padding: 14px 0; }
.ticker-track { display: flex; animation: ticker 30s linear infinite; white-space: nowrap; }
.ticker-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.9);
  padding: 0 40px; display: flex; align-items: center; gap: 14px;
}
.ticker-item::after { content: '◆'; font-size: 8px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── SECTIONS ─── */
.section-wrap { padding: 100px 40px; max-width: 1200px; margin: 0 auto; }
.section-full { padding: 100px 0; background: var(--steel); }
.section-full .inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ─── WHY GRID ─── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 60px; }
.why-card {
  background: var(--steel-mid); padding: 40px 32px;
  position: relative; overflow: hidden;
  transition: transform 0.3s; border-bottom: 3px solid transparent;
}
.why-card:hover { transform: translateY(-6px); border-bottom-color: var(--rust); }
.why-icon {
  width: 56px; height: 56px;
  background: rgba(212,80,10,0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
}
.why-icon svg { width: 28px; height: 28px; stroke: var(--rust); fill: none; stroke-width: 1.8; }
.why-card h3 { font-family: 'Oswald', sans-serif; font-size: 20px; font-weight: 600; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
.why-card p { font-size: 14px; color: var(--silver); line-height: 1.75; font-weight: 300; }

/* ─── PRODUCTS GRID ─── */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 30px 20px; max-width: 1200px; margin: 0 auto; }
.product-card { background: var(--steel-mid); overflow: hidden; position: relative; transition: transform 0.3s; cursor: pointer; }
.product-card:hover { transform: translateY(-6px); }
.product-img { height: 220px; position: relative; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.4s ease; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-img-overlay {
  position: absolute; inset: 0; background: rgba(212,80,10,0.82);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.product-card:hover .product-img-overlay { opacity: 1; }
.product-img-overlay span { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: white; border: 2px solid white; padding: 10px 22px; }
.product-body { padding: 22px; }
.product-tag { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--rust); font-weight: 600; margin-bottom: 6px; }
.product-name { font-family: 'Oswald', sans-serif; font-size: 20px; font-weight: 600; text-transform: uppercase; color: var(--white); margin-bottom: 10px; }
.product-desc { font-size: 13px; color: var(--silver); line-height: 1.65; font-weight: 300; margin-bottom: 14px; }
.product-specs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 0; }
.spec-tag { font-size: 11px; background: var(--steel-light); color: var(--silver-light); padding: 4px 10px; font-weight: 500; }
.finish-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px; margin-bottom: 8px; }
.finish-badge.glossy { background: rgba(212,80,10,0.15); color: var(--rust); border: 1px solid rgba(212,80,10,0.4); }
.finish-badge.matte { background: rgba(143,163,179,0.15); color: var(--silver-light); border: 1px solid rgba(143,163,179,0.35); }

/* Product action buttons */
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 16px; }
.btn-inquire {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--rust); color: white;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none;
  padding: 11px 10px; border: none; cursor: pointer; transition: background 0.25s, transform 0.2s;
}
.btn-inquire:hover { background: var(--rust-bright); transform: translateY(-2px); color: white; }
.btn-inquire svg { width: 14px; height: 14px; stroke: white; fill: none; stroke-width: 2; flex-shrink: 0; }
.btn-wa-small {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: #25D366; color: white;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none;
  padding: 11px 10px; transition: background 0.25s, transform 0.2s;
}
.btn-wa-small:hover { background: #1ebe5d; transform: translateY(-2px); color: white; }
.btn-wa-small svg { width: 14px; height: 14px; fill: white; flex-shrink: 0; }

/* ─── SERVICES ─── */
.services-list { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; max-width: 1200px; margin: 0 auto; padding: 60px 40px; }
.service-item { background: var(--steel-mid); padding: 44px 40px; display: flex; gap: 28px; align-items: flex-start; transition: transform 0.3s; border-left: 3px solid transparent; }
.service-item:hover { transform: translateX(6px); border-left-color: var(--rust); }
.service-num { font-family: 'Oswald', sans-serif; font-size: 48px; font-weight: 700; color: rgba(212,80,10,0.25); line-height: 1; min-width: 60px; transition: color 0.3s; }
.service-item:hover .service-num { color: rgba(212,80,10,0.6); }
.service-text h3 { font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 600; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
.service-text p { font-size: 14px; color: var(--silver); line-height: 1.75; font-weight: 300; }
.service-features { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.service-features li { font-size: 13px; color: var(--silver-light); display: flex; align-items: center; gap: 8px; list-style: none; }
.service-features li::before { content: ''; width: 16px; height: 2px; background: var(--rust); flex-shrink: 0; }

/* ─── GALLERY ─── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 60px 40px; max-width: 1200px; margin: 0 auto; }
.gallery-item { background: var(--steel-mid); overflow: hidden; position: relative; cursor: pointer; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(13,19,24,0.7); opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; padding: 20px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay p { font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 600; text-transform: uppercase; color: white; letter-spacing: 1px; }

/* ─── ABOUT ─── */
.about-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-story { max-width: 1200px; margin: 0 auto; padding: 80px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-story p { font-size: 16px; color: var(--silver); line-height: 1.9; font-weight: 300; margin-bottom: 20px; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.value-item { background: var(--steel-mid); padding: 28px 24px; border-top: 3px solid var(--rust); }
.value-item h4 { font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 600; text-transform: uppercase; color: var(--white); margin-bottom: 8px; }
.value-item p { font-size: 13px; color: var(--silver); line-height: 1.6; margin: 0; }

/* Team */
.team-section { background: var(--steel); padding: 80px 0; }
.team-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 50px; }
.team-card { background: var(--steel-mid); padding: 36px 28px; text-align: center; transition: transform 0.3s; }
.team-card:hover { transform: translateY(-4px); }
.team-avatar { width: 80px; height: 80px; background: var(--rust); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-family: 'Oswald', sans-serif; font-size: 28px; font-weight: 700; color: white; }
.team-card h3 { font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 600; text-transform: uppercase; color: var(--white); margin-bottom: 6px; }
.team-card .role { font-size: 12px; color: var(--rust); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.team-card p { font-size: 13px; color: var(--silver); line-height: 1.65; font-weight: 300; }

/* ─── CONTACT ─── */
.contact-body { max-width: 1200px; margin: 0 auto; padding: 60px 40px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.contact-info-card { background: var(--steel-mid); padding: 40px 36px; height: fit-content; }
.contact-info-card h3 { font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 600; text-transform: uppercase; color: var(--white); margin-bottom: 30px; padding-bottom: 16px; border-bottom: 2px solid var(--rust); }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.contact-info-icon { width: 44px; height: 44px; background: rgba(212,80,10,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon svg { width: 20px; height: 20px; stroke: var(--rust); fill: none; stroke-width: 1.8; }
.contact-info-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--rust); font-weight: 600; margin-bottom: 4px; }
.contact-info-value { font-size: 15px; color: var(--white); line-height: 1.5; }
.contact-info-value a { color: var(--white); text-decoration: none; transition: color 0.25s; }
.contact-info-value a:hover { color: var(--rust); }
.contact-hours { background: var(--steel); padding: 20px; margin-top: 12px; }
.contact-hours h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--rust); font-weight: 600; margin-bottom: 12px; }
.hours-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--silver); padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.hours-row:last-child { border-bottom: none; }
.hours-row span:last-child { color: var(--white); }

/* Contact form */
.contact-form { background: var(--steel-mid); padding: 48px 44px; }
.contact-form h3 { font-family: 'Oswald', sans-serif; font-size: 26px; font-weight: 600; text-transform: uppercase; color: var(--white); margin-bottom: 8px; }
.form-desc { font-size: 14px; color: var(--silver); margin-bottom: 36px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--rust); font-weight: 600; margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--steel); border: 1px solid var(--steel-light);
  border-left: 3px solid var(--steel-light); color: var(--white);
  font-family: 'Barlow', sans-serif; font-size: 14px; padding: 14px 18px;
  outline: none; transition: border-color 0.25s; -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--rust); border-left-color: var(--rust); }
.form-group select option { background: var(--steel-mid); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; background: var(--rust); color: white; border: none; padding: 18px; cursor: pointer; transition: background 0.25s; margin-top: 8px; }
.form-submit:hover { background: var(--rust-bright); }

/* Map */
.map-section { height: 360px; background: var(--steel); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.map-section::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(212,80,10,0.05) 40px, rgba(212,80,10,0.05) 41px), repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(212,80,10,0.05) 40px, rgba(212,80,10,0.05) 41px); }
.map-pin { text-align: center; position: relative; z-index: 2; }
.map-pin svg { width: 56px; height: 56px; fill: var(--rust); filter: drop-shadow(0 8px 20px rgba(212,80,10,0.5)); animation: pinBounce 2s ease-in-out infinite; }
.map-pin p { font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 600; color: var(--white); text-transform: uppercase; margin-top: 12px; letter-spacing: 1px; }
.map-pin span { font-size: 13px; color: var(--silver); }
@keyframes pinBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ─── CTA BAND ─── */
.cta-band { background: var(--rust); padding: 60px 40px; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 40%; background: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(0,0,0,0.05) 10px, rgba(0,0,0,0.05) 20px); }
.cta-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; }
.cta-text h2 { font-family: 'Oswald', sans-serif; font-size: clamp(26px, 3.5vw, 42px); font-weight: 700; text-transform: uppercase; color: white; line-height: 1.1; margin-bottom: 8px; }
.cta-text p { font-size: 15px; color: rgba(255,255,255,0.8); font-weight: 300; }

/* ─── PRODUCTION PAGE ─── */
.prod-hero { padding: 140px 40px 70px; position: relative; overflow: hidden; }
.prod-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.prod-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 36px; }
.prod-stat { background: var(--steel-mid); padding: 18px 24px; border-top: 3px solid var(--rust); min-width: 100px; }
.prod-stat .num { font-family: 'Oswald', sans-serif; font-size: 28px; font-weight: 700; color: var(--rust); }
.prod-stat .lbl { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--silver); font-weight: 600; }
.prod-section { padding: 70px 40px 40px; max-width: 1200px; margin: 0 auto; }
.prod-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.prod-step { background: var(--steel-mid); padding: 28px 22px; border-bottom: 3px solid var(--rust); }
.prod-step-num { font-family: 'Oswald', sans-serif; font-size: 40px; font-weight: 700; color: rgba(212,80,10,0.3); margin-bottom: 12px; }
.prod-step h4 { font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 600; text-transform: uppercase; color: var(--white); margin-bottom: 8px; }
.prod-step p { font-size: 13px; color: var(--silver); line-height: 1.65; font-weight: 300; }
.prod-video-section { padding: 20px 40px 60px; max-width: 1200px; margin: 0 auto; }
.prod-video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.prod-video-card { background: var(--steel-mid); overflow: hidden; }
.prod-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.prod-video-wrap video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; background: #0D1318; }
.prod-video-info { padding: 16px 20px; }
.prod-video-label { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--rust); font-weight: 600; margin-bottom: 4px; }
.prod-video-title { font-family: 'Oswald', sans-serif; font-size: 17px; font-weight: 600; text-transform: uppercase; color: var(--white); }
.prod-video-desc { font-size: 13px; color: var(--silver); margin-top: 6px; line-height: 1.6; font-weight: 300; }
.prod-photo-section { background: var(--steel); padding: 60px 0; }
.prod-photo-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.prod-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 40px; }
.prod-photo-item { overflow: hidden; aspect-ratio: 4/3; background: var(--steel-mid); position: relative; cursor: pointer; }
.prod-photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.prod-photo-item:hover img { transform: scale(1.05); }

/* ─── MODAL ─── */
.modal-backdrop { display: none; position: fixed; inset: 0; background: rgba(13,19,24,0.92); z-index: 2000; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop.open { display: flex; }
.modal-box { background: var(--steel-mid); max-width: 760px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; animation: fadeUp 0.3s forwards; border-top: 3px solid var(--rust); }
.modal-close { position: absolute; top: 14px; right: 14px; background: var(--rust); border: none; color: white; width: 34px; height: 34px; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; }
.modal-close:hover { background: var(--rust-bright); }
.modal-img { width: 100%; height: 300px; object-fit: cover; display: block; }
.modal-body { padding: 28px 32px 32px; }
.modal-title { font-family: 'Oswald', sans-serif; font-size: 28px; font-weight: 700; text-transform: uppercase; color: var(--white); margin-bottom: 14px; line-height: 1.1; }
.modal-desc { font-size: 15px; color: var(--silver); line-height: 1.8; margin-bottom: 20px; font-weight: 300; }
.modal-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ─── LIGHTBOX ─── */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(13,19,24,0.96); z-index: 3000; align-items: center; justify-content: center; padding: 20px; flex-direction: column; }
.lightbox.open { display: flex; }
.lightbox-img { max-width: 92vw; max-height: 82vh; object-fit: contain; display: block; box-shadow: 0 20px 60px rgba(0,0,0,0.8); }
.lightbox-caption { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--silver); margin-top: 16px; font-weight: 600; text-align: center; }
.lightbox-close { position: fixed; top: 16px; right: 20px; background: var(--rust); border: none; color: white; width: 40px; height: 40px; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 3001; }
.lightbox-close:hover { background: var(--rust-bright); }

/* ─── FOOTER ─── */
.site-footer { background: var(--black); border-top: 1px solid var(--steel-mid); padding: 80px 40px 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--steel-mid); }
.footer-brand .brand-name { font-family: 'Oswald', sans-serif; font-size: 24px; font-weight: 700; text-transform: uppercase; color: var(--white); margin-bottom: 4px; }
.footer-brand .brand-sub { font-size: 11px; letter-spacing: 3px; color: var(--rust); text-transform: uppercase; font-weight: 600; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; color: var(--silver); line-height: 1.75; font-weight: 300; margin-bottom: 28px; }
.footer-socials { display: flex; gap: 8px; }
.social-btn { width: 38px; height: 38px; background: var(--steel-mid); display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; transition: background 0.25s; text-decoration: none; color: var(--silver); }
.social-btn:hover { background: var(--rust); color: white; }
.social-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.footer-col h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--rust); font-weight: 600; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--silver); text-decoration: none; transition: color 0.25s; display: flex; align-items: center; gap: 8px; }
.footer-col ul li a::before { content: ''; width: 12px; height: 1px; background: var(--steel-light); transition: background 0.25s, width 0.25s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-col ul li a:hover::before { background: var(--rust); width: 18px; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: var(--silver); }
.footer-badge { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--rust); background: rgba(212,80,10,0.1); padding: 6px 14px; border: 1px solid rgba(212,80,10,0.3); }

/* ─── FADE ANIMATIONS ─── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ─── ELEMENTOR OVERRIDES ─── */
.elementor-page .site-header { z-index: 9999; }
.elementor-section, .e-con { overflow: visible !important; }
.elementor-widget-wrap > .elementor-element { width: 100%; }
body.elementor-editor-active .site-header { position: relative !important; }

/* Elementor full-width compatibility */
.elementor-location-header .site-header { position: relative; height: auto; }
.everbest-hero-widget, .everbest-products-widget, .everbest-gallery-widget { width: 100%; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .prod-process { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  nav, .site-header { padding: 0 20px; }
  .main-nav { display: none; }
  .main-nav.open { display: block; position: fixed; top: 76px; left: 0; right: 0; background: #ffffff; border-top: 3px solid var(--rust); padding: 16px 20px; z-index: 999; box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
  .main-nav.open ul { flex-direction: column; gap: 4px; }
  .main-nav.open a { display: block; padding: 12px 20px; border-bottom: 1px solid #e8ecf0; color: #1a237e; }
  .main-nav.open a:hover { color: var(--rust); background: #f5f7fa; }
  .hamburger { display: flex; }

  .hero-content { grid-template-columns: 1fr; gap: 30px; padding: 60px 20px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }

  .section-wrap { padding: 50px 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); padding: 20px 14px; gap: 10px; }
  .services-list { grid-template-columns: 1fr; padding: 40px 20px; }
  .about-hero-inner, .about-story, .contact-body { grid-template-columns: 1fr; gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); padding: 30px 20px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .team-grid, .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero { padding: 110px 20px 60px; }
  .about-story { padding: 50px 20px; }
  .contact-body { padding: 40px 20px; }
  .services-list { padding: 40px 20px; }
  .gallery-grid { padding: 30px 20px; }

  /* Production */
  .prod-hero { padding: 110px 20px 60px !important; }
  .prod-section { padding: 40px 20px !important; }
  .prod-video-section { padding: 20px 20px 40px !important; }
  .prod-video-grid { grid-template-columns: 1fr !important; }
  .prod-photo-inner { padding: 0 20px; }
  .prod-photo-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .team-grid, .values-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .product-actions { grid-template-columns: 1fr; }
  .product-body { padding: 14px; }
  .product-img { height: 180px; }
  .modal-actions { grid-template-columns: 1fr; }
  .modal-img { height: 200px; }
  .modal-body { padding: 16px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 20px; }
  .contact-form { padding: 28px 20px; }
  .prod-photo-grid { grid-template-columns: 1fr !important; }
  .prod-process { grid-template-columns: 1fr !important; }
  .prod-stats { gap: 6px; }
  .prod-stat { flex: 1 1 calc(50% - 6px); }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════
   BLOG — 3-column grid
═══════════════════════════════════════════════════════════ */

.blog-hero {
  padding: 110px 40px 60px;
  background: linear-gradient(135deg, var(--steel) 0%, var(--black) 100%);
  position: relative;
  overflow: hidden;
}
.blog-hero-inner { max-width: 1200px; margin: 0 auto; }

/* Blog grid wrapper */
.blog-grid-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 40px 80px;
}

/* 3-column grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

/* Individual post card */
.blog-card {
  background: var(--steel-mid);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
}
.blog-card:hover { transform: translateY(-6px); }

.blog-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--steel);
  position: relative;
}
.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.blog-card:hover .blog-card-thumb img { transform: scale(1.05); }

.blog-card-no-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--steel) 0%, var(--steel-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-no-thumb svg { opacity: 0.2; }

.blog-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.blog-card-date {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 600;
}
.blog-card-cat a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(212,80,10,0.15);
  color: var(--rust);
  border: 1px solid rgba(212,80,10,0.3);
  padding: 2px 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}
.blog-card-cat a:hover { background: var(--rust); color: white; }

.blog-card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 19px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
}
.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s;
}
.blog-card-title a:hover { color: var(--rust); }

.blog-card-excerpt {
  font-size: 13px;
  color: var(--silver);
  line-height: 1.7;
  font-weight: 300;
  flex: 1;
  margin-bottom: 18px;
}

.blog-card-read-more {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rust);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s, color 0.2s;
  align-self: flex-start;
  border-bottom: 1px solid rgba(212,80,10,0.3);
  padding-bottom: 2px;
}
.blog-card-read-more:hover { gap: 10px; color: var(--rust-bright); }
.blog-card-read-more::after { content: '→'; }

/* ─── PAGINATION ─── */
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.blog-pagination .page-numbers {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 10px 18px;
  background: var(--steel-mid);
  color: var(--silver);
  transition: background 0.25s, color 0.25s;
  display: inline-block;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: var(--rust);
  color: white;
}
.blog-pagination .page-numbers.dots {
  background: transparent;
  color: var(--silver);
}

/* ─── SINGLE POST ─── */
.single-post-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 40px 80px;
}

.single-post-hero {
  padding: 110px 40px 0;
  max-width: 860px;
  margin: 0 auto;
}

.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.post-featured-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  margin-bottom: 36px;
}

.post-content-body {
  font-size: 16px;
  color: var(--silver);
  line-height: 1.9;
  font-weight: 300;
}
.post-content-body h2,
.post-content-body h3,
.post-content-body h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
  margin: 32px 0 14px;
}
.post-content-body h2 { font-size: 28px; }
.post-content-body h3 { font-size: 22px; }
.post-content-body h4 { font-size: 18px; }
.post-content-body p { margin-bottom: 18px; }
.post-content-body ul,
.post-content-body ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
.post-content-body li { margin-bottom: 8px; }
.post-content-body blockquote {
  border-left: 4px solid var(--rust);
  padding: 16px 20px;
  background: var(--steel-mid);
  margin: 24px 0;
  font-style: italic;
  color: var(--silver-light);
}
.post-content-body img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}
.post-content-body a {
  color: var(--rust);
  text-decoration: underline;
}
.post-content-body a:hover { color: var(--rust-bright); }

/* Post author box */
.post-author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--steel-mid);
  padding: 28px;
  margin-top: 50px;
  border-left: 4px solid var(--rust);
}
.post-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--rust);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: white;
}
.post-author-name {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}
.post-author-bio { font-size: 13px; color: var(--silver); line-height: 1.65; }

/* Related posts */
.related-posts-wrap {
  background: var(--steel);
  padding: 60px 0;
  margin-top: 60px;
}
.related-posts-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── PAGE TOP PADDING FIX (for fixed header) ─── */
.hero                 { padding-top: 76px; }
.page-hero            { padding-top: 150px; }
.blog-hero            { padding-top: 130px; }
.single-post-hero     { padding-top: 110px; }
.woo-content-wrapper  { padding-top: 100px; }
.section-wrap         { scroll-margin-top: 76px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .blog-grid      { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .blog-grid-wrap { padding: 30px 20px 60px; }
  .blog-hero      { padding: 120px 20px 40px; }
  .single-post-wrap  { padding: 30px 20px 60px; }
  .single-post-hero  { padding: 100px 20px 0; }
  .related-posts-inner { padding: 0 20px; }
}

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .site-header { height: 64px; padding: 0 16px; }
  .logo-img { height: 52px; }
  .main-nav.open { top: 64px; }
  .hero { padding-top: 64px; }
  .page-hero { padding-top: 110px; }
}
