
:root {
  --ink: #0a1d30;
  --ink-2: #173650;
  --blue: #1d5f8b;
  --blue-2: #3f8fb5;
  --teal: #4f8f8a;
  --amber: #d88a2c;
  --muted: #596b7a;
  --line: #d7e1e8;
  --paper: #ffffff;
  --mist: #f5f8fa;
  --sky: #eaf4fa;
  --sky-2: #dcecf5;
  --warm: #fbf7f1;
  --max: 1180px;
  --radius: 20px;
  --shadow: 0 18px 46px rgba(13, 45, 70, 0.10);
  --shadow-strong: 0 26px 70px rgba(13, 45, 70, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}
.narrow { width: min(calc(100% - 40px), 860px); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-top: 3px solid var(--blue);
  border-bottom: 1px solid rgba(215,225,232,.9);
  box-shadow: 0 5px 22px rgba(10,29,48,.045);
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand { flex: 0 0 auto; text-decoration: none; }
.brand img { width: 255px; height: auto; }
.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 23px;
}
.main-nav a {
  position: relative;
  text-decoration: none;
  font-size: .91rem;
  font-weight: 650;
  color: var(--ink-2);
  white-space: nowrap;
}
.main-nav a:not(.header-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  transition: right .25s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { right: 0; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue); }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ink) 0%, #153e5e 100%);
  color: white !important;
  box-shadow: 0 10px 26px rgba(10,29,48,.16);
}
.header-cta:hover { transform: translateY(-1px); }
.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 84% 17%, rgba(63,143,181,.20), transparent 28%),
    radial-gradient(circle at 100% 70%, rgba(79,143,138,.15), transparent 30%),
    radial-gradient(circle at 14% 100%, rgba(216,138,44,.10), transparent 25%),
    linear-gradient(130deg, #ffffff 0%, #f3f9fc 47%, #e8f3f9 100%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -130px;
  bottom: -120px;
  border-radius: 50%;
  border: 45px solid rgba(29,95,139,.06);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  gap: 72px;
  align-items: center;
  padding: 92px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .76rem;
  font-weight: 750;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-2), var(--amber));
}
h1, h2, h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: -.035em;
}
h1 {
  max-width: 880px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 5.8vw, 5.45rem);
  font-weight: 520;
}
h2 {
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 3.8vw, 3.55rem);
  font-weight: 520;
}
h3 { font-size: 1.35rem; font-weight: 650; }
.lead {
  max-width: 740px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.75vw, 1.34rem);
}
.hero-actions, .section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, #174b70 100%);
  border-color: transparent;
  color: white;
  box-shadow: 0 12px 28px rgba(29,95,139,.22);
}
.btn-secondary { background: rgba(255,255,255,.7); color: var(--ink); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(13,45,70,.17); }
.hero-mark {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-mark::before {
  content: "";
  position: absolute;
  width: 455px;
  height: 455px;
  border-radius: 50%;
  background: conic-gradient(from 205deg,
    rgba(29,95,139,.00) 0 18%,
    rgba(29,95,139,.24) 18% 45%,
    rgba(63,143,181,.12) 45% 67%,
    rgba(216,138,44,.16) 67% 73%,
    rgba(79,143,138,.15) 73% 88%,
    rgba(29,95,139,.00) 88% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0);
}
.hero-mark::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(29,95,139,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(255,255,255,.22);
}
.hero-mark img {
  position: relative;
  z-index: 2;
  width: min(75%, 330px);
  filter: drop-shadow(0 26px 36px rgba(10,29,48,.16));
}
.tagline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  font-size: .92rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 700;
}
.tagline::before {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--blue-2);
}

.section { position: relative; padding: 108px 0; }
.section-soft {
  background:
    radial-gradient(circle at 8% 20%, rgba(63,143,181,.11), transparent 24%),
    linear-gradient(135deg, #f7fbfd 0%, var(--sky) 100%);
}
.section-tint {
  background:
    radial-gradient(circle at 92% 20%, rgba(79,143,138,.11), transparent 26%),
    linear-gradient(140deg, #f8fbfc 0%, #eef6f7 100%);
}
.section-warm {
  background:
    radial-gradient(circle at 88% 70%, rgba(216,138,44,.08), transparent 26%),
    var(--warm);
}
.section-dark {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 15%, rgba(63,143,181,.25), transparent 30%),
    radial-gradient(circle at 5% 90%, rgba(79,143,138,.18), transparent 28%),
    linear-gradient(135deg, #071726 0%, #0c2941 100%);
  color: white;
}
.section-dark::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -160px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.018);
}
.section-dark .container { position: relative; z-index: 1; }
.section-dark .lead, .section-dark .muted { color: #c6d3dd; }
.section-head {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 60px;
}
.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .17em;
}
.section-kicker::after {
  content: "";
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-2), transparent);
}
.section-dark .section-kicker { color: #a9c7d9; }
.section-dark .section-kicker::after { background: linear-gradient(90deg, #8db8ce, transparent); }
.section-intro { color: var(--muted); font-size: 1.16rem; margin: 0; }

.grid-2, .grid-3, .grid-4, .grid-5 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(205,220,229,.9);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(13,45,70,.045);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
}
.grid-3 .card:nth-child(3n+2)::before,
.grid-5 .card:nth-child(3n+2)::before { background: linear-gradient(90deg, var(--teal), #75aaa5); }
.grid-3 .card:nth-child(3n+3)::before,
.grid-5 .card:nth-child(3n+3)::before { background: linear-gradient(90deg, var(--amber), #e3a65c); }
.grid-4 .card:nth-child(4n+2)::before { background: linear-gradient(90deg, var(--teal), #75aaa5); }
.grid-4 .card:nth-child(4n+3)::before { background: linear-gradient(90deg, var(--amber), #e3a65c); }
.grid-4 .card:nth-child(4n+4)::before { background: linear-gradient(90deg, var(--blue-2), #7ebbd4); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(63,143,181,.30); }
.card.shadow { box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: 14px; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card a { color: var(--blue); font-weight: 750; text-decoration: none; }
.card-number {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e4f2f8, #f5fafc);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(29,95,139,.10);
  font-size: .84rem;
  font-weight: 800;
}
.section-dark .card {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
  box-shadow: none;
}
.section-dark .card::before { opacity: .82; }
.section-dark .card p { color: #c7d4de; }
.section-dark .card-number { background: rgba(255,255,255,.10); color: white; box-shadow: none; }

.statement {
  position: relative;
  overflow: hidden;
  padding: 58px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 30%, rgba(63,143,181,.32), transparent 34%),
    radial-gradient(circle at 10% 100%, rgba(216,138,44,.15), transparent 29%),
    linear-gradient(135deg, #071827 0%, #103754 100%);
  color: white;
  box-shadow: var(--shadow-strong);
}
.statement::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -55px;
  top: -60px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(255,255,255,.035);
}
.statement p {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: 1.28;
  letter-spacing: -.025em;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 118px 0 90px;
  background:
    radial-gradient(circle at 87% 18%, rgba(63,143,181,.17), transparent 27%),
    radial-gradient(circle at 4% 100%, rgba(216,138,44,.08), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #f0f7fb 58%, #e5f1f7 100%);
  border-bottom: 1px solid #dbe7ed;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: 6%;
  bottom: -125px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  border: 1px solid rgba(29,95,139,.12);
  box-shadow: 0 0 0 55px rgba(63,143,181,.035), 0 0 0 110px rgba(79,143,138,.025);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 1010px; font-size: clamp(3rem, 5.8vw, 5.15rem); }
.page-hero .lead { max-width: 880px; }
.page-academy .page-hero { background: radial-gradient(circle at 84% 15%, rgba(79,143,138,.20), transparent 28%), linear-gradient(135deg,#fff 0%,#eef7f6 100%); }
.page-chi .page-hero { background: radial-gradient(circle at 84% 18%, rgba(216,138,44,.11), transparent 27%), linear-gradient(135deg,#fff 0%,#f8f4ed 100%); }
.page-metodo .page-hero { background: radial-gradient(circle at 86% 18%, rgba(63,143,181,.21), transparent 28%), linear-gradient(135deg,#fff 0%,#e9f4fa 100%); }

.list-clean { margin: 0; padding: 0; list-style: none; }
.list-clean li {
  position: relative;
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid var(--line);
}
.list-clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 11px;
  height: 11px;
  border-radius: 4px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
}
.section-dark .list-clean li { border-color: rgba(255,255,255,.16); }
.section-dark .list-clean li::before { background: linear-gradient(135deg, #77b2cf, #9bc5c1); }

.process { display: grid; gap: 0; }
.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 34px;
  padding: 42px 28px;
  border-top: 1px solid var(--line);
  transition: background .2s ease, transform .2s ease;
}
.process-step:nth-child(even) { background: linear-gradient(90deg, rgba(234,244,250,.58), transparent); }
.process-step:hover { background: var(--sky); transform: translateX(4px); }
.process-step:last-child { border-bottom: 1px solid var(--line); }
.process-index {
  display: flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 9px 24px rgba(29,95,139,.20);
  font-size: .88rem;
  letter-spacing: .09em;
  font-weight: 800;
}
.process-step:nth-child(3n+2) .process-index { background: linear-gradient(135deg, var(--teal), #72aaa5); }
.process-step:nth-child(3n+3) .process-index { background: linear-gradient(135deg, #c87822, var(--amber)); }
.process-step h3 { margin-bottom: 12px; font-size: 1.72rem; }
.process-step p { margin: 0; color: var(--muted); }

.info-band {
  position: relative;
  overflow: hidden;
  padding: 44px 46px;
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 10%, rgba(63,143,181,.14), transparent 28%),
    linear-gradient(135deg, #f7fbfd, var(--sky));
  box-shadow: 0 12px 34px rgba(13,45,70,.07);
}
.info-band h3 { font-size: 1.82rem; }

.quote {
  margin: 0;
  padding: 36px 42px;
  border-left: 5px solid var(--amber);
  border-radius: 0 18px 18px 0;
  background: var(--warm);
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  line-height: 1.35;
  letter-spacing: -.02em;
}

.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: white; border: 1px solid var(--line); }
th, td { padding: 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: linear-gradient(135deg, #e8f3f8, #f3f8fa); color: var(--blue); font-size: .84rem; text-transform: uppercase; letter-spacing: .09em; }
tbody tr:hover { background: #f8fbfc; }

.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 54px; }
.contact-form {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; margin-bottom: 7px; font-weight: 750; font-size: .9rem; }
input, textarea, select {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #cbd8e0;
  border-radius: 10px;
  background: #fbfdfe;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(63,143,181,.12); }
textarea { min-height: 150px; resize: vertical; }
.field { margin-bottom: 18px; }
.form-note { color: var(--muted); font-size: .84rem; }

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 72px 0 30px;
  background:
    radial-gradient(circle at 88% 5%, rgba(63,143,181,.20), transparent 27%),
    linear-gradient(135deg, #061421 0%, #0a263c 100%);
  color: white;
}
.site-footer::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -190px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 0 0 60px rgba(255,255,255,.02);
}
.site-footer .container { position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 50px; margin-bottom: 50px; }

.footer-copy { max-width: 480px; color: #bac9d4; }
.footer-title { margin-bottom: 16px; font-size: .76rem; text-transform: uppercase; letter-spacing: .15em; color: #9eb4c4; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: white; text-decoration: none; }
.footer-links a:hover { color: #a9d1e4; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.14); color: #9fb1bf; font-size: .84rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .brand img { width: 220px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .85rem; }
  .header-cta { display: none; }
}

@media (max-width: 900px) {
  .header-inner { min-height: 76px; }
  .brand img { width: 205px; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    margin: 0;
    padding: 24px 20px 30px;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 35px rgba(10,29,48,.10);
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .main-nav.open { display: flex; }
  .main-nav .header-cta { display: inline-flex; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 70px 0 80px; }
  .hero-mark { min-height: 350px; order: -1; }
  .hero-mark::before { width: 340px; height: 340px; }
  .hero-mark::after { width: 250px; height: 250px; }
  .hero-mark img { width: 235px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-layout, .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  h1 { font-size: 2.62rem; }
  h2 { font-size: 2.12rem; }
  .section { padding: 78px 0; }
  .page-hero { padding: 80px 0 60px; }
  .hero-grid { padding-top: 42px; }
  .hero-mark { min-height: 285px; }
  .hero-mark::before { width: 275px; height: 275px; }
  .hero-mark::after { width: 205px; height: 205px; }
  .hero-mark img { width: 190px; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .statement { padding: 34px 27px; }
  .process-step { grid-template-columns: 1fr; gap: 16px; padding: 32px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-bottom { grid-template-columns: 1fr; }
}


/* Footer DYMANIS: simbolo raster piccolo + testo HTML nitido */
.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: #fff;
}
/* V12 footer refinement: transparent symbol, no white box */
.footer-brand-symbol {
  flex: 0 0 auto;
  width: 56px;
  height: 58px;
  object-fit: contain;
  background: transparent !important;
  filter: brightness(0) invert(1);
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.footer-wordmark {
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .22em;
  white-space: nowrap;
}
.footer-brand-tagline {
  margin-top: 7px;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .11em;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .footer-brand-lockup {
    gap: 10px;
  }
  .footer-brand-symbol {
    width: 48px;
    height: 50px;
  }
  .footer-wordmark {
    font-size: 22px;
    letter-spacing: .18em;
  }
  .footer-brand-tagline {
    margin-top: 6px;
    font-size: 8px;
    letter-spacing: .08em;
  }
}


/* Modulo contatti ASP.NET */
.form-honeypot {
  position: absolute !important;
  left: -5000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 20, 33, .56);
  backdrop-filter: blur(4px);
}

.contact-popup-overlay.show {
  display: flex;
}

.contact-popup-box {
  position: relative;
  width: min(520px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(6, 20, 33, .24);
}

.contact-popup-close {
  position: absolute;
  top: 10px;
  right: 13px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.contact-popup-title {
  margin: 0 38px 10px 0;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 750;
}

.contact-popup-message {
  color: var(--muted);
  font-size: 1rem;
}

#dymanis-contact-submit[disabled] {
  opacity: .7;
  cursor: wait;
  transform: none;
}


/* V14 — Ottimizzazione della Home */
.page-home .header-inner {
  gap: 22px;
}

.page-home .brand img {
  width: 245px;
}

.page-home .main-nav {
  gap: 20px;
}

.page-home .main-nav a {
  font-size: .88rem;
}

.page-home .header-cta {
  min-height: 44px;
  padding-inline: 17px;
}

.page-home .hero-grid {
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, .72fr);
  gap: 52px;
  padding: 84px 0 88px;
}

.page-home .hero-title {
  max-width: 790px;
  margin-bottom: 26px;
  font-size: clamp(3.25rem, 5.15vw, 4.95rem);
  line-height: 1.075;
  letter-spacing: -.042em;
}

.page-home .hero-title-line {
  display: block;
  white-space: nowrap;
}

.page-home .hero .lead {
  max-width: 710px;
  margin-bottom: 30px;
}

.page-home .hero-actions {
  margin-top: 28px;
}

.page-home .hero-mark {
  min-height: 455px;
}

.page-home .hero-mark::before {
  width: 415px;
  height: 415px;
}

.page-home .hero-mark::after {
  width: 302px;
  height: 302px;
  box-shadow: 0 0 0 52px rgba(255,255,255,.20);
}

.page-home .hero-mark img {
  width: min(72%, 298px);
}

.page-home .tagline {
  gap: 14px;
  margin-top: 26px;
  font-size: .82rem;
  letter-spacing: .18em;
  color: rgba(23,54,80,.82);
}

.page-home .tagline::before {
  width: 38px;
}

@media (max-width: 1080px) {
  .page-home .brand img {
    width: 220px;
  }

  .page-home .main-nav {
    gap: 15px;
  }

  .page-home .main-nav a {
    font-size: .84rem;
  }

  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.22fr) minmax(280px, .78fr);
    gap: 38px;
  }

  .page-home .hero-title {
    font-size: clamp(3.1rem, 5.5vw, 4.25rem);
  }

  .page-home .hero-mark::before {
    width: 375px;
    height: 375px;
  }

  .page-home .hero-mark::after {
    width: 274px;
    height: 274px;
  }

  .page-home .hero-mark img {
    width: 268px;
  }
}

@media (max-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 62px 0 78px;
  }

  .page-home .hero-mark {
    min-height: 315px;
  }

  .page-home .hero-mark::before {
    width: 315px;
    height: 315px;
  }

  .page-home .hero-mark::after {
    width: 230px;
    height: 230px;
    box-shadow: 0 0 0 42px rgba(255,255,255,.20);
  }

  .page-home .hero-mark img {
    width: 215px;
  }

  .page-home .hero-title {
    max-width: 760px;
  }
}

@media (max-width: 640px) {
  .page-home .hero-grid {
    padding-top: 38px;
  }

  .page-home .hero-title {
    font-size: clamp(2.55rem, 12vw, 3.2rem);
    line-height: 1.08;
  }

  .page-home .hero-title-line {
    display: inline;
    white-space: normal;
  }

  .page-home .hero-mark {
    min-height: 250px;
  }

  .page-home .hero-mark::before {
    width: 245px;
    height: 245px;
  }

  .page-home .hero-mark::after {
    width: 180px;
    height: 180px;
    box-shadow: 0 0 0 32px rgba(255,255,255,.18);
  }

  .page-home .hero-mark img {
    width: 168px;
  }

  .page-home .tagline {
    font-size: .74rem;
    letter-spacing: .14em;
  }
}

/* =========================================================
   V15 — NUOVA IDENTITÀ VISIVA DYMANIS
   ========================================================= */
:root {
  --night: #010915;
  --night-2: #061528;
  --night-3: #0a2036;
  --ice: #eef4f8;
  --violet: #6c67e8;
  --cyan: #18aeb3;
  --orange: #f28a16;
  --max: 1380px;
}

body {
  background: #fff;
}

/* Header scuro comune a tutte le pagine */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(1, 9, 21, .97);
  border-top: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 34px rgba(0,0,0,.18);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 116px;
  gap: 38px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 350px;
  color: #fff;
}

.site-header .brand-symbol {
  width: 76px !important;
  height: 74px !important;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 9px 18px rgba(0,0,0,.28));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-wordmark {
  color: #fff;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .30em;
  white-space: nowrap;
}

.brand-tagline {
  margin-top: 10px;
  color: rgba(255,255,255,.95);
  font-size: .82rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .17em;
  white-space: nowrap;
}

.main-nav {
  gap: 34px;
}

.main-nav a {
  color: rgba(255,255,255,.92);
  font-size: .94rem;
  font-weight: 500;
}

.main-nav a:not(.header-cta)::after {
  bottom: -12px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--violet), var(--cyan));
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #fff;
}

.menu-toggle span {
  background: #fff;
}

/* Pagine interne: contenuti invariati, testata armonizzata */
.page-hero {
  padding: 112px 0 86px;
  background:
    radial-gradient(circle at 88% 16%, rgba(24,174,179,.13), transparent 28%),
    radial-gradient(circle at 9% 94%, rgba(242,138,22,.07), transparent 25%),
    linear-gradient(135deg, #ffffff 0%, #f3f7fa 55%, #e9f1f6 100%);
}

.page-hero::after {
  border-color: rgba(10,32,54,.10);
}

.page-hero h1 {
  color: var(--night-2);
}

.page-hero .eyebrow,
.page-hero .section-kicker {
  color: #167a94;
}

/* Home: fondazione */
.page-home-dark {
  color: #0a1725;
}

.home-wide {
  width: min(calc(100% - 80px), var(--max));
  margin: 0 auto;
}

.home-hero {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: #fff;
}

.home-hero-grid {
  display: flex;
  flex-direction: column;
}

.home-hero-grid::after {
  display: none;
}

.home-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(calc(100% - 80px), var(--max));
  margin: 0 auto;
  box-sizing: border-box;
  padding: 72px 0 82px;
  background: radial-gradient(circle at 22% 75%, rgba(24,174,179,.09), transparent 31%);
}

.home-hero-copy::after {
  display: none;
}

.home-kicker {
  margin-bottom: 24px;
  color: rgba(255,255,255,.66);
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
}

.home-hero h1 {
  max-width: none;
  margin: 0;
  color: #fff;
  font-size: clamp(3.1rem, 4.75vw, 5.15rem);
  font-weight: 430;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.spectral-rule {
  width: 188px;
  height: 3px;
  margin: 31px 0 25px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange) 24%, var(--violet) 56%, var(--cyan) 100%);
  box-shadow: 0 0 18px rgba(108,103,232,.18);
}

.home-hero-copy > p {
  max-width: 1080px;
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(1.06rem, 1.4vw, 1.26rem);
  line-height: 1.55;
}

.home-hero-copy > p + p {
  margin-top: 14px;
}

.home-hero-copy > .home-hero-guide {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.95);
}

.home-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 35px;
}

.home-hero-media {
  position: relative;
  order: -1;
  width: 100%;
  min-height: clamp(440px, 45vw, 650px);
  padding: 0;
  border: 0;
  background-image: url('../assets/images/dymanis-hero-mountain.jpg');
  background-color: var(--night);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.home-video-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font: inherit;
  isolation: isolate;
}

.home-video-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(1, 9, 21, 0);
  transition: background .25s ease;
}

.home-video-trigger:hover::after,
.home-video-trigger:focus-visible::after {
  background: rgba(1, 9, 21, .18);
}

.video-play {
  position: relative;
  transform: none;
  z-index: 1;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  padding-left: 5px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: rgba(1,9,21,.58);
  box-shadow: 0 16px 42px rgba(0,0,0,.30);
  font-size: 1.45rem;
  transition: transform .25s ease, background .25s ease;
}

.home-video-trigger:hover .video-play,
.home-video-trigger:focus-visible .video-play {
  transform: scale(1.06);
  background: rgba(1,9,21,.78);
}

.video-trigger-label {
  position: absolute;
  left: 50%;
  top: calc(50% + 58px);
  transform: translateX(-50%);
  z-index: 1;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(1,9,21,.68);
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(1, 9, 21, .92);
  backdrop-filter: blur(7px);
}

.video-modal.open { display: grid; }

.video-dialog {
  position: relative;
  width: min(1180px, 94vw);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: #010915;
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
  overflow: visible;
}

.video-frame-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1920 / 1080;
  border-radius: 17px;
}

.video-frame-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  overflow: hidden;
}

.video-close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: #fff;
  background: #07192b;
  cursor: pointer;
  font-size: 1.65rem;
  line-height: 1;
}

.video-close:hover,
.video-close:focus-visible { background: #0d2943; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.btn-spectrum {
  min-height: 54px;
  padding: 0 26px;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #fff;
  background:
    linear-gradient(var(--night-2), var(--night-2)) padding-box,
    linear-gradient(90deg, var(--orange), var(--violet), var(--cyan)) border-box;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .86rem;
}

.btn-spectrum:hover {
  background:
    linear-gradient(#0a2036, #0a2036) padding-box,
    linear-gradient(90deg, var(--orange), var(--violet), var(--cyan)) border-box;
  box-shadow: 0 18px 38px rgba(0,0,0,.30);
}

.home-text-link {
  position: relative;
  color: var(--night-2);
  font-weight: 700;
  text-decoration: none;
}

.home-text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transition: right .25s ease;
}

.home-text-link:hover::after { right: 0; }
.home-text-link.light { color: rgba(255,255,255,.88); }
.home-hero .home-text-link { color: rgba(255,255,255,.80); }

.section-home-light {
  padding: 92px 0;
  background: #fff;
}

.section-label {
  display: block;
  margin-bottom: 15px;
  color: #17779d;
  font-size: .76rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.section-label-light { color: #7bc8d1; }

.section-home-light h2,
.home-dark-panel h2,
.home-soft-dark h2,
.home-final-cta h2 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 3.7vw, 4rem);
  font-weight: 470;
  line-height: 1.08;
  letter-spacing: -.04em;
}

/* Know / Decide / Transform */
.home-approach .home-wide {
  display: grid;
  grid-template-columns: .82fr 1.58fr;
  gap: 62px;
  align-items: center;
}

.approach-intro h2 {
  color: var(--night);
}

.approach-intro p {
  max-width: 500px;
  margin: 0;
  color: #435160;
  font-size: 1.08rem;
}

.approach-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.approach-pillar {
  min-height: 230px;
  padding: 2px 34px 0;
  text-align: center;
  border-left: 1px solid #d8e0e5;
}

.approach-pillar:first-child { border-left: 0; }

.pillar-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 18px;
  padding: 18px;
  border-radius: 50%;
  background: #f5f8fa;
}

.pillar-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.approach-pillar h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
  letter-spacing: .02em;
}

.approach-pillar p {
  margin: 0 auto;
  color: #263545;
  line-height: 1.5;
}

.approach-pillar.know { color: var(--orange); }
.approach-pillar.decide { color: var(--violet); }
.approach-pillar.transform { color: var(--cyan); }
.approach-pillar p { color: #263545; }
.approach-pillar.know .pillar-icon { background: rgba(242,138,22,.08); }
.approach-pillar.decide .pillar-icon { background: rgba(108,103,232,.08); }
.approach-pillar.transform .pillar-icon { background: rgba(24,174,179,.08); }

/* Sezioni scure */
.home-dark-panel {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  color: #fff;
  background:
    radial-gradient(circle at 90% 8%, rgba(108,103,232,.17), transparent 29%),
    radial-gradient(circle at 7% 96%, rgba(24,174,179,.13), transparent 28%),
    linear-gradient(135deg, #010916 0%, #07192d 100%);
}

.home-dark-panel::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -240px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.018), 0 0 0 140px rgba(255,255,255,.012);
}

.principle-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 130px 1.1fr .9fr;
  gap: 54px;
  align-items: start;
}

.principle-number {
  padding-top: 10px;
  color: rgba(255,255,255,.18);
  font-size: 5rem;
  font-weight: 300;
  line-height: 1;
}

.principle-grid h2 {
  max-width: 710px;
  color: #fff;
}

.principle-copy {
  padding-top: 43px;
  color: #bdcad5;
  font-size: 1.08rem;
}

.principle-copy p:first-child { margin-top: 0; }

/* Percorso */
.home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 58px;
}

.home-section-head h2 {
  max-width: 900px;
  margin-bottom: 0;
}

.home-section-head > p {
  max-width: 420px;
  margin: 0 0 5px;
  color: #5a6875;
  font-size: 1.05rem;
}

.path-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0;
}

.path-line::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), var(--violet), var(--cyan));
}

.path-step {
  position: relative;
  padding: 0 30px;
}

.path-step:first-child { padding-left: 0; }
.path-step:last-child { padding-right: 0; }

.path-step > span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 68px;
  height: 68px;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  border: 1px solid #d5dee5;
  border-radius: 50%;
  color: var(--night-2);
  background: #fff;
  font-weight: 750;
  box-shadow: 0 9px 24px rgba(8,26,43,.08);
}

.path-step:nth-child(1) > span { border-color: rgba(242,138,22,.45); }
.path-step:nth-child(2) > span,
.path-step:nth-child(3) > span { border-color: rgba(108,103,232,.42); }
.path-step:nth-child(4) > span { border-color: rgba(24,174,179,.48); }

.path-step h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.path-step p {
  margin: 0;
  color: #566573;
}

.home-center-action {
  margin-top: 50px;
  text-align: center;
}

.btn-dark-outline {
  min-height: 52px;
  padding: 0 25px;
  border: 1px solid #173650;
  border-radius: 10px;
  color: #0a1d30;
  background: transparent;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .83rem;
}

.btn-dark-outline:hover {
  color: #fff;
  background: var(--night-2);
}

/* Metodo */
.method-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 80px;
  align-items: center;
}

.method-copy h2 { color: #fff; }
.method-copy > p { max-width: 690px; color: #bdcad5; font-size: 1.07rem; }

.method-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 36px;
}

.method-visual {
  position: relative;
  min-height: 470px;
}

.method-orbit {
  position: absolute;
  inset: 50%;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  transform: translate(-50%,-50%);
}

.orbit-one { width: 390px; height: 390px; }
.orbit-two { width: 275px; height: 275px; border-color: rgba(24,174,179,.28); }

.method-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  width: 118px;
  height: 118px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  background: linear-gradient(135deg, rgba(242,138,22,.92), rgba(108,103,232,.92) 52%, rgba(24,174,179,.92));
  box-shadow: 0 0 55px rgba(108,103,232,.23);
  color: #fff;
  font-size: 1.55rem;
  font-weight: 750;
  letter-spacing: .12em;
}

.method-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 145px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(10px);
  color: #fff;
}

.method-node small { color: #8fa8ba; letter-spacing: .12em; }
.method-node strong { letter-spacing: .08em; }
.node-know { left: 3%; top: 10%; border-color: rgba(242,138,22,.35); }
.node-decide { right: 2%; top: 34%; border-color: rgba(108,103,232,.38); }
.node-transform { left: 14%; bottom: 6%; border-color: rgba(24,174,179,.40); }

/* Modalità */
.mode-panels {
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  align-items: stretch;
}

.mode-panel {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 28px;
  min-height: 235px;
  padding: 40px;
  border: 1px solid #d7e0e6;
  border-radius: 18px;
  background: #f8fafb;
}

.mode-panel-accent {
  background:
    radial-gradient(circle at 94% 7%, rgba(24,174,179,.10), transparent 27%),
    #f7fbfc;
}

.mode-index {
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--night-2);
  font-weight: 800;
}

.mode-panel-accent .mode-index {
  background: linear-gradient(135deg, var(--violet), var(--cyan));
}

.mode-panel h3 { margin-bottom: 14px; font-size: 1.65rem; }
.mode-panel p { margin: 0; color: #52616f; font-size: 1.05rem; }

.mode-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
  font-size: 2rem;
}

/* Aziende */
.home-soft-dark {
  padding: 105px 0;
  color: #fff;
  background:
    radial-gradient(circle at 90% 12%, rgba(242,138,22,.13), transparent 28%),
    linear-gradient(135deg, #07192b 0%, #0b263d 100%);
}

.audience-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 90px;
  align-items: center;
}

.audience-grid h2 { color: #fff; }
.audience-grid p { max-width: 650px; color: #c2ced8; font-size: 1.08rem; }

.audience-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.15);
}

.audience-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  font-size: 1.1rem;
}

.audience-list span {
  color: #75c4cf;
  font-size: .78rem;
  letter-spacing: .12em;
}

/* Consulenti */
.consultants-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 80px;
  align-items: center;
}

.consultant-mark {
  position: relative;
  display: flex;
  min-height: 390px;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(108,103,232,.13), transparent 38%),
    linear-gradient(135deg, #f1f5f8, #fbfcfd);
  overflow: hidden;
}

.consultant-mark::before,
.consultant-mark::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(10,32,54,.09);
  border-radius: 50%;
}
.consultant-mark::before { width: 290px; height: 290px; }
.consultant-mark::after { width: 390px; height: 390px; }
.consultant-mark img { position: relative; z-index: 1; width: 180px; }

.consultants-grid > div:last-child > p { color: #536270; font-size: 1.06rem; }
.consultants-grid .btn { margin-top: 20px; }

/* CTA finale */
.home-final-cta {
  position: relative;
  overflow: hidden;
  padding: 95px 0;
  color: #fff;
  background:
    radial-gradient(circle at 88% 30%, rgba(24,174,179,.17), transparent 28%),
    radial-gradient(circle at 8% 90%, rgba(242,138,22,.10), transparent 25%),
    linear-gradient(130deg, #010916 0%, #071a30 100%);
}

.home-final-cta::after {
  content: "";
  position: absolute;
  right: -60px;
  top: 50%;
  width: 340px;
  height: 340px;
  transform: translateY(-50%);
  opacity: .07;
  background: url('../assets/images/dymanis-symbol-color.png') center / contain no-repeat;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.final-cta-inner h2 { max-width: 880px; color: #fff; }
.final-cta-inner p { max-width: 780px; color: #c2ced8; font-size: 1.07rem; }

/* Footer con nuovo simbolo */
.footer-brand-symbol {
  width: 62px;
  height: 60px;
  filter: none !important;
}

.site-footer {
  background:
    radial-gradient(circle at 88% 5%, rgba(108,103,232,.13), transparent 27%),
    linear-gradient(135deg, #010813 0%, #071a2c 100%);
}

/* Responsive */
@media (max-width: 1240px) {
  .header-inner { min-height: 96px; }
  .brand-lockup { min-width: 292px; gap: 14px; }
  .site-header .brand-symbol { width: 62px !important; height: 61px !important; }
  .brand-wordmark { font-size: 1.65rem; }
  .brand-tagline { font-size: .7rem; }
  .main-nav { gap: 20px; }
  .main-nav a { font-size: .85rem; }
}

@media (max-width: 1060px) {
  .header-inner { min-height: 82px; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    margin: 0;
    padding: 28px 30px 34px;
    background: rgba(1,9,21,.99);
    border-bottom: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 20px 45px rgba(0,0,0,.28);
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 1rem; }
  .brand-lockup { min-width: 0; }

  .home-hero-grid {
    display: flex;
  }
  .home-hero-grid::after { display: none; }
  .home-hero-copy {
    width: min(calc(100% - 60px), var(--max));
    padding: 76px 50px;
    background:
      radial-gradient(circle at 22% 75%, rgba(24,174,179,.09), transparent 28%),
      linear-gradient(90deg, #010916 0%, #020d1c 100%);
  }
  .home-hero-copy::after { display: none; }
  .home-hero-media {
    min-height: 480px;
    background-size: cover;
    background-position: center;
  }

  .home-approach .home-wide,
  .principle-grid,
  .method-grid,
  .audience-grid,
  .consultants-grid {
    grid-template-columns: 1fr;
  }

  .approach-intro { max-width: 720px; }
  .principle-grid { gap: 18px; }
  .principle-number { font-size: 3.5rem; }
  .principle-copy { padding-top: 0; max-width: 780px; }
  .method-visual { min-height: 440px; }
  .audience-grid { gap: 55px; }
  .consultants-grid { gap: 50px; }
  .consultant-mark { min-height: 330px; }
}

@media (max-width: 820px) {
  .home-wide { width: min(calc(100% - 44px), var(--max)); }
  .section-home-light,
  .home-dark-panel,
  .home-soft-dark,
  .home-final-cta { padding: 78px 0; }

  .approach-pillars { grid-template-columns: 1fr; }
  .approach-pillar {
    display: grid;
    grid-template-columns: 90px 1fr;
    grid-template-rows: auto auto;
    column-gap: 22px;
    min-height: 0;
    padding: 24px 0;
    text-align: left;
    border-left: 0;
    border-top: 1px solid #d8e0e5;
  }
  .approach-pillar:first-child { border-top: 0; }
  .pillar-icon { grid-row: 1 / 3; margin: 0; }
  .approach-pillar h3 { margin: 8px 0 4px; }
  .approach-pillar p { margin: 0; }

  .home-section-head { display: block; margin-bottom: 42px; }
  .home-section-head > p { margin-top: 20px; }
  .path-line { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .path-line::before { display: none; }
  .path-step:nth-child(n) { padding: 0 24px 0 0; }

  .mode-panels { grid-template-columns: 1fr; gap: 20px; }
  .mode-connector { transform: rotate(90deg); min-height: 30px; }

  .final-cta-inner { grid-template-columns: 1fr; gap: 35px; }
  .final-cta-inner .btn { justify-self: start; }
}

@media (max-width: 640px) {
  .header-inner { min-height: 76px; }
  .site-header .brand-symbol { width: 49px !important; height: 48px !important; }
  .brand-lockup { gap: 10px; }
  .brand-wordmark { font-size: 1.25rem; letter-spacing: .24em; }
  .brand-tagline { margin-top: 7px; font-size: .55rem; letter-spacing: .11em; }
  .main-nav { top: 76px; }

  .home-wide { width: min(calc(100% - 28px), var(--max)); }
  .home-hero-copy { padding: 58px 24px 54px; }
  .home-hero h1 { font-size: clamp(2.55rem, 13vw, 3.55rem); }
  .home-hero-copy > p { font-size: 1.04rem; }
  .home-hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .home-hero-media { min-height: 335px; background-position: center; }
  .video-play { width: 64px; height: 64px; font-size: 1.2rem; }
  .video-trigger-label { top: calc(50% + 50px); }
  .video-modal { padding: 16px; }
  .video-dialog { width: 100%; border-radius: 12px; }
  .video-frame-wrap { border-radius: 11px; }
  .video-close { top: -15px; right: -8px; width: 40px; height: 40px; }

  .section-home-light h2,
  .home-dark-panel h2,
  .home-soft-dark h2,
  .home-final-cta h2 { font-size: 2.25rem; }

  .home-approach .home-wide { gap: 42px; }
  .approach-pillar { grid-template-columns: 70px 1fr; column-gap: 17px; }
  .pillar-icon { width: 66px; height: 66px; padding: 14px; }

  .principle-grid { grid-template-columns: 1fr; }
  .principle-number { font-size: 2.8rem; }

  .path-line { grid-template-columns: 1fr; gap: 34px; }
  .path-step:nth-child(n) { padding: 0; }

  .method-visual { min-height: 385px; transform: scale(.88); margin: -20px; }
  .orbit-one { width: 320px; height: 320px; }
  .orbit-two { width: 220px; height: 220px; }
  .method-core { width: 96px; height: 96px; }
  .method-node { min-width: 125px; padding: 12px 14px; }

  .mode-panel { grid-template-columns: 1fr; padding: 28px; }
  .mode-index { width: 48px; height: 48px; }
  .audience-list li { grid-template-columns: 44px 1fr; gap: 12px; font-size: 1rem; }
  .consultant-mark { min-height: 270px; }
  .consultant-mark img { width: 135px; }

  .footer-brand-symbol { width: 52px; height: 51px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* V15.1 — headline Hero in tre righe controllate */
.home-hero h1 {
  font-size: clamp(3rem, 4.1vw, 4.45rem);
}
.home-hero h1 span {
  display: block;
  white-space: nowrap;
}
@media (max-width: 1060px) {
  .home-hero h1 span { white-space: normal; }
}


/* V16 — sezione consulenti con ritratto professionale */
.consultant-mark {
  position: relative;
  display: block;
  min-height: 430px;
  border-radius: 28px;
  background: linear-gradient(135deg, #eef3f7 0%, #f8fafc 100%);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(10,32,54,.06);
}
.consultant-mark::before,
.consultant-mark::after {
  content: none;
}
.consultant-mark img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 900px) {
  .consultants-grid {
    gap: 42px;
  }
  .consultant-mark,
  .consultant-mark img {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .consultant-mark,
  .consultant-mark img {
    min-height: 300px;
  }
}


/* V17 — header e footer uniformi su tutte le pagine; ritratto consulente aggiornato. */


/* V19 — navigazione con voce Home */
@media (min-width: 1061px) and (max-width: 1240px) {
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .82rem; }
}


/* =========================================================
   DYMANIS V21 — uniformità, pagina AI e contatti diretti
   ========================================================= */
.main-nav { gap: clamp(13px, 1.35vw, 22px); }
.main-nav a { font-size: clamp(.78rem, .74vw, .9rem); }
.portal-badge {
  display: inline-flex;
  align-items: center;
  padding: .45rem .8rem;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

/* V28 — modello operativo DYMANIS: Direct, Field Network, Academy */
.operating-model {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 52px;
  border: 1px solid rgba(13,24,44,.12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(13,24,44,.08);
  overflow: hidden;
}
.operating-card {
  position: relative;
  min-height: 360px;
  padding: 38px 34px 34px;
  border-left: 1px solid rgba(13,24,44,.10);
}
.operating-card:first-child { border-left: 0; }
.operating-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
}
.operating-card.direct::before { background: var(--orange); }
.operating-card.network::before { background: var(--violet); }
.operating-card.academy::before { background: var(--cyan); }
.operating-number {
  display: block;
  margin-bottom: 36px;
  color: #c9d1d8;
  font-size: 3.4rem;
  font-weight: 300;
  line-height: 1;
}
.operating-label {
  display: block;
  margin-bottom: 10px;
  color: #167a94;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.operating-card h3 { margin: 0 0 14px; font-size: 1.65rem; }
.operating-card p { margin: 0 0 25px; color: #536270; line-height: 1.7; }

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.channel-card {
  padding: 1.7rem;
  border: 1px solid rgba(13,24,44,.12);
  border-radius: 18px;
  background: #fff;
}
.channel-card h3 { margin-top: .3rem; }
.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1rem;
}
.process-line article {
  padding: 1.45rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
}
.process-line small {
  display: block;
  margin-bottom: .55rem;
  color: #69d9e2;
  font-weight: 800;
  letter-spacing: .12em;
}
.choice-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.choice-band article {
  padding: 1.7rem;
  border: 1px solid rgba(13,24,44,.12);
  border-radius: 18px;
  background: #fff;
}
@media (max-width: 900px) {
  .operating-model, .channel-grid, .process-line, .choice-band { grid-template-columns: 1fr; }
  .operating-card { min-height: 0; border-left: 0; border-top: 1px solid rgba(13,24,44,.10); }
  .operating-card:first-child { border-top: 0; }
}

.direct-contact-card {
  display: grid;
  gap: 14px;
  margin: 0 0 34px;
}
.direct-contact-item {
  position: relative;
  padding: 22px 24px 22px 76px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(13,45,70,.07);
}
.direct-contact-item::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #157e83, #1d5f8b);
  box-shadow: 0 0 0 7px rgba(29,95,139,.08);
}
.direct-contact-item:first-child::after {
  content: "☎";
  position: absolute;
  left: 31px;
  top: 27px;
  color: #fff;
  font-size: 1.05rem;
}
.direct-contact-item:last-child::after {
  content: "@";
  position: absolute;
  left: 31px;
  top: 27px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
}
.direct-contact-label,
.direct-contact-note { display: block; }
.direct-contact-label {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.direct-contact-value {
  display: inline-block;
  margin: 2px 0 1px;
  color: #0b5e78;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
}
.direct-contact-email { font-size: clamp(1.15rem, 1.55vw, 1.5rem); }
.direct-contact-value:hover { text-decoration: underline; }
.direct-contact-note { color: var(--muted); font-size: .84rem; }

.page-ai .orchestra-image {
  min-height: 460px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}
.page-ai .orchestra-image img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: 58% center;
}
.page-ai .risk-side blockquote { font-size: clamp(1.35rem, 2.45vw, 2.3rem); }

@media (max-width: 1180px) {
  .header-inner { gap: 16px; }
  .brand-wordmark { font-size: 1.42rem; letter-spacing: .2em; }
  .brand-tagline { font-size: .62rem; }
  .brand-symbol { width: 54px; }
}
@media (max-width: 980px) {
  .page-ai .orchestra-image,
  .page-ai .orchestra-image img { min-height: 380px; }
}
@media (max-width: 650px) {
  .direct-contact-item { padding-left: 70px; }
  .page-ai .orchestra-image,
  .page-ai .orchestra-image img { min-height: 300px; }
}

/* Diagnosi organizzativa - promotional landing */
.promo-page{background:#fff}.promo-hero{padding:56px 0 42px;background:linear-gradient(115deg,#fff 0%,#f7fbff 54%,#edf7fb 100%);overflow:hidden}.promo-hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:46px;align-items:center}.promo-hero-copy h1{font-size:clamp(3.3rem,6vw,6.4rem);line-height:.86;letter-spacing:-.055em;margin:.45rem 0 .9rem;color:#07195d}.promo-hero-copy h2{font-size:clamp(1.65rem,3vw,2.75rem);line-height:1.03;color:#0879e8;margin:0 0 1.35rem}.promo-hero-copy p{max-width:720px;font-size:1.04rem;line-height:1.62}.promo-meta{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0}.promo-meta>*{padding:8px 12px;border-radius:999px;background:#eaf5fb;color:#073f68;font-size:.84rem}.promo-actions{gap:10px}.btn-video{border:1px solid #0b6f9b;background:#fff;color:#075f85;cursor:pointer}.btn-video:hover{background:#eaf6fb}.promo-hero-visual{position:relative;min-height:530px}.promo-hero-visual img{width:100%;height:530px;object-fit:cover;object-position:center;border-radius:28px;box-shadow:0 30px 70px rgba(7,34,72,.16)}.promo-price-card{position:absolute;right:-14px;bottom:24px;width:min(390px,88%);padding:20px 24px;background:#fff;border-radius:18px;box-shadow:0 18px 55px rgba(5,34,76,.2);border-top:7px solid #ff431b}.promo-price-card span,.offer-ribbon{font-size:.74rem;font-weight:850;letter-spacing:.12em;color:#f03b18}.promo-price-card strong{display:block;font-size:2.7rem;line-height:1;color:#07195d;margin:8px 0 4px}.promo-price-card strong small{font-size:1rem}.promo-price-card em{font-style:normal;color:#536274;font-size:.82rem}.promo-impact{padding:58px 0;background:linear-gradient(120deg,#fff8ef,#fff 65%)}.promo-impact .container{display:grid;grid-template-columns:.34fr 1fr 1fr;gap:32px;align-items:start}.promo-impact h2{font-size:clamp(2.15rem,4vw,4rem);line-height:.98;letter-spacing:-.04em;margin:0;color:#0a1e58}.promo-impact h2 strong{color:#f04a20}.promo-impact p{font-size:1.02rem;line-height:1.7;color:#536274}.promo-title{text-align:center;max-width:920px;margin:0 auto 34px}.promo-title h2{font-size:clamp(2.15rem,4vw,3.6rem);margin:.4rem 0 .7rem;letter-spacing:-.04em}.promo-title p{color:#667180}.promo-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.promo-card{padding:28px;border:1px solid #d9e4ee;border-radius:20px;background:linear-gradient(180deg,#fff,#f7fbff);box-shadow:0 15px 38px rgba(12,54,88,.07)}.promo-icon{font-size:2.2rem;color:#075f9a;margin-bottom:14px}.promo-card h3{font-size:1.15rem;color:#07195d}.promo-process .process-card{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.13);border-radius:18px;padding:22px}.promo-process .process-card span{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#1aa4e8;color:#fff}.promo-offer{padding:58px 0;background:#fff8f0}.promo-offer-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:36px;align-items:center;padding-top:10px}.offer-ribbon{display:inline-block;background:#ff431b;color:#fff;padding:8px 14px;border-radius:8px}.promo-offer h2{font-size:clamp(2rem,3.7vw,3.7rem);line-height:1.02;margin:18px 0;color:#07195d}.offer-facts{display:flex;flex-wrap:wrap;gap:10px}.offer-facts span{background:#fff;border:1px solid #e7dcd0;padding:9px 12px;border-radius:10px;font-size:.86rem}.offer-price{text-align:center;padding:28px;background:#fff;border-radius:22px;box-shadow:0 18px 50px rgba(76,40,10,.10)}.offer-price strong{display:block;font-size:clamp(3.5rem,6vw,6rem);line-height:.9;color:#07195d}.offer-price>span{display:block;font-size:1.45rem;font-weight:800;color:#07195d;margin:5px 0 22px}.promo-resource-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:30px}.promo-integrity{margin-top:32px;border-left:5px solid #168ee1;background:#eef8ff}.promo-integrity h3{color:#07195d}.video-modal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(2,11,27,.84)}.video-modal.open{display:flex}.video-dialog{position:relative;width:min(1080px,96vw);background:#071525;border-radius:18px;padding:16px;box-shadow:0 30px 90px rgba(0,0,0,.45)}.video-close{position:absolute;right:8px;top:-46px;border:0;background:transparent;color:#fff;font-size:2.2rem;cursor:pointer}.video-frame-wrap{position:relative;padding-top:56.25%;overflow:hidden;border-radius:12px}.video-frame-wrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:900px){.promo-hero-grid,.promo-impact .container,.promo-offer-grid{grid-template-columns:1fr}.promo-hero-visual{min-height:390px}.promo-hero-visual img{height:390px}.promo-impact{padding:44px 0}.promo-card-grid{grid-template-columns:1fr}.promo-impact .section-kicker{margin-bottom:-12px}.offer-price{text-align:left}.promo-price-card{right:12px}}
@media(max-width:620px){.promo-hero{padding-top:34px}.promo-hero-copy h1{font-size:3.55rem}.promo-hero-visual{min-height:330px}.promo-hero-visual img{height:330px}.promo-price-card{left:12px;right:12px;width:auto}.promo-actions .btn,.promo-resource-actions .btn{width:100%;justify-content:center}.promo-impact .container{gap:18px}.promo-card{padding:22px}}

/* R6 promo resource actions: directly below the opening visual */
.promo-hero-resources{display:grid;grid-template-columns:1.02fr .98fr;gap:46px;margin-top:18px}
.promo-resource-actions-top{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.promo-resource-actions-top .btn{white-space:nowrap}
@media (max-width:900px){.promo-hero-resources{grid-template-columns:1fr}.promo-hero-resources>div:first-child{display:none}.promo-resource-actions-top{justify-content:flex-start}}


/* R7 - percorso promo orizzontale */
.promo-process{padding:54px 0 58px}
.promo-process .promo-title{margin-bottom:26px}
.promo-process .process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
.promo-process .process-card{min-height:185px;position:relative}
.promo-process .process-card:not(:last-child)::after{content:"→";position:absolute;right:-14px;top:50%;transform:translate(50%,-50%);z-index:3;color:#55c3f1;font-size:1.5rem;font-weight:800}
@media(max-width:900px){.promo-process .process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.promo-process .process-card:not(:last-child)::after{display:none}}
@media(max-width:620px){.promo-process .process-grid{grid-template-columns:1fr}.promo-process .process-card{min-height:0}}

/* R9 - promo hero correction */
.promo-hero-copy h2 strong{color:#f04a20;font-weight:850}
.promo-hero-visual{min-height:0}
.promo-hero-visual .promo-resource-actions-top{margin-top:18px;justify-content:center}
@media(max-width:900px){.promo-hero-visual .promo-resource-actions-top{justify-content:flex-start}}
/* R11 - price card anchored to the image, never over the resource buttons */
.promo-hero-visual .promo-price-card{top:375px;bottom:auto}
.promo-hero-visual .promo-resource-actions-top{margin-top:28px;position:relative;z-index:2}
@media(max-width:900px){.promo-hero-visual .promo-price-card{top:235px;bottom:auto}}
@media(max-width:620px){.promo-hero-visual .promo-price-card{top:175px;bottom:auto}}
