/* ============================================================
   BIRCH PRIME — shared stylesheet
   ============================================================ */

:root{
  --dark:        #10161d;
  --dark-2:      #171f29;
  --dark-3:      #202b38;
  --accent:      #c8963e;
  --accent-2:    #e3b567;
  --light:       #f7f4ee;
  --paper:       #ffffff;
  --text:        #24282c;
  --muted:       #6d7278;
  --line:        #e6e1d6;
  --radius:      10px;
  --shadow:      0 10px 30px rgba(16,22,29,.08);
  --shadow-lg:   0 20px 50px rgba(16,22,29,.18);
  --maxw:        1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; max-width:100%; overflow-x:hidden; }
body{
  margin:0;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  color:var(--text);
  background:var(--light);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  max-width:100%;
  overflow-x:hidden;
}
h1,h2,h3,h4{
  font-family:'Poppins',Inter,sans-serif;
  line-height:1.2;
  margin:0 0 .5em;
  font-weight:600;
  letter-spacing:-.01em;
}
p{ margin:0 0 1em; color:var(--text); }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.eyebrow{
  display:inline-block;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:12px;
}
section{ padding:88px 0; }
.section-head{ max-width:640px; margin:0 auto 48px; text-align:center; }
.section-head h2{ font-size:clamp(1.7rem,3vw,2.4rem); }
.section-head p{ color:var(--muted); font-size:1.05rem; }
.section-head.left{ margin:0 0 40px; text-align:left; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 28px;
  border-radius:6px;
  font-weight:600;
  font-size:.92rem;
  letter-spacing:.02em;
  border:1px solid transparent;
  cursor:pointer;
  transition:all .2s ease;
}
.btn-primary{ background:var(--accent); color:#171006; }
.btn-primary:hover{ background:var(--accent-2); transform:translateY(-1px); }
.btn-outline{ border-color:rgba(255,255,255,.35); color:#fff; }
.btn-outline:hover{ background:rgba(255,255,255,.1); }
.btn-dark{ background:var(--dark); color:#fff; }
.btn-dark:hover{ background:var(--dark-3); }
.btn-block{ width:100%; justify-content:center; }

/* ---------------- Header ---------------- */
.topbar{
  background:var(--dark);
  color:#cfd3d8;
  font-size:.82rem;
}
.topbar .container{ display:flex; justify-content:space-between; align-items:center; padding-top:8px; padding-bottom:8px; }
.topbar a{ color:#cfd3d8; }
.topbar-links{ display:flex; gap:20px; align-items:center; }
.topbar-links span{ opacity:.55; }

.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(16,22,29,.97);
  backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:14px; padding-bottom:14px;
  gap:24px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{
  height:58px; width:auto;
  background:#fff;
  padding:8px 16px;
  border-radius:8px;
  box-shadow:0 4px 14px rgba(0,0,0,.25);
}
.brand-text{ font-family:'Poppins',sans-serif; font-weight:700; letter-spacing:.03em; color:#fff; font-size:1.15rem; }
.brand-text span{ color:var(--accent); }

.footer-logo{
  height:48px; width:auto;
  background:#fff;
  padding:8px 16px;
  border-radius:8px;
}

.social-row{ display:flex; gap:12px; margin-top:12px; }
.social-row a{
  width:38px; height:38px; border-radius:50%;
  background:rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center;
  color:#e7e6e2; font-size:1.05rem;
  transition:background .2s ease, color .2s ease;
}
.social-row a:hover{ background:var(--accent); color:#171006; }

.nav{ display:flex; align-items:center; gap:34px; }
.nav a{
  color:#e7e6e2; font-weight:500; font-size:.94rem;
  padding:6px 0; position:relative;
}
.nav a.active,.nav a:hover{ color:var(--accent-2); }
.nav a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-4px; height:2px; background:var(--accent);
}
.header-actions{ display:flex; align-items:center; gap:18px; }
.phone-pill{ display:flex; align-items:center; gap:8px; color:#e7e6e2; font-size:.9rem; font-weight:600; }
.phone-pill i{ color:var(--accent); }

.lang-switch{ display:flex; border:1px solid rgba(255,255,255,.2); border-radius:20px; overflow:hidden; }
.lang-switch a{ padding:6px 13px; font-size:.78rem; font-weight:700; letter-spacing:.04em; color:#b8bcc2; }
.lang-switch a.active{ background:var(--accent); color:#171006; }

.nav-toggle{
  display:none; background:none; border:0; color:#fff; font-size:1.4rem; cursor:pointer;
  width:40px; height:40px; align-items:center; justify-content:center; flex-shrink:0;
}
.nav-toggle::before{
  /* Always-visible fallback glyph (three bars) so the button has a real
     hit target and is legible even if the icon font fails to load. */
  content:""; display:block; width:22px; height:2px; background:currentColor;
  box-shadow:0 -7px 0 currentColor, 0 7px 0 currentColor;
}
.nav-toggle i{ display:none; }

/* ---------------- Hero ---------------- */
.hero{
  position:relative;
  min-height:640px;
  display:flex; align-items:center;
  color:#fff;
  background:linear-gradient(rgba(10,14,19,.72),rgba(10,14,19,.82)),
             url('../img/hero.jpg') center/cover no-repeat;
}
.hero-inner{ max-width:700px; }
.hero h1{ font-size:clamp(2.2rem,4.6vw,3.4rem); color:#fff; }
.hero h1 em{ color:var(--accent-2); font-style:normal; }
.hero p.lead{ font-size:1.15rem; color:#dcdfe3; max-width:560px; }
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; margin-top:28px; }
.hero-stats{ display:flex; gap:36px; margin-top:56px; flex-wrap:wrap; }
.hero-stats div strong{ display:block; font-family:'Poppins',sans-serif; font-size:1.6rem; color:var(--accent-2); }
.hero-stats div span{ font-size:.82rem; color:#b7bbc1; text-transform:uppercase; letter-spacing:.06em; }

/* Page header (inner pages) */
.page-hero{
  background:var(--dark);
  color:#fff;
  padding:64px 0 54px;
  background-image:linear-gradient(rgba(10,14,19,.86),rgba(10,14,19,.9)),url('../img/hero.jpg');
  background-size:cover; background-position:center;
}
.page-hero .crumb{ font-size:.85rem; color:#aeb2b8; margin-bottom:10px; }
.page-hero .crumb a:hover{ color:var(--accent-2); }
.page-hero h1{ color:#fff; font-size:clamp(1.8rem,3.6vw,2.6rem); margin:0; }
.page-hero p{ color:#c7cbd1; max-width:600px; margin-top:10px; }

/* ---------------- Value props ---------------- */
.value-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:-90px; position:relative; z-index:2; }
.value-card{
  background:var(--paper); border-radius:var(--radius); padding:30px 26px;
  box-shadow:var(--shadow-lg); border-top:3px solid var(--accent);
}
.value-card .ic{ font-size:1.6rem; color:var(--accent); margin-bottom:14px; }
.value-card h3{ font-size:1.05rem; }
.value-card p{ color:var(--muted); font-size:.93rem; margin:0; }

/* ---------------- Products ---------------- */
.product-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.product-grid.cols-2{ grid-template-columns:repeat(2,1fr); }
.product-card{
  background:var(--paper); border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow); border:1px solid var(--line);
  transition:transform .2s ease, box-shadow .2s ease;
  display:flex; flex-direction:column;
}
.product-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.product-media{ position:relative; background:#eee7d8; aspect-ratio:4/3; overflow:hidden; }
.product-media img{ width:100%; height:100%; object-fit:cover; }
.badge{
  position:absolute; top:14px; left:14px;
  background:var(--accent); color:#171006; font-size:.68rem; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase; padding:5px 10px; border-radius:20px;
}
.sku-tag{ position:absolute; top:14px; right:14px; background:rgba(16,22,29,.75); color:#fff; font-size:.68rem; padding:5px 9px; border-radius:20px; }
.product-body{ padding:22px 22px 24px; display:flex; flex-direction:column; gap:10px; flex:1; }
.product-body h3{ font-size:1.05rem; margin:0; }
.product-body p{ color:var(--muted); font-size:.9rem; margin:0; flex:1; }
.product-body .btn{ align-self:flex-start; margin-top:8px; padding:10px 20px; font-size:.82rem; }

/* ---------------- Industries ---------------- */
.industry-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.industry-card{ background:var(--dark); color:#fff; border-radius:var(--radius); padding:34px 28px; }
.industry-card .ic{ width:52px; height:52px; border-radius:50%; background:rgba(200,150,62,.15); color:var(--accent-2); display:flex; align-items:center; justify-content:center; font-size:1.3rem; margin-bottom:18px; }
.industry-card h3{ color:#fff; font-size:1.15rem; }
.industry-card p{ color:#aeb3b9; font-size:.92rem; margin:0; }

/* ---------------- Features / checklist ---------------- */
.features{ background:var(--dark); color:#fff; }
.features .section-head h2{ color:#fff; }
.features .section-head p{ color:#aeb3b9; }
.feature-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px 40px; max-width:820px; margin:0 auto; }
.feature-list li{ display:flex; gap:12px; align-items:flex-start; font-size:.98rem; color:#e2e4e7; }
.feature-list li i{ color:var(--accent-2); margin-top:3px; }

/* ---------------- Blog ---------------- */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.blog-card{ background:var(--paper); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--line); display:flex; flex-direction:column; }
.blog-media{ aspect-ratio:16/10; overflow:hidden; background:#eee; }
.blog-media img{ width:100%; height:100%; object-fit:cover; transition:transform .3s ease; }
.blog-card:hover .blog-media img{ transform:scale(1.05); }
.blog-body{ padding:22px; display:flex; flex-direction:column; gap:8px; flex:1; }
.blog-date{ font-size:.75rem; text-transform:uppercase; letter-spacing:.06em; color:var(--accent); font-weight:700; }
.blog-body h3{ font-size:1.05rem; }
.blog-body p{ color:var(--muted); font-size:.9rem; flex:1; }
.blog-body .readmore{ font-weight:700; font-size:.85rem; color:var(--dark); display:inline-flex; align-items:center; gap:6px; }
.blog-body .readmore i{ color:var(--accent); }

/* ---------------- CTA band ---------------- */
.cta-band{
  background:linear-gradient(120deg,var(--dark),#233042);
  color:#fff; border-radius:var(--radius);
  padding:52px 48px; display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;
}
.cta-band h2{ color:#fff; font-size:1.6rem; margin-bottom:6px; }
.cta-band p{ color:#c3c7cd; margin:0; }

/* ---------------- Footer ---------------- */
.site-footer{ background:var(--dark); color:#aeb3b9; padding:64px 0 0; font-size:.92rem; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:36px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-grid h4{ color:#fff; font-size:.95rem; margin-bottom:16px; }
.footer-grid ul li{ margin-bottom:10px; }
.footer-grid ul li a:hover{ color:var(--accent-2); }
.footer-brand .brand-text{ color:#fff; }
.footer-brand p{ color:#8a8f96; margin-top:14px; font-size:.88rem; }
.footer-contact li{ display:flex; gap:10px; margin-bottom:14px; color:#c3c7cd; }
.footer-contact li i{ color:var(--accent); margin-top:3px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:20px 0; font-size:.82rem; color:#7d828a; flex-wrap:wrap; gap:10px; }
.footer-bottom a{ color:#7d828a; }
.footer-bottom a:hover{ color:var(--accent-2); }
.back-top{ background:var(--dark-3); width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; }

/* ---------------- Generic content blocks ---------------- */
.two-col{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:start; }
.prose h2{ font-size:1.5rem; margin-top:1.4em; }
.prose h3{ font-size:1.15rem; margin-top:1.2em; }
.prose p{ color:var(--text); }
.prose ul{ margin:0 0 1.2em; padding-left:0; }
.prose ul li{ display:flex; gap:10px; margin-bottom:8px; }
.prose ul li i{ color:var(--accent); margin-top:5px; }

.spec-table{ width:100%; border-collapse:collapse; margin:18px 0 8px; font-size:.92rem; }
.spec-table tr{ border-bottom:1px solid var(--line); }
.spec-table td{ padding:11px 4px; }
.spec-table td:first-child{ color:var(--muted); width:46%; }
.spec-table td:last-child{ font-weight:600; }

.gallery{ display:grid; grid-template-columns:1fr; gap:12px; }
.gallery-main{ border-radius:var(--radius); overflow:hidden; aspect-ratio:1/1; background:#eee7d8; }
.gallery-main img{ width:100%; height:100%; object-fit:cover; }
.gallery-thumbs{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.gallery-thumbs div{ border-radius:8px; overflow:hidden; aspect-ratio:1/1; background:#eee7d8; }
.gallery-thumbs img{ width:100%; height:100%; object-fit:cover; }

.info-card{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:24px; }
.info-card h4{ font-size:.95rem; margin-bottom:6px; }
.info-card p{ color:var(--muted); font-size:.9rem; }

.contact-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:40px; align-items:stretch; }
.contact-info{ display:flex; flex-direction:column; gap:20px; }
.contact-item{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:22px 24px; display:flex; gap:16px; align-items:flex-start; }
.contact-item .ic{ width:44px; height:44px; border-radius:50%; background:rgba(200,150,62,.12); color:var(--accent); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-item h4{ font-size:.9rem; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); margin-bottom:4px; }
.contact-item p, .contact-item a{ font-weight:600; color:var(--text); font-size:1.02rem; }
.map-wrap{ border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); min-height:340px; }
.map-wrap iframe{ width:100%; height:100%; min-height:340px; border:0; }

.badge-pill{ display:inline-block; background:rgba(200,150,62,.12); color:var(--accent); font-size:.75rem; font-weight:700; letter-spacing:.04em; padding:5px 12px; border-radius:20px; margin-bottom:10px; }

.breadcrumb-strip{ background:var(--paper); border-bottom:1px solid var(--line); padding:14px 0; font-size:.85rem; color:var(--muted); }
.breadcrumb-strip a:hover{ color:var(--accent); }

/* Sorting/listing intro row */
.list-toolbar{ display:flex; justify-content:space-between; align-items:center; margin-bottom:36px; flex-wrap:wrap; gap:12px; color:var(--muted); font-size:.9rem; }

/* Responsive */
@media (max-width: 980px){
  .nav{ display:none; }
  .nav-toggle{ display:block; }
  .value-grid{ grid-template-columns:1fr; margin-top:30px; }
  .product-grid, .product-grid.cols-2, .industry-grid, .blog-grid{ grid-template-columns:1fr 1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .two-col, .contact-grid{ grid-template-columns:1fr; }
  .feature-list{ grid-template-columns:1fr; }
  .topbar{ display:none; }

  /* Header: only logo, language switch and the hamburger fit comfortably
     on phone/tablet widths — the phone number and full CTA button are
     reachable via the mobile menu instead, so hide them here to stop the
     header from overflowing horizontally. */
  .site-header .container{ padding-top:10px; padding-bottom:10px; }
  .phone-pill{ display:none; }
  .header-actions{ gap:10px; }
  .header-actions > .btn-primary{ display:none; }
  .brand img{ height:42px; padding:6px 12px; }
}
@media (max-width: 620px){
  .product-grid, .product-grid.cols-2, .industry-grid, .blog-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  section{ padding:60px 0; }
  .cta-band{ padding:36px 26px; }
  .hero{ min-height:auto; padding:100px 0 60px; }
}

/* Mobile nav drawer */
.mobile-nav{
  display:none; position:fixed; inset:0; z-index:200; background:var(--dark);
  padding:20px 24px; overflow-y:auto;
}
.mobile-nav.open{ display:block; }
.mobile-nav .mnav-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:30px; }
.mobile-nav a.close-btn{
  color:#fff; font-size:1.6rem;
  width:40px; height:40px; display:flex; align-items:center; justify-content:center;
  padding:0; border-bottom:none; position:relative;
}
.mobile-nav a.close-btn i{ display:none; }
.mobile-nav a.close-btn::before, .mobile-nav a.close-btn::after{
  content:""; position:absolute; width:22px; height:2px; background:#fff;
}
.mobile-nav a.close-btn::before{ transform:rotate(45deg); }
.mobile-nav a.close-btn::after{ transform:rotate(-45deg); }
.mobile-nav a{ display:block; color:#e7e6e2; font-size:1.15rem; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.mnav-logo{ height:34px; width:auto; background:#fff; padding:5px 10px; border-radius:6px; }
.mnav-social{ display:flex; gap:12px; margin-top:24px; }
.mnav-social a{
  width:40px; height:40px; border-radius:50%;
  background:rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center;
  color:#e7e6e2; font-size:1.1rem;
}

/* Toast (mailto clipboard fallback) */
.bp-toast{
  position:fixed; left:50%; bottom:28px; transform:translateX(-50%) translateY(12px);
  background:var(--dark); color:#fff; padding:13px 22px; border-radius:8px;
  font-size:.88rem; font-weight:500; box-shadow:var(--shadow-lg);
  opacity:0; transition:opacity .25s ease, transform .25s ease;
  z-index:999; pointer-events:none; white-space:nowrap;
}
.bp-toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }
