/* ==========================================================================
   NectaPlanner — v2.css  "Officina lucida"
   Palette: Inchiostro / Acciaio / Segnale / Verde esito / Nebbia / Ardesia
   Type: Instrument Serif italic (display) + DM Sans (body) + DM Mono (dati)
   ========================================================================== */

/* ---- Token system ---- */
:root {
  --ink:      #111B21;   /* background scuro, footer */
  --steel:    #E8ECF0;   /* superfici neutre chiare  */
  --signal:   #FF6B00;   /* CTA, accent, highlight   */
  --signal-dk:#D45800;   /* hover CTA                */
  --green:    #1A9E6F;   /* check, badge, esito      */
  --green-dk: #137A55;
  --mist:     #F3F6F8;   /* card bg, form            */
  --slate:    #3C4E58;   /* body text                */
  --muted:    #6B7E89;   /* testo secondario         */
  --border:   #D4DDE3;   /* bordi neutri             */
  --border-dk:#2A3B44;   /* bordi su scuro           */
  --white:    #FAFCFD;

  --font-head: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;

  --radius-card: 12px;
  --radius-btn:  8px;

  --shadow-sm: 0 2px 8px -4px rgba(17,27,33,.18);
  --shadow-md: 0 12px 32px -16px rgba(17,27,33,.28);
  --shadow-lg: 0 28px 60px -28px rgba(17,27,33,.36);
}

/* ---- Body & background ---- */
body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--white);
}

/* ---- Headings ---- */
h1, h2 {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.01em;
}
h3, h4 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
}

/* ---- Buttons ---- */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-btn);
  letter-spacing: .01em;
}
.btn-primary {
  background: var(--signal);
  color: #fff;
  border-color: var(--signal);
  box-shadow: 0 4px 16px -8px rgba(255,107,0,.5);
}
.btn-primary:hover {
  background: var(--signal-dk);
  border-color: var(--signal-dk);
  box-shadow: 0 10px 28px -10px rgba(255,107,0,.55);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--signal);
  color: var(--signal);
}
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Eyebrow ---- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--signal);
}

/* ---- Lead ---- */
.lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--muted);
  line-height: 1.7;
}

/* ================================================================
   HEADER — pill compatta su sfondo trasparente
   ================================================================ */
.site-header {
  top: 10px;
  background: transparent;
  backdrop-filter: none;
  border: none;
}
.site-header .container {
  width: min(1160px, 94vw);
}
.site-header .nav {
  background: rgba(250,252,253,.88);
  backdrop-filter: saturate(140%) blur(14px);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .55rem .75rem .55rem 1rem;
  box-shadow: var(--shadow-sm);
}
.site-header.is-scrolled .nav {
  box-shadow: var(--shadow-md);
}
.site-header .nav-logo img { height: 46px; }

.nav-links a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--slate);
}
.nav-links a::after { background: var(--signal); }

.lang-switch button.is-active {
  background: var(--ink);
  color: #fff;
}

@media (max-width: 860px) {
  .site-header { top: 6px; }
  .nav-menu {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    top: calc(100% + 6px);
  }
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--white);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--mist);
  border: 1px solid var(--border);
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .38rem .85rem .38rem .5rem;
  border-radius: 6px;
  margin-bottom: 1.4rem;
}
.hero-badge .dot {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--signal);
  color: #fff;
  display: grid;
  place-items: center;
}
.hero-badge .dot svg { width: 12px; height: 12px; }

/* H1 */
.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.02;
  margin-bottom: 1.1rem;
  color: var(--ink);
}
.hero h1 .hl {
  color: var(--signal);
  font-style: italic;
  position: static;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}
.hero h1 .hl::after { display: none; }

.hero .lead { margin: 0 0 1.8rem; max-width: 52ch; }

/* CTA */
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Chips */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1.6rem;
}
.hero-chips span {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .06em;
  color: var(--slate);
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .32rem .7rem;
}
.hero-chips span::before {
  content: "—";
  color: var(--signal);
  margin-right: .4rem;
}

/* Trust */
.hero-trust {
  margin-top: 1.4rem;
  font-size: .86rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .55rem;
}
.hero-trust .av { display: inline-flex; }
.hero-trust .av i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -7px;
  background: var(--ink);
}
.hero-trust .av i:first-child { margin-left: 0; background: var(--signal); }
.hero-trust .av i:nth-child(2) { background: var(--green); }
.hero-trust .av i:nth-child(3) { background: var(--slate); }

/* ---- Product visual mock ---- */
.mock { position: relative; }
.win {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.win-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  background: var(--ink);
  border-bottom: 1px solid var(--border-dk);
}
.win-top i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
}
.win-top i:nth-child(1) { background: #F0807A; }
.win-top i:nth-child(2) { background: #F0C97A; }
.win-top i:nth-child(3) { background: #7AC899; }
.win-top .tt {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: .66rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .05em;
}
.win .shot { display: block; width: 100%; height: auto; }

/* Float cards */
.float-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .6rem .85rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .55rem;
}
.float-card .fi {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(26,158,111,.12);
  color: var(--green);
}
.float-card .fi svg { width: 15px; height: 15px; }
.float-card .ft { font-size: .7rem; line-height: 1.3; }
.float-card .ft b { display: block; color: var(--ink); font-size: .78rem; font-family: var(--font-mono); }
.float-card .ft span { color: var(--muted); font-family: var(--font-mono); font-size: .65rem; }
.hero-visual .float-card.one { right: -12px; bottom: 24px; }
.hero-visual .float-card.two { left: -16px; top: 28px; }
@media (max-width: 520px) { .hero-visual .float-card { display: none; } }

/* ================================================================
   FLOW FEED — animazione flusso intervento nell'hero
   ================================================================ */
.flow-feed {
  background: #141D23;
}
.ff-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem .85rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-family: var(--font-mono);
  font-size: .62rem;
  color: rgba(255,255,255,.3);
  letter-spacing: .07em;
}
.ff-legend {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .58rem;
  color: rgba(255,255,255,.3);
  letter-spacing: .06em;
}
.ff-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(255,107,0,.18);
  animation: ff-pulse 2s ease infinite;
}
@keyframes ff-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255,107,0,.18); }
  50%       { box-shadow: 0 0 0 6px rgba(255,107,0,.08); }
}
@media (prefers-reduced-motion: reduce) { .ff-dot { animation: none; } }

.ff-track {
  padding: .5rem .85rem .3rem;
  display: grid;
  gap: 0;
}
.ff-step {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .58rem .1rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .38s ease, transform .38s ease;
}
.ff-step:last-child { border-bottom: none; }
.ff-step.ff-visible { opacity: 1; transform: none; }
/* Separatore visivo quando cambiano i giorni (tra step 3→4 e step 4→5) */
.ff-step[data-ff="4"] { border-top: 1px dashed rgba(255,255,255,.1); margin-top: .2rem; padding-top: .7rem; }

/* Actor avatars */
.ff-av {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}
.ff-av-c { background: rgba(255,200,100,.15); color: #F0C060; border: 1px solid rgba(255,200,100,.25); }
.ff-av-b { background: rgba(255,255,255,.1);  color: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.12); }
.ff-av-t { background: rgba(26,158,111,.18);  color: var(--green); border: 1px solid rgba(26,158,111,.28); }
.ff-av-done { background: rgba(255,107,0,.18); color: var(--signal); border-color: rgba(255,107,0,.28); }

.ff-body { flex: 1; min-width: 0; }
.ff-body b {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.86);
  line-height: 1.3;
}
.ff-body span {
  display: block;
  font-family: var(--font-mono);
  font-size: .64rem;
  color: rgba(255,255,255,.35);
  letter-spacing: .04em;
  margin-top: .1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ff-time {
  font-family: var(--font-mono);
  font-size: .62rem;
  color: rgba(255,255,255,.22);
  flex: 0 0 auto;
  letter-spacing: .04em;
}

/* Footer: barra progresso */
.ff-footer {
  padding: .5rem .85rem .7rem;
  border-top: 1px solid rgba(255,255,255,.07);
}

.ff-progress {
  height: 2px;
  background: rgba(255,255,255,.07);
  border-radius: 1px;
  overflow: hidden;
}
.ff-bar {
  height: 100%;
  width: 0%;
  background: var(--signal);
  border-radius: 1px;
}

/* ================================================================
   SECTION HEADS
   ================================================================ */
.section-head {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto clamp(2.4rem, 5vw, 3.6rem);
}
.section-head .eyebrow {
  display: inline-block;
  margin-bottom: .6rem;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}
.section-head .lead { margin-inline: auto; }

/* ================================================================
   FEATURES — griglia numerata
   ================================================================ */
.features {
  background: var(--steel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features .section-head h2 { color: var(--ink); }

.features-num {
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
@media (max-width: 900px) { .features-num { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .features-num { grid-template-columns: 1fr; } }

.features-num .card {
  background: var(--white);
  border: none;
  border-radius: 0;
  padding: 1.6rem 1.4rem 1.5rem;
  position: relative;
  transition: background .18s ease;
}
.features-num .card:hover {
  background: var(--mist);
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.features-num .card .num {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 400;
  color: var(--border);
  letter-spacing: .06em;
}
.features-num .card .ico {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,107,0,.1);
  color: var(--signal);
  margin-bottom: .9rem;
}
.features-num .card h3 {
  font-size: .98rem;
  font-weight: 700;
  margin-bottom: .3rem;
  color: var(--ink);
}
.features-num .card p {
  font-size: .88rem;
  color: var(--muted);
  margin: 0;
}

/* ================================================================
   DEEP-DIVE — sfondo scuro, timeline con timestamp
   ================================================================ */
.deep {
  background: var(--ink);
  color: rgba(255,255,255,.82);
  border-top: 1px solid var(--border-dk);
}
.deep .section-head h2 {
  color: #fff;
}
.deep .section-head .lead {
  color: rgba(255,255,255,.6);
}
.deep .section-head .eyebrow {
  color: var(--signal);
}

.deep-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2.4rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--border-dk);
}
.deep-row:first-of-type { border-top: none; margin-top: .5rem; }
.deep-row.reverse .deep-copy { order: 2; }
@media (max-width: 860px) {
  .deep-row,
  .deep-row.reverse { grid-template-columns: 1fr; }
  .deep-row.reverse .deep-copy { order: 0; }
  .deep-row .deep-visual { order: -1; }
}

/* Timestamp eyebrow — il signature element */
.deep-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: rgba(255,255,255,.45);
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1rem;
}
.deep-copy .eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 1.4em;
  background: var(--signal);
  border-radius: 2px;
}

.deep-copy h3 {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1.12;
  margin-bottom: .7rem;
}
.deep-copy > p {
  color: rgba(255,255,255,.62);
  font-size: 1rem;
  margin-bottom: 1.4rem;
  line-height: 1.7;
}

.deep-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.deep-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .92rem;
  font-weight: 500;
  color: rgba(255,255,255,.78);
}
.deep-list .chk {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(26,158,111,.2);
  color: var(--green);
  margin-top: 1px;
}
.deep-list .chk svg { width: 12px; height: 12px; }

/* Product screenshots on dark bg */
.deep .win {
  border-color: var(--border-dk);
  box-shadow: 0 24px 64px -24px rgba(0,0,0,.6);
}

/* Phone mock */
.phone {
  width: min(260px, 76%);
  margin-inline: auto;
  background: #0A1419;
  border-radius: 28px;
  padding: 9px;
  box-shadow: 0 24px 64px -24px rgba(0,0,0,.7);
  border: 1px solid rgba(255,255,255,.08);
}
.phone .scr {
  background: #fff;
  border-radius: 21px;
  overflow: hidden;
}
.phone .scr .shot { display: block; width: 100%; height: auto; }

/* Invoice mock */
.invoice {
  background: #1A2930;
  border: 1px solid var(--border-dk);
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 24px 64px -24px rgba(0,0,0,.6);
  max-width: 340px;
  margin-inline: auto;
}
.invoice .ih {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border-dk);
}
.invoice .ih b {
  color: #fff;
  font-family: var(--font-mono);
  font-size: .84rem;
  font-weight: 400;
  letter-spacing: .06em;
}
.invoice .ih .pill {
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--green);
  background: rgba(26,158,111,.15);
  border: 1px solid rgba(26,158,111,.3);
  padding: .22rem .55rem;
  border-radius: 4px;
  text-transform: uppercase;
}
.invoice .row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .78rem;
  color: rgba(255,255,255,.55);
}
.invoice .row span:last-child {
  font-family: var(--font-mono);
  font-weight: 400;
  color: rgba(255,255,255,.78);
}
.invoice .tot {
  display: grid;
  grid-template-columns: 1fr auto;
  margin-top: .75rem;
  padding-top: .65rem;
  border-top: 1px solid rgba(255,255,255,.18);
}
.invoice .tot span:first-child {
  font-size: .76rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.invoice .tot span:last-child {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--signal);
}
.invoice .margin {
  margin-top: .6rem;
  font-family: var(--font-mono);
  font-size: .64rem;
  color: rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  gap: .35rem;
  letter-spacing: .04em;
}
.invoice .margin b { color: var(--green); font-weight: 400; }
.invoice .margin svg { color: var(--green); }

/* ================================================================
   AUDIENCE — "Per chi è"
   ================================================================ */
.audience { background: var(--steel); }
.audience .section-head h2 { color: var(--ink); }

.aud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
@media (max-width: 820px) { .aud-grid { grid-template-columns: 1fr; } }

.aud-card {
  background: var(--white);
  border-radius: 0;
  padding: 2rem 1.7rem;
  position: relative;
  overflow: hidden;
  box-shadow: none;
  transition: background .18s ease;
}
.aud-card::after { display: none; }
.aud-card:hover { transform: none; box-shadow: none; background: var(--mist); }
.aud-card .ico {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(255,107,0,.1);
  color: var(--signal);
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  box-shadow: none;
}
.aud-card .ico svg { width: 24px; height: 24px; }
.aud-card h3 {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .45rem;
}
.aud-card p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
  margin: 0;
}

/* Decorative numero */
.aud-card::before {
  content: attr(data-n);
  position: absolute;
  bottom: 1rem;
  right: 1.2rem;
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 400;
  color: rgba(17,27,33,.05);
  line-height: 1;
  pointer-events: none;
}

/* ================================================================
   SOCIAL PROOF
   ================================================================ */
.proof { background: var(--white); }
.proof .section-head h2 { color: var(--ink); }
.proof .section-head .eyebrow { color: var(--signal); }

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  margin-top: 2rem;
}
.proof-strip .lg {
  width: clamp(130px, 18vw, 180px);
  aspect-ratio: 16/7;
  border-radius: 8px;
  background: var(--mist);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1);
  transition: filter .2s ease, border-color .2s ease;
}
.proof-strip .lg:hover { filter: none; border-color: var(--signal); }
.proof-strip .lg img {
  max-width: 72%;
  max-height: 56%;
  object-fit: contain;
  opacity: .75;
  transition: opacity .2s ease;
}
.proof-strip .lg:hover img { opacity: 1; }

.testimonial {
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  max-width: 820px;
  margin-inline: auto;
  text-align: left;
  background: var(--mist);
  border: 1px solid var(--border);
  border-left: 3px solid var(--signal);
  border-radius: 0 10px 10px 0;
  padding: clamp(1.6rem, 3.5vw, 2.4rem) clamp(1.6rem, 3.5vw, 2.8rem);
}
.testimonial .qm { display: none; }
.testimonial blockquote {
  margin: 0 0 1.2rem;
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.4;
  font-weight: 400;
  color: var(--ink);
}
.testimonial cite {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  font-style: normal;
  font-weight: 700;
  font-size: .88rem;
  color: var(--signal);
  font-family: var(--font-mono);
  letter-spacing: .04em;
}
.testimonial cite small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: .78rem;
  margin-top: .1rem;
}

/* ================================================================
   CTA FINALE — arancio pieno
   ================================================================ */
.cta-final {
  background: var(--signal);
  overflow: hidden;
  position: relative;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 32px 32px;
}
.cta-final .container {
  position: relative;
  text-align: center;
  max-width: 680px;
}
.cta-final h2 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}
.cta-final p {
  color: rgba(255,255,255,.88);
  margin: .9rem auto 2rem;
  max-width: 50ch;
  font-size: 1.06rem;
}
.cta-final .btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 8px 24px -8px rgba(17,27,33,.45);
}
.cta-final .btn-primary:hover {
  background: #1C2F3A;
  border-color: #1C2F3A;
  box-shadow: 0 14px 32px -10px rgba(17,27,33,.6);
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact { background: var(--mist); }
.contact .container { max-width: 700px; }
.contact .section-head h2 { color: var(--ink); }
.contact .section-head { margin-bottom: 1.6rem; }

.form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow-md);
}
.form-group input,
.form-group textarea {
  background: var(--mist);
  border-color: var(--border);
  border-radius: 8px;
  color: var(--ink);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(255,107,0,.15);
}
.form-group label {
  color: var(--ink);
  font-size: .88rem;
}
.form-group label .req { color: var(--signal); }
.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #D93025;
  box-shadow: 0 0 0 3px rgba(217,48,37,.12);
}
.form-result.is-success { background: rgba(26,158,111,.1); color: #116644; border-color: rgba(26,158,111,.3); }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer { background: var(--ink); }
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  color: rgba(255,255,255,.4);
}

/* ================================================================
   CARD SHARED (base.css override)
   ================================================================ */
.card {
  border-color: var(--border);
  border-radius: var(--radius-card);
}
