/* ============================================================
   PRAETER ENERGY — Option B shared stylesheet
   Brand kit: Elementor kit-18094 / praeter.energy
   Fonts: Basic (headings) · Karla (body/UI)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Basic&family=Karla:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ── 1. DESIGN TOKENS ──────────────────────────────────────── */
:root {
  --primary:       #2981b6;
  --primary-dark:  #1f6692;
  --primary-light: #d6eaf8;
  --secondary:     #54595f;
  --accent:        #86c669;
  --accent2:       #61ce70;
  --accent-dark:   #4e8a35;
  --text:          #7a7a7a;
  --black:         #1a1f24;
  --white:         #fff;
  --bg:            #f4f7f7;
  --bg2:           #eef2f2;
  --border:        #e2e8e8;
  --border2:       #cdd8d8;
  --f:             'Karla', sans-serif;
  --fs:            'Basic', sans-serif;
  --type-lead-size: 22px;
  --type-lead-line: 1.4;
  --type-intro-size: 18px;
  --type-intro-line: 1.55;
  --type-copy-size: 15px;
  --type-copy-line: 1.8;
  --type-card-copy-size: 14px;
  --type-card-copy-line: 1.7;
  --type-meta-size: 13px;
  --type-micro-size: 11px;
  /* Heading scale — extracted verbatim from the homepage (single source of truth) */
  --h1: clamp(34px, 5vw, 64px);   --h1-line: 1.2;  --h1-weight: 700;
  --h2: clamp(26px, 3.5vw, 42px); --h2-line: 1.1;
  --h2-display: clamp(30px, 4vw, 42px);            /* centered section heads (home) */
  --h3: clamp(20px, 2.5vw, 28px); --h3-line: 1.1;
  --h4: 18px;                     --h4-line: 1.2;
  --h5: 14px;                     --h5-line: 1.1;
  --h6: 13px;                     --h6-line: 1.3;
  --shadow:        0 2px 14px rgba(41,129,182,.08);
  --shadow-h:      0 8px 28px rgba(41,129,182,.13);
  --radius:        6px;
  --maxw:          1180px;
  --transition:    .18s ease;
}

/* ── 2. RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; scroll-padding-top: 96px; }
body  { font-family: var(--f); color: var(--text); background: var(--white);
        font-size: 16px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
img   { max-width: 100%; display: block; }
a     { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ── 3. TYPOGRAPHY ─────────────────────────────────────────── */
/* Scale from Elementor JSON: Basic @ 64px (h1), 42px (h2/h3) · Karla body */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--fs);
  color: var(--primary);
  font-weight: 400;
  line-height: 1.1;
}
h1 { font-size: var(--h1); font-weight: var(--h1-weight); line-height: var(--h1-line); }
h2 { font-size: var(--h2); line-height: var(--h2-line); }
h3 { font-size: var(--h3); line-height: var(--h3-line); }
h4 { font-size: var(--h4); font-weight: 700; font-family: var(--f); line-height: var(--h4-line); }
h5 { font-size: var(--h5); font-weight: 700; font-family: var(--f); line-height: var(--h5-line); }
h6 { font-size: var(--h6); line-height: var(--h6-line); }

/* Eyebrow: Karla 18px weight 900 uppercase — exact match to Elementor JSON */
.eyebrow {
  font-family: var(--f);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 12px;
  display: block;
  letter-spacing: .02em;
}
/* Lead body text: Karla 22px weight 400 lh 1.4 — homepage large body blocks */
.lead    { font-size: var(--type-lead-size); font-weight: 400; color: #444444; line-height: var(--type-lead-line); max-width: 720px; }
/* Section-intro paragraph right after a heading = real body size (live computed: 17px/400/1.7) */
h2 + p:not([class]),
h1 + p:not([class]) { font-size: var(--type-lead-size); font-weight: 400; line-height: var(--type-lead-line); color: #444444; }
/* Balanced line wrapping — even line lengths (desktop + responsive) */
h1, h2, h3, h4, h5, p, .lead, .centered-note, .mission-tile__copy, .proj-gallery__note { text-wrap: balance; }
strong   { color: var(--secondary); font-weight: 700; }
.accent  { color: var(--accent2); }
p + p    { margin-top: .9em; }
.body-copy {
  font-size: var(--type-copy-size);
  line-height: var(--type-copy-line);
  color: #444444;
  font-weight: 400;
}
.body-copy--first { margin-top: 16px; }
.body-copy--stacked { margin-top: 12px; }
.intro-copy {
  font-size: var(--type-intro-size);
  line-height: var(--type-intro-line);
  color: #444444;
  font-weight: 400;
}
.body-copy a,
.intro-copy a,
.lead a,
.reason-txt a,
.about-centered a,
.section-head p a,
.post-body__content a,
.contact-guarantee a {
  text-decoration: underline;
  text-underline-offset: .14em;
  text-decoration-thickness: .08em;
}
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.section-head--narrow {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;   /* bloque centrado en la página; contenido a la izquierda */
  text-align: left;
}

/* ── 4. BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f);
  font-size: 16px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: .01em;
  line-height: 1;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary  { background: var(--primary);  color: #fff; }
.btn-primary:hover  { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(41,129,182,.25); }
.btn-accent   { background: var(--accent);   color: #fff; }
.btn-accent:hover   { background: var(--accent-dark);  color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(134,198,105,.3); }
.btn-outline  { background: transparent; color: var(--primary); border: 1.5px solid var(--border2); }
.btn-outline:hover  { border-color: var(--primary); background: var(--primary-light); color: var(--primary-dark); }
.btn-ghost    { background: transparent; color: var(--primary); padding: 0; }
.btn-ghost:hover { color: var(--primary-dark); }

/* ── 5. HEADER & NAV ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,.05);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  max-width: none;     /* full-width header so the logo hugs the left edge */
  padding: 0 44px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  min-width: 0;
}
.logo img {
  height: 44px;
  width: auto;
  max-width: min(240px, 32vw);
  object-fit: contain;
}
.logo-text {
  font-family: var(--fs);
  font-size: 19px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: .03em;
}
.logo-text span { color: var(--accent2); }

/* Main nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
  gap: 2px;
  list-style: none;
}
.nav > ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  width: 100%;
}
.nav-item { position: relative; }
.nav-item > a {
  font-size: 14px;
  color: var(--secondary);
  font-weight: 400;
  padding: 10px 13px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-item > a:hover,
.nav-item > a.active { color: var(--primary); }
.nav-item > a.active::after {
  content: '';
  position: absolute;
  left: 13px; right: 13px;
  bottom: 0;
  height: 2px;
  background: var(--accent2);
  border-radius: 2px;
}
/* Dropdown caret for has-dropdown — override the active::after */
.nav-item.has-dropdown > a .caret {
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 2px;
  position: relative;
  top: 1px;
}
.nav-item.has-dropdown > a.active::after { display: none; }

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 210px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-h);
  padding: 6px 0;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility 0s linear .3s;
}
/* invisible bridge over the 4px gap so hover isn't lost moving into the panel */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 10px;
}
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--secondary);
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown a::after { display: none !important; }
.nav-dropdown a:hover  { background: var(--bg); color: var(--primary); }
.nav-dropdown a svg    { width: 14px; height: 14px; stroke: var(--accent2); flex-shrink: 0; }

/* Nav CTA */
.nav-cta { margin-left: 10px; }
.nav-cta .btn,
.mobile-cta .btn {
  background: #1f3e51;
  color: #fff;
  border: 1px solid #1f3e51;
  box-shadow: 0 6px 18px rgba(31,62,81,.18);
}
.nav-cta .btn:hover,
.mobile-cta .btn:hover {
  background: #163141;
  color: #fff;
  border-color: #163141;
  box-shadow: 0 8px 22px rgba(22,49,65,.24);
}
.badge {
  font-size: 9px;
  background: var(--accent);
  color: #fff;
  padding: 2px 5px;
  border-radius: 10px;
  margin-left: 4px;
  font-weight: 600;
  font-family: var(--f);
  vertical-align: middle;
  line-height: 1.4;
}

/* Mobile hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  color: var(--primary);
  width: 36px;
  height: 36px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 84px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 190;
  overflow-y: auto;
  padding: 16px 0 48px;
  border-top: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 14px 28px;
  font-size: 16px;
  color: var(--secondary);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--primary); background: var(--bg); }
.mobile-nav .mobile-sub a {
  font-size: 14px;
  padding: 11px 28px 11px 48px;
  background: var(--bg);
  border-bottom-color: var(--bg2);
}
.mobile-nav .mobile-cta {
  padding: 20px 28px 0;
}
.mobile-nav .mobile-cta .btn { width: 100%; justify-content: center; padding: 14px; }

/* ── 6. PAGE HERO (inner pages) ────────────────────────────── */
.hero {
  background: #1d2b30;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
/* subtle radial glow top-right */
.hero::before {
  content: '';
  position: absolute;
  right: -120px; top: -120px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41,129,182,.18) 0%, transparent 65%);
  pointer-events: none;
}
/* green accent bar on left edge */
.hero::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--accent), var(--accent2));
}
.hero .wrap { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--accent); }
.hero h1    { color: var(--white); margin-bottom: 18px; max-width: 820px; }
.hero .lead { color: rgba(255,255,255,.8); margin-bottom: 28px; }
.hero-btns  { display: flex; gap: 14px; flex-wrap: wrap; }
/* stats strip inside dark hero */
.hero .stats { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.hero .stat  { background: rgba(255,255,255,.05); }
.hero .stat .n { color: var(--accent); }
.hero .stat .l { color: rgba(255,255,255,.65); }
/* nav jump links inside hero */
.hero nav .btn-outline { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.3); }
.hero nav .btn-outline:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.6); }

/* Service-detail hero — product logo beside the title */
.hero-svc { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.hero-svc__text { min-width: 0; }
.hero-svc__logo {
  flex: 0 0 auto;
  width: 200px;
  height: 200px;
  padding: 18px;
  background: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-svc__logo img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 860px) {
  .hero-svc { flex-direction: column-reverse; align-items: flex-start; gap: 28px; }
  .hero-svc__logo { width: 140px; height: 140px; padding: 12px; }
}

/* Services overview hero — background photo */
.page-services .hero {
  background: linear-gradient(rgba(18,30,36,.40), rgba(18,30,36,.52)),
              url("/images/services-roof.webp") center/cover no-repeat;
  min-height: clamp(380px, 50vh, 520px);
  display: flex;
  align-items: center;
}
.page-services .hero::before { display: none; }

/* Projects hero — delivered installation (aerial) */
.page-projects .hero {
  background: linear-gradient(rgba(18,30,36,.42), rgba(18,30,36,.60)),
              url("/images/services-roof.webp") center/cover no-repeat;
  min-height: clamp(380px, 50vh, 520px);
  display: flex;
  align-items: center;
}
.page-projects .hero::before { display: none; }

/* News hero — installation in progress (editorial) */
.page-news .hero {
  background: linear-gradient(rgba(18,30,36,.46), rgba(18,30,36,.64)),
              url("/linkedin/roof.jpg") center 60%/cover no-repeat;
  min-height: clamp(380px, 50vh, 520px);
  display: flex;
  align-items: center;
}
.page-news .hero::before { display: none; }

/* Resources hero — analysis / reviewing data */
.page-resources .hero {
  background: linear-gradient(rgba(18,30,36,.48), rgba(18,30,36,.64)),
              url("/images/planning.jpg") center 40%/cover no-repeat;
  min-height: clamp(380px, 50vh, 520px);
  display: flex;
  align-items: center;
}
.page-resources .hero::before { display: none; }

/* .hero-home was replaced by .home-hero — see homepage section styles below */

/* Stats strip (used inside .hero — inherits dark context) */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.12);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 40px;
}
.stat { background: rgba(255,255,255,.06); padding: 26px 20px; text-align: center; }
.stat .n {
  font-family: var(--fs);
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
  font-weight: 400;
}
.stat .l { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 6px; line-height: 1.4; }

/* ── 7. SECTIONS ───────────────────────────────────────────── */
section.block     { padding: 72px 0; }
section.block.alt { background: var(--bg); }
section.block.tight { padding: 48px 0; }

.section-head { margin-bottom: 44px; max-width: 700px; }
.section-head h2 { margin-bottom: 12px; }
.section-head .lead { margin-top: 10px; }

/* ── 8. UK MARKET STATS STRIP (homepage) ──────────────────── */
.uk-market {
  background: var(--primary);
  padding: 52px 0;
  color: var(--white);
}
.uk-market h2     { color: var(--white); margin-bottom: 8px; }
.uk-market .lead  { color: rgba(255,255,255,.82); max-width: 700px; }

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 36px;
}
.mg-item {
  background: rgba(255,255,255,.07);
  padding: 28px 22px;
  text-align: center;
  transition: background var(--transition);
}
.mg-item:hover { background: rgba(255,255,255,.13); }
.mg-item svg   { width: 32px; height: 32px; stroke: var(--accent); margin: 0 auto 10px; }
.mg-item .mg-n { font-family: var(--fs); font-size: 30px; color: var(--white); margin-bottom: 4px; line-height: 1; }
.mg-item .mg-l { font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.45; }

/* ── 9. PROCESS STEPS ──────────────────────────────────────── */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin: 40px 0 8px;
}
.process::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: var(--border2);
  z-index: 0;
}
.process-step { text-align: center; padding: 0 24px; position: relative; z-index: 1; }
.process-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--fs);
  font-size: 22px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--border);
}
.process-step h3 { font-size: 18px; margin-bottom: 10px; }
.process-step p  { font-size: 14px; line-height: 1.65; }

/* ── 10. CARDS ─────────────────────────────────────────────── */
.cards         { display: grid; gap: 24px; }
.cards.c2      { grid-template-columns: repeat(2, 1fr); }
.cards.c3      { grid-template-columns: repeat(3, 1fr); }
.cards.c4      { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); border-color: var(--border2); }
.card-ico {
  width: 52px; height: 52px;
  border-radius: 8px;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--border);
}
.card-ico svg  { width: 26px; height: 26px; stroke: var(--primary); }
.card h3       { font-size: 18px; margin-bottom: 8px; }
.card p        { font-size: 14px; line-height: 1.7; }
.card .more {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--primary);
}
.card .more svg { width: 14px; height: 14px; stroke: var(--primary); transition: transform var(--transition); }
.card:hover .more svg { transform: translateX(3px); }
.service-overview-card {
  display: flex;
  flex-direction: column;
}
.service-overview-card__icon {
  width: 124px;
  height: 124px;
  margin-bottom: 20px;
}
.service-overview-card__icon img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}
/* Stand-out facts inside service overview cards */
.svc-facts {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.svc-fact__label {
  display: block;
  font-family: var(--f);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--accent-dark);
  margin-bottom: 4px;
}
.svc-fact--diff .svc-fact__label { color: var(--primary-dark); }
.svc-fact dd {
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  margin: 0;
}

/* ── 11. SERVICE DETAIL ROWS ───────────────────────────────── */
.svc-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  background: var(--white);
  transition: box-shadow var(--transition);
}
.svc-row:hover { box-shadow: var(--shadow); }
.svc-row.reverse { grid-template-columns: 1fr 340px; }
.svc-row.reverse .svc-media  { order: 2; }
.svc-row.reverse .svc-content { order: 1; }

.svc-media {
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  min-height: 270px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.svc-media > svg { width: 140px; height: 140px; stroke: var(--primary); opacity: .7; }
.svc-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ── Conceptual mini-chart in service "Who it is for" media ── */
.svc-media--chart {
  background: linear-gradient(160deg, #f4f9fc, #e8f1f8);
  flex-direction: column; align-items: stretch; justify-content: center;
  padding: 22px 22px 18px;
}
.mini-chart { width: 100%; display: flex; flex-direction: column; gap: 11px; }
.mini-chart__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.mini-chart__title { font-family: var(--fs); color: var(--primary); font-size: 15px; line-height: 1.15; }
.mini-chart__tag {
  flex: none; font-family: var(--f); font-size: 9px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--primary-dark);
  background: rgba(41,129,182,.12); padding: 3px 7px; border-radius: 99px; white-space: nowrap;
}
.mini-chart__svg { width: 100%; height: auto; display: block; overflow: visible; }
.mini-chart__note { font-family: var(--f); font-size: 10.5px; color: var(--text); line-height: 1.35; margin: 0; }
/* Map figure: must beat the cropping `.svc-media img` cover rule so the whole UK stays visible */
.svc-media img.mini-chart__map {
  position: static; inset: auto;
  width: 100%; height: auto;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}
/* chart primitives */
.mc-bar { fill: var(--primary); }
.mc-bar--hi { fill: var(--accent); }
.mc-axis { stroke: #c3d4e0; stroke-width: 1; }
.mc-area { fill: rgba(41,129,182,.15); }
.mc-line { fill: none; stroke: var(--primary); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.mc-cap { fill: none; stroke: var(--accent-dark); stroke-width: 1.6; stroke-dasharray: 4 3; }
.mc-shave { fill: rgba(134,198,105,.42); }
.mc-arc { fill: none; stroke: var(--primary); stroke-width: 15; stroke-linecap: round; }
.mc-arc-bg { fill: none; stroke: #d7e6f0; stroke-width: 15; }
.mc-val { fill: var(--primary); font-family: var(--fs); font-size: 20px; }
.mc-sub { fill: var(--secondary); font-family: var(--f); font-size: 8px; font-weight: 700; letter-spacing: .06em; }
.mc-leg { fill: var(--secondary); font-family: var(--f); font-size: 11px; font-weight: 600; }
.mc-done { fill: var(--accent); }
.mc-track { fill: #d0e2ef; }

.svc-content  { padding: 38px 42px; }
.svc-content .eyebrow { margin-bottom: 8px; }
.svc-content h3 { font-size: 26px; margin-bottom: 14px; }
.svc-content > p { font-size: 15px; margin-bottom: 16px; line-height: 1.75; }

.svc-bullets {
  list-style: none;
  display: flex; flex-direction: column; gap: 9px;
  margin-bottom: 24px;
}
.svc-bullets li {
  font-size: 14px;
  padding-left: 26px;
  position: relative;
  line-height: 1.55;
  color: var(--secondary);
}
.svc-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 3px;
  width: 16px; height: 16px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ── 12. FEASIBILITY SCENARIOS ─────────────────────────────── */
/* Service detail reading copy
   Keep navigation, charts, cards, CTAs and footer compact while giving the
   substantive page content the same comfortable scale as the homepage. */
.page-service-detail main > section.block > .wrap > p {
  max-width: 78ch;
  font-size: var(--type-intro-size);
  line-height: 1.65;
  color: #444444;
}
.page-service-detail .svc-content > p {
  font-size: var(--type-intro-size);
  line-height: 1.65;
  color: #444444;
}
.page-service-detail main > section.block > .wrap > .svc-bullets,
.page-service-detail .svc-content > .svc-bullets {
  max-width: 82ch;
}
.page-service-detail main > section.block > .wrap > .svc-bullets li,
.page-service-detail .svc-content > .svc-bullets li {
  font-size: 17px;
  line-height: 1.65;
}

.scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.scenario {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.scenario:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.scenario-head {
  background: var(--primary);
  color: var(--white);
  padding: 24px 22px 18px;
  text-align: center;
}
.scenario.featured .scenario-head { background: var(--accent-dark); }
.scenario-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.scenario-icon svg { width: 24px; height: 24px; stroke: #fff; }
.scenario-head h3  { font-size: 15px; color: var(--white); font-family: var(--f); font-weight: 600; margin: 0; }
.scenario-body     { padding: 22px 22px; }
.scenario-body p   { font-size: 14px; line-height: 1.65; }
.scenario-body ul  { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.scenario-body li  {
  font-size: 13px; color: var(--secondary);
  padding-left: 18px; position: relative; line-height: 1.5;
}
.scenario-body li::before { content: '→'; position: absolute; left: 0; color: var(--accent2); font-weight: 700; }

/* ── 13. VALUES ─────────────────────────────────────────────── */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.value {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 26px;
  transition: box-shadow var(--transition);
}
.value:hover { box-shadow: var(--shadow); }
.value h3 {
  font-size: 17px;
  margin-bottom: 9px;
  display: flex; align-items: center; gap: 10px;
}
.vi {
  width: 30px; height: 30px;
  background: var(--bg);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.vi svg { width: 15px; height: 15px; stroke: var(--accent2); }
.value p { font-size: 14px; line-height: 1.7; }
.value-wide {
  grid-column: 1 / -1;
  max-width: 50%;
}

.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-mission__media,
.about-roots__gallery {
  min-width: 0;
}

.about-mission__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  box-shadow: var(--shadow-h);
  object-fit: cover;
  object-position: center;
}

.about-roots__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  border-radius: 8px;
  overflow: hidden;
}

.about-roots__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

/* ── 14. TEAM GRID ──────────────────────────────────────────── */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: all var(--transition);
}
.member:hover { box-shadow: var(--shadow-h); transform: translateY(-4px); }
.member .avatar {
  /* Portrait frame: the team photos are all portrait (~0.8), so a landscape box cropped their faces. */
  aspect-ratio: 4 / 5;
  background: var(--bg);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border);
}
.member .avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Bias upwards: on the taller sources the head sits above the midpoint. */
  object-position: center 25%;
  transition: transform .4s ease;
}
.member:hover .avatar img { transform: scale(1.04); }
.member .avatar-initials {
  font-family: var(--fs);
  font-size: 38px;
  color: var(--primary);
  opacity: .35;
  user-select: none;
}
.member .info { padding: 18px 16px 20px; }
.member .info h3 { font-size: 16px; color: var(--secondary); font-family: var(--f); font-weight: 600; }
.member .info .role { font-size: 13px; color: var(--text); margin-top: 3px; }
.member-links {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 10px;
}
.member-links a {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: all var(--transition);
}
.member-links a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.member-links svg { width: 13px; height: 13px; stroke: currentColor; }

/* ── 15. PROJECT GRID ───────────────────────────────────────── */
.proj-filter {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.proj-filter button {
  font-family: var(--f);
  font-size: 13px; font-weight: 500;
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--border2);
  background: var(--white);
  color: var(--secondary);
  cursor: pointer;
  transition: all var(--transition);
}
.proj-filter button.active,
.proj-filter button:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.proj {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.proj:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }

.proj .ph {
  height: 210px;
  background: var(--bg);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.proj .ph img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.proj:hover .ph img  { transform: scale(1.05); }
.proj .ph > svg      { width: 48px; height: 48px; stroke: var(--primary); opacity: .35; }
.proj .ph .ph-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(41,129,182,.15), transparent 55%);
  pointer-events: none;
}
.proj .pb { padding: 20px 22px; }
.proj .pb h3 { font-size: 16px; font-family: var(--f); font-weight: 600; color: var(--secondary); margin-bottom: 8px; line-height: 1.35; }
.proj .pb p  { font-size: 14px; line-height: 1.65; }
.proj .pf    { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; }
.proj .pf > svg { width: 16px; height: 16px; stroke: var(--primary); transition: transform var(--transition); }
.proj:hover .pf > svg { transform: translateX(3px); }

.tag { font-size: 11px; padding: 4px 12px; border-radius: 12px; font-weight: 500; }
.tag-blue  { background: var(--bg); color: var(--primary); border: 1px solid var(--border2); }
.tag-green { background: #eef8e8; color: var(--accent-dark); border: 1px solid #c0ddb0; }

/* ── 16. TESTIMONIAL ────────────────────────────────────────── */
.quote {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  position: relative;
}
.quote::before { content: none; display: none; }
.quote p {
  font-family: var(--f);
  font-size: 17px;
  color: #444444;
  line-height: 1.6;
  font-weight: 400;
  font-style: italic;
  position: relative; z-index: 1;
  max-width: 560px;
}
.quote .attr {
  font-family: var(--f);
  font-size: 14px;
  color: var(--text);
  margin-top: 16px;
  font-style: normal;
  font-weight: 500;
  position: relative; z-index: 1;
}

/* ── 17. RESOURCES ──────────────────────────────────────────── */
.res-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.res {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  transition: background var(--transition);
}
.res:last-child { border-bottom: none; }
.res:hover { background: var(--bg); }
.ri {
  width: 48px; height: 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ri svg  { width: 22px; height: 22px; stroke: var(--primary); }
.rc      { flex: 1; min-width: 0; }
.rc h3   { font-size: 15px; color: var(--secondary); font-family: var(--f); font-weight: 600; margin-bottom: 3px; }
.rc .rc-meta { font-size: 13px; color: var(--text); }
.rc-tag {
  font-size: 11px; padding: 2px 8px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border2);
  color: var(--primary);
  font-weight: 500;
  margin-right: 6px;
  display: inline-block;
}

/* Paper download promo */
.paper-block {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-top: 40px;
}
.pb-thumb {
  width: 80px; height: 80px;
  border-radius: 8px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pb-thumb svg { width: 38px; height: 38px; stroke: #fff; }
.pb-text h4   { font-size: 16px; color: var(--secondary); font-family: var(--f); font-weight: 600; margin-bottom: 4px; }
.pb-text p    { font-size: 14px; line-height: 1.55; }
.paper-block .btn { margin-left: auto; flex-shrink: 0; }

/* ── 18. NEWS / LINKEDIN FEED ───────────────────────────────── */
/* ⚑ LINKEDIN_INTEGRATION_POINT — see README §LinkedIn Integration */
.li-note {
  background: #eaf4fb;
  border: 1px solid #b8d9ef;
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 36px;
}
.li-note svg  { width: 20px; height: 20px; stroke: #0a66c2; flex-shrink: 0; margin-top: 2px; }
.li-note p    { font-size: 14px; color: #1a5687; line-height: 1.65; }
.li-note strong { color: #1a5687; }
.li-note code {
  font-family: 'Roboto Mono', ui-monospace, monospace;
  background: rgba(10,102,194,.1);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 12px;
}

.li-feed { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.li-post {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.li-post:hover { box-shadow: var(--shadow-h); }

.li-hd {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.li-logo {
  width: 40px; height: 40px;
  border-radius: 7px;
  background: #0a66c2;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.li-logo svg { width: 22px; height: 22px; stroke: #fff; }
.li-nm  { font-size: 14px; font-weight: 600; color: var(--secondary); }
.li-sub { font-size: 12px; color: var(--text); margin-top: 1px; }
.li-ext {
  margin-left: auto;
  font-size: 12px;
  color: #0a66c2;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 4px;
  opacity: .85;
  transition: opacity var(--transition);
}
.li-ext:hover { opacity: 1; color: #0a66c2; }
.li-ext svg { width: 12px; height: 12px; stroke: #0a66c2; }

.li-bd { padding: 18px 20px 14px; flex: 1; }
.li-cat {
  display: inline-block;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 12px;
  background: #eef8e8;
  color: var(--accent-dark);
  border: 1px solid #c0ddb0;
  font-weight: 500;
  margin-bottom: 10px;
}
.li-bd p { font-size: 14px; color: var(--secondary); line-height: 1.65; }

.li-ft {
  display: flex; gap: 18px;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  margin-top: auto;
}
.li-ft span {
  font-size: 13px; color: var(--text);
  display: inline-flex; align-items: center; gap: 5px;
}
.li-ft svg { width: 14px; height: 14px; stroke: var(--text); }

/* ── 19. CONTACT ────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 44px; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}
.cc { background: var(--white); padding: 22px 14px; text-align: center; }
.cc svg { width: 24px; height: 24px; stroke: var(--accent); margin: 0 auto 10px; }
.cc .l  { font-size: 11px; color: var(--text); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.cc .v  { font-size: 14px; color: var(--secondary); font-weight: 500; margin-top: 4px; line-height: 1.45; }
.cc a   { color: var(--secondary); }
.cc a:hover { color: var(--primary); }

form { display: flex; flex-direction: column; gap: 16px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg   { display: flex; flex-direction: column; gap: 5px; }

label {
  font-size: 11px;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: .08em;
  text-transform: uppercase;
}
input, select, textarea {
  font-family: var(--f);
  font-size: 15px;
  color: var(--secondary);
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 12px 14px;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a7a7a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(41,129,182,.1);
  background: var(--white);
}
textarea { min-height: 110px; resize: vertical; }

.form-section-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent2);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.consent { display: flex; align-items: flex-start; gap: 10px; }
.consent input  { width: auto; margin-top: 3px; accent-color: var(--primary); }
.consent label  { font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--text); }

.contact-aside {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border);
  height: fit-content;
  position: sticky;
  top: 96px;
}
.ca-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  margin-bottom: 16px;
  border: 3px solid var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  display: block;
}
.ca-initials {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--fs);
  font-size: 24px;
  margin-bottom: 16px;
}
.contact-aside h3  { font-size: 19px; margin-bottom: 8px; }
.contact-aside p   { font-size: 14px; line-height: 1.7; margin-bottom: 10px; }
.ca-divider        { border: none; border-top: 1px solid var(--border); margin: 20px 0 16px; }
.ca-office h5      { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--secondary); margin-bottom: 6px; font-family: var(--f); }
.ca-office p       { font-size: 13px; line-height: 1.7; }

/* ── 20. CTA BANNER ─────────────────────────────────────────── */
.cta { background: #e3eef5; padding: 48px 0 76px; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; background: var(--primary); border-radius: 10px; padding: 34px 36px; }
.cta h2    { color: var(--white); font-size: clamp(18px, 2vw, 22px); max-width: 580px; text-transform: uppercase; letter-spacing: .02em; }
.cta .wrap p { color: rgba(255,255,255,.92); font-size: 15px; margin-top: 8px; max-width: 560px; }
.cta .btn-accent { flex-shrink: 0; }
.btn-outline-white { background: transparent; border: 2px solid #fff; color: #fff; flex-shrink: 0; }
.btn-outline-white:hover { background: #fff; color: var(--primary); }
.btn-cta-navy { background: #1f3e51; color: #fff; border: 1px solid rgba(255,255,255,.35); flex-shrink: 0; }
.btn-cta-navy:hover { background: #16303f; color: #fff; }

.cta-person {
  display: flex;
  align-items: center;
  gap: 22px;
}
.cta-person__image {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 4px solid #fff;
}
.cta-person__highlight { color: #fff; }
.cta-person__role {
  margin-top: 6px;
  font-size: var(--type-card-copy-size);
  color: rgba(255,255,255,.7);
}

/* ── 20b. SHARED PAGE SYSTEMS ─────────────────────────────── */
.faq-section { background: #e3eef5; }
.faq-section .wrap { max-width: 820px; }
.faq-head { text-align: left; margin-bottom: 32px; }
.faq-head h2 {
  font-family: var(--fs);
  font-size: var(--h2-display);
  color: #000;
  margin: 0;
}
.faq-head p {
  font-size: var(--type-intro-size);
  line-height: 1.5;
  color: #444;
  margin-top: 14px;
  text-wrap: balance;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(31,62,81,.06);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--fs);
  font-size: 19px;
  font-weight: 600;
  color: #1a1f24;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 26px;
  font-weight: 400;
  color: var(--primary);
  line-height: 1;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { color: var(--primary); }
.faq-answer {
  padding: 0 24px 22px;
  font-size: 17px;
  line-height: 1.6;
  color: #444;
  text-wrap: balance;
}

.legal-hero { background: #e3eef5; padding: 64px 0 48px; }
.legal-hero h1 { color: #000; font-size: var(--h1); margin: 0; }
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 {
  color: var(--primary);
  font-size: 24px;
  line-height: 1.25;
  margin: 40px 0 12px;
}
.legal-content p,
.legal-content li {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
}
.legal-content p { margin: 0 0 14px; }
.legal-content ul { margin: 0 0 16px 22px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--primary); }
.legal-content a:hover { text-decoration: underline; }
.legal-addr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin: 14px 0 4px;
}

.resources-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.resource-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.resource-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.resource-card__cover {
  background: var(--primary);
  padding: 36px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  position: relative;
  overflow: hidden;
}
.resource-card__cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/portflioscan-barendrecht-1024x367.jpg') center/cover no-repeat;
  opacity: .15;
}
.resource-card__cover--finance { background: var(--accent-dark); }
.resource-card__cover--roadmap { background: #3a6a8c; }
.resource-card__cover--automotive { background: #1d5f80; }
.resource-card__cover--roi { background: #2a7a4e; }
.resource-card__cover--leasehold { background: #5a4d8a; }
.resource-card__cover-label {
  font-family: var(--fs);
  font-size: var(--type-card-copy-size);
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: var(--type-lead-line);
  position: relative;
  z-index: 1;
}
.resource-card__cover-icon { position: relative; z-index: 1; margin-bottom: 12px; }
.resource-card__cover-icon svg { width: 36px; height: 36px; stroke: #fff; opacity: .9; }
.resource-card__body { padding: 24px 26px; flex: 1; display: flex; flex-direction: column; }
.resource-card__cat {
  font-size: var(--type-micro-size);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.resource-card__title {
  font-family: var(--fs);
  font-size: 17px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.35;
  margin-bottom: 10px;
}
.resource-card__desc {
  font-size: var(--type-card-copy-size);
  line-height: 1.68;
  color: var(--text);
  flex: 1;
  margin-bottom: 20px;
}
.resource-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.resource-card__meta { font-size: 12px; color: #9fb0b3; }
.resource-card__dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--type-meta-size);
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.resource-card__dl:hover { color: var(--accent-dark); }
.resource-card__dl svg { width: 14px; height: 14px; stroke: currentColor; }
.resource-card--featured .resource-card__cover { min-height: 220px; background: var(--accent-dark); }
.resource-card--featured .resource-card__cover-label { font-size: 16px; }
.resource-card--featured { grid-column: span 2; }
.resource-card--featured .resource-card__title { font-size: 20px; }
.featured-banner {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 42px 48px;
  margin-bottom: 52px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 36px;
  align-items: center;
  border: 1px solid var(--border);
}
.featured-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--type-micro-size);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(97,206,112,.15);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.featured-banner__badge svg { width: 12px; height: 12px; stroke: var(--accent-dark); }
.featured-banner h2 { font-size: 28px; margin-bottom: 12px; }
.featured-banner p {
  font-size: var(--type-copy-size);
  line-height: var(--type-card-copy-line);
  margin-bottom: 20px;
}
.featured-banner__cover {
  background: var(--primary);
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.featured-banner__cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/portflioscan-barendrecht-1024x367.jpg') center/cover no-repeat;
  opacity: .15;
}
.featured-banner__cover span {
  font-family: var(--fs);
  font-size: var(--type-meta-size);
  color: #fff;
  font-weight: 700;
  line-height: var(--type-lead-line);
  position: relative;
  z-index: 1;
  display: block;
}
.featured-banner__cover-note {
  font-size: var(--type-micro-size);
  opacity: .65;
  margin-top: 6px;
}
.featured-banner__cover svg {
  width: 40px;
  height: 40px;
  stroke: #fff;
  opacity: .9;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

/* ── 21. FOOTER ─────────────────────────────────────────────── */
.site-footer { background: #1d2b30; color: #fff; padding: 52px 0 28px; }
.footer-top  {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  font-family: var(--fs);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
}
.footer-logo span { color: var(--accent); }
.footer-logo img  { height: 30px; width: auto; filter: brightness(0) invert(1); }
.footer-top > div > p { font-size: 14px; line-height: 1.7; color: #fff; }

.footer-top h4 {
  font-family: var(--f);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-top ul { list-style: none; }
.footer-top li { margin-bottom: 9px; }
.footer-top a  { color: #fff; font-size: 14px; transition: color var(--transition); display: inline-flex; align-items: flex-start; gap: 6px; }
.footer-top a:hover { color: var(--accent); }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid #2f3f44;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.footer-social svg { width: 15px; height: 15px; stroke: currentColor; }

.footer-bottom {
  border-top: 1px solid #2f3f44;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #fff;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: #fff; }
.footer-bottom a:hover { color: var(--accent); }

/* ── 22. UTILITIES ──────────────────────────────────────────── */
.text-center { text-align: center; }
.text-center .section-head,
.text-center .lead { margin-left: auto; margin-right: auto; }
.mt-0  { margin-top: 0 !important; }
.mt-sm { margin-top: 12px !important; }
.mt-md { margin-top: 24px !important; }
.mt-lg { margin-top: 40px !important; }
.mb-md { margin-bottom: 24px !important; }
.mb-lg { margin-bottom: 40px !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
/* Skip-link: oculto hasta recibir foco por teclado, luego visible */
.sr-only-focusable:focus,
.sr-only-focusable:focus-visible {
  position: fixed;
  top: 10px; left: 10px;
  width: auto; height: auto;
  margin: 0; padding: 10px 18px;
  overflow: visible;
  clip: auto; clip-path: none; white-space: normal;
  z-index: 1000;
  background: var(--primary); color: var(--white);
  border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.25);
  text-decoration: none; font-weight: 600;
}

/* ── 23. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1040px) {
  .footer-top    { grid-template-columns: 1fr 1fr; gap: 32px; }
  .scenarios     { grid-template-columns: 1fr; }
  .svc-row, .svc-row.reverse { grid-template-columns: 1fr; }
  .svc-row .svc-media, .svc-row.reverse .svc-media { min-height: 180px; order: 0 !important; }
  .svc-row.reverse .svc-content { order: 0 !important; }
  .hero-home     { grid-template-columns: 1fr; }
  .hero-home .hero-content { padding: 60px 28px 40px 28px; max-width: 100%; }
  .hero-home .hero-media   { height: 300px; }
  .market-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav           { display: none; }
  .menu-toggle   { display: flex; }
  .site-header .wrap { height: 80px; padding: 0 24px; }
  .logo img      { height: 40px; max-width: 220px; }
  .cards.c4      { grid-template-columns: repeat(2, 1fr); }
  .cards.c3      { grid-template-columns: repeat(2, 1fr); }
  .team          { grid-template-columns: repeat(2, 1fr); }
  .proj-grid     { grid-template-columns: repeat(2, 1fr); }
  .contact-grid  { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .li-feed       { grid-template-columns: 1fr; }
  .values        { grid-template-columns: 1fr; }
  .process       { grid-template-columns: 1fr; gap: 32px; }
  .process::before { display: none; }
  .scenarios     { grid-template-columns: repeat(2, 1fr); }
  .paper-block   { flex-wrap: wrap; }
  .paper-block .btn { margin-left: 0; }
  .value-wide    { max-width: none; }
}

@media (max-width: 600px) {
  .wrap          { padding: 0 20px; }
  .site-header .wrap { height: 76px; padding: 0 20px; }
  .mobile-nav    { top: 76px; }
  .logo img      { height: 36px; max-width: 190px; }
  .hero          { padding: 48px 0; }
  section.block  { padding: 48px 0; }
  .cards.c4, .cards.c3, .cards.c2,
  .team, .proj-grid, .contact-cards { grid-template-columns: 1fr; }
  .stats         { grid-template-columns: 1fr; }
  .frow          { grid-template-columns: 1fr; }
  .footer-top    { grid-template-columns: 1fr; }
  .cta .wrap     { flex-direction: column; align-items: flex-start; }
  .hero-home .hero-media { height: 220px; }
  .market-grid   { grid-template-columns: 1fr 1fr; }
  .scenarios     { grid-template-columns: 1fr; }
  .quote         { padding: 24px 24px 24px 28px; }
  .quote::before { font-size: 72px; top: -10px; left: 10px; }
  .about-roots__gallery { grid-template-columns: 1fr; }
  .faq-item summary { font-size: 17px; padding: 16px 18px; }
  .faq-answer { font-size: 16px; padding: 0 18px 18px; }
  .legal-addr { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .resource-card--featured { grid-column: auto; }
}

@media (max-width: 900px) {
  .about-two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .resources-grid { grid-template-columns: 1fr 1fr; }
  .resource-card--featured { grid-column: span 2; }
  .featured-banner { grid-template-columns: 1fr; }
  .featured-banner__cover { display: none; }
}

/* ── 24. FOCUS / A11Y ───────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   HOMEPAGE — additional section styles
   ══════════════════════════════════════════════════════════════ */

/* ── HOME HERO ─────────────────────────────────────────────── */
.home-hero {
  position: relative;
  /* Punto de encuadre del media — fácil de tunear (sube/baja el %) */
  --hero-focus: center 40%;
  min-height: clamp(60vh, 70vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-hero__bg img,
.home-hero__bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--hero-focus);
}
.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29,43,48,.62) 0%, rgba(29,43,48,.38) 60%, rgba(29,43,48,.18) 100%);
  z-index: 1;
}
.home-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
  max-width: 900px;
}
.home-hero__content h1 {
  color: var(--white);
  font-size: var(--h1);
  line-height: var(--h1-line);
  margin-bottom: 24px;
}
.home-hero__lead {
  color: rgba(255,255,255,.92);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 0 30px;
  text-shadow: 0 1px 12px rgba(20,30,40,.35);
}
.home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}
.home-hero__cta .btn {
  padding: 15px 30px;
  font-size: 17px;
  box-shadow: 0 8px 24px rgba(10,20,25,.30);
}
.btn-hero-ghost {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 2px solid #fff;
  backdrop-filter: blur(2px);
}
.btn-hero-ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--primary-dark);
  transform: translateY(-1px);
}
/* El <br> del titular debe saltar de línea de forma nativa (no anular su display) */

/* ── HOME HERO — móvil (<768px): evita recorte del título y solape con la nav ── */
@media (max-width: 768px) {
  /* padding lateral consistente del contenido en móvil */
  .wrap { padding: 0 20px; }
  .home-hero {
    height: auto;                          /* deja crecer el alto si el texto ocupa más; sin recorte */
    min-height: clamp(440px, 72vh, 600px);
  }
  .home-hero__content {
    padding-top: 48px;
    padding-bottom: 56px;
    text-align: center;
    min-width: 0;
    max-width: 100%;
  }
  .home-hero__content h1 {
    font-size: clamp(26px, 7vw, 40px);
    margin-bottom: 16px;
  }
  .home-hero__lead {
    font-size: 15px;
    width: calc(100vw - 40px);
    max-width: 520px;
    margin: 0 auto 24px;
  }
  .home-hero__cta {
    width: calc(100vw - 40px);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
}

/* ── REASONS ───────────────────────────────────────────────── */
.reasons {
  background: var(--white);
  padding: 60px 0 120px;
  border-bottom: 1px solid var(--border);
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.reason-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.reason-ico {
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.reason-ico img {
  width: 64px; height: 64px;
  object-fit: contain;
}
.reason-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

/* ── ABOUT SPLIT ───────────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.about-text h2 { margin-top: 10px; }
.about-text p  { font-size: 15px; line-height: 1.8; }
.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
}

/* ── PROCESS LAYOUT ────────────────────────────────────────── */
.proc-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}
.proc-steps {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.proc-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.proc-step__ico {
  width: 52px; height: 52px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.proc-step__ico img {
  width: 48px; height: 48px;
  object-fit: contain;
}
.proc-step__body h3 {
  font-size: 17px;
  margin-bottom: 6px;
  margin-top: 4px;
}
.proc-step__body p { font-size: 14px; line-height: 1.7; }
.proc-photos {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.proc-photo-top,
.proc-photo-bot {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-h);
}
.proc-photo-top { height: 240px; }
.proc-photo-bot { height: 200px; }

/* ── PAPER DOWNLOAD SECTION ────────────────────────────────── */
.paper-section {
  background: var(--bg);
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.paper-section--alt {
  background: var(--primary);
  border-top: none;
  border-bottom: none;
}
.paper-section--alt h2,
.paper-section--alt p,
.paper-section--alt .eyebrow { color: var(--white); }
.paper-section--alt .eyebrow { color: var(--accent); }
.paper-section--alt p strong  { color: var(--white); }
.paper-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: center;
}
.paper-visual {
  width: 160px;
  flex-shrink: 0;
}
.paper-visual img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
}
.paper-body { min-width: 0; }
.paper-body h2 { margin-top: 10px; }
.paper-body p  { font-size: 15px; line-height: 1.8; margin-top: 12px; }
.paper-hugo {
  text-align: center;
  flex-shrink: 0;
}
.paper-hugo img {
  width: 100px; height: 120px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
  display: block;
  margin: 0 auto 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.paper-hugo p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  text-align: center;
}
.paper-section--alt .paper-hugo p { color: rgba(255,255,255,.8); }
.paper-section--alt .paper-hugo p strong { color: var(--white); }

/* ── SERVICES CARDS (homepage) ─────────────────────────────── */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 32px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: all var(--transition);
  position: relative;
}
.svc-card:hover {
  box-shadow: var(--shadow-h);
  transform: translateY(-3px);
  border-color: var(--primary);
}
.svc-card__ico {
  width: 148px;
  height: 148px;
  margin-bottom: 26px;
}
.svc-card__ico img {
  width: 144px;
  height: 144px;
  object-fit: contain;
}
.svc-card__ico--project img {
  transform: translateX(8px) scale(1.6);
  transform-origin: center;
}
.svc-card h3 {
  font-size: 22px;
  color: #1a1f24;
  margin-bottom: 14px;
}
.svc-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #6c6e71;
  flex: 1;
}
.svc-card__link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  transition: transform var(--transition);
}
.svc-card__link img,
.svc-card__link svg {
  width: 38px; height: auto;
  stroke: var(--primary);
  transition: transform var(--transition);
}
.svc-card:hover .svc-card__link img,
.svc-card:hover .svc-card__link svg { transform: translateX(4px); }
/* Whole card clickable — stretched link covers the logo, title and copy */
.svc-card { cursor: pointer; }
.svc-card:hover h3 { color: var(--primary); }
.svc-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ── BUSINESS MODEL SECTION ────────────────────────────────── */
.bizmodel-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.bizmodel-text h2  { margin-top: 10px; }
.bizmodel-text p   { font-size: 15px; line-height: 1.8; }
.bizmodel-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.bizmodel-photo-a {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-h);
}
.bizmodel-photo-b {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ── CLIENT LOGOS STRIP ────────────────────────────────────── */
.logos-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px 40px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.logos-strip img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%) opacity(.55);
  transition: filter var(--transition);
}
.logos-strip img:hover { filter: grayscale(0%) opacity(1); }

/* ── RESPONSIVE: HOMEPAGE SECTIONS ────────────────────────── */
@media (max-width: 1040px) {
  .reasons-grid  { grid-template-columns: repeat(2, 1fr); }
  .proc-layout   { grid-template-columns: 1fr; }
  .proc-photos   { position: static; flex-direction: row; }
  .proc-photo-top, .proc-photo-bot { height: 200px; flex: 1; }
  .paper-inner   { grid-template-columns: auto 1fr; }
  .paper-hugo    { display: none; }
  .svc-cards     { grid-template-columns: repeat(2, 1fr); }
  .bizmodel-layout { grid-template-columns: 1fr; }
  .bizmodel-photos { margin-top: 28px; }
  .about-split   { grid-template-columns: 1fr; }
  .about-media   { min-height: 260px; }
}
@media (max-width: 700px) {
  /* Hero móvil gestionado en el bloque <768px (evita recorte del título) */
  .reasons-grid  { grid-template-columns: 1fr; gap: 24px; }
  .svc-cards     { grid-template-columns: 1fr; }
  .proc-photos   { flex-direction: column; }
  .proc-photo-top, .proc-photo-bot { height: 220px; }
  .bizmodel-photos { grid-template-columns: 1fr; }
  .bizmodel-photo-a, .bizmodel-photo-b { height: 220px; grid-column: 1; }
  .bizmodel-photo-a { grid-row: 1; }
  .bizmodel-photo-b { grid-row: 2; }
  /* Mobile: section paragraphs 18px (desktop stays 22px) */
  .lead,
  h2 + p:not([class]),
  h1 + p:not([class]),
  .centered-head p,
  .about-block .about-centered p,
  .centered-note,
  .mission-tile__copy,
  .proj-gallery__note,
  .reason-row .reason-txt p,
  .home-form-section .home-form-intro p { font-size: 18px !important; }
}

/* ── ABOUT INTRO (homepage — matches live site: P logo + text) ─ */
.about-intro {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 52px;
  align-items: start;
}
.about-deco {
  padding-top: 8px;
  opacity: .1;
  pointer-events: none;
}
.about-deco img { width: 100%; }

/* ── PROCESS BAR (horizontal 4-step overview strip) ─────────── */
.proc-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 52px;
  padding: 0;
}
.proc-bar__step {
  text-align: center;
  flex: 1;
  min-width: 100px;
}
.proc-bar__step img {
  width: 100px; height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.proc-bar__step h3 {
  font-size: 18px;
  color: #2981B6;
  font-weight: 700;
  font-family: var(--f);
  text-transform: uppercase;
  letter-spacing: normal;
  line-height: 1.3;
}
.proc-bar__sep {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-top: 0;
}
.proc-bar__sep img { width: 50px; height: auto; }

/* ══════════════════════════════════════════════════════════════
   PROJECT GALLERY — "Built in NL, Deployed in UK"
   ══════════════════════════════════════════════════════════════ */
.mission-mosaic {
  background: #ffffff;
  padding: 80px 0;
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "headline office app3"
    "carousel-a statement-a app2"
    "app1 carousel-b statement-b";
  gap: 8px;
}
.mission-tile {
  position: relative;
  min-width: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--white);
}
.mission-tile__content {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 34px;
}
.mission-tile--headline { grid-area: headline; }
.mission-tile--office { grid-area: office; }
.mission-tile--app3 { grid-area: app3; }
.mission-tile--carousel-a { grid-area: carousel-a; }
.mission-tile--statement-green { grid-area: statement-a; }
.mission-tile--app2 { grid-area: app2; }
.mission-tile--app1 { grid-area: app1; }
.mission-tile--carousel-b { grid-area: carousel-b; }
.mission-tile--statement-white { grid-area: statement-b; }

.mission-tile--headline {
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.72) 100%),
    url("/images/praeter-grfx-uk-nl.webp") center/cover no-repeat;
}
.mission-tile--headline h2 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2rem, 2.1vw, 2.75rem);
  line-height: 1.15;
  color: #1F3E51;
}
.mission-tile--photo img,
.mission-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mission-tile--statement {
  display: flex;
  align-items: flex-end;
}
.mission-tile--statement::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.mission-tile__copy {
  margin: 0;
  font-size: var(--type-lead-size);
  line-height: var(--type-lead-line);
  color: #444444;
}
.mission-tile__copy strong { color: #1a1f24; }
.proj-gallery__note { font-size: var(--type-lead-size); line-height: var(--type-lead-line); color: #444444; }
.proj-gallery__note strong { color: #1a1f24; }

.mission-tile--statement-green {
  background: linear-gradient(180deg, #edf6e3 0%, #dcebc7 100%);
}
.mission-tile--statement-green::before {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,0) 55%),
    url("/images/praeter-grfx-rotate_3.webp");
  opacity: .45;
}

.mission-tile--statement-white {
  background: radial-gradient(125% 110% at 45% 40%, #e2f0d0 0%, #ecf5e1 48%, #ffffff 86%);
}
.mission-tile--statement-white::before {
  background-image: url("/images/praeter-grfx-p_1.webp");
  background-position: right bottom;
  opacity: .95;
}

.mission-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--white);
}
.mission-carousel img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
}
.mission-carousel--five img { animation: mission-fade-five 15s infinite; }
.mission-carousel--five img:nth-child(1) { animation-delay: 0s; }
.mission-carousel--five img:nth-child(2) { animation-delay: 3s; }
.mission-carousel--five img:nth-child(3) { animation-delay: 6s; }
.mission-carousel--five img:nth-child(4) { animation-delay: 9s; }
.mission-carousel--five img:nth-child(5) { animation-delay: 12s; }
.mission-carousel--four img { animation: mission-fade-four 14s infinite; }
.mission-carousel--four img:nth-child(1) { animation-delay: 0s; }
.mission-carousel--four img:nth-child(2) { animation-delay: 3.5s; }
.mission-carousel--four img:nth-child(3) { animation-delay: 7s; }
.mission-carousel--four img:nth-child(4) { animation-delay: 10.5s; }

@keyframes mission-fade-five {
  0%, 18% { opacity: 1; transform: scale(1.02); }
  20%, 100% { opacity: 0; transform: scale(1.08); }
}
@keyframes mission-fade-four {
  0%, 23% { opacity: 1; transform: scale(1.02); }
  25%, 100% { opacity: 0; transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .mission-carousel img {
    animation: none;
    opacity: 0;
    transform: none;
  }
  .mission-carousel img:first-child { opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════
   HOMEPAGE CONTACT FORM SECTION
   ══════════════════════════════════════════════════════════════ */
.home-form-section {
  background: #e3eef5;
  padding: 80px 0;
}
.page-faq-home .home-form-section {
  padding: 64px 0 72px;
}
.home-form-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
  max-width: 820px;
  margin: 0 auto;
}
.page-faq-home .home-form-inner {
  gap: 26px;
  max-width: 900px;
}
.home-form-wrap {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(31,62,81,.10);
  padding: 40px 44px;
}
.page-faq-home .home-form-wrap--cta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  box-shadow: 0 12px 32px rgba(31,62,81,.08);
}
.page-faq-home .home-form-wrap:not(.home-form-wrap--cta) {
  display: none;
}
.home-form-intro .form-paper-thumb {
  width: 200px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-h);
  float: right;
  margin: 0 0 28px 48px;
}
.home-form-intro h2  { margin-bottom: 16px; }
.home-form-section .home-form-intro p { font-size: 18px; line-height: 1.55; color: #444444; font-weight: 400; margin-bottom: 14px; }
.home-form-cta-note {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--secondary);
}
.home-form-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}
.home-form-open { flex: 0 0 auto; }

.form-modal[hidden] { display: none; }
.form-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}
.form-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 24, 33, .58);
  backdrop-filter: blur(3px);
}
.form-modal__dialog {
  position: relative;
  width: min(960px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  margin: 16px auto;
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(12, 24, 33, .28);
  padding: 34px 34px 28px;
}
.form-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  color: var(--secondary);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.form-modal__close:hover { background: var(--border); }
.form-modal__intro {
  padding-right: 40px;
  margin-bottom: 24px;
}
.form-modal__intro .form-paper-thumb {
  width: 160px;
  float: right;
  margin: 0 0 18px 32px;
}
.form-modal__intro h2 {
  margin-bottom: 14px;
}
.form-modal__intro p {
  font-size: 17px;
  line-height: 1.6;
  color: #444444;
  margin-bottom: 12px;
}
.form-modal__body .assessment-form {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.form-hugo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.form-hugo img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.form-hugo span { font-size: 14px; color: var(--text); }

/* Form fields */
.assessment-form fieldset {
  border: none;
  padding: 0;
  margin: 0 0 24px;
}
.assessment-form legend {
  font-family: var(--f);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text);
  margin-bottom: 16px;
  display: block;
  width: 100%;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.legend-note { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 11px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 5px;
}
.form-group label span { color: var(--accent); }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--f);
  font-size: 15px;
  padding: 10px 13px;
  border: 1.5px solid var(--border2);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  transition: border-color var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(41,129,182,.12);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.optional-fieldset { background: var(--bg); padding: 20px; border-radius: var(--radius); }

.form-consent {
  margin: 20px 0;
}
.consent-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.5;
  cursor: pointer;
}
.consent-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--primary);
}
.consent-label a { color: var(--primary); }
.form-submit { width: 100%; justify-content: center; margin-top: 4px; }

/* ══════════════════════════════════════════════════════════════
   PROJECT HIGHLIGHT CARDS (bottom of homepage)
   ══════════════════════════════════════════════════════════════ */
.proj-highlights {
  background:
    linear-gradient(180deg, rgba(31,62,81,.96) 0%, rgba(31,62,81,.96) 100%),
    url("/images/praeter-bck-3b.svg") center/cover no-repeat;
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.proj-showcase {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: center;
}
.proj-showcase__intro {
  padding: 16px 0;
}
.proj-showcase__intro h2 {
  margin: 0;
  max-width: 16ch;
  color: #ffffff;
  font-size: clamp(2rem, 2.2vw, 2.7rem);
  line-height: 1.18;
}
.proj-showcase__slider {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-h);
  background: rgba(255,255,255,.06);
}
.proj-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: proj-slide-fade 18s infinite;
}
.proj-slide--one { animation-delay: 0s; }
.proj-slide--two { animation-delay: 6s; }
.proj-slide--three { animation-delay: 12s; }
.proj-slide img,
.proj-slide__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.proj-slide img {
  object-fit: cover;
  transform: scale(1.03);
}
.proj-slide__overlay {
  background: linear-gradient(
    180deg,
    rgba(31,62,81,.28) 0%,
    rgba(31,62,81,.34) 45%,
    rgba(31,62,81,.62) 100%
  );
}
.proj-slide__content {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: 80%;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.proj-slide__content h3 {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: var(--f);
  font-size: clamp(1.15rem, 1.3vw, 1.5rem);
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}
.proj-slide__content p {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.55;
  font-style: italic;
}
.proj-showcase__dots {
  position: absolute;
  left: 34px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 10px;
}
.proj-showcase__dots span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .35;
  animation: proj-dot-pulse 18s infinite;
}
.proj-showcase__dots span:nth-child(1) { animation-delay: 0s; }
.proj-showcase__dots span:nth-child(2) { animation-delay: 6s; }
.proj-showcase__dots span:nth-child(3) { animation-delay: 12s; }

@keyframes proj-slide-fade {
  0% { opacity: 1; }
  30% { opacity: 1; }
  35% { opacity: 0; }
  95% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes proj-dot-pulse {
  0% { opacity: 1; transform: scale(1); }
  30% { opacity: 1; transform: scale(1); }
  35% { opacity: .35; transform: scale(.92); }
  95% { opacity: .35; transform: scale(.92); }
  100% { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .proj-slide,
  .proj-showcase__dots span {
    animation: none;
  }
  .proj-slide { opacity: 0; }
  .proj-slide--one { opacity: 1; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .mission-grid        {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "headline office"
      "app3 carousel-a"
      "statement-a statement-a"
      "app2 app1"
      "carousel-b carousel-b"
      "statement-b statement-b";
  }
  .mission-tile--statement,
  .mission-tile--carousel-b {
    aspect-ratio: auto;
    min-height: 260px;
  }
  .home-form-inner    { grid-template-columns: 1fr; }
  .home-form-intro .form-paper-thumb { width: 150px; }
  .proj-showcase      { grid-template-columns: 1fr; }
  .proj-showcase__intro h2 { max-width: none; }
  .proj-showcase__slider { min-height: 320px; }
  .about-intro        { grid-template-columns: 1fr; }
  .about-deco         { display: none; }
  .proc-bar           { gap: 4px; padding: 20px 18px; }
  .proc-layout        { grid-template-columns: 1fr; }
  .proc-photos        { position: static; flex-direction: row; }
  .proc-photo-top, .proc-photo-bot { height: 200px; flex: 1; }
  .bizmodel-layout    { grid-template-columns: 1fr; }
  .bizmodel-photos    { margin-top: 28px; }
}
@media (max-width: 700px) {
  .form-row           { grid-template-columns: 1fr; }
  .proj-showcase__slider { min-height: 300px; }
  .proj-slide__content {
    max-width: 90%;
    padding: 24px 24px 48px;
  }
  .proj-showcase__dots {
    left: 24px;
    bottom: 16px;
  }
  /* .reasons padding y el separador del logo P: ver bloque consolidado (abajo) */
  .proc-bar           { flex-direction: column; align-items: center; padding: 20px; gap: 10px; }
  .proc-bar__sep      { margin-top: 0; }
  .proc-bar__sep img  { transform: rotate(90deg); }
  .proc-photos        { flex-direction: column; }
  .proc-photo-top, .proc-photo-bot { height: 220px; }
  .bizmodel-photos    { grid-template-columns: 1fr; }
  .bizmodel-photo-a, .bizmodel-photo-b { height: 220px; grid-column: 1; }
  .bizmodel-photo-a   { grid-row: 1; }
  .bizmodel-photo-b   { grid-row: 2; }
}

/* ══════════════════════════════════════════════════════════════
   LIVE-LAYOUT CORRECTIONS (matched to Elementor JSON export)
   ══════════════════════════════════════════════════════════════ */

/* ── REASONS — 4-row zig-zag (icon/text alternating sides) ──── */
@media (max-width: 860px) {
  .mission-tile__content { padding: 26px; }
  .mission-tile--headline h2 { font-size: clamp(1.7rem, 4.1vw, 2.2rem); }
  .mission-tile__copy { font-size: 16px; }
}

@media (max-width: 600px) {
  .mission-mosaic { padding: 48px 0; }
  .mission-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "headline office"
      "app3 carousel-a"
      "statement-a statement-a"
      "app2 app1"
      "carousel-b carousel-b"
      "statement-b statement-b";
    gap: 8px;
  }
  .mission-tile,
  .mission-tile--photo,
  .mission-tile--carousel,
  .mission-tile--headline { aspect-ratio: 1 / 1; min-height: 0; }
  .mission-tile--statement,
  .mission-tile--carousel-b { aspect-ratio: auto; min-height: 220px; }
  .mission-tile__content { padding: 22px; }
  .mission-tile--statement .mission-tile__content { display: flex; align-items: center; }
  .mission-tile__copy { font-size: 16px !important; line-height: 1.4; }
  .mission-tile--headline h2 { font-size: clamp(1rem, 4.6vw, 1.4rem); line-height: 1.2; }
}

.reasons-list {
  max-width: 1100px;
  margin-inline: auto;   /* contenedor centrado; las filas conservan su alternancia */
  display: flex;
  flex-direction: column;
  gap: 4rem;            /* espaciado vertical uniforme entre bloques */
}
.reason-row {
  display: grid;
  grid-template-columns: auto minmax(0, 60ch);
  gap: 2rem;
  align-items: center;
  justify-content: center;   /* agrupa icono+texto en el centro, sin hueco muerto */
}
/* Filas alternas: texto a la izquierda, icono a la derecha — pero igualmente juntos */
.reason-row.rev { grid-template-columns: minmax(0, 60ch) auto; }
.reason-row.rev .reason-ico { order: 2; }
.reason-row.rev .reason-txt { order: 1; }
.reason-row .reason-ico {
  /* anula la caja fija heredada de .reason-ico (72x72): el wrapper se ajusta al icono */
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.reason-row .reason-ico img {
  width: 150px;
  height: 110px;
  object-fit: contain;
}
.reason-row .reason-txt p {
  font-size: var(--type-lead-size);
  line-height: var(--type-lead-line);
  color: #444444;
  margin: 0;
}
.reason-row .reason-txt strong { font-weight: 600; color: #444; }
/* Móvil: apilado vertical — icono grande centrado arriba, texto a la izquierda debajo */
@media (max-width: 768px) {
  .reasons-list { gap: 2.75rem; }   /* separación uniforme entre bloques */
  .reason-row,
  .reason-row.rev {
    grid-template-columns: 1fr;     /* una sola columna: icono arriba, texto debajo */
    gap: 1rem;                      /* separación compacta icono ↔ texto */
    text-align: left;
  }
  /* mismo orden de apilado en todas las filas (icono arriba, texto debajo) */
  .reason-row.rev .reason-ico,
  .reason-row.rev .reason-txt { order: 0; }
  .reason-row .reason-ico {
    justify-self: center;           /* icono centrado horizontalmente */
    width: auto;
    height: auto;
  }
  .reason-row .reason-ico img {
    width: 96px;                    /* icono grande (respeta proporción con height auto) */
    height: auto;
  }
  .reason-row .reason-txt {
    width: 100%;                    /* texto a todo el ancho, alineado a la izquierda */
    text-align: left;
  }
}

/* ── ABOUT/CENTERED-HEAD — definiciones consolidadas más abajo
      (regla ganadora: .about-centered L~2860 / .centered-head L~2700, ambas a X0).
      Las viejas reglas centradas (margin:0 auto) se eliminaron por estar muertas. */

/* ── PROC-BAR — label ABOVE icon (per JSON) ────────────────── */
.proc-bar__step h3 { margin-bottom: 0; }
.proc-bar__step img { margin: 0 auto; }

/* ── CENTERED HEAD + STACKED FULL-WIDTH MEDIA (process/bizmodel) */
/* (caja .centered-head muerta eliminada — regla ganadora a X0 más abajo, L~2700) */
.centered-head h2 { margin: 0; }
/* Process / business-model intro copy (home) — 19px/1.8 is the live JSON value;
   the former 22px/1.4 here was dead (overridden below) and has been merged in. */
.centered-head p {
  font-size: 19px;
  line-height: 1.8;
  color: #444444;
  margin-top: 16px;
}
.stacked-media {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.stacked-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-h);
  display: block;
}
.centered-note {
  max-width: 820px;
  margin: 40px auto 0;
  text-align: left;
  font-size: var(--type-lead-size);
  line-height: var(--type-lead-line);
  color: #444444;
  text-wrap: pretty;
}

/* ── PAPER CTA — 3 columns: thumb | heading | thumb+button ─── */
.paper-inner { max-width: 1000px; margin: 0 auto; }
.paper-3col {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 48px;
  align-items: center;
}
.paper-3col .paper-thumb { width: 120px; }
.paper-3col .paper-thumb img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  display: block;
}
.paper-3col .paper-mid { text-align: center; }
.paper-3col .paper-mid h2 { margin: 0; }
.paper-3col .paper-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.paper-3col .paper-end img {
  width: 120px;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  display: block;
}

/* ── TESTIMONIAL — 2 columns: quote left, gallery right ─────── */
.testi-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.testi-text h2 { margin-bottom: 22px; color: #000000; }
.testi-text .quote { margin: 0; }
.testi-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.testi-gallery img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* ── RESPONSIVE for live-layout corrections ─────────────────── */
@media (max-width: 1040px) {
  .paper-3col { grid-template-columns: 100px 1fr; }
  .paper-3col .paper-end { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; }
  .testi-layout { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 700px) {
  /* .reasons padding gestionado en el bloque consolidado del logo P (abajo) */
  /* separación entre bloques y tamaño del icono gestionados en el bloque <768px */
  .paper-3col { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 24px; }
  .paper-3col .paper-end { flex-direction: column; }
  .testi-gallery img { height: 150px; }
}

/* ══════════════════════════════════════════════════════════════
   SCREENSHOT-MATCH CORRECTIONS (v2)
   ══════════════════════════════════════════════════════════════ */

/* ── ABOUT — blue rounded panel + P-logo white circle + LEFT text */
section.block.about-block { padding-top: 8px; }
/* (def. .about-panel "card azul" eliminada: estaba muerta — la regla ganadora
    L~2840 no tiene fondo/padding y ancla el panel a X0) */
.plogo-circle {
  width: 150px; height: 150px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 16px 38px rgba(41,129,182,.16);
  display: flex; align-items: center; justify-content: center;
}
.plogo-circle img { width: 80px; height: auto; }

/* ── PROCESS / BIZMODEL headings now LEFT-aligned ──────────── */
.centered-head { max-width: 820px; margin: 0 auto 40px; text-align: left; }

/* Three-step process infographic (local image) */
.process-figure { max-width: 1000px; margin: 40px auto 0; }
.process-figure img { width: 100%; height: auto; display: block; border-radius: 10px; }

/* Our Services + Business model sections — light blue background (matches live) */
.svc-section.block.alt { background: #e3eef5; }
/* Section content headings (Get a grip / Solar is a business model) = black */
.centered-head h2 { color: #000000; }

/* ── SERVICE CARDS — borderless columns w/ vertical dividers ─ */
.svc-cards { gap: 0; }
.svc-card {
  background: transparent;
  border: none;
  border-left: 1px solid var(--border2);
  border-radius: 0;
  padding: 10px 30px;
  box-shadow: none;
}
.svc-card:first-child { border-left: none; }
.svc-card:hover {
  background: rgba(255,255,255,.55);
  box-shadow: none;
  transform: none;
  border-color: var(--border2);
}
.svc-card:first-child:hover { border-left: none; }

@media (max-width: 1040px) {
  .svc-card:nth-child(odd) { border-left: none; }
  .svc-card:nth-child(n+3) {
    border-top: 1px solid var(--border2);
    padding-top: 32px;
    margin-top: 22px;
  }
}

@media (max-width: 700px) {
  .svc-card {
    border-left: none;
    padding: 26px 12px;
  }
  .svc-card:nth-child(n+2) {
    border-top: 1px solid var(--border2);
    margin-top: 0;
  }
  .svc-card__ico {
    width: 136px;
    height: 136px;
    margin-bottom: 20px;
  }
  .svc-card__ico img {
    width: 132px;
    height: 132px;
  }
  .svc-card__ico--project img {
    transform: translateX(5px) scale(1.5);
  }
}

/* ── PAPER CTA — slim coloured banner (tilted cover + button) ─ */
section.paper-section { background: transparent; border: none; padding: 34px 0; }
.paper-banner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 104px;
  padding: 20px 34px 20px 200px;
  border-radius: 12px;
}
.paper-banner--green { background: #cfe4b6; }
.paper-banner--blue  { background: var(--primary-light); }
.paper-banner__img {
  position: absolute;
  left: 30px; top: 50%;
  transform: translateY(-50%) rotate(-7deg);
  width: 134px;
  border-radius: 4px;
  box-shadow: 0 14px 32px rgba(0,0,0,.22);
}
.paper-banner__title {
  flex: 1; margin: 0;
  font-family: var(--f);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 19px;
  line-height: 1.3;
}
.paper-banner--green .paper-banner__title { color: #3d6b22; }
.paper-banner--blue  .paper-banner__title { color: var(--primary-dark); }
.btn-paper {
  flex: none;
  background: #fff;
  border-radius: 6px;
  padding: 13px 24px;
  font-family: var(--f);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-paper:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.paper-banner--green .btn-paper { color: #3d6b22; }
.paper-banner--blue  .btn-paper { color: var(--primary-dark); }
.btn-paper svg { width: 18px; height: 18px; }

@media (max-width: 760px) {
  .paper-banner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    text-align: left;
    padding: 22px 24px;
    gap: 16px;
  }
  .paper-banner__img { position: static; transform: rotate(-4deg); width: 84px; }
  .paper-banner__title { flex: 1; min-width: 150px; font-size: 18px; }
  .paper-banner .btn-paper { flex-basis: 100%; justify-content: center; }
  .about-panel { padding: 0 0 30px; }   /* móvil: sin sangría lateral extra → mismo gutter que el resto (X0) */
  .about-centered, .centered-head { max-width: 100%; }
}

.btn-paper:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.paper-banner--green .btn-paper { color: #3d6b22; }
.paper-banner--blue  .btn-paper { color: var(--primary-dark); }
.btn-paper svg { width: 18px; height: 18px; }

/* ── TESTIMONIAL client-logos column (non-duplicative) ─────── */
.testi-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px 30px;
  align-items: center;
}
.testi-logos img {
  width: 100%;
  max-height: 62px;
  object-fit: contain;
  filter: grayscale(100%) opacity(.6);
  transition: filter var(--transition);
}
.testi-logos img:hover { filter: grayscale(0%) opacity(1); }

@media (max-width: 760px) {
  .paper-banner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    text-align: left;
    padding: 22px 24px;
    gap: 16px;
  }
  .paper-banner__img { position: static; transform: rotate(-4deg); width: 84px; }
  .paper-banner__title { flex: 1; min-width: 150px; font-size: 18px; }
  .paper-banner .btn-paper { flex-basis: 100%; justify-content: center; }
  .about-panel { padding: 0 0 30px; }   /* móvil: sin sangría lateral extra → mismo gutter que el resto (X0) */
  .about-centered, .centered-head { max-width: 100%; }
}

/* ══════════════════════════════════════════════════════════════
   ABOUT SECTION — true styling from homepage.json
   (soft blue glow background image, NOT a rounded card;
    left-aligned 42px heading, 22px body, P-logo straddling top)
   ══════════════════════════════════════════════════════════════ */
section.block.about-block {
  background: radial-gradient(75% 42% at 50% 16%, rgba(214,234,248,.85) 0%, rgba(214,234,248,0) 72%), #ffffff;
  padding-top: 110px;  /* sitio a la mitad inferior del círculo (75px) + separación al título */
  margin-top: -10px;
}
.about-panel {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  max-width: 820px;
  margin: 0 auto;   /* panel centrado en bloque (como la versión live) */
  position: relative;
}
/* ── P-LOGO DIVIDER — hermano de las dos secciones, montado sobre la frontera ──
   reasons (blanco, arriba) ─┼─ about (azul claro, abajo). El margin negativo =
   mitad del alto del círculo, así el straddle es 50/50 automático sin degradados. */
.section-divider--plogo {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 5;
  margin: -75px 0;        /* mitad de 150px (círculo desktop) — tunear */
}
.about-centered {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}
.about-centered h2 { font-size: var(--h2-display); margin: 0; color: var(--black); }
.about-block .about-centered p { font-size: var(--type-lead-size); line-height: var(--type-lead-line); font-weight: 400; color: #444444; margin-top: 18px; }


/* ══════════════════════════════════════════════════════════════
   MOBILE — keep the P-logo centered between the white reasons
   section (above) and the blue glow / about panel (below).
   Clear white gap above the P, P straddles the glow, heading
   pushed clearly below. Overrides the base -56px pull-up which
   only has room on desktop (120px reasons padding).
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 700px) {
  /* Respiro blanco POR ENCIMA del círculo (no debe tocar el texto del 70 GW) */
  .reasons { padding: 40px 0 64px; }
  /* about-block limpio (sin glow-hack); el straddle ahora es estructural */
  section.block.about-block {
    margin-top: 0;
    padding-top: 80px;   /* sitio a la mitad inferior del círculo (55px) + separación al título */
  }
  /* Círculo más contenido en móvil (desktop sigue a 150px) */
  .plogo-circle { width: 110px; height: 110px; }
  .plogo-circle img { width: 58px; }
  /* margin negativo = mitad de 110px → straddle 50/50 en móvil */
  .section-divider--plogo { margin: -55px 0; }
}

/* ══════════════════════════════════════════════════════════════
   SITE SEARCH — lupa button + overlay (injected by search.js)
   ══════════════════════════════════════════════════════════════ */
.nav-search { margin-left: 6px; }
.nav-search__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--secondary);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.nav-search__btn:hover { background: var(--bg); color: var(--primary); }

body.search-open { overflow: hidden; }

.site-search {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.site-search[hidden] { display: none; }
.site-search__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 31, 36, .55);
  backdrop-filter: blur(2px);
}
.site-search__panel {
  position: relative;
  width: min(640px, 92vw);
  margin-top: 12vh;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(26, 31, 36, .35);
  overflow: hidden;
  animation: search-pop .16s ease-out;
}
@keyframes search-pop {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.site-search__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}
.site-search__icon { color: var(--primary); display: inline-flex; flex-shrink: 0; }
.site-search__input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--f);
  font-size: 18px;
  color: var(--black);
  background: transparent;
}
.site-search__close {
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
  padding: 0 4px;
}
.site-search__close:hover { color: var(--primary); }
.site-search__results {
  list-style: none;
  margin: 0;
  padding: 6px;
  max-height: 56vh;
  overflow-y: auto;
}
.site-search__hit {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background var(--transition);
}
.site-search__hit:hover { background: var(--bg); }
.site-search__hit-title {
  display: block;
  font-family: var(--fs);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}
.site-search__hit-desc {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
}
.site-search__empty {
  margin: 0;
  padding: 22px 18px 26px;
  font-size: 15px;
  color: var(--text);
  text-align: center;
}
.mobile-search-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--secondary);
}
.mobile-search-link svg { color: var(--primary); }

/* ══════════════════════════════════════════════════════════════
   ABOUT PAGE — restyled to the homepage visual language
   (photo hero + overlay, 820px heads, big black 42px headings,
    larger #444 body, #e3eef5 alt sections, cleaner value cards).
   Styling only — page content is unchanged.
   ══════════════════════════════════════════════════════════════ */
.page-about .hero {
  background: linear-gradient(rgba(18,30,36,.22), rgba(18,30,36,.30)),
              url("/images/header-contact-praeter.webp") center/cover no-repeat;
  padding: 104px 0 88px;
  min-height: clamp(420px, 55vh, 560px);
  display: flex;
  align-items: center;
}
.page-about .hero::before { display: none; }
.page-about .hero .eyebrow { color: var(--accent); }
.page-about .hero h1 {
  font-family: var(--fs);
  font-size: var(--h1);
  line-height: var(--h1-line);
  max-width: 18ch;
}
.page-about .hero .lead {
  font-size: var(--type-lead-size);
  line-height: var(--type-lead-line);
  color: rgba(255,255,255,.92);
  max-width: 760px;
  text-wrap: balance;
}

/* Section headings — 42px black Basic, 820px column */
.page-about .section-head { max-width: 820px; margin-bottom: 36px; }
.page-about .section-head h2,
.page-about .about-two-col h2 {
  font-family: var(--fs);
  font-size: var(--h2-display);
  line-height: 1.15;
  color: #000;
}
.page-about .eyebrow { color: var(--primary); }

/* Body copy — uses the homepage scale instead of local one-off sizes */
.page-about .about-two-col p {
  font-size: var(--type-copy-size);
  line-height: var(--type-copy-line);
  color: #444;
  text-wrap: balance;
}
.page-about .section-head .lead {
  font-size: var(--type-lead-size);
  line-height: var(--type-lead-line);
  color: #444;
  text-wrap: balance;
}
.page-about .about-two-col p strong { color: #1a1f24; }

/* Alt sections — home light-blue */
.page-about section.block.alt { background: #e3eef5; }

/* Value cards — cleaner, home-like */
.page-about .values { gap: 16px; }
.page-about .value {
  border: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 30px 28px;
  box-shadow: 0 8px 24px rgba(31,62,81,.05);
}
.page-about .value:hover { box-shadow: 0 14px 36px rgba(31,62,81,.10); }
.page-about .value h3 {
  font-family: var(--fs);
  font-size: 21px;
  color: #1a1f24;
  gap: 12px;
}
.page-about .value .vi {
  width: 40px; height: 40px;
  background: #eef5fb;
  border-color: #dbe9f4;
}
.page-about .value .vi svg { width: 20px; height: 20px; stroke: var(--primary); }
.page-about .value p { font-size: 16px; line-height: 1.65; color: #444; }
.page-about .value-wide { max-width: 100%; }

/* About — official closing line under the values grid */
.values-closing {
  margin: 40px auto 0;
  max-width: 720px;
  text-align: center;
  font-family: var(--fs);
  font-size: 20px;
  line-height: 1.5;
  color: var(--primary);
  text-wrap: balance;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER — Praeter claim banner (matches PraeterFooter.tsx)
   Two lines: static claim + looping type/delete subtitle (no caret)
   ══════════════════════════════════════════════════════════════ */
.foot-banner { background:#7A8E8D; color:#fff; padding:64px 0 26px; }
.foot-claim {
  font-family: var(--fs);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  color: #fff;
  margin: 0 0 14px;
  max-width: 18ch;
}
.foot-sub {
  font-family: var(--fs);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: #fff;
  min-height: 2.2em;           /* reserve height so layout never jumps */
  margin: 0 0 36px;
  white-space: nowrap;
  overflow: hidden;
}
.foot-meta { display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.foot-nav { display:flex; align-items:center; gap:28px; flex-wrap:wrap; }
.foot-nav a {
  color: rgba(255,255,255,.9);
  font-size: .95rem;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}
.foot-nav a:hover { color:#fff; border-bottom-color: rgba(255,255,255,.75); }
.foot-socials { display:flex; align-items:center; gap:10px; }
.foot-li {
  width:40px; height:40px; border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center;
  background: rgba(0,0,0,.35); color:#fff;
  transition: transform .14s ease, background-color .14s ease;
}
.foot-li:hover { background: rgba(0,0,0,.5); transform: translateY(-1px); }
.foot-li svg { width:20px; height:20px; fill:#fff; }
.foot-rule { border:none; border-top:1px solid rgba(255,255,255,.45); margin:40px 0 20px; }
.foot-copy { font-size:.9rem; color: rgba(255,255,255,.8); margin:0; }
@media (max-width:560px){ .foot-banner{ padding:46px 0 22px; } .foot-sub{ white-space:normal; } }

/* ── PAGE COMPONENTS — centralized from former page-local styles ── */
.page-contact .hero {
  padding-bottom: 44px;
  background:
    radial-gradient(circle at top left, rgba(97, 206, 112, .16), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f6f8f7 100%);
}
.page-contact .hero h1 { max-width: 11ch; }
.page-contact .hero .lead {
  max-width: 34rem;
  margin-bottom: 0;
}
.page-contact .hero .eyebrow { color: var(--accent); }
.page-contact .hero h1 { color: var(--black); }
.page-contact .hero .lead { color: var(--secondary); }
.contact-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: 42px;
  align-items: center;
}
.contact-hero__content { display: flex; flex-direction: column; gap: 18px; }
.contact-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 6px;
}
.contact-hero__points span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--border2);
  color: var(--secondary);
  font-size: var(--type-meta-size);
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(15, 39, 63, .06);
}
.contact-hero__media {
  margin: 0;
  background: #fff;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(15, 39, 63, .14);
}
.contact-hero__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.contact-hero__media figcaption {
  padding: 14px 18px 16px;
  font-size: var(--type-meta-size);
  color: var(--text);
  background: #fff;
}
.contact-main { padding-top: 16px; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: start;
}
.contact-aside { display: flex; flex-direction: column; gap: 28px; }
.form-card,
.contact-person,
.contact-offices {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-intro-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.contact-kicker {
  font-size: var(--type-micro-size);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.contact-intro-card h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.08;
  margin-bottom: 14px;
}
.contact-intro-card p {
  margin-bottom: 12px;
  font-size: var(--type-card-copy-size);
  line-height: 1.7;
}
.contact-principles {
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.contact-principle {
  position: relative;
  padding: 16px 0 16px 22px;
  border-top: 1px solid var(--border);
  background: transparent;
  border-radius: 0;
}
.contact-principle:first-child { padding-top: 0; border-top: 0; }
.contact-principle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 21px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.contact-principle:first-child::before { top: 5px; }
.contact-principle strong {
  display: block;
  margin-bottom: 6px;
  color: var(--black);
  font-size: var(--type-card-copy-size);
}
.contact-principle span {
  display: block;
  color: var(--text);
  font-size: var(--type-meta-size);
  line-height: 1.6;
}
.contact-person {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 26px;
  align-items: center;
  border: 1px solid var(--border);
  box-shadow: none;
  background: rgba(255,255,255,.72);
}
.contact-person--no-image { grid-template-columns: 1fr; }
.contact-person__image {
  width: 92px;
  height: 92px;
  border-radius: 20px;
  object-fit: cover;
  display: block;
}
.contact-person__body h3 {
  margin-bottom: 3px;
  font-size: 24px;
}
.contact-person__role {
  margin-bottom: 10px;
  color: var(--text);
  font-size: var(--type-meta-size);
}
.contact-person__body p:last-child { margin-bottom: 0; }
.form-card {
  padding: 42px 44px;
  border: 1px solid rgba(15, 39, 63, .06);
}
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-card > p { font-size: var(--type-card-copy-size); color: var(--text); margin-bottom: 28px; }
.form-card .form-group { margin-bottom: 20px; }
.form-card .form-group label { display: block; font-size: var(--type-meta-size); font-weight: 600; color: var(--secondary); margin-bottom: 6px; }
.form-card .form-group label .req { color: var(--primary); margin-left: 2px; }
.form-card .form-group input,
.form-card .form-group select,
.form-card .form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--f);
  font-size: var(--type-card-copy-size);
  color: var(--secondary);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  appearance: none;
  -webkit-appearance: none;
}
.form-card .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a7a7a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-card .form-group input:focus,
.form-card .form-group select:focus,
.form-card .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(41,129,182,.12);
}
.form-card .form-group textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-card .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card .form-section-label {
  font-size: var(--type-micro-size);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 28px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--border);
}
.form-optional-toggle { margin-bottom: 20px; }
.form-optional-toggle details summary {
  font-size: var(--type-card-copy-size);
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-optional-toggle details summary::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}
.form-optional-toggle details[open] summary::before { background: var(--primary); }
.form-optional-toggle details summary::-webkit-details-marker { display: none; }
.form-optional-note {
  font-weight: 400;
  font-size: 12px;
  color: #9fb0b3;
  margin-left: 6px;
}
.form-optional-fields { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.form-optional-fields p { font-size: var(--type-meta-size); color: var(--text); margin-bottom: 16px; }
.checkbox-group { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; }
.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}
.checkbox-group label { font-size: var(--type-meta-size); line-height: 1.6; color: var(--text); cursor: pointer; }
.checkbox-group label a { color: var(--primary); }
.form-card .form-submit { margin-top: 28px; }
.form-card .form-submit .btn { width: 100%; justify-content: center; padding: 14px; font-size: var(--type-copy-size); }
.contact-offices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: none;
  background: rgba(255,255,255,.72);
}
.office { padding: 24px 26px; }
.office + .office { border-left: 1px solid var(--border); }
.office__country {
  font-size: var(--type-micro-size);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.office__country svg { width: 13px; height: 13px; stroke: currentColor; }
.office address { font-style: normal; font-size: var(--type-card-copy-size); line-height: var(--type-copy-line); color: var(--text); }
.office address a { color: var(--secondary); font-weight: 500; text-decoration: none; }
.office address a:hover { color: var(--primary); }
.contact-guarantee { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; }
.contact-guarantee h3 { font-size: var(--type-card-copy-size); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.contact-guarantee h3 svg { width: 16px; height: 16px; stroke: var(--accent-dark); }
.contact-guarantee ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.contact-guarantee li { font-size: var(--type-meta-size); line-height: 1.55; padding-left: 18px; position: relative; color: var(--text); }
.contact-guarantee li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-dark); font-weight: 700; font-size: var(--type-micro-size); top: 2px; }
.form-success { text-align: center; padding: 40px 0; }
.form-success svg { margin-bottom: 16px; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--text); }

.li-feed-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 12px; }
.li-feed-header h2 { margin: 0; }
.li-source { display: inline-flex; align-items: center; gap: 8px; font-size: var(--type-meta-size); color: var(--text); background: #fff; border: 1px solid var(--border); border-radius: 50px; padding: 7px 16px; text-decoration: none; }
.li-source:hover { border-color: var(--primary); color: var(--primary); }
.li-source svg { width: 16px; height: 16px; fill: #0a66c2; flex-shrink: 0; }
.li-load-more { text-align: center; margin-top: 40px; }
.btn-icon-inline { width: 14px; height: 14px; display: inline-block; vertical-align: middle; margin-left: 4px; }
.news-bar { margin: 0 0 28px; }
.news-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.news-filter { font: 600 var(--type-meta-size) var(--f); color: var(--secondary); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 17px; cursor: pointer; transition: all .18s; }
.news-filter:hover { border-color: var(--primary); color: var(--primary); }
.news-filter.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.news-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.news-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.news-card.is-hidden { display: none; }
.news-card__media { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--bg); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .35s ease; }
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.news-card__cat { align-self: flex-start; background: var(--accent); color: #fff; font: 700 var(--type-micro-size) var(--f); letter-spacing: .04em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; margin-bottom: 12px; }
.news-card__source { margin: -2px 0 8px; color: #9fb0b3; font-size: var(--type-micro-size); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.news-card__title { font-family: var(--fs); font-weight: 600; font-size: 19px; line-height: 1.3; margin: 0 0 8px; }
.news-card__title a { color: var(--secondary); text-decoration: none; }
.news-card__title a:hover { color: var(--primary); }
.news-card__date { font-size: 12.5px; color: #9fb0b3; margin-bottom: 12px; }
.news-card__excerpt { font-size: var(--type-card-copy-size); line-height: var(--type-card-copy-line); color: var(--text); margin: 0 0 16px; flex: 1; }
.news-card__more { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 13.5px; color: var(--primary); text-decoration: none; }
.news-card__more:hover { text-decoration: underline; }
.news-card__more svg { width: 15px; height: 15px; fill: #0a66c2; }

/* Related posts band on a post-detail page ("Latest News") */
.more-news { background: var(--bg); border-top: 1px solid var(--border); padding: 48px 0 60px; }
.more-news__head { text-align: center; margin-bottom: 28px; }
.more-news__head h2 { font-family: var(--fs); font-weight: 600; color: var(--secondary); font-size: clamp(24px, 3vw, 32px); margin: 0; }
.post-detail .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
@media (max-width: 640px) { .post-detail .news-grid { grid-template-columns: 1fr; } }

.post-detail { background: #fff; }
.post-hero { padding: 72px 0 44px; background: linear-gradient(180deg,#fff 0%, var(--bg) 100%); }
.post-hero__layout { display: grid; grid-template-columns: minmax(260px,420px) minmax(0,1fr); gap: 38px; align-items: center; }
.post-hero__image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--bg); aspect-ratio: 4/3; }
.post-hero__image img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.post-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; color: var(--text); font-size: var(--type-meta-size); }
.post-meta strong { color: var(--primary); text-transform: uppercase; letter-spacing: .04em; font-size: var(--type-micro-size); }
.post-hero h1 { font-family: var(--fs); font-weight: var(--h1-weight); font-size: var(--h1); line-height: var(--h1-line); letter-spacing: 0; color: var(--secondary); margin: 0 0 14px; }
.post-body { padding: 34px 0 84px; }
.post-body__content { max-width: 840px; margin: 0 auto; }
.post-body__content p { font-size: clamp(18px,2vw,23px); line-height: 1.45; color: var(--secondary); margin: 0 0 24px; }
.post-body__content a { color: var(--primary); font-weight: 600; text-decoration: none; }
.post-body__content a:hover { text-decoration: underline; }
.post-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 48px; flex-wrap: wrap; }
/* El texto del botón azul "Next post" debe ir en blanco (no heredar el azul de los enlaces del post) */
.post-nav a.btn-primary { color: #fff; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn { padding: 8px 20px; border-radius: 50px; border: 2px solid var(--border); background: transparent; font-family: var(--f); font-size: var(--type-card-copy-size); font-weight: 500; color: var(--text); cursor: pointer; transition: all .2s; }
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.project-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.project-card:hover { box-shadow: var(--shadow-h); transform: translateY(-4px); }
.project-card[hidden] { display: none; }
.project-card__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; background: var(--bg); }
.project-card__img-fallback { width: 100%; aspect-ratio: 16/10; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.project-card__body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.project-card__tag { display: inline-block; font-size: var(--type-micro-size); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); background: rgba(41,129,182,.1); padding: 3px 10px; border-radius: 50px; margin-bottom: 12px; }
.project-card__services { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 2px; }
.project-card__services-label { font-size: var(--type-micro-size); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dark); }
.svc-chip { display: inline-block; font-size: var(--type-micro-size); font-weight: 600; letter-spacing: .04em; text-decoration: none; color: var(--primary-dark); background: var(--bg); border: 1px solid var(--border); padding: 4px 11px; border-radius: 50px; transition: background var(--transition), color var(--transition), border-color var(--transition); }
.svc-chip:hover, .svc-chip:focus-visible { background: var(--primary); color: var(--white); border-color: var(--primary); }
.project-card__title { font-family: var(--fs); font-size: 18px; font-weight: 700; color: var(--secondary); margin-bottom: 10px; line-height: 1.3; }
.project-card__meta { display: flex; gap: 18px; margin-bottom: 12px; font-size: var(--type-meta-size); color: #9fb0b3; }
.project-card__meta span { display: flex; align-items: center; gap: 5px; }
.project-card__desc { font-size: var(--type-card-copy-size); line-height: var(--type-card-copy-line); color: var(--text); margin-bottom: 16px; flex: 1; }
.project-card__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.kpi { text-align: center; }
.kpi__value { display: block; font-family: var(--fs); font-size: var(--type-lead-size); font-weight: 700; color: var(--primary); }
.kpi__label { font-size: var(--type-micro-size); color: #9fb0b3; text-transform: uppercase; letter-spacing: .06em; }
.testimonial-card { background: var(--primary); border-radius: var(--radius); padding: 52px 56px; margin-top: 56px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.testimonial-card blockquote { margin: 0; }
.testimonial-card blockquote::before { content: '\201C'; font-family: var(--fs); font-size: 80px; line-height: .6; color: rgba(255,255,255,.3); display: block; margin-bottom: 16px; }
.testimonial-card p { font-family: var(--fs); font-size: var(--type-lead-size); line-height: 1.55; color: #fff; font-weight: 400; margin-bottom: 20px; }
.testimonial-card cite { font-style: normal; font-size: var(--type-card-copy-size); color: rgba(255,255,255,.75); }
.testimonial-card cite strong { display: block; color: #fff; font-size: var(--type-copy-size); margin-bottom: 3px; }
.testimonial-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.4); flex-shrink: 0; }

@media (max-width: 900px) {
  .contact-hero__layout,
  .contact-layout,
  .contact-offices { grid-template-columns: 1fr; }
  .office + .office {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .news-grid { grid-template-columns: repeat(2,1fr); }
  .post-hero__layout { grid-template-columns: 1fr; }
  .post-hero__image { max-width: 520px; }
}

@media (max-width: 860px) {
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-card { grid-template-columns: 1fr; padding: 36px 28px; }
  .testimonial-avatar { width: 64px; height: 64px; }
}

@media (max-width: 600px) {
  .form-card .form-row { grid-template-columns: 1fr; }
  .page-contact .hero { padding-bottom: 20px; }
  .contact-hero__points span { width: 100%; justify-content: center; }
  .form-card,
  .contact-person { padding: 28px 22px; }
  .contact-intro-card h2 { font-size: 28px; }
  .contact-person { grid-template-columns: 1fr; }
  .contact-person__image { width: 84px; height: 84px; }
  .news-grid { grid-template-columns: 1fr; }
  .li-feed-header { flex-direction: column; align-items: flex-start; }
  .post-hero { padding: 46px 0 28px; }
  .post-body { padding: 26px 0 58px; }
  .post-body__content p { font-size: 18px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card__kpis { grid-template-columns: 1fr 1fr; }
  .page-faq-home .home-form-wrap--cta {
    padding: 28px 22px;
  }
  .home-form-cta-actions {
    flex-direction: column;
  }
  .home-form-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .form-modal__dialog {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
    margin: 10px auto;
    padding: 24px 18px 20px;
  }
  .form-modal__intro {
    padding-right: 0;
  }
  .form-modal__intro .form-paper-thumb {
    width: 120px;
    float: none;
    display: block;
    margin: 0 0 16px;
  }
}

/* ══════════════════════════════════════════════════════════════
   ALINEACIÓN GLOBAL v4 — bloques de sección CENTRADOS y simétricos
   (comportamiento de la versión live). Va al FINAL: es la regla
   ganadora por cascada sobre todas las definiciones anteriores de
   estas clases. Encabezado + párrafo + imagen = columna central.
   ══════════════════════════════════════════════════════════════ */

/* 1. Bloque de sección: columna CENTRADA en la página (~820px), pero su
      CONTENIDO alineado a la izquierda (título y párrafo comparten borde). */
.centered-head,
.about-centered,
.section-head--narrow {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.centered-head { margin-bottom: 40px; }

/* 2. Encabezado Y párrafo a la izquierda, mismo borde izquierdo dentro de la
      caja centrada (se leen como una unidad), igual que la versión live.
      text-wrap:pretty para que ambos llenen de izq. a der. sin reparto raro. */
.centered-head h2,
.about-centered h2,
.about-centered h3,
.centered-head p,
.about-centered p,
.about-block .about-centered p,
.section-head--narrow h2,
.section-head--narrow p {
  text-align: left;
  text-wrap: pretty;
  max-width: 100%;
}

/* 3. Imágenes/infografías (proceso y business-model) centradas bajo su
      encabezado, con su ancho propio. */
.process-figure,
.stacked-media {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.process-figure { margin-top: 40px; }

/* 4. Nota inferior del proceso: bloque centrado en la página, texto a la
      izquierda y mismo ancho (820) que el encabezado → comparten borde izq. */
.centered-note {
  max-width: 820px;
  margin: 40px auto 0;
  text-align: left;
  text-wrap: pretty;
}

/* 5. Panel About centrado en bloque. */
.about-panel {
  margin-left: auto;
  margin-right: auto;
}

/* ── 24. PROJECT DETAIL PAGES ───────────────────────────────── */
.proj-breadcrumb { background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 0; }
.proj-breadcrumb__link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--secondary); text-transform: uppercase; letter-spacing: .07em; transition: color var(--transition); }
.proj-breadcrumb__link:hover { color: var(--primary); }

.proj-hero-meta { margin-top: 12px; color: rgba(255,255,255,.65); font-size: 15px; }

.proj-hero-img { width: 100%; overflow: hidden; background: var(--bg); }
.proj-hero-img img { width: 100%; height: 500px; object-fit: cover; display: block; }

.proj-kpi-section { background: var(--bg2); border-bottom: 1px solid var(--border); }
.proj-kpi-strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.proj-kpi { text-align: center; padding: 32px 16px; background: var(--white); border-right: 1px solid var(--border); }
.proj-kpi:last-child { border-right: none; }
.proj-kpi__value { display: block; font-family: var(--fs); font-size: clamp(24px, 2.8vw, 36px); font-weight: 700; color: var(--primary); margin-bottom: 6px; line-height: 1; }
.proj-kpi__label { font-size: 11px; color: #9fb0b3; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }

.proj-story { max-width: 720px; }
.proj-story p { font-size: 17px; line-height: 1.8; color: #444; }
.proj-story p + p { margin-top: 1.2em; }

.proj-gallery { margin: 0; }
.proj-gallery img { width: 100%; max-height: 460px; object-fit: cover; display: block; }

.project-card__link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--primary); margin-top: 16px; text-transform: uppercase; letter-spacing: .04em; transition: gap var(--transition), color var(--transition); }
.project-card__link:hover { gap: 10px; color: var(--primary-dark); }

@media (max-width: 860px) {
  .proj-kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .proj-kpi:nth-child(2) { border-right: none; }
  .proj-kpi:nth-child(3), .proj-kpi:nth-child(4) { border-top: 1px solid var(--border); }
  .proj-hero-img img { height: 340px; }
  .proj-story { max-width: 100%; }
}
@media (max-width: 600px) {
  .proj-hero-img img { height: 240px; }
  .proj-kpi__value { font-size: 26px; }
}

/* Case-study-led projects page */
.project-mock-hero {
  background:
    linear-gradient(120deg, rgba(14,28,34,.92), rgba(23,54,67,.78)),
    radial-gradient(circle at top right, rgba(134,198,105,.24), transparent 36%),
    url("/images/arnold-clark-head-office.webp") center/cover no-repeat;
}
.project-mock-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .9fr);
  gap: 30px;
  align-items: end;
}
.project-mock-hero__copy { max-width: 760px; }
.project-mock-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}
.project-mock-hero__panel {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: calc(var(--radius) + 6px);
  padding: 24px;
  box-shadow: 0 18px 38px rgba(9,17,20,.2);
  backdrop-filter: blur(4px);
}
.project-mock-hero__panel-label {
  font-size: var(--type-micro-size);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.74);
  margin-bottom: 16px;
}
.project-mock-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.project-mock-stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 16px 14px;
}
.project-mock-stat strong {
  display: block;
  font-family: var(--fs);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  color: #fff;
  margin-bottom: 8px;
}
.project-mock-stat span {
  display: block;
  font-size: var(--type-meta-size);
  line-height: 1.5;
  color: rgba(255,255,255,.72);
}
.project-mock-intro { position: relative; }
.project-mock-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(41,129,182,.05), transparent 40%),
    radial-gradient(circle at 10% 0%, rgba(134,198,105,.16), transparent 24%);
  pointer-events: none;
}
.project-mock-intro .wrap {
  position: relative;
  z-index: 1;
}
.project-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.project-value-card,
.project-story-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}
.project-value-card { padding: 28px 24px; }
.project-value-card h3 {
  color: var(--secondary);
  font-size: 22px;
  margin-bottom: 10px;
}
.project-value-card p {
  font-size: var(--type-card-copy-size);
  line-height: var(--type-card-copy-line);
  color: var(--text);
}
.project-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.project-story-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.project-story-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--bg);
}
.project-story-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  flex: 1;
}
.project-story-card__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(41,129,182,.1);
  color: var(--primary);
  font-size: var(--type-micro-size);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.project-story-card__body h3 {
  color: var(--secondary);
  font-size: clamp(22px, 2vw, 28px);
}
.project-story-card__lede {
  color: #444444;
  font-size: 17px;
  line-height: 1.65;
}
.project-story-card__copy {
  color: var(--text);
  font-size: var(--type-card-copy-size);
  line-height: var(--type-card-copy-line);
}
.project-story-card__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.project-story-card__metrics div { min-width: 0; }
.project-story-card__metrics dt {
  font-size: var(--type-micro-size);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9fb0b3;
  margin-bottom: 4px;
}
.project-story-card__metrics dd {
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.55;
}
.project-compare-table {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: #fff;
  box-shadow: var(--shadow);
}
.project-compare-table table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}
.project-compare-table thead th {
  background: #f7fbfd;
  color: var(--primary);
  font-size: var(--type-micro-size);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.project-compare-table th,
.project-compare-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: var(--type-card-copy-size);
  line-height: 1.6;
}
.project-compare-table tbody th {
  color: var(--secondary);
  font-weight: 700;
  min-width: 220px;
}
.project-compare-table tbody tr:nth-child(even) td,
.project-compare-table tbody tr:nth-child(even) th {
  background: #fbfcfc;
}

@media (max-width: 860px) {
  .project-mock-hero__layout,
  .project-values,
  .project-story-grid { grid-template-columns: 1fr; }
  .project-mock-hero__stats { grid-template-columns: 1fr 1fr; }
  .project-story-card__metrics { grid-template-columns: 1fr 1fr; }
  .proj-kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .proj-kpi:nth-child(2) { border-right: none; }
  .proj-hero-img img { height: 320px; }
}
@media (max-width: 600px) {
  .project-mock-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .project-mock-hero__panel { padding: 20px; }
  .project-mock-hero__stats,
  .project-story-card__metrics { grid-template-columns: 1fr; }
  .project-value-card,
  .project-story-card__body { padding: 22px; }
  .proj-kpi-strip { grid-template-columns: 1fr 1fr; }
  .proj-hero-img img { height: 240px; }
}

/* ══ ADVICE FINDER — guided lead widget (js/advice-finder.js) ═══════ */
[data-advice-finder]{
  --av-primary: var(--primary, #2981b6);
  --av-primary-dark: var(--primary-dark, #1f6692);
  --av-primary-light: var(--primary-light, #d6eaf8);
  --av-text-h: #1a1f24;
  --av-muted: var(--text, #7a7a7a);
  --av-border: var(--border, #e2e8e8);
  --av-white: var(--white, #fff);
  display:block;
}
.av-card{ color: var(--av-muted); }
.av-progress{ display:flex; gap:8px; margin-bottom:1.1rem; }
.av-dot{ height:5px; flex:1; border-radius:99px; background: var(--av-border); transition: background .22s ease; }
.av-dot.is-on{ background: var(--av-primary); }
.av-stepmeta{ font-size:.78rem; letter-spacing:.05em; text-transform:uppercase; color: var(--av-muted); margin:0 0 .4rem; }
.av-q{ font-size: clamp(1.2rem, 2.4vw, 1.55rem); line-height:1.25; margin:0 0 1.1rem; color: var(--av-text-h); }
.av-options{ display:flex; flex-direction:column; gap:.6rem; }
.av-option{
  display:flex; align-items:center; justify-content:space-between; gap:1rem; width:100%;
  text-align:left; cursor:pointer; font: inherit; font-weight:600;
  background: var(--av-white); color: var(--av-text-h);
  border:1.5px solid var(--av-border); border-radius: var(--radius, 6px);
  padding: .85rem 1rem; transition: border-color .18s ease, background .18s ease, transform .12s ease;
}
.av-option:hover, .av-option:focus-visible{ border-color: var(--av-primary); background: var(--av-primary-light); outline:none; }
.av-option:active{ transform: translateY(1px); }
.av-option.is-chosen{ border-color: var(--av-primary); background: var(--av-primary-light); }
.av-option svg{ color: var(--av-primary); flex:none; }
.av-back{ margin-top:1rem; background:none; border:none; cursor:pointer; font: inherit; font-weight:600; color: var(--av-muted); padding:.4rem 0; }
.av-back:hover{ color: var(--av-primary-dark); }
.av-rtag{ display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color: var(--av-primary-dark); background: var(--av-primary-light); padding:.3rem .65rem; border-radius:99px; margin-bottom:.9rem; }
.av-rintro{ color: var(--av-muted); margin:0 0 .35rem; }
.av-rtitle{ font-size: clamp(1.35rem, 3vw, 1.8rem); margin:0 0 .5rem; color: var(--av-text-h); }
.av-rblurb{ margin:0 0 .8rem; line-height:1.6; }
.av-more{ display:inline-block; font-weight:700; color: var(--av-primary-dark); margin-bottom:1rem; }
.av-more:hover{ text-decoration:underline; }
/* "Your first conversation is free" — the reassurance line above the lead form. */
.av-free{
  display:flex; align-items:center; gap:.5rem;
  font-size:.9rem; font-weight:600; color: var(--av-primary-dark);
  background: var(--av-primary-light); border-radius: var(--radius, 6px);
  padding:.6rem .75rem; margin:0 0 .85rem;
}
.av-free::before{
  content:""; flex:none; width:16px; height:16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.av-onaf{ font-size:.85rem; color: var(--av-muted); background: var(--bg, #f4f7f7);
  border-left:3px solid var(--av-primary); padding:.7rem .9rem; border-radius:6px; margin:0 0 1.3rem; }
.av-form{ display:flex; flex-direction:column; gap:.8rem; }
.av-field{ display:flex; flex-direction:column; gap:.25rem; }
.av-field label{ font-size:.82rem; font-weight:600; color: var(--av-muted); }
.av-field input, .av-field textarea{ font: inherit; padding:.7rem .85rem; border:1.5px solid var(--av-border); border-radius: var(--radius, 6px); background: var(--av-white); color: var(--av-text-h); width:100%; }
.av-field textarea{ resize:vertical; min-height:72px; line-height:1.5; }
.av-field input:focus-visible, .av-field textarea:focus-visible{ outline:none; border-color: var(--av-primary); box-shadow:0 0 0 3px var(--av-primary-light); }
.av-opt{ font-weight:400; text-transform:none; letter-spacing:0; opacity:.75; }
.av-hint{ font-size:.75rem; color: var(--av-muted); margin:.15rem 0 0; line-height:1.4; }
.av-hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.av-consent{ display:flex; gap:.55rem; align-items:flex-start; font-size:.85rem; color: var(--av-muted); cursor:pointer; }
.av-consent input{ margin-top:.2rem; flex:none; width:16px; height:16px; accent-color: var(--av-primary); }
.av-consent a{ color: var(--av-primary-dark); text-decoration:underline; }
.av-err{ color:#b3261e; font-size:.85rem; margin:0; }
.av-actions{ display:flex; flex-wrap:wrap; gap:.6rem; margin-top:.3rem; }
.av-btn{ font: inherit; font-weight:700; cursor:pointer; border-radius: var(--radius, 6px); padding:.8rem 1.3rem; border:1.5px solid transparent; transition: background .18s ease; }
.av-btn--primary{ background: var(--av-primary); color:#fff; }
.av-btn--primary:hover{ background: var(--av-primary-dark); }
.av-btn[disabled]{ opacity:.6; cursor:default; }
.av-thanks{ text-align:center; }
.av-check{ color: var(--av-primary); display:flex; justify-content:center; margin-bottom:.6rem; }
.av-thanks h3{ margin:0 0 .4rem; color: var(--av-text-h); }
.av-thanks p{ color: var(--av-muted); margin:0 0 1rem; }

/* Modal shell */
.af-modal{ position:fixed; inset:0; z-index:1000; display:flex; align-items:flex-start; justify-content:center; padding:5vh 16px 16px; overflow-y:auto; }
.af-modal[hidden]{ display:none; }
.af-modal__backdrop{ position:fixed; inset:0; background:rgba(20,30,40,.55); backdrop-filter:saturate(120%) blur(2px); }
.af-modal__dialog{ position:relative; z-index:1; width:100%; max-width:620px; background:var(--white,#fff);
  border-radius:14px; box-shadow:0 24px 60px rgba(20,30,40,.35); padding: clamp(1.4rem, 3vw, 2.2rem);
  animation: afPop .22s ease; }
@keyframes afPop{ from{ opacity:0; transform: translateY(12px) scale(.98); } to{ opacity:1; transform:none; } }
.af-modal__close{ position:absolute; top:10px; right:12px; background:none; border:none; font-size:30px; line-height:1;
  color:var(--text,#7a7a7a); cursor:pointer; padding:4px 10px; border-radius:8px; }
.af-modal__close:hover{ color:var(--primary-dark,#1f6692); background:var(--bg,#f4f7f7); }
.af-modal__eyebrow{ font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--primary,#2981b6); margin:0 0 .3rem; }
.af-modal__title{ font-size: clamp(1.25rem, 3vw, 1.6rem); line-height:1.2; margin:0 0 1.2rem; color:#1a1f24; }
@media (max-width:520px){ .af-modal{ padding:0; } .af-modal__dialog{ border-radius:0; min-height:100vh; } }
@media (prefers-reduced-motion: reduce){ .av-dot,.av-option,.av-btn,.af-modal__dialog{ transition:none; animation:none; } }

/* ══ CASE CAROUSEL — related delivered projects ════════════════════ */
.case-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 6px 2px 10px;
  margin-top: 10px;
  scrollbar-width: none;        /* Firefox: hide scrollbar */
  -ms-overflow-style: none;     /* IE/old Edge: hide scrollbar */
}
.case-carousel::-webkit-scrollbar { width: 0; height: 0; display: none; }  /* WebKit: hide scrollbar */
.case-card {
  flex: 0 0 300px;
  max-width: 300px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-h);
  border-color: var(--primary);
}
.case-card__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg2); }
.case-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.case-card:hover .case-card__img img { transform: scale(1.05); }
.case-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.case-card__tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--primary-dark); margin-bottom: 8px;
}
.case-card__body h3 { font-size: 18px; line-height: 1.3; color: #1a1f24; margin: 0 0 6px; }
.case-card__body p { font-size: 15px; color: var(--text); margin: 0 0 14px; flex: 1; }
.case-card__link { font-weight: 700; color: var(--primary-dark); font-size: 15px; }
.case-card:hover .case-card__link { text-decoration: underline; }
/* "View all" card */
.case-card--all { background: var(--primary-light); border-color: var(--primary-light); }
.case-card--all .case-card__body { justify-content: center; }
.case-card--all:hover { border-color: var(--primary); }
/* Carousel nav arrows */
.case-carousel-wrap { position: relative; }
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border2);
  color: var(--primary-dark);
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 4px 16px rgba(20, 40, 60, .14);
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), opacity .25s ease, visibility .25s ease;
}
.carousel-nav svg { width: 22px; height: 22px; }
.carousel-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(20, 40, 60, .22);
}
.carousel-nav:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.carousel-nav--prev { left: -18px; }
.carousel-nav--next { right: -18px; }
.carousel-nav.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 700px) {
  .carousel-nav { display: none; }   /* touch devices: swipe to scroll */
}
@media (max-width: 560px) {
  .case-card { flex-basis: 82%; max-width: 82%; }
}
