/* =============================================
   EVERGLO THEME - MAIN STYLESHEET
   ============================================= */

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

:root {
  --orange:   #E8610A;
  --dark:     #1A1A1A;
  --mid:      #2D2D2D;
  --gray:     #6B6B6B;
  --light:    #F5F5F5;
  --white:    #FFFFFF;
  --font-head:'Barlow Condensed', sans-serif;
  --font-body:'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* =============================================
   LAYOUT HELPERS
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}

.section-heading {
  font-family: var(--font-head);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--dark);
}
.section-heading span { color: var(--orange); }

.section-divider {
  width: 48px;
  height: 4px;
  background: var(--orange);
  margin: 14px 0 36px;
}

.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 13px 30px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-primary:hover { background: var(--dark); color: var(--orange); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

.btn-dark {
  display: inline-block;
  background: var(--dark);
  color: var(--white);
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .2s;
}
.btn-dark:hover { background: #111; }

/* =============================================
   HEADER / NAV
   ============================================= */
#site-header {
  background: var(--dark);
  border-bottom: 3px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--orange);
  clip-path: polygon(0 0, 80% 0, 100% 100%, 20% 100%);
  flex-shrink: 0;
}
.logo-text-wrap { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}
.logo-name span { color: var(--orange); }
.logo-tagline {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover,
.nav-links a.current-menu-item,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* =============================================
   HOME - HERO
   ============================================= */
.hero {
  background: var(--dark);
  min-height: 580px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 600px; height: 600px;
  background: linear-gradient(135deg, var(--orange) 0%, #FF8C00 40%, transparent 70%);
  clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 60% 100%);
  opacity: 0.15;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; right: 240px;
  width: 3px; height: 100%;
  background: var(--orange);
  opacity: 0.35;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Background video */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(26,26,26,0.88) 0%, rgba(26,26,26,0.6) 55%, rgba(26,26,26,0.88) 100%);
}

/* Hero image */
.hero-image {
  width: 100%;
  max-width: 500px;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}

/* Hero video embed (YouTube/Vimeo) */
.hero-video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.hero-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 2px; background: var(--orange); }

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(64px, 9vw, 96px);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.hero-headline span { color: var(--orange); display: block; }

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 36px;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero visual - glowing tubes */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  opacity: 0.88;
}
.light-tube {
  height: 22px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.88) 30%, #fff 50%, rgba(255,255,255,0.88) 70%, rgba(255,255,255,0.03) 100%);
  border-radius: 2px;
  box-shadow: 0 0 30px 8px rgba(220,190,80,0.35), 0 0 70px 24px rgba(220,170,40,0.12);
  position: relative;
}
.light-tube::before, .light-tube::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 14px;
  background: #666;
  border-radius: 1px;
}
.light-tube::before { left: -16px; }
.light-tube::after  { right: -16px; }
.tube-1 { width: 300px; }
.tube-2 { width: 250px; margin-left: 28px; opacity: 0.7; }
.tube-3 { width: 270px; margin-left: 14px; opacity: 0.5; }

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--orange);
  padding: 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.stat-item {
  text-align: center;
  padding: 32px 16px;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.25);
}
.stat-number {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.72);
  margin-top: 6px;
  display: block;
}

/* =============================================
   PRODUCT HIGHLIGHTS
   ============================================= */
.section-highlights {
  background: var(--light);
  padding: 80px 0;
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}
.highlight-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: 4px;
  border-top: 4px solid var(--orange);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform .25s, box-shadow .25s;
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(232,97,10,0.12);
}
.highlight-icon {
  width: 54px; height: 54px;
  background: rgba(232,97,10,0.09);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.highlight-card h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.highlight-card p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray);
  line-height: 1.65;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.highlight-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--orange);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.highlight-link:hover { border-bottom-color: var(--orange); }

/* =============================================
   TECH SECTION
   ============================================= */
.section-tech {
  background: var(--dark);
  padding: 80px 0;
}
.tech-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.tech-text .section-heading { color: var(--white); }
.tech-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.58);
  line-height: 1.8;
  margin-bottom: 28px;
  font-weight: 300;
  text-transform: none;
  font-family: var(--font-body);
  letter-spacing: 0;
}
.tech-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.tech-feature {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: background .2s, border-color .2s;
}
.tech-feature:hover {
  background: rgba(232,97,10,0.06);
  border-color: rgba(232,97,10,0.3);
}
.tech-feature-icon { font-size: 24px; flex-shrink: 0; margin-top: 1px; }
.tech-feature h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
}
.tech-feature p {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: var(--orange);
  padding: 60px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-banner h2 {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: var(--dark);
  padding: 56px 0 48px;
  border-bottom: 3px solid var(--orange);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 400px; height: 300px;
  background: linear-gradient(135deg, var(--orange), transparent 60%);
  clip-path: polygon(40% 0%, 100% 0%, 100% 100%, 70% 100%);
  opacity: 0.1;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 10px;
}
.page-hero h1 span { color: var(--orange); }
.page-hero p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
}

/* =============================================
   PRODUCTS PAGE
   ============================================= */
.products-section { padding: 52px 0 80px; background: var(--white); }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 2px solid var(--orange);
  background: transparent;
  color: var(--dark);
  cursor: pointer;
  border-radius: 2px;
  transition: all .2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--orange);
  color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  border: 1px solid #E8E8E8;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(232,97,10,0.12);
}

/* Product card image */
.card-image {
  width: 100%;
  height: 200px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}
.card-image-placeholder {
  font-size: 56px;
  opacity: 0.15;
}

.card-header {
  background: var(--dark);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-cat {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(232,97,10,0.14);
  padding: 3px 10px;
  border-radius: 2px;
}

/* Logo — bundled image fallback */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo-img {
  height: 48px;
  width: auto;
  display: block;
  /* Logo has white/transparent bg — add slight padding so it breathes on dark header */
  background: transparent;
  filter: brightness(0) invert(1); /* Makes dark logo white on dark header */
}

/* If logo already has orange/colour branding, remove the filter above by
   going to Appearance → Customize → Additional CSS and adding:
   .site-logo-img { filter: none; }
*/

/* Custom logo (uploaded via Appearance → Customize → Site Identity) */
.custom-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.custom-logo {
  height: 50px !important;
  width: auto !important;
  display: block;
  /* EverGlo logo is dark on white bg — invert to show on dark header */
  filter: brightness(0) invert(1);
}
/* Override: if your logo already has a light/white version, add this to
   Appearance → Customize → Additional CSS:
   .custom-logo { filter: none; }
*/
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(232,97,10,0.14);
  padding: 3px 10px;
  border-radius: 2px;
}

.card-body { padding: 18px 16px; flex: 1; }
.card-body h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
  line-height: 1.15;
  text-transform: uppercase;
}
.card-subtitle {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 11px;
  display: block;
  text-transform: none;
}
.card-desc {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 14px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.spec-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.spec-table tr { border-bottom: 1px solid #F0F0F0; }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 5px 4px; font-family: var(--font-body); text-transform: none; letter-spacing: 0; }
.spec-table td:first-child {
  color: #999;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 9px;
  width: 42%;
}
.spec-table td:last-child { color: var(--dark); font-weight: 500; }

.badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
.badge {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  border: 1px solid;
}
.badge-ai       { background: rgba(232,97,10,0.08); border-color: var(--orange); color: var(--orange); }
.badge-motion   { background: rgba(0,120,180,0.07); border-color: #0078B4; color: #0078B4; }
.badge-presence { background: rgba(0,160,80,0.07);  border-color: #00A050; color: #00A050; }
.badge-ble      { background: rgba(100,0,200,0.07); border-color: #6400C8; color: #6400C8; }

.sku-block {
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--light);
  border-radius: 2px;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: #888;
  line-height: 1.7;
  text-transform: none;
  letter-spacing: 0;
}
.sku-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--dark);
  display: block;
  margin-bottom: 4px;
}

.card-footer { padding: 12px 16px; border-top: 1px solid #F0F0F0; }
.enquire-btn {
  display: block;
  text-align: center;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 10px;
  border-radius: 2px;
  transition: background .2s;
}
.enquire-btn:hover { background: var(--dark); color: var(--orange); }

/* =============================================
   EVENTS PAGE
   ============================================= */
.events-section { padding: 52px 0 80px; background: var(--light); }
.events-intro {
  font-size: 14px;
  color: var(--gray);
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 40px;
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.event-card {
  background: var(--white);
  border-left: 4px solid var(--orange);
  padding: 24px 28px;
  margin-bottom: 18px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: box-shadow .2s;
}
.event-card:hover { box-shadow: 0 6px 24px rgba(232,97,10,0.11); }

.event-date-block {
  background: var(--orange);
  color: var(--white);
  min-width: 66px;
  text-align: center;
  padding: 10px 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.event-date-block.past { background: var(--gray); }
.event-day {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  display: block;
}
.event-month {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  display: block;
}

.event-info { flex: 1; }
.event-info h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 7px;
}
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
  margin-bottom: 10px;
  text-transform: none;
  letter-spacing: 0;
}
.event-info p {
  font-family: var(--font-body);
  font-size: 13px;
  color: #555;
  line-height: 1.65;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.event-status {
  flex-shrink: 0;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  border: 1px solid;
}
.status-upcoming { background: rgba(0,160,80,0.08); color: #00A050; border-color: #00A050; }
.status-past     { background: rgba(107,107,107,0.1); color: var(--gray); border-color: var(--gray); }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-section { padding: 52px 0 80px; background: var(--light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  align-items: start;
}

.contact-info-card {
  background: var(--dark);
  padding: 38px 32px;
  border-radius: 4px;
}
.contact-info-card h3 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 4px;
}
.contact-sub {
  font-family: var(--font-body);
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.contact-line {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.contact-icon { color: var(--orange); font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.contact-line-label {
  font-family: var(--font-body);
  font-size: 9px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}
.contact-line-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.contact-line-text a { color: rgba(255,255,255,0.62); transition: color .2s; }
.contact-line-text a:hover { color: var(--orange); }

.contact-form-card {
  background: var(--white);
  padding: 38px 32px;
  border-radius: 4px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.contact-form-card h3 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.form-sub {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 28px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 6px;
  display: block;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid #E0E0E0;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--dark);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--orange);
}
.form-textarea { min-height: 110px; resize: vertical; }
.form-submit {
  width: 100%;
  margin-top: 6px;
  background: var(--orange);
  color: var(--white);
  padding: 13px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s;
}
.form-submit:hover { background: var(--dark); }

/* Map placeholder */
.map-wrap { height: 260px; background: #1a1a2e; position: relative; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: var(--dark);
  border-top: 3px solid var(--orange);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 52px;
  padding: 56px 40px 48px;
}
.footer-brand-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 280px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 300;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  transition: color .2s;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.footer-col ul li a:hover { color: var(--orange); }

.footer-contact-item {
  display: flex;
  gap: 11px;
  margin-bottom: 12px;
  align-items: flex-start;
}
.footer-icon { color: var(--orange); font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.footer-contact-item span {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.42);
  line-height: 1.55;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.footer-bottom {
  background: #111;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p,
.footer-bottom span {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255,255,255,0.22);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

/* =============================================
   NOTICE / ALERT
   ============================================= */
.eg-notice {
  background: #fff8f4;
  border-left: 4px solid var(--orange);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-family: var(--font-body);
  font-size: 14px;
  border-radius: 0 2px 2px 0;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-inner { gap: 40px; }
}

@media (max-width: 768px) {
  .container, .hero-inner, .stats-inner, .footer-inner,
  .contact-grid { padding-left: 20px; padding-right: 20px; }

  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--dark); padding: 20px; gap: 0; border-top: 1px solid rgba(255,255,255,0.08); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-toggle { display: flex; }
  #site-header { position: relative; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-bg-video { display: none; }
  .hero-headline { font-size: 58px; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item + .stat-item::before { display: none; }

  .highlights-grid,
  .products-grid,
  .tech-features,
  .contact-grid,
  .footer-inner { grid-template-columns: 1fr; }

  .tech-inner { grid-template-columns: 1fr; }

  .cta-inner { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { gap: 32px; padding: 40px 20px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  .event-card { flex-wrap: wrap; }
  .event-status { order: -1; }
}

/* =============================================
   RESOURCES PAGE
   ============================================= */
.resources-section { padding: 52px 0 80px; background: var(--white); }

.res-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.res-filter-btn {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 2px solid var(--orange);
  background: transparent;
  color: var(--dark);
  cursor: pointer;
  border-radius: 2px;
  transition: all .2s;
}
.res-filter-btn:hover, .res-filter-btn.active {
  background: var(--orange);
  color: var(--white);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.resource-card {
  border: 1px solid #E8E8E8;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  transition: transform .25s, box-shadow .25s;
  position: relative;
}
.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(232,97,10,0.11);
}
.resource-card.resource-featured {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(232,97,10,0.15);
}
.resource-featured-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  z-index: 2;
}

.resource-thumb {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--light);
}
.resource-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.resource-card:hover .resource-thumb img { transform: scale(1.03); }

.resource-icon-wrap {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #F0F0F0;
}
.resource-icon { font-size: 52px; }

.resource-body { padding: 18px 16px; flex: 1; }
.resource-type-badge {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  border: 1px solid;
  display: inline-block;
  margin-bottom: 10px;
}
.resource-body h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 7px;
  line-height: 1.2;
  text-transform: uppercase;
}
.resource-body p {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.res-tag {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 2px 8px;
  background: rgba(232,97,10,0.09);
  color: var(--orange);
  border-radius: 2px;
}
.res-tag-gray {
  background: var(--light);
  color: var(--gray);
}

.resource-footer {
  padding: 12px 16px;
  border-top: 1px solid #F0F0F0;
}
.res-download-btn {
  display: block;
  text-align: center;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 10px;
  border-radius: 2px;
  transition: background .2s;
}
.res-download-btn:hover { background: var(--dark); color: var(--orange); }
.res-coming-soon {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: #ccc;
  padding: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.res-cta-strip {
  background: var(--light);
  padding: 24px 0;
  border-top: 1px solid #E8E8E8;
}
.res-cta-strip p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray);
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
}
.res-cta-strip a { color: var(--orange); font-weight: 600; }

/* =============================================
   EVENTS - Event thumbnail
   ============================================= */
.event-thumb {
  width: 100px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid #eee;
}
.event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-link {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
}
.event-link:hover { text-decoration: underline; }
.events-admin-note {
  margin-top: 36px;
  background: #fff8f4;
  border-left: 3px solid var(--orange);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray);
  border-radius: 0 3px 3px 0;
  display: none; /* Hidden on frontend, visible only in admin preview */
}

/* Responsive */
@media (max-width: 768px) {
  .resources-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .resources-grid { grid-template-columns: repeat(2,1fr); }
}
