/* ============================================================
   Metering Systems SRL — static site styles
   Palette: navy #1d3557 · brand red #d81f17 · light #f4f6fa
   Fonts:   Inter (headings + body, self-hosted) — full Romanian diacritics
   ============================================================ */

/* ---------- Fonts (Inter, self-hosted variable woff2) ---------- */
@font-face { font-family:'Inter'; font-style:normal; font-weight:400 700; font-display:swap; src:url(/assets/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Inter'; font-style:normal; font-weight:400 700; font-display:swap; src:url(/assets/fonts/inter-latin.woff2) format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- Design tokens ---------- */
:root {
  --navy:        #1d3557;
  --navy-700:    #16293f;
  --navy-900:    #0f1d2e;
  --accent:      #d81f17;
  --accent-600:  #c0150f;
  --accent-700:  #9c0f0a;
  --red:         #d81f17;
  --ink:         #20262e;
  --muted:       #5a6573;
  --line:        #e3e8ef;
  --bg:          #ffffff;
  --bg-alt:      #f4f6fa;
  --bg-soft:     #eef2f7;
  --white:       #ffffff;
  --warn:        #c0392b;
  --ok:          #1e8e5a;

  --maxw:        1200px;
  --gutter:      clamp(1.1rem, 4vw, 2rem);
  --radius:      14px;
  --radius-sm:   9px;
  --shadow:      0 10px 30px rgba(16, 32, 56, .08);
  --shadow-lg:   0 22px 50px rgba(16, 32, 56, .14);
  --shadow-sm:   0 4px 14px rgba(16, 32, 56, .07);
  --ring:        0 0 0 4px rgba(216, 31, 23, .25);

  --head:        'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --body:        'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --tr:          .25s ease;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-600); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--navy); }
ul { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
::selection { background: var(--navy); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.14;
  color: var(--navy);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.12rem; }
p  { color: var(--ink); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--muted); font-weight: 400; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--alt { background: var(--bg-alt); }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #dbe4f0; }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--body); font-weight: 700; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-600);
  margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.section--navy .eyebrow { color: var(--accent); }
.section--navy .eyebrow::before { background: var(--accent); }
.section-head p { color: var(--muted); margin-top: .8rem; font-size: 1.1rem; }
.section--navy .section-head p { color: #b8c6da; }

.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.8rem); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--body); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 50px; border: 2px solid transparent;
  transition: transform var(--tr), background var(--tr), color var(--tr), box-shadow var(--tr);
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(216,31,23,.32); }
.btn--primary:hover { background: var(--accent-600); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(216,31,23,.4); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #fdecec; color: var(--accent-700); transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.06rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--tr), background var(--tr);
}
.site-header.scrolled { box-shadow: 0 6px 22px rgba(16,32,56,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--head); }
.brand__logo { height: 52px; width: auto; display: block; }
.footer-brand .brand__logo { height: 56px; }
@media (max-width: 760px) { .brand__logo { height: 44px; } }
.brand__mark {
  width: 40px; height: 40px; border-radius: 10px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--navy), var(--accent-600));
  display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm);
}
.brand__mark svg { width: 23px; height: 23px; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__name b { font-size: 1.32rem; color: var(--navy); font-weight: 400; letter-spacing: .5px; }
.brand__name span { font-family: var(--body); font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent-600); font-weight: 700; margin-top: 3px; }

.menu { display: flex; align-items: center; gap: .35rem; }
.menu a {
  font-family: var(--body); font-weight: 600; color: var(--navy); font-size: 1rem;
  padding: .55rem .95rem; border-radius: 8px; position: relative; transition: color var(--tr), background var(--tr);
}
.menu a:hover { background: var(--bg-alt); }
.menu a.active { color: var(--accent-600); }
.menu a.active::after {
  content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .3rem; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.nav__cta { display: flex; align-items: center; gap: .7rem; }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center; gap: .3rem;
  min-width: 42px; height: 38px; padding: 0 .7rem; border-radius: 9px;
  border: 1.5px solid var(--line); font-family: var(--body); font-weight: 700;
  font-size: .88rem; color: var(--navy); letter-spacing: .04em; transition: var(--tr);
}
.lang-switch svg { width: 15px; height: 15px; opacity: .7; }
.lang-switch:hover { border-color: var(--accent); color: var(--accent-700); background: #fff; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; margin-inline: auto; position: relative; transition: var(--tr);
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after  { position: absolute; top:  6px; }
body.menu-open .nav__toggle span { background: transparent; }
body.menu-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav__toggle span::after  { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--navy); color: #cdd9e8; overflow: hidden;
  padding-block: clamp(3.2rem, 7vw, 6rem);
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 620px; height: 620px; right: -240px; top: -260px; background: radial-gradient(circle, rgba(216,31,23,.28), transparent 62%); }
.hero::after  { width: 520px; height: 520px; left: -220px; bottom: -300px; background: radial-gradient(circle, rgba(216,31,23,.14), transparent 60%); }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero p { color: #b7c6dc; font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 60ch; margin-top: 1.3rem; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #fff; }
.hero--center { text-align: center; }
.hero--center h1 { margin-inline: auto; }
.hero--center p { margin-inline: auto; }
.hero--center .hero__actions { justify-content: center; }
.hero--slim { padding-block: clamp(2.6rem, 5vw, 4.2rem); }

.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem,4vw,3rem); margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.14); }
.hero__stats .num { font-family: var(--head); font-weight: 700; font-size: 2.2rem; color: #fff; line-height: 1; }
.hero__stats .lbl { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #8fa4c0; margin-top: .35rem; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2.1rem); box-shadow: var(--shadow-sm);
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cfe0f3; }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(216,31,23,.14), rgba(29,53,87,.1));
  color: var(--accent-600); margin-bottom: 1.2rem;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3, .card h4 { margin-bottom: .55rem; }
.card p { color: var(--muted); font-size: 1rem; }
.card--num { position: relative; }
.card__num { position: absolute; top: 1.3rem; right: 1.5rem; font-family: var(--head); font-weight: 700; font-size: 2.4rem; color: var(--bg-soft); line-height: 1; }

/* feature list (why choose us) */
.feat { display: flex; gap: 1rem; align-items: flex-start; }
.feat__ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: rgba(216,31,23,.12); color: var(--accent-600); display: grid; place-items: center; }
.feat__ic svg { width: 22px; height: 22px; }
.feat h4 { font-size: 1.18rem; margin-bottom: .25rem; }
.feat p { color: var(--muted); font-size: .98rem; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split__body h2 { margin-bottom: 1rem; }
.split__body p + p { margin-top: 1rem; }
.split__body .lead { margin-bottom: 1.2rem; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); text-align: center; }
.stat__num { font-family: var(--head); font-weight: 700; font-size: clamp(3rem, 7vw, 5rem); color: #fff; line-height: 1; display: inline-flex; align-items: baseline; }
.stat__num .plus { color: var(--accent); font-size: .6em; margin-left: .08em; }
.stat__lbl { margin-top: .6rem; font-size: 1.05rem; letter-spacing: .04em; color: #aebfd6; }
.stat__divider { width: 54px; height: 3px; background: var(--accent); border-radius: 3px; margin: 1rem auto 0; }

/* ---------- Projects grid ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 1.9rem); }
.project {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform var(--tr), box-shadow var(--tr);
  display: flex; flex-direction: column; height: 100%;
}
.project:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.project__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.project__img--ph { background: linear-gradient(135deg, var(--navy), var(--navy-700)); display: grid; place-items: center; }
.project__img--ph svg { width: 58px; height: 58px; color: rgba(255,255,255,.22); }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project:hover .project__img img { transform: scale(1.06); }
.project__flag {
  position: absolute; top: .85rem; left: .85rem; z-index: 2;
  background: rgba(15,29,46,.82); color: #fff; font-weight: 600; font-size: .76rem;
  letter-spacing: .04em; padding: .32rem .7rem; border-radius: 50px; backdrop-filter: blur(4px);
}
.project__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.project__body h3 { font-size: 1.28rem; margin-bottom: .2rem; }
.project__loc { font-family: var(--body); font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-600); margin-bottom: .7rem; display: inline-flex; align-items: center; gap: .35rem; }
.project__loc svg { width: 14px; height: 14px; }
.project__body p { color: var(--muted); font-size: .98rem; }
.project__body ul.ticks { margin-top: .7rem; display: grid; gap: .35rem; }
.project__body ul.ticks li { position: relative; padding-left: 1.4rem; color: var(--muted); font-size: .96rem; }
.project__body ul.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem,2.5vw,1.8rem); }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem 1.8rem; box-shadow: var(--shadow-sm); position: relative; height: 100%;
}
.quote::before { content: "\201C"; font-family: Georgia, serif; position: absolute; top: .3rem; left: 1.3rem; font-size: 4.5rem; color: rgba(216,31,23,.22); line-height: 1; }
.quote p { position: relative; color: var(--ink); font-size: 1.04rem; font-style: italic; }
.quote .stars { color: #f5a623; letter-spacing: 2px; margin-top: 1rem; font-size: .95rem; font-style: normal; }

/* ---------- Pills (global presence) ---------- */
.pill {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: #cdd9e8;
  font-family: var(--body); font-weight: 600; font-size: .92rem; padding: .45rem 1.05rem;
  border-radius: 50px; transition: var(--tr); cursor: default;
}
.pill:hover { background: rgba(216,31,23,.2); border-color: var(--accent); color: #fff; transform: translateY(-1px); }

/* ---------- CTA band ---------- */
.cta {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 60%, #1b4a78 100%);
  color: #cdd9e8; border-radius: clamp(16px, 3vw, 28px); padding: clamp(2.4rem, 5vw, 4rem);
  text-align: center; position: relative; overflow: hidden;
}
.cta::after { content: ""; position: absolute; width: 460px; height: 460px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(216,31,23,.3), transparent 60%); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta p { color: #b7c6dc; max-width: 56ch; margin: 1rem auto 0; }
.cta .hero__actions, .cta .btnrow { justify-content: center; margin-top: 1.8rem; }
.btnrow { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-info { display: grid; gap: 1rem; }
.cinfo {
  display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm);
}
.cinfo__ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: rgba(216,31,23,.12); color: var(--accent-600); display: grid; place-items: center; }
.cinfo__ic svg { width: 22px; height: 22px; }
.cinfo h4 { font-size: 1.1rem; color: var(--navy); margin-bottom: .15rem; }
.cinfo a, .cinfo p { color: var(--muted); font-size: 1.02rem; }
.cinfo a:hover { color: var(--accent-600); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field.hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: .4rem; }
.field label .req { color: var(--accent-600); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg-alt);
  border: 1.5px solid var(--line); border-radius: 10px; padding: .8rem 1rem; transition: border var(--tr), box-shadow var(--tr), background var(--tr);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(216,31,23,.14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: .4rem; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-status { margin-top: 1rem; padding: .85rem 1.1rem; border-radius: 10px; font-size: .96rem; font-weight: 600; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: rgba(30,142,90,.1); color: var(--ok); border: 1px solid rgba(30,142,90,.3); }
.form-status.is-error { background: rgba(192,57,43,.08); color: var(--warn); border: 1px solid rgba(192,57,43,.28); }
.challenge-hint { font-weight: 700; color: var(--navy); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; max-width: 860px; margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.4rem;
  box-shadow: var(--shadow-sm); transition: box-shadow var(--tr);
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 0; font-family: var(--head); font-weight: 600; font-size: 1.18rem;
  color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); font-weight: 700; font-size: 1.5rem; color: var(--accent-600); transition: transform var(--tr); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.3rem; color: var(--muted); margin-top: -.3rem; }

/* map */
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); line-height: 0; }
.map-embed iframe { width: 100%; height: 360px; border: 0; }

/* ---------- Prose / legal ---------- */
.prose { max-width: 800px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2.4rem; margin-bottom: .7rem; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6rem; margin-bottom: .5rem; }
.prose p, .prose li { color: var(--muted); }
.prose p { margin-bottom: 1rem; }
.prose ul { margin: 0 0 1.2rem; display: grid; gap: .5rem; }
.prose ul li { position: relative; padding-left: 1.4rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.prose a { font-weight: 600; }
.prose .updated { font-size: .9rem; color: var(--muted); margin-bottom: 2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }

/* ---------- 404 ---------- */
.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: 4rem; }
.notfound .code { font-family: var(--head); font-weight: 700; font-size: clamp(5rem, 18vw, 9rem); line-height: 1; color: var(--navy); }
.notfound .code span { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fb1c9; padding-top: clamp(3rem, 5vw, 4.2rem); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: clamp(2rem, 4vw, 3.5rem); padding-bottom: 2.6rem; }
.site-footer .brand__name b { color: #fff; }
.footer-brand p { color: #93a6c0; font-size: .98rem; max-width: 40ch; }
.footer-brand .brand__name b { color: #fff; }
.footer-col h5 { color: #fff; font-family: var(--body); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a { color: #9fb1c9; font-size: 1rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .7rem; font-size: 1rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--accent); flex: 0 0 auto; margin-top: .28rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .9rem; color: #76879f; }
.footer-bottom a { color: #9fb1c9; }
.footer-bottom a:hover { color: #fff; }

/* ---------- No-cookies notice ---------- */
.cookie-notice {
  position: fixed; left: 1.1rem; bottom: 1.1rem; z-index: 200; max-width: 420px;
  display: flex; align-items: center; gap: .85rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: .95rem 1.05rem;
  font-size: .92rem; color: var(--ink); line-height: 1.45;
  transform: translateY(160%); opacity: 0; transition: transform .4s ease, opacity .4s ease;
}
.cookie-notice.show { transform: translateY(0); opacity: 1; }
.cookie-notice > svg { width: 24px; height: 24px; color: var(--accent-600); flex: 0 0 auto; }
.cookie-notice p { flex: 1; margin: 0; }
.cookie-notice a { font-weight: 600; white-space: nowrap; }
.cookie-notice button {
  flex: 0 0 auto; background: var(--navy); color: #fff; border: 0; border-radius: 8px;
  padding: .5rem .95rem; font-family: var(--body); font-weight: 700; font-size: .86rem; transition: background var(--tr);
}
.cookie-notice button:hover { background: var(--navy-700); }
@media (max-width: 540px) {
  .cookie-notice { left: .7rem; right: .7rem; bottom: .7rem; max-width: none; flex-wrap: wrap; }
  .cookie-notice p { flex: 1 1 100%; }
  .cookie-notice button { margin-left: auto; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 520px; }
  .g-3, .projects, .testimonials, .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .menu {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: .6rem var(--gutter) 1.2rem;
    transform: translateY(-130%); transition: transform .32s ease; box-shadow: var(--shadow); z-index: 90;
  }
  body.menu-open .menu { transform: translateY(0); }
  .menu a { padding: .9rem .5rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .menu a.active::after { display: none; }
  .nav__cta .btn:not(.nav__toggle) { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .g-3, .projects, .testimonials, .stats, .g-2 { grid-template-columns: 1fr; }
  .stats { gap: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.6rem 2.4rem; }
}
