/* ==========================================================
   CSER Solutions — v4 "Making Sustainability Happen"
   Light + Dark theme · green (sustainability) + blue (tech)
   ========================================================== */
:root {
  --bg:      #ffffff;
  --bg-alt:  #f3f8f5;
  --card:    #ffffff;
  --ink:     #0c2b1d;
  --muted:   #5a6f64;
  --sub:     #45604f;
  --green:   #0e9f6e;
  --green-d: #0a7a54;
  --green-l: #e2f3ec;
  --blue:    #016fff;
  --line:    #dce9e2;
  --grad:    linear-gradient(115deg, #0e9f6e 0%, #16b98a 55%, #2f9bdc 130%);
  --radius:  18px;
  --shadow:  0 18px 44px rgba(12, 43, 29, .10);
  --shadow-sm: 0 4px 10px rgba(12,43,29,.05);
  --band:    #083420;
  --band-text: #b9d9c9;
  --band-accent: #7de3bb;
  --band-border: rgba(255,255,255,.14);
  --band-card: rgba(255,255,255,.06);
  --input-bg: #fbfdfc;
  --hero-bg: linear-gradient(180deg, #f0faf5 0%, #ffffff 100%);
  --wrap:    1180px;
}
[data-theme="dark"] {
  --bg:      #0a1410;
  --bg-alt:  #0d1a13;
  --card:    #101f17;
  --ink:     #e9f5ee;
  --muted:   #9db8aa;
  --sub:     #b9d9c9;
  --green:   #22c98d;
  --green-d: #4adea5;
  --green-l: #123126;
  --blue:    #4da3ff;
  --line:    #20362a;
  --shadow:  0 18px 44px rgba(0, 0, 0, .45);
  --shadow-sm: 0 4px 12px rgba(0,0,0,.3);
  --band:    #04170f;
  --band-text: #9fc3b0;
  --band-accent: #7de3bb;
  --band-border: rgba(125,227,187,.16);
  --band-card: rgba(255,255,255,.05);
  --input-bg: #0c1a12;
  --hero-bg: linear-gradient(180deg, #0d2017 0%, #0a1410 100%);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background .35s, color .35s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker {
  display: inline-block; font-size: 12.5px; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase; color: var(--green-d); margin-bottom: 12px;
}
h1, h2, h3, h4 { line-height: 1.22; font-weight: 800; letter-spacing: -.01em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px; border: none; cursor: pointer; transition: .25s;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(14, 159, 110, .32); }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(14, 159, 110, .42); }
.btn-line { background: transparent; color: var(--green-d); border: 2px solid var(--green); }
.btn-line:hover { background: var(--green-l); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; min-height: 76px; gap: 26px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 16px; letter-spacing: .08em; color: var(--ink); }
.brand-text small { font-size: 11.5px; color: var(--green-d); font-weight: 600; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav > a { font-size: 14.5px; font-weight: 600; color: var(--sub); padding: 6px 0; position: relative; }
.nav > a:hover, .nav > a.active { color: var(--green-d); }
.nav > a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px;
  background: var(--grad); border-radius: 3px;
}
.langs { display: flex; gap: 6px; margin-left: 6px; }
.lang { font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; color: var(--sub); border: 1px solid var(--line); }
.lang.active { background: var(--green-l); color: var(--green-d); border-color: var(--green); }
.lang:hover { color: var(--green-d); }
.nav-cta { margin-left: 4px; }

/* theme toggle */
.theme-toggle {
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  width: 40px; height: 40px; border-radius: 12px; cursor: pointer; font-size: 17px;
  display: flex; align-items: center; justify-content: center; transition: .25s;
}
.theme-toggle:hover { border-color: var(--green); transform: rotate(15deg); }
.theme-toggle.mobile { display: none; }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2.5px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: .25s; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 84px 0 0; overflow: hidden; background: var(--hero-bg); transition: background .35s; }
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; z-index: 0; pointer-events: none; }
.a1 { width: 560px; height: 560px; left: -160px; top: -180px; background: radial-gradient(circle, rgba(14,159,110,.28), transparent 70%); }
.a2 { width: 480px; height: 480px; right: -140px; top: 60px; background: radial-gradient(circle, rgba(1,111,255,.18), transparent 70%); }
[data-theme="dark"] .aurora { opacity: .35; }
.grid-overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(14,159,110,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,159,110,.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(1000px 520px at 45% 30%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(1000px 520px at 45% 30%, #000 25%, transparent 75%);
}
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.chip {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .05em;
  padding: 7px 16px; border-radius: 999px; color: var(--green-d);
  background: var(--green-l); border: 1px solid var(--line); margin-bottom: 22px;
}
.hero-text h1 { font-size: 46px; margin-bottom: 20px; }
.hero-text p { font-size: 16.5px; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-credentials { display: flex; gap: 10px; flex-wrap: wrap; }
.cred {
  font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--sub);
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px;
  box-shadow: var(--shadow-sm);
}

.hero-media { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; }
.hm-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hm-main img { width: 100%; height: 340px; object-fit: cover; }
.hm-side { display: flex; flex-direction: column; gap: 14px; }
.hm-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hm-img img { width: 100%; height: 163px; object-fit: cover; }
.hm-badge {
  position: absolute; left: -26px; top: -18px; background: var(--card); border-radius: 16px;
  padding: 12px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.15;
  border: 1px solid var(--line);
}
.hm-badge b { font-size: 26px; color: var(--green-d); }
.hm-badge b span { font-size: 14px; }
.hm-badge span { font-size: 11.5px; color: var(--muted); max-width: 150px; }
.hm-badge.b2 { left: auto; right: -24px; top: auto; bottom: -16px; }
.hm-badge.b2 b { color: var(--blue); }

.trust-bar {
  position: relative; z-index: 2; margin-top: 56px; padding: 22px 0;
  border-top: 1px solid var(--line); display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.trust-bar > span { font-size: 13px; color: var(--muted); font-weight: 600; }
.trust-names { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.trust-names b { font-size: 15.5px; font-weight: 800; color: var(--sub); letter-spacing: .02em; }
.trust-names i { font-style: normal; color: var(--line); }

/* ---------- stats strip ---------- */
.strip { background: var(--band); padding: 56px 0; position: relative; overflow: hidden; }
.strip::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 20% 0%, rgba(14,159,110,.35), transparent 60%),
              radial-gradient(700px 300px at 85% 100%, rgba(1,111,255,.25), transparent 60%);
}
.strip-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.s-cell { text-align: center; padding: 6px 14px; border-right: 1px solid var(--band-border); }
.s-cell:last-child { border-right: none; }
.s-cell b { display: block; font-size: 44px; font-weight: 800; color: var(--band-accent); line-height: 1.1; }
.s-cell span { color: var(--band-text); font-size: 13.5px; line-height: 1.45; }

/* ---------- sections ---------- */
.section { padding: 96px 0; position: relative; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.sec-head h2 { font-size: 36px; margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 16px; }

/* icons */
.ico {
  width: 54px; height: 54px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  background: var(--green-l); color: var(--green-d);
}
.ico.green { background: var(--green-l); color: var(--green-d); }
.ico.blue  { background: color-mix(in srgb, var(--blue) 14%, transparent); color: var(--blue); }
.ico.amber { background: color-mix(in srgb, var(--amber, #f59e0b) 16%, transparent); color: var(--amber, #f59e0b); }
.ico svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- vision/mission ---------- */
.vm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 64px; }
.vm-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  transition: .3s;
}
.vm-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--green); }
.vm-card h3 { font-size: 17px; margin: 16px 0 10px; }
.vm-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 420px; object-fit: cover; }
.about-body h3 { font-size: 26px; margin-bottom: 14px; }
.about-body p { color: var(--muted); margin-bottom: 20px; }
.checks { list-style: none; margin-bottom: 28px; }
.checks li { padding: 8px 0 8px 34px; position: relative; font-weight: 600; font-size: 14.5px; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 6px; width: 24px; height: 24px;
  background: var(--green-l); color: var(--green-d); border-radius: 50%;
  font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

/* ---------- services ---------- */
.sv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sv {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px 32px; transition: .3s; overflow: hidden;
}
.sv:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green); }
.sv-num {
  position: absolute; top: 18px; right: 24px; font-size: 52px; font-weight: 800; line-height: 1;
  color: color-mix(in srgb, var(--green) 12%, transparent); letter-spacing: -.02em; z-index: 0;
}
.sv .ico { position: relative; z-index: 1; }
.sv h3 { font-size: 20px; margin: 18px 0 10px; position: relative; z-index: 1; }
.sv p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; position: relative; z-index: 1; }
.sv-list { list-style: none; position: relative; z-index: 1; }
.sv-list li { font-size: 13.5px; color: var(--sub); font-weight: 600; padding: 5px 0 5px 22px; position: relative; }
.sv-list li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--green);
}

/* ---------- cases ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 920px; margin: 0 auto; }
.case {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  transition: .3s; display: flex; flex-direction: column;
}
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green); }
.case-tag {
  align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: color-mix(in srgb, var(--blue) 13%, transparent); border-radius: 8px; padding: 5px 12px; margin-bottom: 20px;
}
.case-stats { display: flex; gap: 30px; margin-bottom: 22px; }
.cs b { display: block; font-size: 34px; font-weight: 800; color: var(--green-d); line-height: 1.1; }
.cs b span { font-size: 16px; }
.cs span { font-size: 12px; color: var(--muted); line-height: 1.35; }
.case h3 { font-size: 18px; margin-bottom: 10px; }
.case p { color: var(--muted); font-size: 14.5px; }

/* ---------- credentials band ---------- */
.creds { position: relative; background: var(--band); padding: 88px 0; overflow: hidden; }
.creds .grid-overlay { opacity: .5; }
.creds-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.creds-head .kicker { color: var(--band-accent); }
.creds-head h2 { font-size: 34px; color: #fff; margin-bottom: 14px; }
.creds-head p { color: var(--band-text); }
.creds-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cc {
  background: var(--band-card); border: 1px solid var(--band-border); border-radius: 16px;
  padding: 26px 18px; text-align: center;
}
.cc b { display: block; font-size: 34px; font-weight: 800; color: var(--band-accent); }
.cc span { font-size: 12.5px; color: var(--band-text); line-height: 1.35; }

/* ---------- clients ---------- */
.client-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.client-cloud b {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 14px 28px;
  font-size: 16px; font-weight: 800; color: var(--sub); letter-spacing: .02em; transition: .3s;
}
.client-cloud b:hover { border-color: var(--green); color: var(--green-d); box-shadow: var(--shadow); transform: translateY(-3px); }

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; }
.news-main { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .3s; }
.news-main:hover { transform: translateY(-5px); }
.news-thumb { display: block; height: 230px; background-size: cover; background-position: center; position: relative; }
.news-date {
  position: absolute; left: 20px; bottom: 14px; background: var(--grad); color: #fff;
  border-radius: 12px; padding: 8px 14px; display: flex; flex-direction: column; line-height: 1.12; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .08em;
}
.news-date b { font-size: 22px; }
.news-body { padding: 24px 26px 26px; }
.news-body h3 { font-size: 19px; margin-bottom: 10px; }
.news-body h3 a:hover { color: var(--green-d); }
.news-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; transition: .3s; }
.news-item:hover { border-color: var(--green); }
.news-date-sm { font-size: 11.5px; color: var(--blue); font-weight: 800; letter-spacing: .1em; }
.news-item h4 { font-size: 15.5px; margin-top: 5px; }
.news-item h4 a:hover { color: var(--green-d); }
.news-list .more { margin-top: 6px; }
.more { color: var(--green-d); font-weight: 700; font-size: 14.5px; }
.more:hover { text-decoration: underline; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 32px; margin-bottom: 14px; }
.contact-info > p { color: var(--muted); margin-bottom: 30px; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; font-size: 14.5px; color: var(--sub); }
.contact-list b { display: block; color: var(--ink); margin-bottom: 2px; }
.contact-list a { color: var(--blue); font-weight: 700; }
.contact-list small { color: var(--muted); }
.ico-sm {
  flex: 0 0 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: var(--green-l); color: var(--green-d);
}
.ico-sm svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.signup {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px;
  box-shadow: var(--shadow);
}
.signup h3 { font-size: 22px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.signup input, .signup textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px;
  font-size: 14.5px; font-family: inherit; background: var(--input-bg); color: var(--ink);
}
.signup input::placeholder, .signup textarea::placeholder { color: var(--muted); }
.signup input:focus, .signup textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(14,159,110,.14); }
.signup textarea { height: 110px; resize: vertical; margin-bottom: 18px; }
.signup .btn { width: 100%; }
.form-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

/* ---------- footer ---------- */
.footer { background: #06271a; color: #b9d9c9; }
[data-theme="dark"] .footer { background: #05140d; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 44px; }
.f-brand img { height: 50px; margin-bottom: 14px; background: #fff; border-radius: 12px; padding: 4px; }
.f-brand p { font-size: 14px; color: #9fc3b0; }
.f-col h4 { color: #fff; font-size: 14.5px; letter-spacing: .06em; margin-bottom: 16px; }
.f-col a, .f-col p { display: block; font-size: 14px; padding: 5px 0; color: #b9d9c9; }
.f-col a:hover { color: #7de3bb; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; padding-bottom: 24px; font-size: 13px; color: #7fb39c;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-text h1 { font-size: 38px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
  .vm-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .creds-in { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .s-cell { border-right: none; padding: 14px 10px; }
}
@media (max-width: 860px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg);
    flex-direction: column; align-items: stretch; padding: 12px 24px 22px; gap: 2px;
    border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(12,43,29,.12);
  }
  .nav.open { display: flex; }
  .nav > a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav > a.active::after { display: none; }
  .langs { margin: 14px 0 6px; }
  .nav-cta { text-align: center; }
  .burger { display: block; }
  .theme-toggle { display: none; }
  .theme-toggle.mobile { display: flex; margin: 0 10px 0 6px; }
  .hero { padding-top: 56px; }
  .hero-text h1 { font-size: 32px; }
  .news-grid, .contact-grid { grid-template-columns: 1fr; }
  .sv-grid { grid-template-columns: 1fr; }
  .hm-badge { left: 10px; top: -14px; }
  .hm-badge.b2 { right: 10px; bottom: -12px; }
  .form-row { grid-template-columns: 1fr; }
  .creds-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-text h1 { font-size: 27px; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .s-cell b { font-size: 34px; }
  .sec-head h2 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .hero-media { display: none; }
}

/* ==========================================================
   Site additions: inner pages, forms, pager, article
   ========================================================== */
.page-hero {
  position: relative; padding: 84px 0 76px; overflow: hidden;
  background: var(--hero-bg); border-bottom: 1px solid var(--line);
}
.page-hero.small { padding: 56px 0 52px; }
.page-hero .aurora, .page-hero .grid-overlay { z-index: 0; }
.page-hero-in { position: relative; z-index: 2; max-width: 780px; }
.page-hero-in h1 { font-size: 40px; margin-bottom: 12px; }
.page-hero-in p { color: var(--muted); font-size: 16.5px; }
.page-hero-in.center { text-align: center; margin: 0 auto; }

/* flash messages */
.flash { margin: 18px auto 0; padding: 14px 20px; border-radius: 12px; font-weight: 600; font-size: 14.5px; }
.flash-ok  { background: var(--green-l); color: var(--green-d); border: 1px solid var(--green); }
.flash-err { background: #fdeaea; color: #b3261e; border: 1px solid #f5b8b0; }
[data-theme="dark"] .flash-err { background: #2b1412; color: #ff8a80; border-color: #6b2c25; }

/* news */
.news-empty { text-align: center; color: var(--muted); padding: 30px 0; }
.news-list.full { gap: 0; }
.news-list.full .news-item { margin-bottom: 12px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.page-btn {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--green-d); font-weight: 700; font-size: 14px; transition: .25s;
}
.page-btn:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.page-info { color: var(--muted); font-size: 14px; font-weight: 700; }

/* article */
.article-sec { padding-top: 40px; }
.article-wrap { max-width: 860px; }
.article-body { font-size: 16.5px; line-height: 1.9; color: var(--ink); }
.article-body p { margin-bottom: 16px; }
.article-wrap .btn { margin-top: 34px; }

/* signup form extras */
.cap-row { align-items: center; margin-bottom: 18px; }
.cap-q { font-size: 15px; font-weight: 700; color: var(--sub); white-space: nowrap; }
.hp-field {
  position: absolute !important; left: -9999px !important; width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}
@media (max-width: 860px) {
  .page-hero-in h1 { font-size: 30px; }
  .cap-row { grid-template-columns: 1fr 110px; }
}

/* ==========================================================
   v5 additions: imagery, marquee, mission band, animations
   ========================================================== */

/* ---------- marquee band ---------- */
.marquee-band {
  display: flex; align-items: center; gap: 18px;
  background: var(--band); border-top: 1px solid var(--band-border);
  border-bottom: 1px solid var(--band-border); padding: 14px 0; overflow: hidden;
}
.mq-label {
  flex: 0 0 auto; margin-left: 24px; font-size: 12px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--band-accent); background: var(--band-card);
  border: 1px solid var(--band-border); border-radius: 999px; padding: 6px 14px;
  position: relative; z-index: 2;
}
.mq-window { overflow: hidden; flex: 1; }
.mq-track { display: flex; gap: 26px; white-space: nowrap; width: max-content; animation: mq 60s linear infinite; }
/* freeze the strip the moment the cursor enters it, so links are easy to click */
.marquee-band:hover .mq-track { animation-play-state: paused; }
.mq-item { font-size: 14px; font-weight: 800; letter-spacing: .1em; color: var(--band-text); cursor: pointer; }
.mq-item:hover { color: #fff; }
.mq-track i { font-style: normal; color: var(--band-accent); font-size: 10px; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- mission band (parallax) ---------- */
.mission-band { position: relative; overflow: hidden; }
.mission-bg {
  position: absolute; inset: -20% 0; z-index: 0;
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
.mission-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(6,39,26,.88) 10%, rgba(10,55,38,.72) 60%, rgba(6,39,26,.85));
}
.mission-band-in { position: relative; z-index: 2; text-align: center; padding: 96px 24px; }
.mission-band-in .kicker { color: var(--band-accent); }
.mission-band-in blockquote {
  font-size: 30px; font-weight: 800; line-height: 1.45; color: #fff;
  max-width: 880px; margin: 10px auto 30px;
}
.mission-band .btn-glass { border-color: rgba(255,255,255,.45); color: #fff; }
.mission-band .btn-glass:hover { background: rgba(255,255,255,.16); }
@media (max-width: 860px) {
  .mission-bg { background-attachment: scroll; }
  .mission-band-in blockquote { font-size: 21px; }
}

/* ---------- page hero with background photo ---------- */
.page-hero.has-bg { padding: 120px 0 110px; background: var(--band); }
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center;
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.07); } }
.page-hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(6,39,26,.92) 8%, rgba(9,48,33,.75) 50%, rgba(6,39,26,.55));
}
.page-hero.has-bg .page-hero-in { color: #fff; }
.page-hero.has-bg .page-hero-in h1 { color: #fff; }
.page-hero.has-bg .page-hero-in p { color: #cfe4d8; }
.page-hero.has-bg .kicker { color: var(--band-accent); }
.page-hero.has-bg .grid-overlay { opacity: .35; }

/* ---------- service cards with images ---------- */
.sv { display: flex; flex-direction: column; padding: 0; }
.sv-img { height: 190px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.sv-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sv:hover .sv-img img { transform: scale(1.08); }
.sv-body { padding: 26px 30px 30px; position: relative; }
.sv-num { top: 10px; right: 20px; }

/* ---------- case cards with images ---------- */
.case { padding: 0; overflow: hidden; }
.case-img { height: 180px; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.case:hover .case-img img { transform: scale(1.08); }
.case .case-tag { margin: 22px 26px 0; }
.case .case-stats { padding: 0 26px; }
.case h3 { padding: 0 26px; }
.case p { padding: 0 26px 26px; }

/* ---------- hero effects ---------- */
.hm-main img { animation: heroZoom 16s ease-in-out infinite alternate; }
.hm-badge { animation: floaty 7s ease-in-out infinite alternate; }
.hm-badge.b2 { animation-delay: -3.5s; }
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-12px); } }
.aurora { animation: aurora 16s ease-in-out infinite alternate; }
@keyframes aurora {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(50px, 30px) scale(1.15); }
}
.hero-text .grad { background-size: 200% auto; animation: shimmer 5s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }

/* ---------- button shine ---------- */
.btn-grad { position: relative; overflow: hidden; }
.btn-grad::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); animation: shine 3.4s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -80%; } 85%, 100% { left: 130%; } }

/* ---------- icon hover pop ---------- */
.ico { transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.sv:hover .ico, .vm-card:hover .ico { transform: scale(1.12) rotate(-4deg); }

/* ---------- scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0ms); }
[data-reveal="left"]  { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="up"]    { transform: translateY(26px); }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ---------- header scroll state ---------- */
.header.scrolled { box-shadow: 0 10px 30px rgba(12,43,29,.12); }

/* ---------- back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 26px; z-index: 70;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--grad); color: #fff; font-size: 20px; font-weight: 800;
  box-shadow: 0 12px 28px rgba(14,159,110,.4); opacity: 0; visibility: hidden;
  transform: translateY(14px); transition: .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- credits page ---------- */
.credits-wrap { max-width: 1080px; }
.credits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.credit-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .3s; }
.credit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--green); }
.credit-card img { width: 100%; height: 150px; object-fit: cover; }
.credit-body { padding: 16px 18px 18px; font-size: 13px; color: var(--muted); }
.credit-title { color: var(--ink); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.credit-body b { color: var(--sub); }
.credit-body .more { font-size: 13px; }
@media (max-width: 900px) { .credits-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .credits-grid { grid-template-columns: 1fr; } }

/* ---------- footer credits link ---------- */
.f-credits { color: #7fb39c; text-decoration: underline; }
.f-credits:hover { color: #fff; }

/* ---------- news category filter chips ---------- */
.cat-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip-f {
  padding: 9px 20px; border-radius: 999px; font-weight: 700; font-size: 14px;
  background: var(--card); color: var(--sub); border: 1px solid var(--line); transition: .25s;
}
.chip-f:hover { border-color: var(--green); color: var(--green-d); }
.chip-f.on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(14,159,110,.28); }

/* ==========================================================
   v6 additions: clickable partners, certifications, inquiry CTAs
   ========================================================== */
.trust-names a { font-size: 15.5px; font-weight: 800; color: var(--sub); letter-spacing: .02em; transition: .2s; }
.trust-names a:hover { color: var(--green-d); }
.trust-names i { font-style: normal; color: var(--line); }

.client-chip { display: inline-block; text-decoration: none; }

.mq-item { text-decoration: none; }
.mq-item:hover { color: #fff; }

.sv-cta-link, .case-cta-link {
  display: inline-block; margin-top: 14px; font-weight: 800; font-size: 14.5px;
  color: var(--green-d); position: relative; z-index: 1;
}
.sv-cta-link:hover, .case-cta-link:hover { text-decoration: underline; }
.case-cta-link { margin: auto 26px 24px; padding-top: 10px; }

.sv-prefill {
  background: var(--green-l); color: var(--green-d); border: 1px solid var(--green);
  border-radius: 10px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 16px;
}
.sv-prefill b { margin-left: 6px; }

/* ---------- whole-card clickable news items ---------- */
.news-item { position: relative; }
.news-item h4 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.news-item:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.news-main { position: relative; }
.news-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ---------- article body links ---------- */
.article-body a { color: var(--blue); text-decoration: underline; word-break: break-all; }
.article-body a:hover { color: var(--green-d); }

/* ============================================================
   v7: elliptical client chips (restored) + corporate motion layer
   ============================================================ */

/* ---------- elliptical client chips ---------- */
.client-cloud a.client-chip {
  border-radius: 50%;
  height: 62px;
  padding: 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16.5px;
  background: var(--card);
  box-shadow: 0 6px 16px rgba(12,43,29,.06);
}
.client-cloud a.client-chip:hover {
  border-color: var(--green);
  color: var(--green-d);
  box-shadow: 0 16px 34px rgba(14,159,110,.20);
  transform: translateY(-4px) scale(1.04);
}
@media (max-width: 560px) {
  .client-cloud a.client-chip { height: 52px; padding: 0 22px; font-size: 14.5px; }
}

/* ---------- scroll progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad); z-index: 90; border-radius: 0 3px 3px 0;
}

/* ---------- hero entrance (load-in stagger) ---------- */
.hero-load { opacity: 0; transform: translateY(26px); animation: heroIn .9s cubic-bezier(.2,.7,.3,1) forwards; }
.hero-load.d1 { animation-delay: .05s; }
.hero-load.d2 { animation-delay: .15s; }
.hero-load.d3 { animation-delay: .28s; }
.hero-load.d4 { animation-delay: .40s; }
.hero-load.d5 { animation-delay: .52s; }
.hero-load.dm { animation-delay: .20s; transform: translateY(26px) scale(.985); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------- hero bokeh particles ---------- */
.bokeh {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(14,159,110,.5), rgba(14,159,110,0) 70%);
  filter: blur(3px); animation: bokehFloat 11s ease-in-out infinite alternate;
}
.bokeh.blue { background: radial-gradient(circle, rgba(1,111,255,.45), rgba(1,111,255,0) 70%); }
@keyframes bokehFloat {
  from { transform: translateY(0) translateX(0); }
  to   { transform: translateY(-36px) translateX(14px); }
}

/* ---------- hero mouse parallax ---------- */
.hero-media { transition: transform .5s cubic-bezier(.2,.7,.3,1); will-change: transform; }

/* ---------- animated gradient bands ---------- */
.anim-grad {
  background: linear-gradient(120deg, #06271a, #0a3d2c, #0e6e4c, #06271a);
  background-size: 300% 300%;
  animation: gradShift 16s ease infinite;
}
@keyframes gradShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---------- kicker sweeping line ---------- */
.sec-head .kicker::after, .page-hero-in .kicker::after, .mission-band-in .kicker::after {
  content: ""; display: inline-block; width: 36px; height: 2px;
  background: var(--grad); margin-left: 12px; vertical-align: middle; border-radius: 2px;
  animation: kickerSweep 2.6s ease-in-out infinite;
}
@keyframes kickerSweep { 0%, 100% { width: 36px; } 50% { width: 66px; } }

/* ---------- image blur-in reveal ---------- */
[data-reveal="blur"] { transform: none; filter: blur(12px) saturate(.8); opacity: .4; transition: filter .9s ease, opacity .9s ease; }
[data-reveal="blur"].revealed { filter: none; opacity: 1; }

/* ---------- arrow nudge on text links ---------- */
.more, .sv-cta-link, .case-cta-link { display: inline-block; transition: transform .25s, color .25s; }
.more:hover, .sv-cta-link:hover, .case-cta-link:hover { transform: translateX(4px); }

/* ---------- tiltable cards ---------- */
.tilt { transition: transform .25s ease, box-shadow .3s ease, border-color .3s ease; will-change: transform; }

/* ============================================================
   v8: hero background video (SLR / Bestseller pattern)
   ============================================================ */
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-video-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(3, 18, 10, .78) 4%, rgba(3, 18, 10, .52) 46%, rgba(3, 18, 10, .18) 100%);
}
.hero.has-video { background-color: #062017; }
.hero.has-video .hero-text { color: #fff; }
.hero.has-video .hero-text h1 { color: #fff; }
.hero.has-video .hero-text p { color: #d9eae0; }
.hero.has-video .hero-text .grad { color: #6fe3b6; }
.hero.has-video .chip {
  background: rgba(255, 255, 255, .10); color: #d9f5e8;
  border-color: rgba(125, 227, 187, .45);
}
.hero.has-video .cred {
  background: rgba(255, 255, 255, .08); color: #e6f3ec;
  border-color: rgba(255, 255, 255, .22);
}
.hero.has-video .btn-line { border-color: rgba(255, 255, 255, .7); color: #fff; }
.hero.has-video .btn-line:hover { background: rgba(255, 255, 255, .14); }
.hero.has-video .trust-bar { border-top-color: rgba(255, 255, 255, .16); }
.hero.has-video .trust-bar > span { color: #a9ccb9; }
.hero.has-video .trust-names a { color: #e4f2ea; }
.hero.has-video .trust-names a:hover { color: #7de3bb; }
.hero.has-video .trust-names i { color: rgba(255, 255, 255, .3); }

.hero-kpis {
  display: flex; flex-direction: column; gap: 22px;
  align-items: flex-end; justify-content: center;
  transition: transform .5s cubic-bezier(.2,.7,.3,1); will-change: transform;
}
.hero-kpis .hm-badge { position: static; animation: floaty 7s ease-in-out infinite alternate; }
.hero-kpis .hm-badge:nth-child(2) { animation-delay: -3.5s; }

@media (max-width: 1080px) {
  .hero-kpis { display: none; }
}

/* ---------- credits video note ---------- */
.credits-video-note { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.credits-video-note a { color: var(--blue); font-weight: 700; }
.credits-video-note a:hover { text-decoration: underline; }

/* ---------- hero credential chips as links ---------- */
.hero-credentials a.cred { text-decoration: none; transition: .25s; }
.hero.has-video .hero-credentials a.cred:hover {
  background: rgba(125, 227, 187, .22); border-color: rgba(125, 227, 187, .6);
  color: #7de3bb; transform: translateY(-2px);
}

/* ============================================================
   v9: testimonials band + industry chips
   ============================================================ */
.testimonials {
  position: relative; padding: 96px 0; overflow: hidden;
  background: linear-gradient(140deg, #06271a 0%, #0a3d2c 55%, #0b2e2a 100%);
  border-top: 1px solid rgba(125,227,187,.15);
  border-bottom: 1px solid rgba(125,227,187,.15);
}
.testimonials .grid-overlay { opacity: .4; }
.testimonials .wrap { position: relative; z-index: 2; }
.testimonials .sec-head { margin-bottom: 46px; }
.testimonials .sec-head h2 { color: #fff; }
.testimonials .sec-head .kicker { color: #7de3bb; }
.testimonials .sec-head p { color: #b9d9c9; }
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tst-card {
  border-radius: var(--radius); padding: 30px 28px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(125,227,187,.22);
}
.tst-card h3 { font-size: 18px; color: #7de3bb; margin: 16px 0 10px; }
.tst-card p { color: #d3e6dc; font-size: 14.5px; }
.tst-card .ico { background: rgba(125,227,187,.14); color: #7de3bb; border: 1px solid rgba(125,227,187,.3); }
@media (max-width: 860px) { .tst-grid { grid-template-columns: 1fr; } }

/* industries chips */
.industry-band {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line);
}
.industry-label { font-weight: 800; font-size: 14px; color: var(--sub); letter-spacing: .06em; }
.industry-chip {
  padding: 8px 20px; border-radius: 999px; font-weight: 700; font-size: 14px;
  background: var(--green-l); color: var(--green-d); border: 1px solid var(--green);
}
