/* ============================================================
   ASSEC-IT — Design System
   Clair · épuré · corporate · rassurant · bleu de confiance
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* ---- Color (oklch, cool neutrals + trust blue) ---- */
  --bg:           oklch(0.991 0.004 250);
  --surface:      #ffffff;
  --surface-2:    oklch(0.972 0.006 250);
  --surface-3:    oklch(0.952 0.009 250);

  --ink:          oklch(0.255 0.035 258);
  --ink-2:        oklch(0.40 0.028 258);
  --ink-soft:     oklch(0.55 0.022 258);
  --line:         oklch(0.912 0.012 250);
  --line-strong:  oklch(0.86 0.016 250);

  --brand:        oklch(0.455 0.108 248);  /* ≈ logo #0f4e81 */
  --brand-strong: oklch(0.40 0.10 248);
  --brand-press:  oklch(0.34 0.088 248);
  --brand-tint:   oklch(0.957 0.020 248);
  --brand-tint-2: oklch(0.912 0.038 248);
  --accent:       oklch(0.70 0.125 228);   /* cyan signal, used sparingly */

  --navy:         oklch(0.255 0.052 250);
  --navy-2:       oklch(0.205 0.045 250);

  /* ---- Type ---- */
  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body:    'Manrope', ui-sans-serif, system-ui, sans-serif;

  /* ---- Radii ---- */
  --r-xs: 8px;
  --r-sm: 12px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* ---- Shadows ---- */
  --sh-xs: 0 1px 2px oklch(0.4 0.04 258 / 0.06);
  --sh-sm: 0 2px 8px oklch(0.4 0.04 258 / 0.07);
  --sh:    0 8px 28px oklch(0.4 0.06 258 / 0.10);
  --sh-lg: 0 24px 60px -12px oklch(0.35 0.07 258 / 0.18);
  --sh-brand: 0 14px 34px -10px oklch(0.555 0.165 256 / 0.45);

  /* ---- Layout ---- */
  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

::selection { background: var(--brand-tint-2); color: var(--brand-strong); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(64px, 9vw, 132px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-strong);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--brand);
}
.eyebrow--center::before { display: none; }

.h-display { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
.h-1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.h-2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--ink-2); line-height: 1.62; }
.muted { color: var(--ink-soft); }

.section-head { max-width: 660px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding-inline: 26px;
  font-family: var(--font-body); font-weight: 700; font-size: 15.5px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.btn--primary:hover { background: var(--brand-strong); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-strong); background: var(--brand-tint); }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.btn--sm { --bh: 44px; padding-inline: 20px; font-size: 14.5px; }
.btn--lg { --bh: 58px; padding-inline: 32px; font-size: 16.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-weight: 700; color: var(--brand-strong); font-size: 15px;
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.topbar {
  position: relative; z-index: 5;
  background: var(--navy); color: oklch(0.86 0.02 250);
  font-size: 13.5px; font-weight: 500;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 18px; }
.topbar a, .topbar-left > span { display: inline-flex; align-items: center; gap: 7px; color: inherit; white-space: nowrap; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; opacity: .8; }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.topbar-right .sep { width: 1px; height: 16px; background: oklch(0.86 0.02 250 / .25); }
@media (max-width: 1080px) { .topbar-addr { display: none; } }
@media (max-width: 880px) { .topbar-hours { display: none; } }
@media (max-width: 760px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: oklch(0.991 0.004 250 / 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: var(--sh-xs); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, var(--brand), var(--brand-strong));
  box-shadow: var(--sh-brand);
  font-weight: 700; font-size: 18px; letter-spacing: -0.04em;
}
.brand-name { font-weight: 700; font-size: 20px; letter-spacing: -0.03em; color: var(--ink); }
.brand-name b { color: var(--brand-strong); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; padding: 9px 15px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a.active { color: var(--brand-strong); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px; height: 2px;
  background: var(--brand); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--surface);
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform .25s, opacity .2s;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(4px); }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { transform: rotate(45deg); }
body.menu-open .nav-toggle span::after  { transform: rotate(-45deg) translateY(-1.5px) translateX(1px); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 0 0 auto 0; top: var(--hdr-h, 76px);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 16px var(--pad) 26px; box-shadow: var(--sh-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .28s cubic-bezier(.2,.7,.3,1), opacity .25s;
  }
  .nav-links a { padding: 14px 14px; font-size: 17px; }
  .nav-links a.active::after { display: none; }
  body.menu-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-cta .btn--desktop { display: none; }
}

/* ---------- Cards / surfaces ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--line-strong); }

/* ---------- Placeholder media ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(135deg, var(--surface-2) 0 14px, var(--surface-3) 14px 28px);
  border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-soft);
}
.ph::after {
  content: attr(data-label);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px; letter-spacing: .04em; color: var(--ink-soft);
  background: oklch(1 0 0 / .7); padding: 6px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line);
}
/* Baked content images (formerly image-slot) */
.hero-img, .about-img, .card-img { display: block; width: 100%; object-fit: cover; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
  transition-delay: var(--d, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: oklch(0.82 0.02 250); }
.site-footer a { color: oklch(0.82 0.02 250); transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
  padding-block: clamp(54px, 7vw, 84px);
}
.footer-grid h4 { color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body); font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 15px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 18px; max-width: 320px; color: oklch(0.74 0.02 250); font-size: 15px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: oklch(1 0 0 / .07); border: 1px solid oklch(1 0 0 / .09);
}
.footer-social a:hover { background: var(--brand); border-color: var(--brand); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid oklch(1 0 0 / .1); padding-block: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: oklch(0.66 0.02 250);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Misc utilities ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  height: 32px; padding-inline: 14px; border-radius: var(--r-pill);
  background: var(--brand-tint); color: var(--brand-strong);
  font-size: 13px; font-weight: 700;
  border: 1px solid var(--brand-tint-2);
}
.grid { display: grid; gap: 24px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.brand-logo { height: 30px; width: auto; display: block; }

/* ---- Corners tweak (home) ---- */
body[data-corners="net"] { --r-sm: 4px; --r: 6px; --r-lg: 8px; --r-xl: 10px; }

/* ============================================================
   Reusable section components (shared across pages)
   ============================================================ */

/* Clients strip */
.clients-label { text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.clients-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 46px; margin-top: 26px; }
.client-logo { font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 2.3vw, 29px); letter-spacing: -.02em; color: var(--ink); opacity: .4; transition: opacity .25s; }
.client-logo:hover { opacity: .85; }

/* Two-column section heads */
.services-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px 48px; align-items: end; margin-bottom: clamp(34px, 4vw, 58px); }
.services-head-p { align-self: end; }
.projects-head-link { align-self: end; justify-self: end; }
@media (max-width: 820px) { .services-head { grid-template-columns: 1fr; } .projects-head-link { justify-self: start; } }

/* Services grid */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }
.service-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s, border-color .3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--brand-tint-2); }
.service-ic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-strong); border: 1px solid var(--brand-tint-2); transition: background .3s, color .3s, transform .3s; }
.service-card:hover .service-ic { background: var(--brand); color: #fff; transform: translateY(-2px); }
.service-ic svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.2rem; }
.service-card p { color: var(--ink-soft); font-size: 15.5px; }
.services-cta { margin-top: 38px; display: flex; justify-content: center; }

/* About */
.about { background: var(--surface-2); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.about-media { position: relative; }
.about-media .about-img { box-shadow: var(--sh-lg); }
.about-stat-card { position: absolute; right: 16px; bottom: 16px; background: var(--brand); color: #fff; border-radius: var(--r); padding: 18px 22px; box-shadow: var(--sh-brand); display: flex; flex-direction: column; max-width: 210px; }
.about-stat-n { font-family: var(--font-display); font-size: 34px; font-weight: 700; line-height: 1; }
.about-stat-l { font-size: 12.5px; opacity: .92; margin-top: 5px; line-height: 1.35; }
.about-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.about-points { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 18px; }
.about-points li { display: flex; gap: 16px; }
.ap-ic { width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--brand-strong); }
.ap-ic svg { width: 22px; height: 22px; }
.about-points b { display: block; font-family: var(--font-display); font-size: 1.06rem; margin-bottom: 2px; }
.about-points p { color: var(--ink-soft); font-size: 15px; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(36px, 4vw, 56px); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 13px; transition: transform .3s, box-shadow .3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.step-num { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .12em; }
.step-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-strong); }
.step-ic svg { width: 25px; height: 25px; }
.step h3 { font-size: 1.18rem; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* Projects */
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .projects-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .projects-grid { grid-template-columns: 1fr; } }
.project-card { display: flex; flex-direction: column; gap: 14px; }
.project-card .card-img { box-shadow: var(--sh-sm); transition: transform .3s, box-shadow .3s; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.project-card:hover .card-img { transform: translateY(-5px); box-shadow: var(--sh); }
.project-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.project-meta h3 { font-size: 1.18rem; display: inline-flex; align-items: center; gap: 8px; }
.project-meta h3 svg { width: 18px; height: 18px; color: var(--brand); transition: transform .25s; }
.project-card:hover h3 svg { transform: translate(3px, -3px); }

/* Testimonial */
.testimonial { position: relative; overflow: hidden; background: linear-gradient(158deg, var(--navy), var(--navy-2)); color: #fff; border-radius: var(--r-xl); padding: clamp(36px, 5vw, 72px); display: flex; flex-direction: column; gap: 28px; }
.testimonial blockquote { position: relative; z-index: 1; margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.35rem, 2.9vw, 2.1rem); line-height: 1.34; letter-spacing: -.02em; max-width: 880px; text-wrap: balance; }
.testimonial figcaption { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; }
.testimonial figcaption b { display: block; color: #fff; font-weight: 700; }
.testimonial figcaption i { font-style: normal; color: #b9c6d8; font-size: 14px; }

/* Blog */
.blog { background: var(--surface-2); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(32px, 4vw, 52px); }
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.post-img { aspect-ratio: 16 / 10; border-radius: 0; border: none; border-bottom: 1px solid var(--line); }
img.post-img { width: 100%; object-fit: cover; display: block; }
.post-body { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.post-body h3 { font-size: 1.2rem; }
.post-body p { color: var(--ink-soft); font-size: 15px; }
.post-date { font-size: 13px; color: var(--ink-soft); font-weight: 600; }

/* CTA band */
.cta-band { padding-block: clamp(40px, 5vw, 76px); }
.cta-inner { position: relative; overflow: hidden; background: linear-gradient(145deg, var(--brand), var(--brand-strong)); color: #fff; border-radius: var(--r-xl); padding: clamp(36px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-text { position: relative; z-index: 1; }
.cta-text h2 { color: #fff; }
.cta-text .lede { color: rgba(255,255,255,.9); margin-top: 12px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-phone { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.cta-phone:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }

/* Pixel-field decoration (echoes the logo's dissolving squares) */
.pixel-field { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(var(--brand-tint-2) 1.7px, transparent 2px);
  background-size: 26px 26px; opacity: .9;
  -webkit-mask-image: radial-gradient(115% 90% at 82% 4%, #000 0%, transparent 58%);
  mask-image: radial-gradient(115% 90% at 82% 4%, #000 0%, transparent 58%); }
.pixel-field--dark { background-image: radial-gradient(rgba(255,255,255,.16) 1.7px, transparent 2px);
  -webkit-mask-image: radial-gradient(120% 110% at 92% 0%, #000 0%, transparent 66%);
  mask-image: radial-gradient(120% 110% at 92% 0%, #000 0%, transparent 66%); }
.pixel-field--center { -webkit-mask-image: radial-gradient(75% 75% at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(75% 75% at 50% 0%, #000 0%, transparent 72%); opacity: .65; }
body[data-pixels="off"] .pixel-field { display: none; }

/* ============================================================
   Inner pages
   ============================================================ */
.page-hero { position: relative; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--line); padding-block: clamp(48px, 7vw, 92px); }
.page-hero .wrap { position: relative; z-index: 1; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
.breadcrumb a:hover { color: var(--brand-strong); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .5; }
.page-hero h1 { margin-top: 16px; font-size: clamp(2.1rem, 4.8vw, 3.5rem); max-width: 20ch; }
.page-hero .lede { margin-top: 18px; max-width: 60ch; }
.page-hero .eyebrow { margin-bottom: 4px; }

/* Detailed service cards */
.svc-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 820px) { .svc-detail-grid { grid-template-columns: 1fr; } }
.svc-detail { display: flex; gap: 22px; padding: 30px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: transform .3s, box-shadow .3s, border-color .3s; }
.svc-detail:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--brand-tint-2); }
.svc-detail .service-ic { flex: none; }
.svc-detail h3 { font-size: 1.24rem; margin-bottom: 8px; }
.svc-detail > div > p { color: var(--ink-soft); font-size: 15.5px; }
.feature-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.feature-list svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 2px; }

/* Value cards */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .values-grid { grid-template-columns: 1fr; } }
.value-card { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.value-card .service-ic { width: 50px; height: 50px; }
.value-card h3 { font-size: 1.14rem; }
.value-card p { color: var(--ink-soft); font-size: 15px; }

/* Stats band (dark) */
.stats-band { position: relative; overflow: hidden; background: linear-gradient(158deg, var(--navy), var(--navy-2)); color: #fff; }
.stats-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; } }
.stat-item { display: flex; flex-direction: column; gap: 6px; }
.stat-item .stat-n { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 700; color: #fff; line-height: 1; }
.stat-item .stat-n .unit { color: var(--accent); }
.stat-item .stat-l { color: #b6c4d6; font-size: 15px; }

/* Regions */
.regions-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.region-chip { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.region-chip svg { width: 18px; height: 18px; color: var(--brand); }

/* Project filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.filter-chip { height: 42px; padding-inline: 20px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--surface); font-family: var(--font-body); font-weight: 600; font-size: 14.5px; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.filter-chip:hover { border-color: var(--brand); color: var(--brand-strong); }
.filter-chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.project-card.is-hidden { display: none; }
.projects-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .projects-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .projects-grid--3 { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px, 3vw, 40px); box-shadow: var(--sh-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.field input, .field textarea, .field select { font-family: var(--font-body); font-size: 15.5px; color: var(--ink); padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg); transition: border-color .2s, box-shadow .2s; width: 100%; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.form-success { display: none; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--r); background: var(--brand-tint); color: var(--brand-strong); font-weight: 600; margin-bottom: 18px; }
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; flex: none; }
.contact-aside { display: grid; gap: 16px; }
.contact-info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.contact-info-card h3 { font-size: 1.05rem; margin-bottom: 16px; }
.contact-line { display: flex; gap: 13px; align-items: flex-start; padding: 11px 0; }
.contact-line + .contact-line { border-top: 1px solid var(--line); }
.contact-line .ci-ic { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-strong); }
.contact-line .ci-ic svg { width: 20px; height: 20px; }
.contact-line b { display: block; font-size: 14px; color: var(--ink); }
.contact-line span { font-size: 14.5px; color: var(--ink-soft); }
.map-ph { aspect-ratio: 16 / 10; }

/* Generic intro lede block under section heads */
.section-lead { max-width: 720px; margin-bottom: clamp(34px, 4vw, 56px); }
