/* ============================================================
   HIVAS — design system
   Token-driven: brand colors are injected from admin settings
   as CSS variables in the page head (see layout.php).
   ============================================================ */

:root {
  --green-primary: #084A24;
  --green-secondary: #0F6A34;
  --green-mist: #E8F5E9;
  --gold: #D4AF37;
  --bg: #FFFFFF;
  --surface: #F8F8F8;
  --text: #1E1E1E;
  --muted: #5B6B60;
  --line: rgba(8, 74, 36, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(8, 74, 36, 0.08);
  --shadow-lg: 0 24px 60px rgba(8, 74, 36, 0.14);
  --font: "Manrope", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", sans-serif;
  --grad: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
body.lang-bn { font-family: "Noto Sans Bengali", "Manrope", system-ui, sans-serif; }

img { max-width: 100%; display: block; }
a { color: var(--green-secondary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.22; color: var(--green-primary); margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow .container, .container.narrow { width: min(860px, 100% - 40px); }
.center { text-align: center; }
.sub { max-width: 640px; margin-inline: auto; color: var(--muted); }
.muted { color: var(--muted); }
.tiny { font-size: .82rem; }
.mt { margin-top: 1.2rem; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green-secondary); margin-bottom: .4rem;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--green-primary);
  color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 13px 26px;
  border-radius: 999px; font-weight: 700; font-size: .95rem; cursor: pointer;
  border: 2px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-decoration: none !important; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-sm { padding: 9px 18px; font-size: .86rem; }
.btn-primary { background: var(--grad); color: #fff; }
.btn-gold { background: linear-gradient(135deg, #E5C558, var(--gold)); color: #3A2E00; }
.btn-outline { border-color: var(--green-primary); color: var(--green-primary); background: transparent; }
.btn-ghost { background: var(--green-mist); color: var(--green-primary); }
.btn-ghost-light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.2rem; }
.center-row { justify-content: center; }
.text-link { font-weight: 700; color: var(--green-secondary); }

/* ---------------- header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(8,74,36,.10); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none !important; }
.brand-leaf { color: var(--green-secondary); display: grid; place-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 1.45rem; letter-spacing: .06em; color: var(--green-primary); font-weight: 800; }
.brand-text small { font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: rgba(255,255,255,.75); }
.brand-light .brand-leaf { color: var(--gold); }
.brand-logo-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; line-height: 1; }
.brand-tagline { font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); text-align: center; }
.brand-light .brand-tagline { color: rgba(255,255,255,.75); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 10px 13px; border-radius: 10px; color: var(--text);
  font-weight: 600; font-size: .93rem; text-decoration: none !important;
}
.main-nav a:hover { background: var(--green-mist); color: var(--green-primary); }
.caret { font-size: .7em; opacity: .7; }
.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 8px; display: none; z-index: 60;
}
.has-drop:hover .drop, .has-drop:focus-within .drop, .has-drop.open .drop { display: block; }
.drop a { padding: 10px 12px; border-radius: 9px; font-weight: 600; }
.drop-all { color: var(--green-secondary); border-top: 1px solid var(--line); margin-top: 6px; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--green-primary); cursor: pointer;
}
.icon-btn:hover { background: var(--green-mist); }
.lang-switch { display: flex; gap: 6px; align-items: center; font-size: .84rem; font-weight: 700; }
.lang-switch a { color: var(--muted); text-decoration: none !important; padding: 4px 2px; }
.lang-switch a.on { color: var(--green-primary); border-bottom: 2px solid var(--gold); }
.lang-switch span { color: var(--line); }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { width: 24px; height: 2.5px; background: var(--green-primary); border-radius: 2px; transition: .2s; }

.search-bar { border-top: 1px solid var(--line); background: #fff; padding: 12px 0; }
.search-bar .container { display: flex; gap: 10px; }
.search-bar input {
  flex: 1; padding: 11px 16px; border: 1.5px solid var(--line); border-radius: 999px;
  font: inherit; background: var(--surface);
}

/* ---------------- hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 480px at 88% -10%, rgba(15,106,52,.14), transparent 60%),
    radial-gradient(900px 420px at -8% 110%, rgba(212,175,55,.10), transparent 55%),
    linear-gradient(180deg, #FDFEFD, var(--green-mist));
}
.hero-leaves {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(closest-side, rgba(15,106,52,.16), transparent 70%),
    radial-gradient(closest-side, rgba(15,106,52,.12), transparent 70%);
  background-size: 420px 420px, 300px 300px;
  background-position: -120px -160px, calc(100% + 80px) calc(100% + 90px);
  background-repeat: no-repeat;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 40px; align-items: center; padding: 84px 0 90px;
}
.hero-copy h1 { margin: .5rem 0 .8rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

.badge-gold {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 15px;
  background: linear-gradient(135deg, #F4E3AC, var(--gold)); color: #3A2E00;
  border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .04em;
  box-shadow: 0 6px 18px rgba(212,175,55,.35);
}
.badge-sm { padding: 5px 12px; font-size: .72rem; margin-bottom: .6rem; }

.hero-visual { display: grid; place-items: center; }
.hero-card {
  position: relative; width: min(400px, 100%); aspect-ratio: 1/ .82;
  background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg);
  display: grid; place-items: center; border: 1px solid var(--line);
}
.hero-bowl { width: 78%; }
.hero-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  border-radius: 999px; padding: 8px 14px; font-size: .8rem; font-weight: 700; color: var(--green-primary);
}
.chip-a { top: 8%; left: -6%; }
.chip-b { bottom: 18%; right: -8%; }
.chip-c { bottom: -5%; left: 12%; }

/* ---------------- trust strip ---------------- */
.trust-strip { background: var(--green-primary); color: #fff; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding: 18px 0; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; }
.t-ic { color: var(--gold); display: grid; place-items: center; }

/* ---------------- sections ---------------- */
.section { padding: 76px 0; }
.section-mist { background: linear-gradient(180deg, var(--green-mist), #F4FAF5); }
.section-deep {
  background: radial-gradient(900px 300px at 50% -80px, rgba(212,175,55,.12), transparent), var(--green-primary);
  color: #E9F4EC;
}
.section-deep h2, .section-deep h3 { color: #fff; }
.section-deep .sub, .section-deep p { color: rgba(233,244,236,.85); }

.two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 1rem; }
.rich :first-child { margin-top: 0; }
.rich h3 { margin-top: 1.4em; }
.lead-rich { max-width: 760px; font-size: 1.05rem; }

/* stats */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px;
}
.stat-num { font-size: 1.9rem; font-weight: 800; color: var(--green-secondary); line-height: 1; }
.stat-label { font-size: .86rem; color: var(--muted); }

/* cards */
.card-grid { display: grid; gap: 20px; margin-top: 2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--green-mist); color: var(--green-secondary); margin-bottom: 14px; }
.card-line { border-top: 4px solid var(--gold); }
.section-deep .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); box-shadow: none; }

.pill-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 2rem; }
.pill-card { background: var(--green-mist); border-radius: var(--radius); padding: 22px 20px; }
.pill-card h3 { font-size: .98rem; }
.pill-card p { font-size: .88rem; color: var(--muted); margin: 0; }

/* benefits */
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 34px; margin-top: 2.2rem; }
.benefit { display: flex; gap: 14px; align-items: flex-start; }
.b-ic { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #3A2E00; margin-top: 2px; }
.benefit h3 { margin-bottom: .2em; font-size: 1rem; }
.benefit p { margin: 0; font-size: .92rem; }

/* process stepper */
.process {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
  list-style: none; counter-reset: step; padding: 0; margin: 2.4rem 0 0;
}
.process li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 14px; text-align: center; font-size: .85rem; font-weight: 600;
  display: flex; flex-direction: column; gap: 9px; align-items: center;
}
.p-num {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 800;
}

/* certs */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 2rem; }
.cert-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; text-align: center; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.cert-ic { color: var(--gold); }

/* refs / quotes */
.ref-box { background: var(--surface); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 22px 24px; }
.ref-box ol { margin: 0; padding-left: 1.2em; font-size: .86rem; color: var(--muted); display: grid; gap: 8px; }
.quote-card {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px;
}
.quote-card blockquote { margin: 0; font-size: .95rem; color: var(--text); }
.quote-card figcaption { font-size: .85rem; }

/* chips / map */
.country-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 1.8rem; }
.chip {
  display: inline-block; padding: 8px 16px; border-radius: 999px; font-size: .84rem; font-weight: 600;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); color: #fff;
  text-decoration: none !important;
}
.section .chip, .page-hero .chip { background: var(--green-mist); border-color: var(--line); color: var(--green-primary); }
.chip-green { background: var(--green-mist); border-color: var(--line); color: var(--green-primary); }
.chip-on { background: var(--grad) !important; color: #fff !important; border-color: transparent !important; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }

/* posts */
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; overflow: hidden;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card > a { display: block; padding: 26px 24px; color: inherit; text-decoration: none !important; }
.post-cat {
  display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-secondary); background: var(--green-mist); border-radius: 999px; padding: 4px 11px; margin-bottom: 12px;
}
.post-card h2, .post-card h3 { font-size: 1.08rem; }
.post-card p { font-size: .9rem; color: var(--muted); }

/* accordion */
.accordion { margin-top: 2rem; display: grid; gap: 12px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; background: none; border: 0; cursor: pointer; font: inherit; font-weight: 700;
  color: var(--green-primary); text-align: left;
}
.acc-x { font-size: 1.3rem; color: var(--green-secondary); transition: transform .2s; }
.acc-btn[aria-expanded="true"] .acc-x { transform: rotate(45deg); }
.acc-panel { padding: 0 22px 18px; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--grad); color: #fff; padding: 58px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; max-width: 560px; }

/* ---------------- page hero / inner pages ---------------- */
.page-hero {
  background: linear-gradient(180deg, #FDFEFD, var(--green-mist));
  padding: 56px 0 44px; border-bottom: 1px solid var(--line);
}
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }

/* flagship / packaging visual */
.flagship {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center;
  background: linear-gradient(135deg, var(--green-mist), #fff);
  border: 1px solid var(--line); border-radius: 24px; padding: 48px; box-shadow: var(--shadow);
}
.flagship-visual, .product-hero-visual { display: grid; place-items: center; }
.pack {
  width: 205px; aspect-ratio: 3/4.1; border-radius: 14px; position: relative;
  background: linear-gradient(160deg, #FFFFFF 58%, var(--green-mist));
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px;
  overflow: hidden;
}
.pack::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 34%;
  background: var(--grad); border-radius: 14px 14px 46% 46%/14px 14px 26% 26%;
}
.pack-brand { position: relative; z-index: 1; font-weight: 800; letter-spacing: .1em; color: #fff; font-size: 1.35rem; margin-top: -74%; }
.pack-top { position: relative; z-index: 1; margin-top: 62%; text-align: center; font-weight: 800; color: var(--green-primary); font-size: .95rem; line-height: 1.3; }
.pack-net { position: relative; z-index: 1; font-size: .72rem; color: var(--muted); }
.pack-lg { width: 250px; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 1.1rem 0 .4rem; }
.spec-chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; font-size: .82rem; font-weight: 700; color: var(--green-primary); }

/* product cards */
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card > a { display: block; padding: 22px; color: inherit; text-decoration: none !important; }
.product-thumb { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 16px; }
.product-card h2 { font-size: 1.15rem; }
.product-card p { font-size: .9rem; color: var(--muted); }

/* tabs */
.tabs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.tab-list { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); background: var(--surface); }
.tab-btn {
  padding: 16px 22px; font: inherit; font-weight: 700; color: var(--muted); background: none;
  border: 0; border-bottom: 3px solid transparent; cursor: pointer;
}
.tab-btn.is-on { color: var(--green-primary); border-bottom-color: var(--gold); background: #fff; }
.tab-panel { padding: 30px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.spec-table th { background: var(--green-mist); color: var(--green-primary); font-weight: 800; }
.spec-table tr:nth-child(even) td { background: var(--surface); }

.kv { display: grid; grid-template-columns: 200px 1fr; gap: 12px 22px; margin: 0; }
.kv dt { font-weight: 800; color: var(--green-primary); }
.kv dd { margin: 0; color: var(--muted); }

.check-list { list-style: none; padding: 0; display: grid; gap: 9px; }
.check-list li { padding-left: 30px; position: relative; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 50%;
  background: var(--green-mist); color: var(--green-secondary); font-weight: 800; font-size: .8rem;
  display: grid; place-items: center;
}
.doc-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.1rem; }
.doc-pill {
  display: inline-block; padding: 9px 16px; border-radius: 999px; background: #fff;
  border: 1.5px dashed var(--green-secondary); font-size: .84rem; font-weight: 700; color: var(--green-primary);
}

/* ---------------- forms ---------------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 34px;
}
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
label { font-weight: 700; font-size: .88rem; color: var(--green-primary); }
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="url"], input[type="date"], select, textarea, input[type="file"] {
  font: inherit; padding: 12px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); width: 100%; color: var(--text);
}
input:focus, select:focus, textarea:focus { border-color: var(--green-secondary); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(15,106,52,.14); }
textarea { resize: vertical; }
.hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; opacity: 0; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.info-card { background: var(--green-mist); border-radius: var(--radius); padding: 22px 22px; }
.info-card h3 { font-size: .95rem; }
.info-card p { margin: 0; font-size: .92rem; }
.map-wrap { margin-top: 34px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* RFQ stepper */
.stepper { margin-bottom: 26px; }
.stepper-bar { height: 6px; background: var(--green-mist); border-radius: 999px; overflow: hidden; }
#stepperFill { display: block; height: 100%; width: 20%; background: var(--grad); border-radius: 999px; transition: width .3s ease; }
.stepper-dots { display: flex; justify-content: space-between; list-style: none; margin: 10px 0 0; padding: 0; font-size: .72rem; font-weight: 700; color: var(--muted); }
.stepper-dots li.on { color: var(--green-primary); }
fieldset.step { border: 0; padding: 0; margin: 0; }
fieldset.step legend { font-weight: 800; color: var(--green-primary); font-size: 1.05rem; margin-bottom: 16px; padding: 0; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.step-nav .btn-primary, .step-nav .btn-gold { margin-left: auto; }
.sent-card { text-align: center; }
.sent-card h2 { color: var(--green-secondary); }

/* blog */
.blog-filter { margin-top: 10px; }
.blog-search { display: flex; gap: 10px; max-width: 480px; }
.article-body { font-size: 1.02rem; }
.article-body h3 { margin-top: 1.6em; }
.byline { margin-top: -6px; }
.share-row { display: flex; gap: 14px; align-items: center; border-top: 1px solid var(--line); margin-top: 2.2rem; padding-top: 1.2rem; font-weight: 700; }
.result-list { list-style: none; padding: 0; display: grid; gap: 10px; margin: 0 0 2rem; }

/* 404 */
.center-page { min-height: 46vh; display: grid; align-items: center; }
.err-code { font-size: 5rem; font-weight: 800; color: var(--green-mist); -webkit-text-stroke: 2px var(--green-secondary); line-height: 1; margin: 0; }

/* ---------------- footer ---------------- */
.site-footer { background: var(--green-primary); color: rgba(255,255,255,.85); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 38px; padding: 60px 0 34px; }
.f-col h3 { color: #fff; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1em; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .9rem; }
.f-col a { color: rgba(255,255,255,.85); }
.f-col a:hover { color: var(--gold); }
.f-blurb { font-size: .88rem; margin-top: 1em; }
.f-made { font-size: .8rem; color: var(--gold); font-weight: 700; letter-spacing: .04em; }
.f-contact li { line-height: 1.5; }
.f-social { display: flex; gap: 14px; margin-top: 1.2em; font-weight: 700; font-size: .86rem; }
.newsletter { display: flex; gap: 8px; }
.newsletter input[type="email"] {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; min-width: 0;
}
.newsletter input::placeholder { color: rgba(255,255,255,.55); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0 26px; font-size: .78rem;
  color: rgba(255,255,255,.6); display: grid; gap: 6px;
}
.footer-legal a { color: rgba(255,255,255,.75); }
.f-disclaimer { max-width: 900px; }

/* floaters */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 54px; height: 54px;
  display: grid; place-items: center; border-radius: 50%; background: #25D366; color: #fff;
  box-shadow: 0 12px 30px rgba(37,211,102,.4); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.to-top {
  position: fixed; right: 24px; bottom: 86px; z-index: 90; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--green-primary); font-weight: 800;
  cursor: pointer; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* toast */
.toast {
  position: fixed; top: 86px; left: 50%; transform: translateX(-50%); z-index: 150;
  padding: 14px 26px; border-radius: 12px; font-weight: 700; box-shadow: var(--shadow-lg);
  animation: toastIn .3s ease; max-width: min(560px, 92vw); text-align: center;
}
.toast-success { background: var(--green-mist); color: var(--green-primary); border: 1px solid var(--green-secondary); }
.toast-error { background: #FDECEC; color: #8C1D1D; border: 1px solid #D66; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -8px); } }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .post-card, .product-card { transition: none; }
}

/* ============================================================
   Admin console
   ============================================================ */
.adm-body { background: #F2F5F3; min-height: 100vh; }
.adm-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.adm-sidebar { background: var(--green-primary); color: #fff; padding: 22px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.adm-sidebar .brand { margin-bottom: 26px; padding: 0 8px; }
.adm-nav { display: grid; gap: 3px; }
.adm-nav a {
  display: block; padding: 10px 13px; border-radius: 9px; color: rgba(255,255,255,.82);
  font-weight: 600; font-size: .9rem; text-decoration: none !important;
}
.adm-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.adm-nav a.on { background: rgba(255,255,255,.16); color: #fff; }
.adm-nav .adm-sep { border-top: 1px solid rgba(255,255,255,.15); margin: 10px 8px; }
.adm-main { padding: 26px 30px 60px; min-width: 0; }
.adm-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.adm-topbar h1 { font-size: 1.5rem; margin: 0; }
.adm-user { font-size: .84rem; color: var(--muted); }
.adm-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin-bottom: 22px; }
.adm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.adm-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.adm-stat .n { font-size: 1.8rem; font-weight: 800; color: var(--green-secondary); line-height: 1.1; }
.adm-stat .l { font-size: .8rem; color: var(--muted); }
.adm-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.adm-table th, .adm-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.adm-table th { background: var(--surface); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.adm-table tr:hover td { background: #FAFCFA; }
.adm-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.adm-form .form-row { max-width: 760px; }
.adm-form textarea { min-height: 110px; font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: .85rem; }
.adm-form textarea.plain { font-family: inherit; font-size: inherit; }
.badge-st { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.st-new { background: #FFF3D6; color: #7A5A00; }
.st-qualified { background: #E3F0FF; color: #174E8C; }
.st-quoted { background: #EFE3FF; color: #5B2D8C; }
.st-won { background: var(--green-mist); color: var(--green-primary); }
.st-lost { background: #FBE4E4; color: #8C1D1D; }
.st-contact { background: #E8F1F5; color: #1D5A73; }
.st-rfq { background: var(--green-mist); color: var(--green-primary); }
.st-newsletter { background: #F1EEE3; color: #6B5D1F; }
.adm-login-wrap { min-height: 100vh; display: grid; place-items: center; background: var(--grad); padding: 20px; }
.adm-login { width: min(420px, 100%); background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 40px; }
.adm-login .brand { justify-content: center; margin-bottom: 20px; }
.adm-bars { display: flex; gap: 6px; align-items: flex-end; height: 90px; margin-top: 8px; }
.adm-bars .bar { flex: 1; background: var(--green-mist); border-radius: 5px 5px 0 0; position: relative; min-height: 3px; }
.adm-bars .bar i { position: absolute; inset: auto 0 0 0; background: var(--grad); border-radius: 5px 5px 0 0; display: block; }
.adm-bars-labels { display: flex; gap: 6px; font-size: .64rem; color: var(--muted); margin-top: 5px; }
.adm-bars-labels span { flex: 1; text-align: center; }
.adm-note { font-size: .82rem; color: var(--muted); background: var(--surface); border-radius: 9px; padding: 10px 14px; }
.adm-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.btn-danger { background: #C0392B; color: #fff; }
.btn-plain { background: var(--surface); color: var(--text); border: 1px solid var(--line); }

/* ---------------- responsive ---------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .adm-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 12px 18px 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .drop { position: static; display: block; box-shadow: none; border: 0; padding-left: 14px; }
  .caret { display: none; }
  .nav-burger { display: flex; }
  .lang-switch { order: -1; }
  .hero-grid, .two-col, .flagship, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 54px 0 64px; gap: 30px; }
  .grid-3 { grid-template-columns: 1fr; }
  .benefit-list { grid-template-columns: 1fr; }
  .form-2col { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dd { margin-bottom: 12px; }
  .header-actions .btn { display: none; }
  .hero-chip { display: none; }
  .adm-shell { grid-template-columns: 1fr; }
  .adm-sidebar { position: static; height: auto; }
}
@media (max-width: 560px) {
  .grid-4, .cert-grid, .footer-grid, .stat-grid, .adm-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .container { width: calc(100% - 32px); }
  .section { padding: 54px 0; }
  .tab-btn { padding: 13px 14px; font-size: .85rem; }
  .tab-panel { padding: 20px; }
  .form-card { padding: 22px; }
}

/* ============================================================
   Admin — drag-and-drop list builder & image dropzones
   ============================================================ */
.brand-logo { height: 40px; width: auto; max-width: 260px; display: block; }

.adm-range { display: flex; align-items: center; gap: 14px; }
.adm-range input[type=range] { flex: 1; accent-color: var(--green-primary); }
.adm-range-val { min-width: 52px; text-align: right; font-weight: 700; color: var(--green-primary); }

.adm-builder { display: flex; flex-direction: column; gap: 8px; margin-bottom: 6px; }
.adm-rows { display: flex; flex-direction: column; gap: 8px; }
.adm-row {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line, rgba(8,74,36,.14));
  border-radius: 10px; padding: 8px 10px;
}
.adm-row.dragging { opacity: .45; border-style: dashed; }
.adm-row input {
  flex: 1; min-width: 0; padding: 8px 10px;
  border: 1px solid var(--line, rgba(8,74,36,.16)); border-radius: 8px;
  font: inherit; background: #fdfdfd;
}
.adm-row .f-p { flex: 0 0 38%; }
.adm-handle {
  cursor: grab; user-select: none; color: #9aa8a0;
  font-size: 1.1rem; line-height: 1; padding: 0 2px;
}
.adm-handle:active { cursor: grabbing; }
.adm-row-del {
  border: 0; background: transparent; color: #b23b3b; cursor: pointer;
  font-size: .95rem; padding: 4px 6px; border-radius: 6px;
}
.adm-row-del:hover { background: #fbeaea; }
.adm-row-add { align-self: flex-start; }
.adm-json-toggle { align-self: flex-start; margin: 2px 0 4px; }

.adm-drop {
  position: relative; display: flex; align-items: center; gap: 16px;
  border: 2px dashed var(--line, rgba(8,74,36,.28)); border-radius: 12px;
  padding: 14px 16px; cursor: pointer; background: #fafcfb;
  transition: border-color .15s, background .15s;
}
.adm-drop:hover { border-color: var(--green-secondary, #0F6A34); }
.adm-drop.drag { border-color: var(--green-secondary, #0F6A34); background: #eef6f0; }
.adm-drop-preview {
  flex: 0 0 76px; width: 76px; height: 76px; border-radius: 10px;
  background: #fff center/contain no-repeat;
  border: 1px solid var(--line, rgba(8,74,36,.14));
}
.adm-drop.has-img .adm-drop-preview { background-size: cover; }
.adm-drop-cta { display: flex; flex-direction: column; gap: 2px; }
.adm-drop-cta strong { font-size: .92rem; }
.adm-drop-cta span { font-size: .78rem; color: var(--muted, #5B6B60); }
.adm-drop-size {
  margin-top: 3px; font-weight: 700;
  color: var(--green-secondary, #0F6A34) !important;
}

.adm-drop-current { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.adm-drop-remove {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 700; color: #b23b3b; cursor: pointer;
}
.adm-drop.removing { opacity: .45; border-color: #d9a3a3; }
.adm-drop.removing .adm-drop-preview { filter: grayscale(1); }

/* Hero card showing an uploaded photo instead of the drawn illustration */
.hero-card-photo { overflow: visible; }
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 23px; display: block;
}
