/* ============================================================
   AGRINI SRL — Impresa Edile Milano
   Design system: "Tavola tecnica" — blueprint premium
   ============================================================ */

@font-face {
  font-family: 'Big Shoulders';
  src: url('/assets/fonts/big-shoulders.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #17181a;
  --ink-soft: #26282c;
  --ink-line: #33363b;
  --paper: #f2efe9;
  --paper-warm: #eae5db;
  --white: #fdfcfa;
  --amber: #e8a33d;
  --amber-deep: #c9820f;
  --muted: #6d6f74;
  --muted-light: #a9a398;
  --line: rgba(23, 24, 26, 0.14);
  --line-light: rgba(253, 252, 250, 0.14);
  --display: 'Big Shoulders', 'Arial Narrow', sans-serif;
  --body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --max: 1200px;
  --radius: 2px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; }

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

/* ---------- Blueprint grid texture ---------- */
.bp-grid {
  background-image:
    linear-gradient(rgba(23,24,26,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,24,26,0.045) 1px, transparent 1px);
  background-size: 48px 48px;
}
.bp-grid-dark {
  background-image:
    linear-gradient(rgba(253,252,250,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(253,252,250,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ---------- Typography helpers ---------- */
.kicker {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber-deep);
  display: flex;
  align-items: center;
  gap: 14px;
}
.kicker::before {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--amber);
}
.kicker .num {
  color: var(--muted);
  font-weight: 500;
}

h1, h2, h3 {
  font-family: var(--display);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.h-xl { font-size: clamp(2.9rem, 8vw, 6.2rem); font-weight: 800; }
.h-lg { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
.h-md { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; }

.lead { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 58ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-amber {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(23,24,26,0.9);
}
.btn-amber:hover { background: #f0b054; box-shadow: 6px 6px 0 rgba(23,24,26,0.9); }
.btn-ghost-dark {
  border-color: var(--line-light);
  color: var(--white);
}
.btn-ghost-dark:hover { border-color: var(--amber); color: var(--amber); }
.btn-ghost-light {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost-light:hover { background: var(--ink); color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 24, 26, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-light);
  color: var(--white);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: 0.06em;
}
.logo .mark { color: var(--amber); }
.logo .tag {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(253,252,250,0.8);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--amber); }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: var(--radius);
  transition: background 0.15s ease;
  white-space: nowrap;
}
.header-cta:hover { background: #f0b054; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 9px 11px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero .wrap {
  position: relative;
  padding-top: clamp(70px, 10vw, 120px);
  padding-bottom: clamp(70px, 10vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--amber);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before { content: ''; width: 40px; height: 2px; background: var(--amber); }
.hero h1 { margin-bottom: 26px; }
.hero h1 .accent { color: var(--amber); }
.hero .lead { color: rgba(253,252,250,0.72); margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line-light);
  padding-top: 24px;
}
.hero-badges li {
  list-style: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(253,252,250,0.75);
  padding-right: 22px;
  margin-right: 22px;
  border-right: 1px solid var(--line-light);
}
.hero-badges li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-badges li::before { content: '/ '; color: var(--amber); }

.hero-figure { position: relative; }
.hero-figure svg { width: 100%; height: auto; }

/* Load animation */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(24px); animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
  .rise-1 { animation-delay: 0.05s; }
  .rise-2 { animation-delay: 0.15s; }
  .rise-3 { animation-delay: 0.25s; }
  .rise-4 { animation-delay: 0.35s; }
  .rise-5 { animation-delay: 0.45s; }
  @keyframes rise { to { opacity: 1; transform: translateY(0); } }

  .draw path, .draw line, .draw rect, .draw polyline, .draw circle {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: draw 2.4s ease-out forwards;
  }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--amber);
  color: var(--ink);
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 12px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 18px;
}
.ticker span::after { content: '◆'; margin-left: 36px; font-size: 0.7em; vertical-align: 2px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-head { margin-bottom: clamp(38px, 5vw, 60px); max-width: 760px; }
.section-head .kicker { margin-bottom: 18px; }
.section-head p { margin-top: 18px; }

/* ---------- Services ---------- */
.services { background: var(--paper); border-bottom: 1px solid var(--line); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 28px 38px;
  position: relative;
  background: var(--paper);
  transition: background 0.2s ease;
}
.service:hover { background: var(--white); }
.service::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 3px; width: 0;
  background: var(--amber);
  transition: width 0.3s ease;
}
.service:hover::after { width: 100%; }
.service .s-num {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--muted-light);
  display: block;
  margin-bottom: 20px;
}
.service .s-icon { margin-bottom: 20px; color: var(--ink); }
.service:hover .s-icon { color: var(--amber-deep); }
.service .s-icon svg { width: 44px; height: 44px; transition: color 0.2s ease; }
.service h3 { font-size: 1.45rem; margin-bottom: 12px; }
.service p { font-size: 0.95rem; color: var(--muted); }

/* ---------- Why us ---------- */
.why { background: var(--ink); color: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.why .kicker { color: var(--amber); }
.why .kicker .num { color: var(--muted-light); }
.why .lead { color: rgba(253,252,250,0.72); }
.why-points { display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.why-point {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-light);
}
.why-point .wp-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--amber);
  line-height: 1;
}
.why-point h3 { font-size: 1.3rem; margin-bottom: 8px; }
.why-point p { font-size: 0.95rem; color: rgba(253,252,250,0.65); }

/* ---------- Pubblica Amministrazione ---------- */
.pa {
  background: var(--amber);
  color: var(--ink);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.pa .bp-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23,24,26,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,24,26,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.pa .wrap { position: relative; }
.pa .kicker { color: var(--ink); }
.pa .kicker::before { background: var(--ink); }
.pa .kicker .num { color: rgba(23,24,26,0.55); }
.pa-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: start;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.pa-head .lead { color: rgba(23,24,26,0.78); }
.pa-head p strong { color: var(--ink); }
.mepa-stamp {
  flex-shrink: 0;
  width: 190px;
  height: 190px;
  border: 2.5px dashed var(--ink);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  transform: rotate(7deg);
  font-family: var(--display);
  text-transform: uppercase;
  padding: 20px;
  background: rgba(253,252,250,0.25);
}
.mepa-stamp .ms-top { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; }
.mepa-stamp .ms-big { font-size: 2.6rem; font-weight: 800; letter-spacing: 0.06em; line-height: 1; }
.mepa-stamp .ms-sub { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; }
.pa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: clamp(32px, 4vw, 46px);
}
.pa-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(23,24,26,0.9);
  padding: 28px 26px 30px;
}
.pa-card .s-icon { margin-bottom: 16px; color: var(--amber-deep); }
.pa-card .s-icon svg { width: 40px; height: 40px; }
.pa-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.pa-card p { font-size: 0.93rem; color: var(--ink-soft); }
.pa-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.pa-chips li {
  list-style: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(253,252,250,0.35);
}
.pa-chips .btn { margin-left: auto; }

/* ---------- SEO feature blocks ---------- */
.feature { border-bottom: 1px solid var(--line); }
.feature .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding-top: clamp(70px, 9vw, 110px);
  padding-bottom: clamp(70px, 9vw, 110px);
}
.feature.alt .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.feature.alt .feature-media { order: 2; }
.feature h2 { margin: 18px 0 22px; }
.feature p { color: var(--muted); margin-bottom: 16px; }
.feature p strong { color: var(--ink); }
.feature-media {
  position: relative;
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--amber);
}
.feature-media svg { width: 100%; height: auto; }
.feature-media .fm-label {
  position: absolute;
  top: 12px; left: 14px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Process ---------- */
.process { background: var(--paper-warm); border-bottom: 1px solid var(--line); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid var(--line);
}
.step {
  border-right: 1px solid var(--line);
  padding: 8px 26px 10px;
  position: relative;
}
.step .st-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--amber-deep);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Quote / contact ---------- */
.quote { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  position: relative;
}
.quote .kicker { color: var(--amber); }
.quote .lead { color: rgba(253,252,250,0.72); }

.contact-list { list-style: none; margin-top: 34px; display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.contact-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.95rem;
}
.contact-list .cl-label {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--amber);
}
.contact-list a { color: var(--white); text-decoration-color: rgba(253,252,250,0.35); text-underline-offset: 3px; }
.contact-list a:hover { color: var(--amber); }

.quote-form {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 var(--amber);
  padding: clamp(26px, 4vw, 42px);
}
.quote-form h3 { font-size: 1.6rem; margin-bottom: 6px; }
.quote-form .form-sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 7px;
  color: var(--ink-soft);
}
.field input, .field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid rgba(23,24,26,0.3);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--amber-deep);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.consent-field { margin: 4px 0 14px; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.55;
  color: var(--ink-soft);
  cursor: pointer;
}
.consent input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--amber-deep);
  cursor: pointer;
}
.consent a { color: var(--amber-deep); }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 18px; }
.form-note a { color: var(--ink); }

.btn-wa {
  background: #1fae54;
  color: #fff;
  box-shadow: 4px 4px 0 rgba(23,24,26,0.9);
}
.btn-wa:hover { background: #25c261; box-shadow: 6px 6px 0 rgba(23,24,26,0.9); }

/* ---------- Footer ---------- */
.site-footer {
  background: #101113;
  color: rgba(253,252,250,0.65);
  border-top: 3px solid var(--amber);
  padding: 54px 0 34px;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: rgba(253,252,250,0.65); text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-logo { margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid var(--line-light);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(253,252,250,0.45);
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1fae54;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Cookie/privacy banner ---------- */
.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  background: var(--ink);
  color: rgba(253,252,250,0.85);
  border-top: 3px solid var(--amber);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.35);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.cookie-bar h2 {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--amber);
  margin-bottom: 4px;
}
.cookie-bar p {
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
}
.cookie-bar a { color: var(--amber); }
.cookie-bar .btn {
  flex-shrink: 0;
  padding: 12px 26px;
}
@media (max-width: 720px) {
  .cookie-bar .wrap { flex-direction: column; align-items: stretch; gap: 14px; text-align: left; }
  .cookie-bar .btn { justify-content: center; }
}

/* ---------- Legal pages ---------- */
.legal-hero {
  background: var(--ink);
  color: var(--white);
  padding: clamp(50px, 7vw, 90px) 0;
}
.legal-hero .kicker { color: var(--amber); margin-bottom: 16px; }
.legal-body { padding: clamp(50px, 7vw, 80px) 0; }
.legal-body .wrap { max-width: 820px; }
.legal-body h2 {
  font-size: 1.5rem;
  margin: 44px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.legal-body h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.legal-body p, .legal-body li { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 12px; }
.legal-body ul { padding-left: 22px; margin-bottom: 16px; }
.legal-body a { color: var(--amber-deep); }
.legal-updated { font-size: 0.85rem; color: var(--muted); }

/* ---------- 404 ---------- */
.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}
.page-404 .h-xl { color: var(--amber); }
.page-404 p { color: rgba(253,252,250,0.7); margin: 18px 0 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero-figure { max-width: 520px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .feature .wrap, .feature.alt .wrap, .quote-grid { grid-template-columns: 1fr; }
  .pa-head { grid-template-columns: 1fr; }
  .mepa-stamp { transform: rotate(4deg); }
  .pa-grid { grid-template-columns: 1fr; }
  .pa-chips .btn { margin-left: 0; }
  .feature.alt .feature-media { order: 0; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .step { padding: 20px 22px; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 26px;
    gap: 18px;
    border-bottom: 1px solid var(--line-light);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 3px; }
  .hero-badges li { border-right: 0; margin-right: 0; padding-right: 0; width: 100%; padding: 4px 0; }
}
