/* ============================================================
   Mark the Spot — Website CSS
   Mobile-first. Design tokens embedded.
   ============================================================ */

/* ---- FONT LOADING ---- */
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-VariableFont_wght.ttf') format('truetype');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 800;
  font-style: italic;
  font-display: swap;
}

/* ---- DESIGN TOKENS ---- */
:root {
  --ink:     #0E0F11;
  --paper:   #F2EFE6;
  --segno:   #FF3D1F;
  --filo:    #D8FF3A;
  --grafite: #5C5E64;
  --nebbia:  #A8A69C;
  --linea:   #D9D5C8;
  --carta-2: #E8E4D7;

  --font-sans: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --ease-snap: cubic-bezier(0.2, 0, 0, 1);
  --dur-fast:  120ms;
  --dur-mid:   200ms;
  --dur-slow:  350ms;

  --radius-sm: 2px;
  --radius-md: 4px;

  --shadow-2: 2px 2px 0 var(--ink);
  --shadow-3: 4px 4px 0 var(--ink);

  --max-w: 1280px;
  --pad-x: 20px;
}

@media (min-width: 768px)  { :root { --pad-x: 32px; } }
@media (min-width: 1280px) { :root { --pad-x: 48px; } }

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

::selection { background: var(--filo); color: var(--ink); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--linea); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--nebbia); }

/* ---- LAYOUT ---- */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ---- FOCUS ---- */
:focus-visible {
  outline: 2px solid var(--segno);
  outline-offset: 2px;
}

/* ---- TYPOGRAPHY UTILITIES ---- */
.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--segno);
  color: var(--paper);
  padding: 1px 5px;
  border-radius: 1px;
}
.mark {
  background: var(--filo);
  color: var(--ink);
  padding: 0 0.12em;
}
.label-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--paper);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 18px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    transform var(--dur-fast) var(--ease-snap),
    box-shadow var(--dur-fast) var(--ease-snap),
    background var(--dur-mid) var(--ease-snap),
    color var(--dur-mid) var(--ease-snap);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn .arr {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  transition: transform var(--dur-fast) var(--ease-snap);
}
.btn:hover .arr { transform: translateX(3px); }

.btn-primary {
  background: var(--segno);
  color: var(--ink);
  box-shadow: var(--shadow-3);
}
.btn-primary:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.btn-primary:active { transform: translate(3px, 3px); box-shadow: none; }

.btn-dark {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-3);
}
.btn-dark:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.btn-dark:active { transform: translate(3px, 3px); box-shadow: none; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-ghost-inv {
  background: transparent;
  color: var(--paper);
  border-color: rgba(242,239,230,0.4);
}
.btn-ghost-inv:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--dur-mid) var(--ease-snap),
    background var(--dur-mid) var(--ease-snap);
}
.nav.scrolled {
  border-bottom-color: var(--linea);
  background: rgba(242, 239, 230, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  color: var(--ink);
}
.nav-logo svg { flex-shrink: 0; }
.nav-logo-img { height: 22px; width: 153px; flex-shrink: 0; }

/* Desktop links — hidden on mobile */
.nav-links { display: none; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
  color: var(--ink);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--segno);
  transition: width var(--dur-mid) var(--ease-snap);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Desktop right side */
.nav-actions { display: none; align-items: center; gap: 14px; }

.nav-social {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  color: var(--grafite);
  border: 1px solid var(--linea);
  border-radius: var(--radius-sm);
  transition:
    color var(--dur-fast) var(--ease-snap),
    border-color var(--dur-fast) var(--ease-snap),
    background var(--dur-fast) var(--ease-snap);
}
.nav-social a:hover { color: var(--ink); border-color: var(--ink); background: var(--carta-2); }

/* Hamburger */
.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition:
    transform var(--dur-mid) var(--ease-snap),
    opacity var(--dur-mid) var(--ease-snap);
  transform-origin: center;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--linea);
  padding: 24px var(--pad-x) 32px;
  gap: 2px;
  background: var(--paper);
  max-height: calc(100svh - 72px);
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 22px;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid var(--linea);
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color var(--dur-fast) var(--ease-snap);
}
.nav-mobile a:hover { color: var(--segno); }

.nav-mobile-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--linea);
}
.nav-mobile-social a {
  font-size: 12px !important;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grafite) !important;
  border: none !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400 !important;
  font-size: 12px !important;
}
.nav-mobile-social a:hover { color: var(--ink) !important; }
.nav-mobile-cta { margin-top: 20px; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-actions { display: flex; }
  .nav-burger { display: none; }
  .nav-mobile { display: none !important; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero-bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(to right, var(--linea) 1px, transparent 1px),
    linear-gradient(to bottom, var(--linea) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.45;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 96px var(--pad-x) 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

.hero-crosshair {
  position: absolute;
  top: 110px;
  right: var(--pad-x);
  width: 72px; height: 72px;
  color: var(--ink);
  opacity: 0;
  transform: scale(1.6) rotate(-12deg);
  pointer-events: none;
}
@media (min-width: 640px)  { .hero-crosshair { width: 100px; height: 100px; } }
@media (min-width: 1024px) { .hero-crosshair { width: 140px; height: 140px; top: 130px; } }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grafite);
  flex-wrap: wrap;
}
.hero-dot {
  width: 6px; height: 6px;
  background: var(--segno);
  border-radius: 50%;
  flex-shrink: 0;
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(44px, 9vw, 108px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero h1 .seg { color: var(--segno); }

.hero-lead {
  font-size: clamp(16px, 2.2vw, 21px);
  line-height: 1.45;
  color: var(--grafite);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-coords {
  margin-top: 52px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--nebbia);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section {
  padding: 72px 0;
  border-top: 1px solid var(--linea);
}

.section-head {
  margin-bottom: 48px;
}
.section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grafite);
  margin-bottom: 14px;
  display: block;
}
.section h2 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.0;
}

@media (min-width: 768px) {
  .section { padding: 96px 0; }
  .section-head {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 56px;
  }
  .section-num { margin-bottom: 0; }
}

/* ============================================================
   SECTORS PREVIEW — homepage row
   ============================================================ */
.sectors-row {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--ink);
  gap: 0;
  background: var(--ink);
}

.sector-card {
  background: var(--paper);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  transition: background var(--dur-mid) var(--ease-snap);
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}
.sector-card:last-child { border-bottom: none; }
.sector-card:hover { background: var(--carta-2); }
.sector-card:hover .sector-arr { transform: translateX(4px); }

.sector-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sector-text { flex: 1; min-width: 0; }
.sector-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grafite);
  margin-bottom: 4px;
}
.sector-text h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.sector-text p {
  font-size: 13px;
  color: var(--grafite);
  margin-top: 3px;
  line-height: 1.4;
}

.sector-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  color: var(--grafite);
  white-space: nowrap;
}
.sector-arr {
  transition: transform var(--dur-fast) var(--ease-snap);
}

@media (min-width: 768px) {
  .sectors-row { flex-direction: row; }
  .sector-card {
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 32px;
    min-height: 260px;
    border-bottom: none;
    border-right: 1px solid var(--ink);
  }
  .sector-card:last-child { border-right: none; }
  .sector-cta { margin-top: auto; }
}

/* ============================================================
   HOW IT WORKS — 3 visual steps on homepage
   ============================================================ */
.steps-list {
  display: flex;
  flex-direction: column;
}

.step-item {
  display: flex;
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid var(--linea);
  position: relative;
}
.step-item:last-child { border-bottom: none; }

.step-num-col {
  flex-shrink: 0;
  width: 52px;
  padding-top: 2px;
}
.step-num-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grafite);
}
.step-pin {
  width: 8px; height: 8px;
  background: var(--segno);
  margin-top: 8px;
}

.step-content h3 {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.step-content p {
  font-size: 15px;
  color: var(--grafite);
  line-height: 1.6;
  max-width: 480px;
}

.step-connector {
  position: absolute;
  left: 19px;
  top: 68px;
  bottom: 0;
  width: 1px;
  background: var(--linea);
}
.step-item:last-child .step-connector { display: none; }

@media (min-width: 768px) {
  .steps-list {
    flex-direction: row;
    border: 1.5px solid var(--ink);
    background: var(--ink);
    gap: 0;
  }
  .step-item {
    flex: 1;
    flex-direction: column;
    gap: 14px;
    padding: 36px;
    background: var(--paper);
    border-bottom: none;
    border-right: 1px solid var(--ink);
  }
  .step-item:last-child { border-right: none; }
  .step-item:nth-child(2) {
    background: var(--ink);
    color: var(--paper);
  }
  .step-item:nth-child(2) .step-num-label { color: #B7B5AC; }
  .step-item:nth-child(2) p { color: #D9D5C8; }
  .step-num-col { width: auto; }
  .step-connector { display: none; }
}

/* ============================================================
   DARK CTA SECTION
   ============================================================ */
.dark-section {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0;
}
.dark-section-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: end;
}
@media (min-width: 768px) {
  .dark-section-inner { grid-template-columns: 1.3fr 1fr; gap: 64px; }
}

.dark-section h2 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.97;
  margin-bottom: 0;
}
.dark-section h2 .seg { color: var(--segno); }

.dark-section p {
  font-size: 17px;
  color: #D9D5C8;
  line-height: 1.55;
  max-width: 420px;
  margin-bottom: 28px;
}
.dark-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--linea);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand-name {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.footer-logo-img { height: 20px; width: 139px; }
.footer-brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grafite);
  margin-bottom: 14px;
}
.footer-brand-desc {
  font-size: 14px;
  color: var(--grafite);
  line-height: 1.6;
  max-width: 300px;
}
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border: 1.5px solid var(--linea);
  color: var(--grafite);
  transition:
    border-color var(--dur-fast) var(--ease-snap),
    color var(--dur-fast) var(--ease-snap),
    background var(--dur-fast) var(--ease-snap);
}
.footer-social a:hover { border-color: var(--ink); color: var(--ink); background: var(--carta-2); }

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grafite);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col li a {
  font-size: 14px;
  color: var(--ink);
  position: relative;
  padding-bottom: 1px;
}
.footer-col li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--segno);
  transition: width var(--dur-mid) var(--ease-snap);
}
.footer-col li a:hover::after { width: 100%; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--linea);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grafite);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ============================================================
   CONTACT PANEL + FAB
   ============================================================ */
.contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 15, 17, 0.45);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease-snap);
}
.contact-overlay.open { opacity: 1; pointer-events: all; }

/* Panel slides up from bottom on mobile, slides in from right on desktop */
.contact-panel {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--paper);
  border-top: 1.5px solid var(--ink);
  box-shadow: 0 -6px 0 var(--segno);
  z-index: 91;
  padding: 28px var(--pad-x) 40px;
  transform: translateY(100%);
  transition: transform var(--dur-slow) var(--ease-snap);
  max-height: 90svh;
  overflow-y: auto;
}
.contact-panel.open { transform: translateY(0); }

@media (min-width: 640px) {
  .contact-panel {
    left: auto;
    right: 28px;
    bottom: 28px;
    width: 380px;
    border: 1.5px solid var(--ink);
    box-shadow: 8px 8px 0 var(--segno);
    transform: translateX(calc(100% + 56px));
    max-height: none;
  }
  .contact-panel.open { transform: translateX(0); }
}

.contact-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}
.contact-panel-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.contact-panel-sub {
  font-size: 13px;
  color: var(--grafite);
  margin-top: 4px;
}
.contact-panel-close {
  width: 34px; height: 34px;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 18px;
  flex-shrink: 0;
  cursor: pointer;
  line-height: 1;
  transition: background var(--dur-fast) var(--ease-snap), color var(--dur-fast) var(--ease-snap);
}
.contact-panel-close:hover { background: var(--ink); color: var(--paper); }

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
  transition:
    background var(--dur-fast) var(--ease-snap),
    transform var(--dur-fast) var(--ease-snap),
    box-shadow var(--dur-fast) var(--ease-snap);
  box-shadow: var(--shadow-2);
}
.contact-option:hover { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }
.contact-option:active { transform: translate(2px, 2px); box-shadow: none; }
.contact-option:hover .contact-opt-arr { transform: translateX(3px); }

.contact-opt-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--carta-2);
  border: 1px solid var(--linea);
}
.contact-opt-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grafite);
}
.contact-opt-title {
  font-size: 14px;
  font-weight: 600;
  margin-top: 2px;
}
.contact-opt-arr {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-snap);
}

/* FAB */
.contact-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 89;
  background: var(--segno);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-3);
  cursor: pointer;
  transition:
    transform var(--dur-fast) var(--ease-snap),
    box-shadow var(--dur-fast) var(--ease-snap),
    opacity var(--dur-mid) var(--ease-snap);
}
.contact-fab:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.contact-fab:active { transform: translate(3px, 3px); box-shadow: none; }
.contact-fab.hidden { opacity: 0; pointer-events: none; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--dur-slow) var(--ease-snap),
    transform var(--dur-slow) var(--ease-snap);
}
.animate.d1 { transition-delay: 80ms; }
.animate.d2 { transition-delay: 160ms; }
.animate.d3 { transition-delay: 240ms; }
.animate.d4 { transition-delay: 320ms; }
.animate.d5 { transition-delay: 400ms; }
.animate.in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   PAGE HEADER (subpages)
   ============================================================ */
.page-hero {
  padding: 112px var(--pad-x) 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  border-bottom: 1px solid var(--linea);
}
.page-hero .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grafite);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-hero h1 {
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.94;
  margin-bottom: 24px;
}
.page-hero h1 .seg { color: var(--segno); }
.page-hero .lead {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--grafite);
  max-width: 520px;
  line-height: 1.5;
}

/* ============================================================
   COME LAVORO — phases
   ============================================================ */
.phases {
  display: flex;
  flex-direction: column;
}

.phase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 56px 0;
  border-top: 1px solid var(--linea);
}
.phase:last-child { border-bottom: 1px solid var(--linea); }

.phase-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.phase-num {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grafite);
}
.phase-icon-wrap {
  width: 48px; height: 48px;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

.phase-main h2 {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.94;
  margin-bottom: 20px;
}
.phase-main h2 .seg { color: var(--segno); }
.phase-main p {
  font-size: 16px;
  color: var(--grafite);
  line-height: 1.7;
  max-width: 520px;
}
.phase-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nebbia);
  margin-top: 16px;
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid var(--linea);
}

@media (min-width: 768px) {
  .phase {
    grid-template-columns: 200px 1fr;
    gap: 64px;
    align-items: start;
  }
}

/* ============================================================
   SETTORI — full page sectors
   ============================================================ */
.sector-section {
  padding: 72px 0;
  border-top: 1px solid var(--linea);
}
.sector-section:first-of-type { border-top: none; padding-top: 40px; }

.sector-intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 48px;
}
.sector-intro-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grafite);
}
.sector-intro-title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.94;
}
.sector-intro-title .seg { color: var(--segno); }

.sector-blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--ink);
  border: 1.5px solid var(--ink);
}
@media (min-width: 768px) {
  .sector-blocks { grid-template-columns: repeat(3, 1fr); }
}

.sector-block {
  background: var(--paper);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.sector-block-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grafite);
}
.sector-block h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.sector-block p {
  font-size: 14px;
  color: var(--grafite);
  line-height: 1.65;
}
.sector-block.block-result {
  background: var(--ink);
  color: var(--paper);
}
.sector-block.block-result .sector-block-label { color: #B7B5AC; }
.sector-block.block-result p { color: #D9D5C8; }
.sector-block.block-result h4 { color: var(--filo); }

/* Corner marks */
.cm {
  position: absolute;
  width: 12px; height: 12px;
  border: 1.5px solid;
  border-color: inherit;
}
.cm-tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.cm-tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.cm-bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.cm-br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* ============================================================
   CHI SONO — about blocks
   ============================================================ */
.about-blocks {
  display: flex;
  flex-direction: column;
}

.about-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 56px 0;
  border-top: 1px solid var(--linea);
}
.about-block:last-child { border-bottom: 1px solid var(--linea); }

.about-block-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-block-num {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grafite);
}
.about-block-subtitle {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--nebbia);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.about-block-title {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin-bottom: 20px;
}
.about-block-title .seg { color: var(--segno); }
.about-block-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--grafite);
  max-width: 600px;
}
.about-block-body strong { color: var(--ink); font-weight: 500; }

.about-credential {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.about-cred-item {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--grafite);
  line-height: 1.5;
}
.about-cred-item::before {
  content: '✓';
  color: var(--segno);
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 1px;
}

@media (min-width: 768px) {
  .about-block {
    grid-template-columns: 200px 1fr;
    gap: 64px;
    align-items: start;
  }
}

/* ============================================================
   RESPONSIVE EXTRAS
   ============================================================ */
@media (max-width: 479px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .dark-actions { flex-direction: column; }
  .dark-actions .btn { width: 100%; justify-content: center; }
}
