/* =========================================================
   Bertorelli studio legale — paradigma Canva 1440 x 800.
   Ogni sezione mantiene aspect-ratio: 1440/800 e tutti gli
   elementi sono posizionati con coordinate Canva esatte
   espresse in % di tavola (calc(X / 1440 * 100%)).
   ========================================================= */

:root {
  --design-w: 1440;
  --design-h: 800;

  /* palette esatta dell'export Canva */
  --sage:       #c8d8c8;
  --black:      #0d0d0b;
  --gold:       #f0b429;
  --warm-light: #f2f2ef;
  --white:      #ffffff;
  --paper:      #f2f2ef;
}

* { box-sizing: border-box; font-family: inherit; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  /* Open Sauce è il font Canva — fallback su Manrope (Google Fonts, geometria simile) */
  font-family: 'Open Sauce', 'Open Sauce Sans', 'Manrope', 'Inter', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; scroll-behavior: smooth; }
html { scroll-behavior: smooth; }
img  { max-width: 100%; display: block; }
a    { color: inherit; }

/* ----------------- struttura tavola Canva ----------------- */
.canva-section {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 800;
  min-height: 540px;
  overflow: hidden;
  background: var(--white);
}
.canva-section.is-dark {
  background: var(--black);
  color: var(--warm-light);
}
.section-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.absolute { position: absolute; }

/* helper per pill-tag standardizzato */
.section-arrow {
  left: calc(122 / 1440 * 100%);
  top:  calc(83 / 800 * 100%);
  width: calc(56 / 1440 * 100%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(20px, calc(28 / 1440 * 100vw), 28px);
  line-height: 1;
  transform: rotate(-45deg);
  border: 1.5px solid var(--black);
  color: var(--black);
}
.is-dark .section-arrow { border-color: var(--warm-light); color: var(--warm-light); }

.section-label {
  left: calc(208 / 1440 * 100%);
  top:  calc(96 / 800 * 100%);
  height: calc(34 / 800 * 100%);
  min-width: calc(110 / 1440 * 100%);
  padding: 0 calc(20 / 1440 * 100vw);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--black); color: var(--white);
  border-radius: 999px;
  font-size: clamp(14px, calc(18 / 1440 * 100vw), 18px);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.is-dark .section-label { background: var(--white); color: var(--black); }
.section-label-team { /* pill scura su sfondo bianco (sezione team) — uguale a default */ }

/* ============================================================
   SEZIONE 01 — HERO con foto full-bleed
   ============================================================ */
.sec-hero { background: var(--warm-light); }

.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: grayscale(1);
  z-index: 0;
}

.sec-hero .logo {
  z-index: 2;
  left: calc(119.6 / 1440 * 100%);
  top:  calc(47.5 / 800 * 100%);
  display: flex; flex-direction: column;
  line-height: 0.94;
}
.sec-hero .logo-main {
  margin: 0;
  color: var(--white);
  font-size: clamp(13px, calc(18 / 1440 * 100vw), 18px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.sec-hero .logo-sub {
  margin: 4px 0 0;
  color: var(--white);
  font-size: clamp(11px, calc(14 / 1440 * 100vw), 14px);
  font-weight: 400;
  letter-spacing: 0;
}

.sec-hero .nav-bar {
  z-index: 2;
  left: calc(560 / 1440 * 100%);
  top:  calc(34 / 800 * 100%);
  width: calc(782 / 1440 * 100%);
  display: flex; justify-content: flex-end; align-items: center;
  gap: clamp(14px, calc(26 / 1440 * 100vw), 26px);
  color: var(--black);
  font-size: clamp(12px, calc(15 / 1440 * 100vw), 15px);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.sec-hero .nav-bar a { color: inherit; text-decoration: none; }
.sec-hero .nav-bar a:hover { text-decoration: underline; }

.sec-hero .nav-bar .nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: calc(46 / 800 * 100vh);
  min-height: 36px; max-height: 46px;
  padding: 0 clamp(18px, calc(26 / 1440 * 100vw), 26px);
  background: var(--black); color: var(--white);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.sec-hero .hero-title {
  z-index: 2;
  left: calc(119.6 / 1440 * 100%);
  top:  calc(252 / 800 * 100%);
  width: calc(820 / 1440 * 100%);
  margin: 0;
  color: var(--black);
  font-size: clamp(40px, calc(82 / 1440 * 100vw), 82px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.04em;
}
.sec-hero .hero-subtitle {
  z-index: 2;
  left: calc(119.6 / 1440 * 100%);
  top:  calc(540 / 800 * 100%);
  width: calc(820 / 1440 * 100%);
  margin: 0;
  color: var(--black);
  font-size: clamp(18px, calc(28 / 1440 * 100vw), 28px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.sec-hero .hero-subtitle strong { font-weight: 800; }

/* ============================================================
   SEZIONE 02 — MANIFESTO (centrato, sfondo nero)
   ============================================================ */
.canva-section .statement-title {
  left: 50%;
  top:  calc(146 / 800 * 100%);
  width: calc(900 / 1440 * 100%);
  transform: translateX(-50%);
  margin: 0;
  text-align: center;
  color: var(--warm-light);
  font-size: clamp(22px, calc(38 / 1440 * 100vw), 38px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.canva-section .statement-title .sage { color: var(--sage); font-weight: 700; }

.canva-section .statement-body {
  left: 50%;
  top:  calc(456 / 800 * 100%);
  width: calc(900 / 1440 * 100%);
  transform: translateX(-50%);
  margin: 0;
  text-align: center;
  color: var(--warm-light);
  font-size: clamp(13px, calc(18 / 1440 * 100vw), 18px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.canva-section .statement-body .gold { color: var(--gold); font-weight: 700; }

/* ============================================================
   SEZIONE 03 — SERVICES (intro + foto card + 3 mini-card)
   ============================================================ */
.sec-services .services-title {
  left: calc(120 / 1440 * 100%);
  top:  calc(205 / 800 * 100%);
  width: calc(560 / 1440 * 100%);
  margin: 0;
  color: var(--black);
  font-size: clamp(26px, calc(38 / 1440 * 100vw), 38px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.025em;
}
.sec-services .services-title .sage { color: var(--sage); font-weight: 700; }

.sec-services .services-body {
  left: calc(120 / 1440 * 100%);
  top:  calc(380 / 800 * 100%);
  width: calc(640 / 1440 * 100%);
  margin: 0;
  font-size: clamp(13px, calc(17 / 1440 * 100vw), 17px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--black);
}

.sec-services .services-image-card {
  left: calc(768 / 1440 * 100%);
  top:  calc(200 / 800 * 100%);
  width: calc(552 / 1440 * 100%);
  height: calc(368 / 800 * 100%);
  border-radius: 18px;
  overflow: hidden;
  background: var(--warm-light);
}
.sec-services .services-image-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.sec-services .service-card {
  top: calc(655 / 800 * 100%);
  width: calc(340 / 1440 * 100%);
  height: calc(108 / 800 * 100%);
  border-radius: 16px;
  display: flex; flex-direction: column;
  justify-content: flex-end; align-items: flex-start;
  padding: calc(14 / 800 * 100%) calc(22 / 1440 * 100%);
  font-size: clamp(13px, calc(17 / 1440 * 100vw), 17px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.sec-services .service-card .card-icon {
  position: absolute;
  right: calc(20 / 1440 * 100vw);
  top:   calc(14 / 800 * 100vh);
  font-size: clamp(16px, calc(22 / 1440 * 100vw), 22px);
  line-height: 1;
}
.sec-services .card-black { left: calc(120 / 1440 * 100%); background: var(--black); color: var(--white); }
.sec-services .card-sage  { left: calc(550 / 1440 * 100%); background: var(--sage);  color: var(--black); }
.sec-services .card-light { left: calc(980 / 1440 * 100%); background: var(--paper); color: var(--black); }

/* ============================================================
   SEZIONE 04 — Aree di intervento (6 features 3x2)
   ============================================================ */
.sec-features .section-04-intro {
  left: 50%;
  top:  calc(70 / 800 * 100%);
  width: calc(820 / 1440 * 100%);
  transform: translateX(-50%);
  margin: 0;
  text-align: center;
  font-size: clamp(13px, calc(18 / 1440 * 100vw), 18px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--black);
}
.sec-features .feature-item { width: calc(360 / 1440 * 100%); color: var(--black); }
.sec-features .feature-icon {
  margin-bottom: calc(20 / 800 * 100%);
  font-size: clamp(22px, calc(32 / 1440 * 100vw), 32px);
  line-height: 1;
}
.sec-features .feature-item h3 {
  margin: 0 0 calc(16 / 800 * 100%);
  font-size: clamp(13px, calc(18 / 1440 * 100vw), 18px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.sec-features .feature-item p {
  margin: 0;
  font-size: clamp(12px, calc(15 / 1440 * 100vw), 15px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.005em;
}
.sec-features .feature-01 { left: calc(120 / 1440 * 100%); top: calc(230 / 800 * 100%); }
.sec-features .feature-02 { left: calc(550 / 1440 * 100%); top: calc(230 / 800 * 100%); }
.sec-features .feature-03 { left: calc(980 / 1440 * 100%); top: calc(230 / 800 * 100%); }
.sec-features .feature-04 { left: calc(120 / 1440 * 100%); top: calc(525 / 800 * 100%); }
.sec-features .feature-05 { left: calc(550 / 1440 * 100%); top: calc(525 / 800 * 100%); }
.sec-features .feature-06 { left: calc(980 / 1440 * 100%); top: calc(525 / 800 * 100%); }

/* ============================================================
   SEZIONE 05 — Mission & vision (split nera)
   ============================================================ */
.sec-mission .mission-left {
  left: calc(120 / 1440 * 100%);
  top:  50%;
  width: calc(560 / 1440 * 100%);
  transform: translateY(-50%);
}
.sec-mission .mission-title {
  margin: 0 0 calc(36 / 800 * 100%);
  color: var(--warm-light);
  font-size: clamp(26px, calc(38 / 1440 * 100vw), 38px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.025em;
}
.sec-mission .mission-title .sage { color: var(--sage); font-weight: 700; }
.sec-mission .mission-subtitle {
  margin: 0;
  color: var(--warm-light);
  font-size: clamp(13px, calc(18 / 1440 * 100vw), 18px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.sec-mission .mission-list {
  left: calc(720 / 1440 * 100%);
  top:  50%;
  width: calc(600 / 1440 * 100%);
  transform: translateY(-50%);
}
.sec-mission .mission-point { margin: 0 0 calc(36 / 800 * 100%); }
.sec-mission .mission-point:last-child { margin-bottom: 0; }
.sec-mission .mission-point h3 {
  margin: 0 0 calc(10 / 800 * 100%);
  color: var(--gold);
  font-size: clamp(14px, calc(18 / 1440 * 100vw), 18px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.sec-mission .mission-point p {
  margin: 0;
  color: var(--warm-light);
  font-size: clamp(13px, calc(16 / 1440 * 100vw), 16px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.005em;
}

/* ============================================================
   SEZIONE 06 — Roadmap (sezione più alta: 1440 x 1600)
   ============================================================ */
.sec-roadmap {
  aspect-ratio: 1440 / 1600;
  min-height: 1100px;
}
.sec-roadmap .section-arrow,
.sec-roadmap .section-label,
.sec-roadmap .roadmap-title,
.sec-roadmap .roadmap-body,
.sec-roadmap .roadmap-image-card,
.sec-roadmap .roadmap-list,
.sec-roadmap .roadmap-cta-arrow,
.sec-roadmap .roadmap-cta { /* le coordinate top sono in % della tavola 1600 alta */ }

.sec-roadmap .section-arrow { top: calc(83 / 1600 * 100%); }
.sec-roadmap .section-label { top: calc(96 / 1600 * 100%); }

.sec-roadmap .roadmap-title {
  left: calc(120 / 1440 * 100%);
  top:  calc(220 / 1600 * 100%);
  width: calc(560 / 1440 * 100%);
  margin: 0;
  color: var(--black);
  font-size: clamp(26px, calc(38 / 1440 * 100vw), 38px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.025em;
}
.sec-roadmap .roadmap-body {
  left: calc(120 / 1440 * 100%);
  top:  calc(360 / 1600 * 100%);
  width: calc(540 / 1440 * 100%);
  margin: 0;
  font-size: clamp(13px, calc(18 / 1440 * 100vw), 18px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--black);
}
.sec-roadmap .roadmap-body .sage { color: var(--sage); font-weight: 700; }

.sec-roadmap .roadmap-image-card {
  left: calc(120 / 1440 * 100%);
  top:  calc(620 / 1600 * 100%);
  width: calc(496 / 1440 * 100%);
  height: calc(640 / 1600 * 100%);
  border-radius: 8px;
  overflow: hidden;
  background: var(--warm-light);
}
.sec-roadmap .roadmap-image-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.sec-roadmap .roadmap-list {
  left: calc(720 / 1440 * 100%);
  top:  calc(220 / 1600 * 100%);
  width: calc(600 / 1440 * 100%);
}
.sec-roadmap .roadmap-step { margin: 0 0 calc(38 / 1600 * 100%); }
.sec-roadmap .roadmap-step:last-child { margin-bottom: 0; }
.sec-roadmap .roadmap-step h3 {
  margin: 0 0 calc(8 / 1600 * 100%);
  color: var(--black);
  font-size: clamp(14px, calc(18 / 1440 * 100vw), 18px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.sec-roadmap .roadmap-step h3 .number { color: var(--sage); font-weight: 700; }
.sec-roadmap .roadmap-step p {
  margin: 0;
  color: var(--black);
  font-size: clamp(13px, calc(16 / 1440 * 100vw), 16px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.005em;
}

.sec-roadmap .roadmap-cta-arrow {
  left: calc(720 / 1440 * 100%);
  top:  calc(1310 / 1600 * 100%);
  width: calc(56 / 1440 * 100%);
  aspect-ratio: 1 / 1;
  border: 1.5px solid var(--black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(20px, calc(28 / 1440 * 100vw), 28px);
  line-height: 1;
  transform: rotate(-45deg);
}
.sec-roadmap .roadmap-cta {
  left: calc(806 / 1440 * 100%);
  top:  calc(1322 / 1600 * 100%);
  height: calc(40 / 1600 * 100%);
  padding: 0 calc(22 / 1440 * 100%);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sage); color: var(--black);
  border: 1.5px solid var(--black);
  border-radius: 999px;
  text-decoration: none;
  font-size: clamp(14px, calc(18 / 1440 * 100vw), 18px);
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ============================================================
   SEZIONE 07 — ctrl+_project (split nera con cards composizione)
   ============================================================ */
.sec-ctrl .ctrl-title {
  left: calc(120 / 1440 * 100%);
  top:  calc(190 / 800 * 100%);
  width: calc(820 / 1440 * 100%);
  margin: 0;
  color: var(--warm-light);
  font-size: clamp(20px, calc(32 / 1440 * 100vw), 32px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.sec-ctrl .ctrl-title .sage { color: var(--sage); font-weight: 700; }

.sec-ctrl .ctrl-body {
  left: calc(120 / 1440 * 100%);
  top:  calc(450 / 800 * 100%);
  width: calc(640 / 1440 * 100%);
  margin: 0;
  color: var(--warm-light);
  font-size: clamp(12px, calc(16 / 1440 * 100vw), 16px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.sec-ctrl .ctrl-body .gold { color: var(--gold); }
.sec-ctrl .ctrl-body strong { font-weight: 700; }

.sec-ctrl .ctrl-card {
  border-radius: 14px;
  padding: calc(20 / 800 * 100%) calc(20 / 1440 * 100%);
  font-size: clamp(11px, calc(15 / 1440 * 100vw), 15px);
  line-height: 1.3;
  color: var(--black);
}
.sec-ctrl .ctrl-card h4 {
  margin: 0 0 6px;
  font-size: clamp(13px, calc(17 / 1440 * 100vw), 17px);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.sec-ctrl .ctrl-card p { margin: 0; font-weight: 500; }

.sec-ctrl .ctrl-cyber {
  left: calc(1144 / 1440 * 100%);
  top:  calc(360 / 800 * 100%);
  width: calc(196 / 1440 * 100%);
  height: calc(140 / 800 * 100%);
  background: var(--white);
}
.sec-ctrl .ctrl-231 {
  left: calc(944 / 1440 * 100%);
  top:  calc(420 / 800 * 100%);
  width: calc(176 / 1440 * 100%);
  height: calc(176 / 800 * 100%);
  background: var(--sage);
}
.sec-ctrl .ctrl-privacy {
  left: calc(1144 / 1440 * 100%);
  top:  calc(518 / 800 * 100%);
  width: calc(196 / 1440 * 100%);
  height: calc(118 / 800 * 100%);
  background: var(--paper);
}
.sec-ctrl .ctrl-cta {
  left: calc(944 / 1440 * 100%);
  top:  calc(620 / 800 * 100%);
  width: calc(232 / 1440 * 100%);
  height: calc(56 / 800 * 100%);
  background: var(--gold);
  color: var(--black);
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-size: clamp(13px, calc(17 / 1440 * 100vw), 17px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ============================================================
   SEZIONE 08 — Team
   ============================================================ */
.sec-team .member {
  width: calc(280 / 1440 * 100%);
  text-align: center;
  color: var(--black);
}
.sec-team .member-elisa  { left: calc(440 / 1440 * 100%); top: calc(180 / 800 * 100%); }
.sec-team .member-chiara { left: calc(720 / 1440 * 100%); top: calc(180 / 800 * 100%); }

.sec-team .avatar {
  width: calc(180 / 1440 * 100vw);
  max-width: 180px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto calc(20 / 800 * 100%);
  background: #d8d8d8;
  filter: grayscale(1);
}
.sec-team .avatar img { width: 100%; height: 100%; object-fit: cover; }

.sec-team .name-pill {
  display: inline-block;
  padding: calc(8 / 800 * 100%) calc(22 / 1440 * 100%);
  border-radius: 999px;
  font-size: clamp(13px, calc(17 / 1440 * 100vw), 17px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: calc(14 / 800 * 100%);
}
.sec-team .name-pill-sage  { background: var(--sage);  color: var(--black); }
.sec-team .name-pill-paper { background: var(--paper); color: var(--black); }

.sec-team .member h4 {
  margin: 0 0 6px;
  font-size: clamp(13px, calc(18 / 1440 * 100vw), 18px);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.sec-team .member p {
  margin: 0 0 8px;
  font-size: clamp(12px, calc(15 / 1440 * 100vw), 15px);
  font-weight: 400;
  line-height: 1.35;
}
.sec-team .role-italic { font-style: italic; }
.sec-team .role-pill {
  display: inline-block;
  background: var(--black); color: var(--white);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: clamp(11px, calc(13 / 1440 * 100vw), 13px);
  font-weight: 700;
  margin-top: 6px;
}

/* ============================================================
   SEZIONE 09 — Closing CTA (foto full-bleed con testo overlay)
   ============================================================ */
.sec-closing { background: #d8d8d8; }
.sec-closing .closing-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  z-index: 0;
}
.sec-closing .closing-text {
  z-index: 2;
  left: calc(140 / 1440 * 100%);
  top:  calc(180 / 800 * 100%);
  width: calc(900 / 1440 * 100%);
  color: var(--black);
  font-size: clamp(20px, calc(34 / 1440 * 100vw), 34px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.sec-closing .closing-text p { margin: 0 0 6px; }
.sec-closing .closing-text strong { font-weight: 800; }

/* ============================================================
   SEZIONE 10 — Contatti (split nera con form a destra)
   ============================================================ */
.sec-contatti .contatti-title {
  left: calc(120 / 1440 * 100%);
  top:  calc(232 / 800 * 100%);
  margin: 0;
  color: var(--white);
  font-size: clamp(56px, calc(120 / 1440 * 100vw), 120px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.sec-contatti .contact-list {
  list-style: none; padding: 0; margin: 0;
  left: calc(120 / 1440 * 100%);
  top:  calc(440 / 800 * 100%);
  display: grid; gap: calc(14 / 800 * 100%);
  font-size: clamp(13px, calc(17 / 1440 * 100vw), 17px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--warm-light);
}
.sec-contatti .contact-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 12px;
}
.sec-contatti .contact-list a { text-decoration: none; }
.sec-contatti .contact-list a:hover { text-decoration: underline; }
.sec-contatti .ci-ic {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  color: var(--warm-light);
}

.sec-contatti .contact-card {
  left: calc(820 / 1440 * 100%);
  top:  calc(80 / 800 * 100%);
  width: calc(520 / 1440 * 100%);
  height: calc(640 / 800 * 100%);
  background: var(--white);
  color: var(--black);
  border-radius: 18px;
  padding: clamp(24px, calc(34 / 1440 * 100vw), 34px);
  display: flex; flex-direction: column;
  gap: clamp(10px, calc(14 / 1440 * 100vw), 14px);
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
  font-size: clamp(12px, calc(14 / 1440 * 100vw), 14px);
}
.sec-contatti .contact-claim {
  margin: 0 0 4px;
  font-size: clamp(15px, calc(20 / 1440 * 100vw), 20px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.sec-contatti .field {
  display: grid; gap: 6px;
  font-size: inherit; font-weight: 500;
}
.sec-contatti .field input,
.sec-contatti .field textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: var(--white);
  outline: none;
  resize: vertical;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sec-contatti .field input:focus,
.sec-contatti .field textarea:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0,0,0,.05);
}
.sec-contatti .hp { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; }

.sec-contatti .form-submit {
  margin-top: 4px;
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: clamp(13px, calc(15 / 1440 * 100vw), 15px);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform .15s ease, opacity .2s ease;
}
.sec-contatti .form-submit:hover { transform: translateY(-1px); }
.sec-contatti .form-submit:disabled { opacity: .65; cursor: progress; }

.sec-contatti .form-status { margin: 0; min-height: 18px; font-size: 13px; font-weight: 500; }
.sec-contatti .form-status.is-ok  { color: #207a3a; }
.sec-contatti .form-status.is-err { color: #b00020; }
.sec-contatti .form-foot {
  margin: 0;
  font-size: 11px;
  color: #888;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  background: var(--black);
  color: var(--warm-light);
  padding: 24px clamp(20px, 5vw, 80px);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  opacity: .9;
}
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* ============================================================
   Responsive (paradigma Canva: la tavola si rimpicciolisce
   proporzionalmente. Sotto i 720px si rilascia l'aspect-ratio
   per restare leggibili.)
   ============================================================ */
@media (max-width: 900px) {
  .canva-section { min-height: auto; }
}
@media (max-width: 720px) {
  .canva-section {
    aspect-ratio: auto;
    min-height: 100vh;
    padding: 80px 22px 60px;
  }
  .sec-roadmap { aspect-ratio: auto; min-height: auto; padding-bottom: 100px; }
  .canva-section .absolute {
    position: relative !important;
    left: 0 !important; top: 0 !important;
    width: 100% !important; max-width: 100%;
    transform: none !important;
    margin-bottom: 28px;
  }
  .sec-hero .hero-photo,
  .sec-closing .closing-photo {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important; height: 100% !important;
    margin: 0 !important;
  }
  .sec-hero { min-height: 100vh; }
  .sec-hero .nav-bar { flex-wrap: wrap; gap: 14px; }
  .sec-hero .hero-title { font-size: 44px; }
  .sec-hero .hero-subtitle { font-size: 18px; }
  .canva-section .statement-title { font-size: 22px; }
  .sec-services .services-image-card,
  .sec-roadmap  .roadmap-image-card { height: 240px; }
  .sec-team .avatar { width: 160px; max-width: 160px; }
  .sec-contatti .contact-card { height: auto; }
  .foot { flex-direction: column; gap: 8px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html, body { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
