/* ============================================================
   SOLTECH Energy Solutions - Design System
   Brand: Navy #0c3c78 · Solar Orange #f0840c
   ============================================================ */

:root {
  /* Brand */
  --navy-900: #071f3d;
  --navy-800: #0a2c56;
  --navy-700: #0c3c78;
  --navy-600: #14508f;
  --blue-500: #1f6fb2;
  --blue-400: #3f8fd0;
  --orange-600: #d97407;
  --orange-500: #f0840c;
  --orange-400: #f79a2e;

  /* Neutrals */
  --ink: #16232f;
  --slate: #45586b;
  --muted: #6b7c8d;
  --line: #e4e9f0;
  --line-soft: #eef2f7;
  --paper: #f5f8fc;
  --paper-2: #eef3f9;
  --white: #ffffff;

  /* System */
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(12, 40, 78, .06), 0 2px 8px rgba(12, 40, 78, .05);
  --shadow-md: 0 6px 24px rgba(12, 40, 78, .09), 0 2px 6px rgba(12, 40, 78, .05);
  --shadow-lg: 0 24px 60px rgba(9, 32, 63, .16);
  --ring: 0 0 0 4px rgba(31, 111, 178, .16);
  --container: 1180px;
  --header-h: 76px;

  --f-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-display: 'Sora', var(--f-sans);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--f-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: var(--navy-900); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 66px 0; }
.section--paper { background: var(--paper); }
.section--navy { background: radial-gradient(1200px 600px at 80% -10%, var(--navy-700), var(--navy-900) 60%); color: #dbe7f5; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.grid { display: grid; gap: 26px; }

/* ---------- Typography helpers ---------- */
.display { font-size: clamp(2.3rem, 5vw, 3.65rem); }
.h-xl { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.h-lg { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--slate); line-height: 1.7; }
.muted { color: var(--muted); }
.balance { text-wrap: balance; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue-500);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--orange-500), transparent); }
.section--navy .eyebrow { color: var(--orange-400); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 18px; }

.accent { color: var(--orange-500); }
.text-grad { background: linear-gradient(92deg, var(--blue-400), var(--orange-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-family: var(--f-display); font-weight: 600; font-size: .96rem; letter-spacing: -.01em;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(180deg, var(--orange-500), var(--orange-600)); color: #fff; box-shadow: 0 8px 20px rgba(217, 116, 7, .28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(217, 116, 7, .36); }
.btn-navy { background: var(--navy-700); color: #fff; }
.btn-navy:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-outline { background: transparent; color: var(--navy-700); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-500); box-shadow: var(--shadow-sm); }
.btn-lg { padding: 17px 32px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-display); font-weight: 600; color: var(--blue-500); font-size: .95rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #b9c9dc; font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 40px; }
.topbar__group { display: flex; align-items: center; gap: 22px; }
.topbar a { color: #cdd9e8; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 14px; height: 14px; color: var(--orange-400); }
.ticker { display: inline-flex; align-items: center; gap: 9px; }
.ticker__dot { width: 8px; height: 8px; border-radius: 50%; background: #37d67a; box-shadow: 0 0 0 0 rgba(55, 214, 122, .6); animation: pulse 2s infinite; }
.ticker__val { color: #fff; font-weight: 600; }
.ticker__delta { color: #37d67a; font-weight: 600; }
.ticker__delta.down { color: #ff8c8c; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(55, 214, 122, .55); } 70% { box-shadow: 0 0 0 7px rgba(55, 214, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(55, 214, 122, 0); } }

/* ---------- Header / Nav ---------- */
.header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, background .3s; }
.header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line-soft); background: rgba(255, 255, 255, .94); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link { position: relative; padding: 9px 15px; border-radius: 8px; font-family: var(--f-display); font-weight: 500; font-size: .95rem; color: var(--slate); transition: color .2s, background .2s; }
.nav__link:hover { color: var(--navy-700); background: var(--paper); }
.nav__link.active { color: var(--navy-700); }
.nav__link.active::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--orange-500); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; background: transparent; border: 0; }
.nav__toggle span { width: 24px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dropdown */
.has-drop { position: relative; }
.drop { position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s; }
.has-drop:hover .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a { display: block; padding: 11px 13px; border-radius: 8px; font-size: .92rem; color: var(--slate); }
.drop a strong { display: block; font-family: var(--f-display); color: var(--navy-800); font-weight: 600; font-size: .95rem; }
.drop a span { font-size: .82rem; color: var(--muted); }
.drop a:hover { background: var(--paper); }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(1100px 560px at 78% -8%, var(--navy-600), var(--navy-900) 62%); color: #e6eefb; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(900px 500px at 75% 10%, #000, transparent 75%); }
.hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -80px; top: -120px; background: radial-gradient(circle, rgba(240, 132, 12, .35), transparent 62%); filter: blur(10px); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; padding: 84px 0 92px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 4.8vw, 3.7rem); }
.hero .lead { color: #b8cbe4; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 22px 34px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero__trust-item { display: flex; align-items: center; gap: 11px; font-size: .9rem; color: #b8cbe4; }
.hero__trust-item svg { width: 20px; height: 20px; color: var(--orange-400); flex: none; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 100px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: .82rem; font-weight: 500; color: #cfe0f5; margin-bottom: 22px; }
.pill b { color: var(--orange-400); }

/* Hero visual card */
.hero__panel { position: relative; background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg); backdrop-filter: blur(6px); }
.hero__panel h3 { color: #fff; font-size: 1.05rem; }
.gauge { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.gauge__cell { background: rgba(6, 20, 40, .38); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 16px; }
.gauge__cell .n { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; color: #fff; }
.gauge__cell .n small { font-size: .8rem; color: var(--orange-400); font-weight: 600; }
.gauge__cell .l { font-size: .78rem; color: #9fb4d0; letter-spacing: .02em; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; margin-top: 16px; }
.bars span { flex: 1; background: linear-gradient(180deg, var(--orange-400), var(--blue-500)); border-radius: 4px 4px 0 0; opacity: .9; animation: grow 1.1s cubic-bezier(.2,.8,.2,1) backwards; }
@keyframes grow { from { height: 6% !important; opacity: .2; } }

/* ---------- Metrics ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.metric { text-align: center; padding: 30px 18px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.metric__n { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.7rem); color: var(--navy-700); letter-spacing: -.03em; line-height: 1; }
.metric__n small { font-size: 1.1rem; color: var(--orange-500); font-weight: 700; }
.metric__l { margin-top: 10px; font-size: .88rem; color: var(--muted); font-weight: 500; }
.metrics--navy .metric { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.metrics--navy .metric__n { color: #fff; }
.metrics--navy .metric__l { color: #a9bdd8; }

/* ---------- Cards / Sectors ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--orange-500), var(--blue-500)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card__icon { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(160deg, var(--paper-2), #fff); border: 1px solid var(--line); color: var(--blue-500); margin-bottom: 18px; }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.16rem; margin-bottom: 9px; }
.card p { color: var(--slate); font-size: .95rem; }
.card__list { margin-top: 15px; display: grid; gap: 8px; }
.card__list li { display: flex; gap: 9px; font-size: .88rem; color: var(--slate); }
.card__list svg { width: 16px; height: 16px; color: var(--orange-500); flex: none; margin-top: 3px; }

/* Feature (engineering advantage) */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature { display: flex; gap: 18px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.feature__num { font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; color: var(--orange-500); flex: none; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(160deg, #fff, var(--paper)); border: 1px solid var(--line); }
.feature h3 { font-size: 1.08rem; margin-bottom: 7px; }
.feature p { font-size: .93rem; color: var(--slate); }

/* Split / media rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }
.checklist { display: grid; gap: 14px; margin-top: 26px; }
.checklist li { display: flex; gap: 13px; }
.checklist svg { width: 22px; height: 22px; color: var(--orange-500); flex: none; }
.checklist strong { font-family: var(--f-display); display: block; color: var(--navy-800); font-size: 1rem; }
.checklist span { color: var(--slate); font-size: .93rem; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.stat-card { background: linear-gradient(155deg, var(--navy-700), var(--navy-900)); color: #fff; border-radius: var(--radius-lg); padding: 40px; }
.stat-card .big { font-family: var(--f-display); font-weight: 800; font-size: 3rem; letter-spacing: -.03em; }
.stat-card .big small { color: var(--orange-400); font-size: 1.3rem; }

/* ---------- Equipment ecosystem ---------- */
.brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.brand-chip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 26px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; transition: .22s; }
.brand-chip:hover { border-color: var(--blue-400); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.brand-chip__name { font-family: var(--f-display); font-weight: 700; color: var(--navy-800); font-size: 1.02rem; }
.brand-chip__tag { font-size: .74rem; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.brand-chip__mark { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; color: #fff; background: linear-gradient(150deg, var(--blue-500), var(--navy-700)); }
.tier-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 34px; flex-wrap: wrap; }
.tier-tab { padding: 9px 20px; border-radius: 100px; border: 1px solid var(--line); background: #fff; font-family: var(--f-display); font-weight: 600; font-size: .9rem; color: var(--slate); }
.tier-tab.active { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: radial-gradient(800px 400px at 15% 120%, var(--navy-600), var(--navy-900)); color: #fff; border-radius: var(--radius-lg); padding: 58px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; width: 320px; height: 320px; right: -60px; top: -100px; background: radial-gradient(circle, rgba(240, 132, 12, .4), transparent 60%); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #bcd0ea; max-width: 620px; margin: 16px auto 28px; position: relative; }
.cta-band .btn { position: relative; }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.project { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: .25s; }
.project:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.project__head { padding: 24px 26px; background: linear-gradient(150deg, var(--navy-700), var(--navy-900)); color: #fff; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.project__head h3 { color: #fff; font-size: 1.2rem; }
.project__loc { font-size: .82rem; color: #a9bdd8; display: flex; align-items: center; gap: 6px; margin-top: 5px; }
.project__loc svg { width: 14px; height: 14px; }
.project__tag { flex: none; padding: 6px 13px; border-radius: 100px; background: rgba(240, 132, 12, .18); border: 1px solid rgba(240, 132, 12, .4); color: var(--orange-400); font-size: .74rem; font-weight: 600; font-family: var(--f-display); }
.project__body { padding: 24px 26px; }
.project__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.spec { }
.spec .k { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.spec .v { font-family: var(--f-display); font-weight: 700; color: var(--navy-800); font-size: 1.05rem; margin-top: 2px; }
.spec .v small { color: var(--orange-500); font-size: .85rem; }
.project__components { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.tagchip { font-size: .76rem; padding: 4px 11px; border-radius: 7px; background: var(--paper); border: 1px solid var(--line); color: var(--slate); }
.project__result { display: flex; gap: 12px; align-items: center; padding: 15px 18px; background: linear-gradient(120deg, rgba(240,132,12,.09), rgba(31,111,178,.07)); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.project__result svg { width: 26px; height: 26px; color: var(--orange-500); flex: none; }
.project__result b { font-family: var(--f-display); color: var(--navy-800); }

/* ---------- Funnel ---------- */
.funnel { max-width: 780px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.funnel__head { padding: 30px 36px 0; }
.funnel__progress { display: flex; gap: 10px; margin-top: 22px; }
.funnel__step-ind { flex: 1; }
.funnel__step-ind .bar { height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.funnel__step-ind .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange-500), var(--blue-500)); transition: width .4s ease; }
.funnel__step-ind.done .bar i, .funnel__step-ind.active .bar i { width: 100%; }
.funnel__step-ind .lbl { font-size: .74rem; margin-top: 8px; color: var(--muted); font-family: var(--f-display); font-weight: 600; letter-spacing: .02em; }
.funnel__step-ind.active .lbl, .funnel__step-ind.done .lbl { color: var(--navy-700); }
.funnel__body { padding: 30px 36px 36px; }
.funnel__step { display: none; animation: fade .35s ease; }
.funnel__step.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } }
.funnel__q { font-family: var(--f-display); font-size: 1.35rem; font-weight: 700; color: var(--navy-800); }
.funnel__hint { color: var(--muted); margin: 6px 0 22px; font-size: .92rem; }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opt {
  display: flex; align-items: center; gap: 14px; padding: 18px; border: 1.5px solid var(--line);
  border-radius: var(--radius); background: #fff; text-align: left; transition: .18s; width: 100%;
}
.opt:hover { border-color: var(--blue-400); background: var(--paper); }
.opt.selected { border-color: var(--orange-500); background: linear-gradient(120deg, rgba(240,132,12,.07), rgba(31,111,178,.05)); box-shadow: var(--ring); }
.opt__ic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--paper); color: var(--blue-500); flex: none; }
.opt__ic svg { width: 24px; height: 24px; }
.opt.selected .opt__ic { background: var(--orange-500); color: #fff; }
.opt strong { font-family: var(--f-display); display: block; color: var(--navy-800); font-size: 1rem; }
.opt span { font-size: .82rem; color: var(--muted); }
.funnel__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.funnel__review { display: grid; gap: 12px; margin: 18px 0; padding: 20px; background: var(--paper); border-radius: var(--radius); }
.funnel__review .row { display: flex; justify-content: space-between; font-size: .92rem; }
.funnel__review .row span { color: var(--muted); }
.funnel__review .row b { font-family: var(--f-display); color: var(--navy-800); }
.funnel__success { text-align: center; padding: 20px; }
.funnel__success .badge-ok { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: linear-gradient(160deg, #34c759, #159a44); color: #fff; box-shadow: 0 12px 30px rgba(21,154,68,.35); }
.funnel__success .badge-ok svg { width: 38px; height: 38px; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--f-display); font-weight: 600; font-size: .86rem; color: var(--navy-800); margin-bottom: 7px; }
.field .req { color: var(--orange-500); }
.input, .select, .textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .96rem; color: var(--ink); background: #fff; transition: border .18s, box-shadow .18s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: var(--ring); }
.textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.filedrop { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 26px; text-align: center; background: var(--paper); transition: .2s; cursor: pointer; }
.filedrop:hover { border-color: var(--blue-400); background: var(--paper-2); }
.filedrop svg { width: 30px; height: 30px; color: var(--blue-500); margin: 0 auto 10px; }
.filedrop small { color: var(--muted); }
.filedrop .fname { color: var(--navy-700); font-weight: 600; font-family: var(--f-display); }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: radial-gradient(900px 460px at 82% -20%, var(--navy-600), var(--navy-900) 62%); color: #dce8f7; padding: 66px 0 74px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(700px 400px at 80% 0%, #000, transparent 72%); }
.page-hero__inner { position: relative; max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4vw, 3rem); }
.page-hero .lead { color: #b8cbe4; margin-top: 16px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .84rem; color: #93aacb; margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 13px; height: 13px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #9db2cd; padding: 68px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__brand img { height: 46px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .96; }
.footer p { font-size: .92rem; line-height: 1.7; }
.footer h4 { color: #fff; font-family: var(--f-display); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.footer__links { display: grid; gap: 11px; }
.footer__links a { font-size: .92rem; color: #a9bdd8; transition: color .2s, padding .2s; }
.footer__links a:hover { color: #fff; padding-left: 4px; }
.footer__contact li { display: flex; gap: 11px; font-size: .92rem; margin-bottom: 14px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--orange-400); flex: none; margin-top: 2px; }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }
.footer__credit { display: inline-flex; align-items: center; gap: 8px; color: #8fa4c0; transition: color .2s; }
.footer__credit:hover { color: #fff; }
.footer__credit img { height: 19px; width: auto; opacity: .92; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.07); transition: .2s; }
.footer__social a:hover { background: var(--orange-500); color: #fff; }
.footer__social svg { width: 17px; height: 17px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ---------- Misc ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 100px; background: #fff; border: 1px solid var(--line); font-size: .84rem; font-weight: 500; color: var(--slate); box-shadow: var(--shadow-sm); }
.badge svg { width: 16px; height: 16px; color: var(--orange-500); }
.two-col-list { columns: 2; column-gap: 30px; }
.two-col-list li { break-inside: avoid; margin-bottom: 12px; display: flex; gap: 10px; }
.two-col-list svg { width: 18px; height: 18px; color: var(--orange-500); flex: none; margin-top: 3px; }
.faq { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; }
.faq summary { padding: 18px 0; font-family: var(--f-display); font-weight: 600; color: var(--navy-800); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--orange-500); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 20px; color: var(--slate); font-size: .95rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .metrics, .cards, .brands { grid-template-columns: repeat(2, 1fr); }
  .features, .portfolio-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split--reverse .split__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .section { padding: 66px 0; }
  .topbar__group.hide-sm { display: none; }
  .nav__menu { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; background: #fff; padding: 14px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform .32s ease; z-index: 55; }
  .nav__menu.open { transform: translateY(0); }
  .nav__link { padding: 13px 15px; font-size: 1rem; }
  .has-drop .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; }
  .nav__toggle { display: flex; }
  .nav__actions .btn:not(.nav__toggle) { display: none; }
  .metrics, .cards, .brands, .opt-grid, .field-row, .funnel__progress { grid-template-columns: 1fr; }
  .funnel__progress { gap: 6px; }
  .funnel__step-ind .lbl { display: none; }
  .project__specs { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .two-col-list { columns: 1; }
  .cta-band { padding: 40px 24px; }
  .stat-card { padding: 28px; }
  .funnel__head, .funnel__body { padding-inline: 22px; }
}

/* Fix: checklist inside dark stat-card must be light */
.stat-card .checklist strong { color: #fff; }
.stat-card .checklist span { color: #c1d2e8; }
.stat-card .eyebrow { color: var(--orange-400); }


/* ===== Brand logo marquee (EZ) ===== */
.ezwall{position:relative;overflow:hidden;padding:10px 0;-webkit-mask:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.ezwall__track{display:flex;gap:18px;width:max-content;animation:ezscroll 45s linear infinite}
.ezwall:hover .ezwall__track{animation-play-state:paused}
.ezitem{display:flex;align-items:center;justify-content:center;flex:none;width:186px;height:78px;padding:0 22px;border-radius:14px;background:#fff;border:1px solid #e8edf3;box-shadow:0 4px 16px rgba(20,40,80,.07);transition:transform .2s ease,box-shadow .2s ease}
.ezitem:hover{transform:translateY(-4px);box-shadow:0 12px 26px rgba(20,40,80,.14)}
.ezitem img{max-height:36px;max-width:134px;width:auto;object-fit:contain}
.ezwall--dark .ezitem{background:#fff;border-color:transparent;box-shadow:0 6px 20px rgba(0,0,0,.28)}
@keyframes ezscroll{to{transform:translateX(calc(-50% - 9px))}}
@media (prefers-reduced-motion: reduce){.ezwall__track{animation:none;flex-wrap:wrap;justify-content:center}}

/* ---- Polish: back-to-top + focus ---- */
.to-top{position:fixed;right:22px;bottom:22px;width:46px;height:46px;border-radius:50%;background:var(--navy-700);color:#fff;border:0;display:grid;place-items:center;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(12px);transition:.3s;box-shadow:var(--shadow-md);z-index:50}
.to-top.show{opacity:1;visibility:visible;transform:none}
.to-top:hover{background:var(--orange-500);transform:translateY(-2px)}
.to-top svg{width:20px;height:20px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--blue-500);outline-offset:2px;border-radius:3px}
.skip-link{position:absolute;left:-999px;top:8px;background:var(--navy-800);color:#fff;padding:10px 16px;border-radius:8px;z-index:100;font-family:var(--f-display);font-weight:600}
.skip-link:focus{left:12px}
@media(max-width:520px){.to-top{right:14px;bottom:14px;width:42px;height:42px}}

/* ---- Responsive overflow guards ---- */
img,svg,iframe,video{max-width:100%}
.hero__inner,.split,.metrics,.metrics--navy,.cards,.features,.brands,.portfolio-grid,.footer__grid,.field-row,.gauge,.two-col-list{min-width:0}
.hero__inner>*,.split>*,.split__media,.metrics>*,.cards>*,.features>*,.feature,.brands>*,.portfolio-grid>*,.footer__grid>*,.field-row>*,.gauge>*{min-width:0}
.hero__panel,.stat-card,.cta-band,.funnel,.project,.media-frame{max-width:100%}
h1,h2,h3,.display,.h-xl,.h-lg,.metric__n,.hero h1,.stat-card .big{overflow-wrap:break-word}
.page-hero,.hero{max-width:100vw;overflow-x:clip}
