/* ==========================================================================
   Smart Oil Refinery — design tokens & shared styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,500&display=swap');

:root{
  /* --- color: refined-crude palette. dark ink, cool steel paper, amber accent (colour of refined oil) --- */
  --ink:        #14181d;
  --ink-soft:   #262e35;
  --steel-700:  #3a4753;
  --steel-500:  #64737f;
  --steel-300:  #a7b2ba;
  --paper:      #eceeee;
  --paper-2:    #e2e6e7;
  --paper-3:    #d9dee0;
  --white:      #ffffff;
  --amber:      #c17f2a;
  --amber-deep: #8f5a18;
  --amber-pale: #f3e2c8;
  --line:       rgba(20,24,29,.13);
  --line-dark:  rgba(255,255,255,.14);

  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --container: 1180px;
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(20,24,29,.05), 0 2px 6px -2px rgba(20,24,29,.08);
  --shadow-md: 0 6px 16px -6px rgba(20,24,29,.16), 0 2px 6px -2px rgba(20,24,29,.08);
  --shadow-lg: 0 24px 48px -20px rgba(20,24,29,.32), 0 4px 12px -4px rgba(20,24,29,.14);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; }

h1,h2,h3,h4{
  font-family:var(--font-head);
  font-weight:600;
  line-height:1.12;
  margin:0 0 .5em;
  letter-spacing:.002em;
}
h1{ font-size:clamp(2.4rem,4.6vw,4.1rem); font-weight:700; }
h2{ font-size:clamp(1.7rem,3vw,2.5rem); }
h3{ font-size:1.28rem; }
p{ margin:0 0 1em; color:var(--steel-700); max-width:64ch; }

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 28px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-body);
  font-weight:700;
  font-size:.86rem;
  color:var(--amber-deep);
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";
  width:22px; height:2px;
  background:var(--amber);
  display:inline-block;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 26px;
  font-family:var(--font-body);
  font-weight:700;
  font-size:.95rem;
  border-radius:var(--radius-sm);
  border:1.5px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn-amber{ background:var(--amber); color:var(--ink); }
.btn-amber:hover{ background:#ad701f; }
.btn-outline{ background:transparent; border-color:var(--line-dark); color:inherit; }
.btn-outline:hover{ border-color:var(--amber); color:var(--amber); }
.btn-outline-dark{ background:transparent; border-color:var(--line); color:var(--ink); }
.btn-outline-dark:hover{ border-color:var(--amber-deep); color:var(--amber-deep); }
.btn-block{ width:100%; }

/* ---------------------------------- header ---------------------------- */
.topbar{
  background:var(--ink);
  color:var(--paper-3);
  font-size:.82rem;
}
.topbar .container, .site-header .container{ max-width:1400px; }
.topbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:8px; padding-bottom:8px;
  gap:16px;
  flex-wrap:wrap;
}
.topbar-left, .topbar-right{ display:flex; align-items:center; gap:18px; }
.topbar a:hover{ color:var(--amber); }
.lang-switch{ display:flex; gap:2px; }
.lang-switch button{
  background:transparent; border:1px solid var(--line-dark); color:var(--paper-3);
  padding:3px 9px; font-size:.76rem; font-weight:700; cursor:pointer; border-radius:2px;
  letter-spacing:.03em;
}
.lang-switch button.active{ background:var(--amber); border-color:var(--amber); color:var(--ink); }

.site-header{
  background:var(--paper);
  border-bottom:1px solid var(--line);
  position:sticky; top:0; z-index:40;
}
/* The header is injected into #site-header alongside the (non-sticky)
   topbar. Without this, that wrapper div is only as tall as its own
   content (topbar + header), so it scrolls out of view almost
   immediately and drags the "sticky" header away with it — display:contents
   removes the wrapper from the box model so .site-header's containing
   block is the full page instead, and the sticky pin works properly. */
#site-header{ display:contents; }
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:16px; padding-bottom:16px; gap:24px;
}
.brand{ display:flex; align-items:center; gap:11px; min-width:0; flex:1 1 auto; }
.brand-mark{
  width:38px; height:38px; background:var(--ink); color:var(--amber);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-head); font-weight:700; font-size:1.15rem;
  border-radius:3px; flex:none;
}
.brand-name{
  font-family:var(--font-head); font-weight:600; font-size:1.18rem; letter-spacing:.01em;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0;
}
.brand-tag{ display:none; }

.main-nav{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; flex:none; }
.main-nav a{
  font-size:.92rem; font-weight:600; color:var(--steel-700);
  padding:6px 0; border-bottom:2px solid transparent; white-space:nowrap;
}
.main-nav a:hover, .main-nav a.active{ color:var(--ink); border-color:var(--amber); }

.header-cta{ display:flex; align-items:center; gap:14px; flex:none; }
.header-cta .btn-amber svg{ display:none; width:16px; height:16px; }

.nav-toggle{
  display:none; background:none; border:1px solid var(--line); border-radius:3px;
  width:42px; height:38px; cursor:pointer; padding:0; flex:none;
  flex-direction:column; align-items:center; justify-content:center; gap:4px;
}
.nav-toggle span{ width:20px; height:2px; background:var(--ink); display:block; }

/* ---------------------------------- footer ----------------------------- */
.site-footer{ background:var(--ink); color:var(--paper-3); margin-top:100px; }
.footer-top{ padding:64px 0 40px; border-bottom:1px solid var(--line-dark); }
.footer-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px;
}
.footer-brand .brand-name{ color:var(--white); }
.footer-brand .brand-mark{ background:var(--amber); color:var(--ink); }
.footer-brand p{ color:var(--steel-300); margin-top:14px; font-size:.92rem; }
.footer-col h4{
  font-family:var(--font-body); font-size:.78rem; letter-spacing:.04em;
  color:var(--amber); font-weight:700; margin-bottom:16px; text-transform:none;
}
.footer-col ul li{ margin-bottom:10px; }
.footer-col a{ color:var(--paper-3); font-size:.9rem; }
.footer-col a:hover{ color:var(--amber); }
.footer-col p{ color:var(--paper-3); font-size:.9rem; margin-bottom:6px; }
.footer-bottom{
  padding:22px 0; display:flex; justify-content:space-between; align-items:center;
  font-size:.82rem; color:var(--steel-300); flex-wrap:wrap; gap:10px;
}
.footer-social{ display:flex; gap:14px; }
.footer-social a{
  width:32px; height:32px; border:1px solid var(--line-dark); border-radius:50%;
  display:flex; align-items:center; justify-content:center; color:var(--paper-3);
}
.footer-social a:hover{ border-color:var(--amber); color:var(--amber); }
.footer-legal{
  padding:16px 0 30px; border-top:1px solid var(--line-dark);
  display:flex; flex-wrap:wrap; gap:6px 18px;
  font-size:.76rem; color:var(--steel-500);
}

/* form feedback states (contact + callback forms) */
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; pointer-events:none; }
.form-status{ font-size:.9rem; margin-top:14px; min-height:1.2em; }
.form-status-success{ color:#2f7d4f; }
.form-status-error{ color:#b3401f; }

/* about page — company legal details */
.legal-card{
  border:1px solid var(--line); border-radius:var(--radius-md); background:var(--paper);
  padding:30px 32px;
}
.legal-card h3{ margin-bottom:18px; }
.legal-card dl{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin:0; }
.legal-card dt{ font-size:.76rem; text-transform:uppercase; letter-spacing:.04em; color:var(--steel-500); margin-bottom:4px; }
.legal-card dd{ margin:0; font-weight:600; color:var(--ink); }

/* blog — single article view */
.back-link{ display:inline-flex; align-items:center; gap:6px; font-weight:700; color:var(--amber-deep); margin-bottom:28px; }
.back-link:hover{ text-decoration:underline; }
.article-hero{
  aspect-ratio:21/9; border-radius:var(--radius-lg); overflow:hidden; position:relative;
  box-shadow:var(--shadow-md); margin-bottom:40px; background:linear-gradient(155deg,var(--steel-700),var(--ink));
}
.article-hero img{ width:100%; height:100%; object-fit:cover; display:block; }
.article-body{ max-width:74ch; margin:0 auto; }
.article-body p{ font-size:1.03rem; line-height:1.75; color:var(--steel-700); margin-bottom:20px; }
.article-body h3{ margin:36px 0 14px; font-size:1.25rem; }
.article-body ul{ margin:0 0 22px; padding-left:22px; }
.article-body ul li{ margin-bottom:10px; line-height:1.6; color:var(--steel-700); }

/* --------------------------- price disclaimer bar ----------------------- */
.disclaimer-bar{
  background:var(--amber-pale); color:var(--amber-deep); font-size:.82rem;
  text-align:center; padding:9px 20px;
}

/* ---------------------------------- hero -------------------------------- */
.hero{
  background:var(--ink); color:var(--paper);
  position:relative; overflow:hidden;
  padding:76px 0 90px;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size:64px 64px;
  opacity:.35;
  mask-image:linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero .container{ position:relative; display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center; }
.hero-eyebrow{ color:var(--amber); font-weight:700; font-size:.9rem; margin-bottom:18px; display:flex; align-items:center; gap:10px;}
.hero-eyebrow::before{ content:""; width:26px; height:2px; background:var(--amber); }
.hero h1{ color:var(--white); margin-bottom:22px; }
.hero p.lede{ color:var(--steel-300); font-size:1.08rem; max-width:52ch; }
.hero-actions{ display:flex; gap:14px; margin-top:30px; flex-wrap:wrap; }
.hero-figure{
  position:relative; border:1px solid var(--line-dark); border-radius:var(--radius-lg);
  aspect-ratio:4/5; background:linear-gradient(160deg,#1c232b,#0f1216);
  display:flex; align-items:center; justify-content:center; padding:0;
  overflow:hidden; box-shadow:var(--shadow-lg);
}
.hero-figure img{ position:relative; width:100%; height:100%; object-fit:cover; display:block; }
.hero-figure picture{ display:block; width:100%; height:100%; }
.hero-stats{
  display:grid; grid-template-columns:1fr 1fr; gap:1px;
  background:var(--line-dark); border:1px solid var(--line-dark);
  margin-top:56px;
}
.hero-stat{ background:var(--ink); padding:22px 24px; }
.hero-stat .num{ font-family:var(--font-head); font-size:2.1rem; color:var(--amber); font-weight:700; line-height:1; }
.hero-stat .lbl{ font-size:.83rem; color:var(--steel-300); margin-top:6px; }

/* -------------------------------- sections ------------------------------ */
section{ padding:88px 0; }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-split{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:48px; flex-wrap:wrap; }

/* segments (home) */
.segments{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.segment-card{
  border:1px solid var(--line); background:var(--white);
  border-radius:var(--radius-lg); overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.segment-card:hover{ border-color:var(--amber); transform:translateY(-3px); box-shadow:var(--shadow-md); }
.segment-media{
  aspect-ratio:16/9; position:relative; overflow:hidden;
  background:linear-gradient(155deg,var(--steel-700),var(--ink));
}
.segment-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.segment-body{ padding:28px 30px 32px; }
.segment-card .tag{
  display:inline-block; font-size:.74rem; font-weight:700; color:var(--amber-deep);
  border:1px solid var(--amber); padding:3px 9px; border-radius:2px; margin-bottom:16px;
}
.segment-card a.more{ font-weight:700; font-size:.9rem; color:var(--ink); display:inline-flex; align-items:center; gap:6px; margin-top:10px; }
.segment-card a.more svg{ width:16px; height:16px; transition:transform .15s ease; }
.segment-card a.more:hover svg{ transform:translateX(3px); }

/* features */
.features-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.feature-card{
  background:var(--white); padding:30px 26px; border:1px solid var(--line);
  border-radius:var(--radius-md); box-shadow:var(--shadow-sm);
  transition:transform .15s ease, box-shadow .15s ease;
}
.feature-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); }
.feature-icon{
  width:52px; height:52px; margin-bottom:20px;
  background:var(--amber-pale); border-radius:50%; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.feature-icon img{ width:100%; height:100%; object-fit:cover; display:block; }
.feature-card h3{ font-size:1.06rem; margin-bottom:8px; }
.feature-card p{ font-size:.92rem; margin:0; }

/* category grid (catalog + home teaser) */
.cat-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.cat-card{
  border:1px solid var(--line); background:var(--white); border-radius:var(--radius-lg);
  overflow:hidden; display:flex; flex-direction:column;
  box-shadow:var(--shadow-sm);
  transition:border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.cat-card:hover{ border-color:var(--amber); transform:translateY(-4px); box-shadow:var(--shadow-md); }
button.cat-card{ width:100%; padding:0; margin:0; font-family:inherit; }
.cat-media{ aspect-ratio:16/10; position:relative; overflow:hidden; background:linear-gradient(155deg,var(--steel-700),var(--ink)); }
.cat-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.segment-media::after, .cat-media::after, .product-media::after, .blog-media::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(20,24,29,0) 55%, rgba(20,24,29,.35) 100%);
}
.cat-body{ padding:22px 24px 26px; display:flex; flex-direction:column; gap:10px; flex:1; }
.cat-card .count{
  align-self:flex-start; font-size:.72rem; font-weight:700; color:var(--steel-500);
  border:1px solid var(--line); padding:2px 8px; border-radius:2px;
}
.cat-card h3{ margin:4px 0 2px; }
.cat-card p{ font-size:.9rem; margin:0; }
.cat-card .more{ margin-top:auto; font-weight:700; font-size:.86rem; color:var(--amber-deep); }

/* product grid */
.product-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.product-card{
  border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--white);
  overflow:hidden; display:flex; flex-direction:column;
  box-shadow:var(--shadow-sm);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.product-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:var(--amber); }
.product-media{
  aspect-ratio:16/11; background:linear-gradient(155deg,var(--steel-700),var(--ink));
  display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden;
}
.product-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.product-media .spec-chip{
  position:absolute; top:12px; left:12px; background:rgba(20,24,29,.78); color:var(--amber-pale);
  font-size:.7rem; font-weight:700; padding:4px 9px; border-radius:20px; z-index:2;
  letter-spacing:.02em;
}
.product-body{ padding:20px 20px 22px; display:flex; flex-direction:column; gap:8px; flex:1; }
.product-body h3{ font-size:1rem; margin:0; }
.product-price{ font-family:var(--font-head); font-weight:600; font-size:1.2rem; color:var(--ink); margin-top:auto; }
.product-price small{ font-family:var(--font-body); font-weight:600; font-size:.76rem; color:var(--steel-500); }

/* catalog toolbar */
.catalog-toolbar{
  display:flex; gap:14px; flex-wrap:wrap; align-items:center; justify-content:space-between;
  margin-bottom:34px; padding-bottom:24px; border-bottom:1px solid var(--line);
}
.chip-row{ display:flex; gap:8px; flex-wrap:wrap; }
.chip{
  border:1px solid var(--line); background:var(--white); padding:8px 15px; border-radius:20px;
  font-size:.85rem; font-weight:600; cursor:pointer; color:var(--steel-700);
}
.chip.active{ background:var(--ink); border-color:var(--ink); color:var(--white); }
.search-box{
  display:flex; align-items:center; gap:8px; border:1px solid var(--line); border-radius:20px;
  padding:8px 15px; background:var(--white); min-width:220px;
}
.search-box input{ border:none; outline:none; background:none; font-family:var(--font-body); font-size:.9rem; width:100%; }

/* about page */
.about-hero{ background:var(--paper-2); padding:64px 0; border-bottom:1px solid var(--line); }
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start; }
.values-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
.value-card{ background:var(--paper); padding:30px; }

.timeline{ position:relative; padding-left:34px; }
.timeline::before{ content:""; position:absolute; left:6px; top:6px; bottom:6px; width:2px; background:var(--line); }
.timeline-item{ position:relative; padding-bottom:34px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{
  content:""; position:absolute; left:-34px; top:3px; width:14px; height:14px;
  background:var(--amber); border-radius:50%; border:3px solid var(--paper);
  box-shadow:0 0 0 1px var(--amber);
}
.timeline-item .yr{ font-family:var(--font-head); font-weight:600; color:var(--ink); font-size:1.1rem; }
.timeline-item p{ margin-top:4px; margin-bottom:0; font-size:.94rem; }

/* stat strip */
.stat-strip{ background:var(--ink); color:var(--paper); padding:56px 0; position:relative; overflow:hidden; }
.stat-strip::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(40% 80% at 90% 0%, rgba(193,127,42,.16), transparent 70%);
  pointer-events:none;
}
.stat-strip .container{ position:relative; display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.stat-strip .num{ font-family:var(--font-head); font-size:2.6rem; color:var(--amber); font-weight:700; }
.stat-strip .lbl{ color:var(--steel-300); font-size:.88rem; margin-top:6px; }

/* certifications */
.cert-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.cert-card{ display:flex; flex-direction:column; gap:14px; }
.cert-card > p{ font-size:.86rem; text-align:center; padding:0 6px; }

.cert-doc{
  position:relative;
  background:
    linear-gradient(155deg, rgba(193,127,42,.05), transparent 60%),
    #fdfbf6;
  border:1px solid var(--amber-deep);
  padding:26px 20px 20px;
  text-align:center;
  box-shadow:var(--shadow-sm), inset 0 0 0 4px #fdfbf6, inset 0 0 0 5px var(--amber);
  transition:transform .15s ease, box-shadow .15s ease;
}
.cert-card:hover .cert-doc{ transform:translateY(-3px); }
.cert-corner{ position:absolute; width:16px; height:16px; border:2px solid var(--amber-deep); opacity:.6; }
.cert-corner-tl{ top:9px; left:9px; border-right:none; border-bottom:none; }
.cert-corner-br{ bottom:9px; right:9px; border-left:none; border-top:none; }
.cert-seal{
  width:46px; height:46px; margin:0 auto 10px;
  border-radius:50%; overflow:hidden; display:flex; align-items:center; justify-content:center;
  box-shadow:0 0 0 3px #fdfbf6, 0 0 0 4px var(--amber-deep), var(--shadow-sm);
}
.cert-seal img{ width:100%; height:100%; object-fit:cover; display:block; }
.cert-eyebrow{
  font-family:var(--font-serif); font-style:italic; font-size:.78rem; color:var(--amber-deep);
  letter-spacing:.08em; text-transform:uppercase; margin-bottom:6px;
}
.cert-code-lg{ font-family:var(--font-serif); font-weight:700; font-size:1.3rem; color:var(--ink); line-height:1.2; }
.cert-name-lg{ font-size:.86rem; color:var(--steel-500); margin:4px 0 14px; text-transform:uppercase; letter-spacing:.03em; }
.cert-issued-to{ font-family:var(--font-serif); font-style:italic; font-size:.84rem; color:var(--steel-700); line-height:1.5; margin-bottom:16px; }
.cert-issued-to strong{ font-style:normal; font-weight:700; color:var(--ink); }
.cert-doc-footer{
  display:flex; justify-content:space-between; gap:8px; border-top:1px dashed var(--amber);
  padding-top:12px; font-size:.68rem; color:var(--steel-500); letter-spacing:.01em;
}

/* projects (about page) */
.project-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.project-card{ border:1px solid var(--line); border-radius:var(--radius-md); background:var(--white); padding:28px; display:flex; flex-direction:column; gap:10px; }
.project-card h3{ font-size:1.05rem; margin:0; }
.project-card p{ font-size:.9rem; margin:0; }
.project-status{
  align-self:flex-start; margin-top:auto; font-size:.76rem; font-weight:700; color:var(--amber-deep);
  background:var(--amber-pale); padding:5px 12px; border-radius:20px;
}

/* blog */
.blog-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
.blog-card{
  border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--white);
  overflow:hidden; display:flex; flex-direction:column; box-shadow:var(--shadow-sm);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.blog-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:var(--amber); }
.blog-media{ aspect-ratio:16/9; background:linear-gradient(150deg,var(--steel-700),var(--ink)); position:relative; overflow:hidden; }
.blog-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.blog-body{ padding:24px 26px 28px; }
.blog-date{ font-size:.78rem; font-weight:700; color:var(--amber-deep); margin-bottom:8px; display:block; }
.blog-body h3{ margin-bottom:10px; }
.blog-body a.more{ font-weight:700; font-size:.88rem; }

/* faq */
.faq-list{ max-width:820px; margin:0 auto; border-top:1px solid var(--line); }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  padding:22px 4px; display:flex; align-items:center; justify-content:space-between; gap:20px;
  font-family:var(--font-head); font-size:1.05rem; font-weight:500; color:var(--ink);
}
.faq-q .plus{ flex:none; width:22px; height:22px; position:relative; }
.faq-q .plus::before, .faq-q .plus::after{ content:""; position:absolute; background:var(--amber-deep); transition:transform .2s ease; }
.faq-q .plus::before{ width:100%; height:2px; top:50%; left:0; transform:translateY(-50%); }
.faq-q .plus::after{ width:2px; height:100%; left:50%; top:0; transform:translateX(-50%); }
.faq-item.open .plus::after{ transform:translateX(-50%) rotate(90deg); opacity:0; }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-item.open .faq-a{ max-height:280px; }
.faq-a p{ padding:0 4px 22px; max-width:70ch; }

/* contact page */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; }
.contact-form{ display:grid; gap:16px; }
.form-legal-note{ font-size:.82rem; color:var(--steel-500); margin:0; }
.form-legal-note a{ color:var(--steel-700); text-decoration:underline; }
.form-legal-note a:hover{ color:var(--amber-deep); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field label{ display:block; font-size:.82rem; font-weight:700; margin-bottom:6px; color:var(--steel-700); }
.field input, .field textarea{
  width:100%; border:1px solid var(--line); border-radius:var(--radius-sm); padding:12px 14px;
  font-family:var(--font-body); font-size:.95rem; background:var(--white); color:var(--ink);
}
.field input:focus, .field textarea:focus{ outline:2px solid var(--amber); outline-offset:1px; }
.contact-info-card{ border:1px solid var(--line); border-radius:var(--radius-md); background:var(--white); padding:32px; }
.contact-info-card .row{ display:flex; gap:14px; padding:16px 0; border-bottom:1px solid var(--line); }
.contact-info-card .row:last-child{ border-bottom:none; }
.contact-info-card .row svg{ width:22px; height:22px; color:var(--amber-deep); flex:none; margin-top:2px; }
.contact-info-card .row .lbl{ font-size:.76rem; font-weight:700; color:var(--steel-500); margin-bottom:2px; }
.map-frame{ border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; margin-top:24px; }
.map-frame iframe{ width:100%; height:280px; border:0; display:block; }

/* delivery / payment page */
.two-col-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.info-card{ border:1px solid var(--line); border-radius:var(--radius-md); background:var(--white); padding:28px; }

/* cta band */
.cta-band{
  background:linear-gradient(120deg,var(--ink),#232b32);
  color:var(--white); border-radius:8px; padding:56px; display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
}
.cta-band h2{ color:var(--white); margin-bottom:8px; }
.cta-band p{ color:var(--steel-300); margin:0; }

/* page hero (interior pages) */
.page-hero{ background:var(--ink); color:var(--white); padding:56px 0; }
.page-hero .eyebrow{ color:var(--amber); }
.page-hero h1{ color:var(--white); margin-bottom:10px; }
.page-hero p{ color:var(--steel-300); margin:0; max-width:60ch; }
.breadcrumb{ font-size:.82rem; color:var(--steel-300); margin-bottom:14px; }
.breadcrumb a{ color:var(--steel-300); } .breadcrumb a:hover{ color:var(--amber); }

/* callback modal */
.modal-overlay{
  position:fixed; inset:0; background:rgba(15,18,22,.6); display:none;
  align-items:center; justify-content:center; z-index:100; padding:20px;
  overflow-y:auto;
}
.modal-overlay.open{ display:flex; }
.modal{
  background:var(--paper); border-radius:8px; max-width:420px; width:100%; padding:34px;
  position:relative; margin:auto;
}
.modal-close{
  position:absolute; top:14px; right:14px; background:none; border:none; cursor:pointer;
  width:30px; height:30px; color:var(--steel-500);
}
.modal h3{ margin-bottom:6px; }
.modal p{ font-size:.9rem; margin-bottom:20px; }

/* product detail modal */
.modal-lg{ max-width:880px; padding:0; overflow:hidden; border-radius:var(--radius-lg); }
.modal-lg .modal-close{ background:rgba(20,24,29,.55); color:var(--white); border-radius:50%; z-index:2; }
#product-modal-body{ display:grid; grid-template-columns:1fr 1fr; }
.product-modal-media{ position:relative; min-height:320px; overflow:hidden; }
.product-modal-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.product-modal-media .spec-chip{
  position:absolute; top:14px; left:14px; background:rgba(20,24,29,.78); color:var(--amber-pale);
  font-size:.72rem; font-weight:700; padding:4px 10px; border-radius:20px;
}
.product-modal-info{ padding:36px 38px; overflow-y:auto; }
.product-modal-info h2{ font-size:1.4rem; margin-bottom:6px; }
.product-modal-info p{ font-size:.95rem; line-height:1.65; color:var(--steel-700); margin-bottom:18px; }
.product-modal-info h4{ font-size:.85rem; text-transform:uppercase; letter-spacing:.03em; color:var(--steel-500); margin-bottom:10px; }
.product-modal-info ul{ padding-left:20px; margin-bottom:22px; }
.product-modal-info ul li{ margin-bottom:6px; font-size:.92rem; color:var(--steel-700); }
.product-meta-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; border-top:1px solid var(--line); padding-top:18px; }
.product-meta-grid .lbl{ display:block; font-size:.72rem; text-transform:uppercase; color:var(--steel-500); margin-bottom:3px; }
.product-meta-grid > div > span:last-child{ font-weight:600; font-size:.9rem; }

/* utility */
.visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.mt-lg{ margin-top:48px; }

/* ---------------------------------- responsive --------------------------- */

/* Header nav collapses to the hamburger before the nav links + phone +
   callback button actually run out of room (was happening as early as
   ~1200px wide since the full nav + CTA cluster needs more space than
   the 1180px container leaves once padding is subtracted). */
@media (max-width: 1400px){
  .main-nav{ display:none; }
  .nav-toggle{ display:flex; }
}

@media (max-width: 980px){
  .hero .container{ grid-template-columns:1fr; }
  .hero-figure{ aspect-ratio:16/9; }
  .features-grid{ grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
  .feature-card{ box-shadow:none; border:none; }
  .segments, .cat-grid, .product-grid, .blog-grid, .values-grid, .two-col-cards, .cert-grid, .project-grid{ grid-template-columns:repeat(2,1fr); }
  .about-grid, .contact-grid{ grid-template-columns:1fr; gap:40px; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .stat-strip .container{ grid-template-columns:repeat(2,1fr); gap:32px; }
  .legal-card dl{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 768px){
  .container{ padding:0 22px; }
  section{ padding:64px 0; }
  .site-header .container{ padding-top:14px; padding-bottom:14px; gap:14px; }
  .header-cta{ gap:10px; }
  .header-cta .btn-amber{ padding:10px 16px; font-size:.86rem; }
  .hero{ padding:52px 0 64px; }
  .hero-actions{ flex-direction:column; align-items:stretch; }
  .hero-actions .btn{ width:100%; white-space:normal; text-align:center; }
  .hero-stats{ grid-template-columns:1fr 1fr; margin-top:36px; }
  .features-grid{ grid-template-columns:1fr; }
  .segments, .cat-grid, .product-grid, .blog-grid, .values-grid, .two-col-cards, .cert-grid, .project-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:32px; }
  .footer-top{ padding:48px 0 32px; }
  .form-row{ grid-template-columns:1fr; }
  .cta-band{ flex-direction:column; align-items:flex-start; padding:32px 26px; }
  .cta-band .btn{ width:100%; text-align:center; }
  .catalog-toolbar{ flex-direction:column; align-items:stretch; }
  .search-box{ min-width:0; width:100%; }
  .chip-row{ width:100%; }
  .legal-card dl{ grid-template-columns:1fr 1fr; gap:16px; }
  .legal-card{ padding:24px 22px; }
  .article-hero{ aspect-ratio:16/9; margin-bottom:28px; }
  #product-modal-body{ grid-template-columns:1fr; }
  .product-modal-media{ min-height:220px; }
  .product-modal-info{ padding:26px 24px; }
  .contact-info-card{ padding:24px; }
  .stat-strip .container{ gap:24px; }
  .stat-strip .num{ font-size:2.1rem; }
}

@media (max-width: 480px){
  .container{ padding:0 16px; }
  section{ padding:52px 0; }
  h1{ font-size:2.1rem; }
  .topbar .container{ font-size:.76rem; gap:8px 14px; }
  .topbar-left, .topbar-right{ gap:10px; }
  .brand-name{ font-size:1.02rem; }
  .brand-mark{ width:34px; height:34px; font-size:1.02rem; }
  .header-cta .btn-amber span{ display:none; }
  .header-cta .btn-amber svg{ display:block; }
  .header-cta .btn-amber{ padding:9px; width:38px; height:38px; }
  .hero-stats{ grid-template-columns:1fr 1fr; gap:1px; }
  .hero-stat{ padding:16px 14px; }
  .hero-stat .num{ font-size:1.7rem; }
  .stat-strip .container{ grid-template-columns:1fr 1fr; }
  .legal-card dl{ grid-template-columns:1fr; }
  .product-meta-grid{ grid-template-columns:1fr; }
  .modal{ padding:24px 20px; }
  .modal-lg{ border-radius:var(--radius-md); }
  .product-modal-media{ min-height:180px; }
  .footer-legal{ flex-direction:column; gap:4px; }
  .contact-info-card .row{ gap:12px; }
}

/* mobile nav drawer */
.mobile-nav{
  position:fixed; inset:0 0 0 auto; width:min(320px,86vw); background:var(--ink); color:var(--white);
  transform:translateX(100%); transition:transform .25s ease; z-index:110; padding:26px 24px;
  display:flex; flex-direction:column; gap:6px; overflow-y:auto;
}
.mobile-nav.open{ transform:translateX(0); }
.mobile-nav a{ padding:13px 4px; font-family:var(--font-head); font-size:1.1rem; border-bottom:1px solid var(--line-dark); }
.mobile-nav-close{ align-self:flex-end; background:none; border:none; color:var(--white); font-size:1.6rem; cursor:pointer; margin-bottom:10px; }
.mobile-nav .btn{ margin-top:20px; }
.scrim{ position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:105; display:none; }
.scrim.open{ display:block; }

/* ---- testimonials ---- */
.testimonial-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.testimonial-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:28px 26px; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; gap:18px;
}
.testimonial-quote{ font-family:var(--font-serif); font-style:italic; font-size:1.05rem; line-height:1.6; color:var(--ink); margin:0; }
.testimonial-quote::before{ content:'\201C'; color:var(--amber); font-size:1.6rem; line-height:0; margin-right:2px; }
.testimonial-author{ font-family:var(--font-head); font-size:.92rem; letter-spacing:.02em; color:var(--ink); }
.testimonial-company{ font-size:.85rem; color:var(--steel-500); margin-top:2px; }
@media (max-width:900px){
  .testimonial-grid{ grid-template-columns:1fr; }
}
