/* ============================================================
   Impact Composites – Main Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --green: #3ab549;
  --green-dark: #2e9a3d;
  --green-light: #e8f7ea;
  --dark: #1a1a1a;
  --dark-2: #222;
  --gray: #6b7280;
  --gray-light: #f5f5f5;
  --border: #e5e7eb;
  --white: #ffffff;
  --font-main: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --shadow: 0 4px 20px rgba(0,0,0,.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,.15);
  --radius: 8px;
  --radius-lg: 14px;
  --transition: .25s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.25; font-weight: 700; }

/* ---------- Utilities ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--gray { background: #f7f8f9; }
.section--dark { background: #111; color: var(--white); }
.section__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--green);
  margin-bottom: 14px;
}
.section__title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 18px; letter-spacing: -.02em; font-weight: 800; }
.section__sub { font-size: 16px; color: var(--gray); max-width: 660px; margin-bottom: 44px; line-height: 1.7; }
.text-center { text-align: center; }
.text-center .section__sub { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.flex { display: flex; }
.flex--center { align-items: center; justify-content: center; }
.flex--between { align-items: center; justify-content: space-between; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-8 { margin-bottom: 32px; }
.hidden { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: .02em;
}
.btn--green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}
.btn--outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn--outline:hover {
  background: var(--green);
  color: var(--white);
}
.btn--white {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}
.btn--white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--sm { padding: 9px 20px; font-size: 13px; }
.btn svg, .btn i { flex-shrink: 0; }

/* ============================================================
   HEADER & NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.header-top {
  background: #111;
  color: rgba(255,255,255,.75);
  font-size: 13px;
  padding: 9px 0;
  letter-spacing: .01em;
}
.header-top .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.header-top a:hover { color: var(--green); }
.header-top-links { display: flex; align-items: center; gap: 20px; }
.header-top-links a { display: flex; align-items: center; gap: 6px; }
.header-main { padding: 0; }
.header-main .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; }
.site-logo { display: flex; align-items: center; }
.site-logo__img { height: 70px; width: 180px; object-fit: contain; object-position: left center; display: block; }
.site-logo-text {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.02em;
}
.site-logo-text span { color: var(--green); }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 0; }
.nav-item { position: relative; }
.nav-item > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 30px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  letter-spacing: .01em;
  transition: color var(--transition);
}
.nav-item > a:hover,
.nav-item.active > a { color: var(--green); }
.nav-item > a .arrow {
  font-size: 10px;
  transition: transform var(--transition);
}
.nav-item:hover > a .arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-top: 3px solid var(--green);
  box-shadow: var(--shadow-hover);
  border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 100;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 11px 20px;
  font-size: 13.5px;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), color var(--transition);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--green-light); color: var(--green); padding-left: 26px; }

/* Mega Menu */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: -200px;
  width: 720px;
  background: var(--white);
  border-top: 3px solid var(--green);
  box-shadow: var(--shadow-hover);
  border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 100;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.nav-item:hover .mega-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green);
  margin-bottom: 8px;
  padding: 0 8px;
}
.mega-dropdown a {
  display: block;
  padding: 8px;
  font-size: 13px;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
}
.mega-dropdown a:hover { background: var(--green-light); color: var(--green); }

/* Quote button */
.header-quote {
  background: var(--green);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(58,181,73,.3);
}
.header-quote:hover {
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(58,181,73,.45);
  transform: translateY(-1px);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all var(--transition);
}
.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); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.5);
  z-index: 999;
}
.mobile-nav.open { display: block; }
.mobile-nav-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 90vw);
  height: 100%;
  background: var(--white);
  overflow-y: auto;
  padding: 24px;
  box-shadow: var(--shadow-hover);
}
.mobile-nav-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}
.mobile-nav-links a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.mobile-nav-links .sub-links { padding-left: 16px; }
.mobile-nav-links .sub-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray);
}

/* ============================================================
   HERO / SLIDER
   ============================================================ */
.hero {
  position: relative;
  height: min(700px, 90vh);
  overflow: hidden;
  background: var(--dark);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  display: flex;
  align-items: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-slide__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.25) 100%);
}
.hero-slide__content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 620px;
  padding: 0 24px;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
}
.hero-slide__tag {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.hero-slide__title {
  font-size: clamp(32px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
  letter-spacing: -.02em;
}
.hero-slide__desc {
  font-size: 17px;
  color: rgba(255,255,255,.88);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}
.hero-controls {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.hero-dot.active { background: var(--green); width: 28px; border-radius: 5px; }
.hero-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 16px;
}
.hero-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.4);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: all var(--transition);
  font-size: 18px;
}
.hero-arrow:hover { background: var(--green); border-color: var(--green); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: #111;
  padding: 36px 0;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  text-align: center;
}
.stat-item { padding: 16px 20px; border-right: 1px solid rgba(255,255,255,.08); }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  letter-spacing: -.02em;
}
.stat-unit { font-size: 18px; margin-top: 6px; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 8px; letter-spacing: .02em; }

/* ============================================================
   PRODUCT CATEGORIES
   ============================================================ */
.product-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.product-card__img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-card__img { transform: scale(1.04); }
.product-card__img-wrap { overflow: hidden; }
.product-card__body { padding: 24px; }
.product-card__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--green);
  margin-bottom: 10px;
}
.product-card__title { font-size: 18px; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
.product-card__desc { font-size: 14px; color: var(--gray); line-height: 1.65; }
.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}
.product-card__link:hover { gap: 10px; }
.product-card__arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all var(--transition);
}
.product-card:hover .product-card__arrow { background: var(--green-dark); transform: translateX(4px); }

/* ============================================================
   SOLUTION TABS
   ============================================================ */
.solution-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.solution-tab {
  padding: 9px 22px;
  border: 2px solid var(--border);
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
}
.solution-tab:hover,
.solution-tab.active {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}
.solution-panel { display: none; }
.solution-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.solution-panel__img img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.solution-panel__title { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.solution-panel__desc { color: var(--gray); margin-bottom: 20px; }
.solution-features { display: grid; gap: 12px; margin-bottom: 24px; }
.solution-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.solution-feature__icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}
.solution-feature__text strong { display: block; font-size: 14px; margin-bottom: 2px; }
.solution-feature__text span { font-size: 13px; color: var(--gray); }

/* ============================================================
   ADVANTAGES
   ============================================================ */
.advantage-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.advantage-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--green);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition);
}
.advantage-card:hover::before { transform: scaleY(1); }
.advantage-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-3px); }
.advantage-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 22px;
  margin-bottom: 16px;
}
.advantage-card h3 { font-size: 17px; margin-bottom: 10px; }
.advantage-card p { font-size: 13.5px; color: var(--gray); line-height: 1.65; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(58,181,73,.08);
}
.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner__title { font-size: clamp(22px, 3.5vw, 36px); font-weight: 800; color: var(--white); margin-bottom: 10px; }
.cta-banner__sub { color: rgba(255,255,255,.65); font-size: 15px; }
.cta-banner__actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }
.cta-contact {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 14px 20px;
  color: var(--white);
  transition: all var(--transition);
}
.cta-contact-item:hover { background: rgba(58,181,73,.15); border-color: var(--green); }
.cta-contact-item__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.cta-contact-item small { font-size: 11px; color: rgba(255,255,255,.55); display: block; }
.cta-contact-item strong { font-size: 15px; }

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.blog-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card__img { transform: scale(1.04); }
.blog-card__img-wrap { overflow: hidden; }
.blog-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card__meta { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.blog-card__cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green);
  background: var(--green-light);
  padding: 3px 10px;
  border-radius: 3px;
}
.blog-card__date { font-size: 12px; color: var(--gray); }
.blog-card__title { font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-card__title a:hover { color: var(--green); }
.blog-card__excerpt { font-size: 13.5px; color: var(--gray); flex: 1; margin-bottom: 16px; }
.blog-card__read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}
.blog-card__read:hover { gap: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #111;
  color: rgba(255,255,255,.75);
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo { margin-bottom: 14px; }
.footer-logo img { height: 48px; width: auto; filter: brightness(0) invert(1); }
.footer-about { font-size: 13.5px; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--green); color: var(--white); }
.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--green);
}
.footer-links { display: grid; gap: 10px; }
.footer-links a { font-size: 13.5px; transition: all var(--transition); }
.footer-links a:hover { color: var(--green); padding-left: 6px; }
.footer-contact-items { display: grid; gap: 14px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; font-size: 13.5px; }
.footer-contact-item i { color: var(--green); font-size: 15px; margin-top: 3px; flex-shrink: 0; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a:hover { color: var(--green); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: #111;
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
  color: var(--white);
}
/* Dynamic background layer (set via inline style from banner.php helper) */
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  /* opacity is set inline by render_page_banner() */
}
/* Legacy ::after fallback (kept for any pages not yet migrated) */
.page-hero::after {
  content: '';
  position: absolute;
  right: 0; top: 0;
  width: 50%;
  height: 100%;
  opacity: .15;
}
.page-hero__content { position: relative; z-index: 2; }
.page-hero__tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--green);
  margin-bottom: 14px;
}
.page-hero__title { font-size: clamp(28px, 5vw, 52px); font-weight: 800; margin-bottom: 16px; line-height: 1.1; }
.page-hero__desc { font-size: 16px; color: rgba(255,255,255,.75); max-width: 560px; margin-bottom: 28px; }
.page-hero__badges { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.page-hero__badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 8px 18px;
  font-size: 13px;
}
.page-hero__badge strong { color: var(--green); display: block; font-size: 15px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { opacity: .4; }

/* ============================================================
   SPEC TABLE
   ============================================================ */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th {
  background: var(--dark);
  color: var(--white);
  text-align: left;
  padding: 13px 18px;
  font-weight: 600;
  font-size: 13px;
}
.spec-table td { padding: 12px 18px; border-bottom: 1px solid var(--border); }
.spec-table tr:nth-child(even) td { background: var(--gray-light); }
.spec-table tr:hover td { background: var(--green-light); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ============================================================
   FEATURES GRID (product detail)
   ============================================================ */
.features-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.feature-stat {
  text-align: center;
  padding: 28px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.feature-stat:hover { border-color: var(--green); background: var(--green-light); }
.feature-stat__num { font-size: 42px; font-weight: 800; color: var(--green); line-height: 1; }
.feature-stat__unit { font-size: 16px; color: var(--gray); }
.feature-stat__label { font-size: 13px; color: var(--gray); margin-top: 8px; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 13px; font-weight: 600; color: var(--dark); }
.form-label .req { color: var(--green); margin-left: 3px; }
.form-control {
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-main);
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(58,181,73,.12);
}
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { cursor: pointer; }
.form-submit { margin-top: 10px; }
.form-note { font-size: 12px; color: var(--gray); margin-top: 10px; }
.alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 20px;
}
.alert--success { background: var(--green-light); color: #1e6a27; border-left: 4px solid var(--green); }
.alert--error { background: #fef2f2; color: #b91c1c; border-left: 4px solid #ef4444; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item.open { box-shadow: var(--shadow); border-color: var(--green); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  gap: 16px;
  user-select: none;
  transition: background var(--transition);
  /* button reset */
  background: none;
  border: none;
  text-align: left;
  color: inherit;
  font-family: inherit;
  line-height: inherit;
}
.faq-question:hover { background: var(--gray-light); }
.faq-item.open .faq-question { background: var(--green-light); color: var(--green); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: all var(--transition);
}
.faq-item.open .faq-icon { background: var(--green); color: var(--white); transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 22px 20px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-header { background: var(--gray-light); padding: 50px 0; margin-bottom: 0; }
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 60px 0; }
.blog-list { display: grid; gap: 28px; }
.blog-sidebar { display: grid; gap: 28px; align-content: start; }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.sidebar-widget-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green);
}
.sidebar-cats { display: grid; gap: 6px; }
.sidebar-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  transition: color var(--transition);
}
.sidebar-cats a:hover { color: var(--green); }
.sidebar-cats a span {
  background: var(--gray-light);
  border-radius: 10px;
  padding: 1px 8px;
  font-size: 12px;
}
.sidebar-recent { display: grid; gap: 14px; }
.sidebar-post { display: flex; gap: 12px; align-items: flex-start; }
.sidebar-post img { width: 70px; height: 55px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.sidebar-post__title { font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
.sidebar-post__title a:hover { color: var(--green); }
.sidebar-post__date { font-size: 11px; color: var(--gray); }

/* Single blog post */
.post-body { max-width: 800px; }
.post-body h2 { font-size: 24px; margin: 36px 0 14px; }
.post-body h3 { font-size: 20px; margin: 28px 0 12px; }
.post-body p { margin-bottom: 18px; line-height: 1.8; color: #374151; }
.post-body ul, .post-body ol { margin: 0 0 18px 22px; line-height: 1.8; color: #374151; }
.post-body img { border-radius: var(--radius-lg); margin: 24px 0; width: 100%; }
.post-body blockquote {
  border-left: 4px solid var(--green);
  padding: 16px 20px;
  background: var(--green-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-style: italic;
  color: #374151;
}
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.post-tag {
  background: var(--gray-light);
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  transition: all var(--transition);
}
.post-tag:hover { background: var(--green); color: var(--white); }
.post-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  color: var(--gray);
  font-size: 13px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.post-meta span { display: flex; align-items: center; gap: 6px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.page-link {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--border);
  background: var(--white);
  transition: all var(--transition);
  cursor: pointer;
}
.page-link:hover,
.page-link.active { border-color: var(--green); background: var(--green); color: var(--white); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 9px; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -23px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--green);
}
.timeline-year {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 6px;
}
.timeline-content { font-size: 14px; color: var(--gray); }

.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.cert-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.cert-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cert-item img { height: 100px; object-fit: contain; margin: 0 auto 12px; }
.cert-item p { font-size: 12px; color: var(--gray); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: all var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.6); color: var(--white); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .solution-panel.active { grid-template-columns: 1fr; }
  .solution-panel__img { order: -1; }
  .blog-layout { grid-template-columns: 1fr; }
  .mega-dropdown { left: 0; width: min(600px, 90vw); grid-template-columns: 1fr 1fr; }
  .site-logo__img { height: 60px; width: 155px; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .header-top { display: none; }
  .hero { height: min(580px, 85vh); }
  .cta-banner .container { flex-direction: column; text-align: center; }
  .cta-banner__actions { justify-content: center; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .stat-item:last-child { border-bottom: none; }
  .site-logo__img { height: 52px; width: 135px; }
  .header-main .container { min-height: 72px; }
}
@media (max-width: 480px) {
  .hero-slide__title { font-size: clamp(26px, 7vw, 38px); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .features-compare { grid-template-columns: repeat(2, 1fr); }
  .site-logo__img { height: 44px; width: 115px; }
}
