/* Idrokinetik Franchising � prototipo homepage */

:root {
  --ink: #050d16;
  --navy: #0c1e33;
  --navy-mid: #152a45;
  --surface: #f8f9fa;
  --surface-warm: #ffffff;
  --white: #ffffff;
  --accent: #d62828;
  --accent-hover: #b82020;
  --accent-soft: rgba(214, 40, 40, 0.12);
  --teal: #0e7490;
  --muted: #5a6b7d;
  --line: rgba(12, 30, 51, 0.12);
  --radius: 3px;
  --radius-lg: 3px;
  --shadow: 0 24px 60px rgba(5, 13, 22, 0.18);
  --font-display: "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;
  --max: 1180px;
  --gutter: 1.25rem;
}

/* Stessa colonna su header, hero e contenuti (padding dentro al max-width) */
.site-container,
.header-inner,
.hero__content,
.page-hero__inner,
.section-inner,
.footer-grid,
.footer-bar,
.page-prefooter__inner,
.candidati-not__inner {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--type-body, 1rem);
  line-height: 1.625;
  color: var(--navy);
  background: var(--surface-warm);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
}

a:hover {
  color: var(--accent);
}

/* Link sottolineati nel contenuto, non in header/nav/button */
:where(main, .page-prefooter, .footer) a:not(.btn):not(.header-cta) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Top ribbon */
.ribbon {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1.25rem;
  text-align: center;
}

.ribbon strong {
  color: #fff;
  font-weight: 700;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 60px;
  width: auto;
  max-width: min(317px, 62vw);
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  display: block;
}

.nav--desktop,
.header-cta--desktop {
  display: none;
}

.nav--desktop {
  gap: 1.5rem;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: auto;
}

.site-header .nav--desktop a,
.site-header .nav--desktop .menu a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}

.site-header .nav--desktop a:hover,
.site-header .nav--desktop .menu a:hover {
  color: var(--accent);
}

.site-header .nav--desktop .menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header .nav--desktop .menu li {
  margin: 0;
  padding: 0;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: auto;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 52;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  padding: 5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease, visibility 0.3s ease;
  z-index: 51;
  box-shadow: -8px 0 40px rgba(5, 13, 22, 0.12);
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
}

.nav--drawer {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav--drawer a,
.nav-drawer .nav--drawer .menu a {
  color: var(--navy);
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.nav--drawer a:hover,
.nav-drawer .nav--drawer .menu a:hover {
  color: var(--accent);
}

.nav-drawer .nav--drawer .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-drawer .nav--drawer .menu li {
  margin: 0;
  padding: 0;
}

.header-cta--drawer {
  width: 100%;
  margin-top: auto;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 13, 22, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 49;
  border: none;
  padding: 0;
  cursor: pointer;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .nav-drawer {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

body.nav-open .nav-overlay {
  opacity: 1;
  visibility: visible;
}

.site-header.is-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav-toggle,
  .nav-drawer,
  .nav-overlay {
    display: none;
  }

  .nav--desktop {
    display: flex;
  }

  .header-cta--desktop {
    display: inline-flex;
    flex-shrink: 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(214, 40, 40, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-dark:hover {
  background: var(--navy-mid);
  color: #fff;
}

.btn-ghost-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--line);
}

.btn-ghost-dark:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* Hero (solo homepage) */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

/* Homepage: minimo 70vh ma l’altezza segue titolo, testo e CTA */
.hero--home {
  min-height: 70vh;
  height: auto;
  max-height: none;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #050d16;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-color: rgba(5, 13, 22, 0.21);
  background-image:
    linear-gradient(
      180deg,
      rgba(5, 13, 22, 0.12) 0%,
      rgba(5, 13, 22, 0.22) 42%,
      rgba(5, 13, 22, 0.39) 100%
    ),
    radial-gradient(ellipse 90% 55% at 85% 15%, rgba(214, 40, 40, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 5% 90%, rgba(14, 116, 144, 0.13) 0%, transparent 50%),
    radial-gradient(ellipse 50% 35% at 50% 50%, rgba(21, 42, 69, 0.28) 0%, transparent 65%),
    linear-gradient(168deg, rgba(3, 8, 16, 0.36) 0%, rgba(12, 30, 51, 0.39) 38%, rgba(10, 34, 56, 0.4) 72%, rgba(6, 16, 24, 0.43) 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  padding-top: 4rem;
  padding-bottom: 3.5rem;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.75rem;
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: min(40ch, 100%);
}

.hero__h1-sub {
  display: block;
  margin-top: 0.65rem;
  font-weight: 600;
  font-size: clamp(1.05rem, 2.35vw, 1.35rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-style: normal;
  color: rgba(255, 255, 255, 0.94);
  max-width: min(36ch, 100%);
}

.hero__h1-sub em {
  font-style: normal;
  font-weight: 800;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(214, 40, 40, 0.65);
  text-underline-offset: 0.15em;
}

.hero__lead {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.75rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 2rem;
}

.hero__note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 42ch;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }

  .hero__bg {
    background-color: #050d16;
    background-image:
      radial-gradient(ellipse 90% 55% at 85% 15%, rgba(214, 40, 40, 0.18) 0%, transparent 55%),
      radial-gradient(ellipse 70% 50% at 5% 90%, rgba(14, 116, 144, 0.22) 0%, transparent 50%),
      radial-gradient(ellipse 50% 35% at 50% 50%, rgba(21, 42, 69, 0.5) 0%, transparent 65%),
      linear-gradient(168deg, #030810 0%, #0c1e33 38%, #0a2238 72%, #061018 100%);
  }
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section--tight {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.section__title {
  margin: 0 0 0.5rem;
}

.section__subtitle {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 2rem;
}

.title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section__subtitle--wide {
  max-width: 68ch;
}

.section__title-em {
  display: block;
  margin-top: 0.35em;
  color: var(--teal);
  font-weight: 700;
}

/* Perché l'acqua */
.water-why {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.water-why-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .water-why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.water-why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.65rem;
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.water-why-card:hover {
  border-color: rgba(14, 116, 144, 0.4);
  box-shadow: 0 12px 40px rgba(5, 13, 22, 0.08);
  transform: translateY(-3px);
}

.water-why-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.water-why-card__icon--eco {
  background: rgba(14, 116, 144, 0.12);
  color: var(--teal);
}

.water-why-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.6rem;
  color: var(--navy);
}

.water-why-card p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Elite band */
.elite {
  background: var(--ink);
  color: #e8edf3;
  position: relative;
  overflow: hidden;
}

.elite::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 50%;
  height: 180%;
  background: radial-gradient(circle, rgba(214, 40, 40, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.elite .section-inner {
  position: relative;
}

.elite-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .elite-layout {
    grid-template-columns: minmax(260px, 40%) 1fr;
    gap: 1.75rem 2.25rem;
    align-items: center;
  }
}

.elite__copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.elite h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  margin: 0 0 1rem;
  color: #fff;
}

.elite p {
  margin: 0;
  max-width: 48ch;
  color: rgba(232, 237, 243, 0.88);
  font-size: 1rem;
  line-height: 1.6;
}

.elite__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Stats */
.stats {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  text-align: left;
  padding: 1rem 0;
  border-left: 3px solid var(--teal);
  padding-left: 1rem;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat__label {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.65vw, 1.0625rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  line-height: 1.2;
  margin-top: 0.45rem;
  margin-bottom: 0.35rem;
}

.stat__legal {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.35rem;
  opacity: 0.9;
}

/* Dual pillar */
.pillars {
  background: #ffffff;
}

.pillar-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .pillar-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pillar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(5, 13, 22, 0.06);
  min-width: 0;
  overflow: hidden;
}

.pillar--accent {
  border-color: rgba(14, 116, 144, 0.35);
  background: linear-gradient(145deg, #fff 0%, #f3fafb 100%);
}

.pillar__head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.pillar__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.pillar__icon--eco {
  background: rgba(14, 116, 144, 0.12);
  color: var(--teal);
}

.pillar__head h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  line-height: 1.2;
}

.pillar__head h3 span {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.pillar:not(.pillar--accent) .pillar__head h3 span {
  color: var(--teal);
}

.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

/* Pillar stats: tre colonne in riga */
.pillar__stats {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.pillar__stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 0.65rem;
  align-items: start;
}

.pillar__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  min-width: 0;
}

.pillar__stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.pillar__stat-mark {
  font-size: 0.4em;
  font-weight: 700;
  vertical-align: super;
  line-height: 0;
  margin-left: 0.05em;
  color: var(--muted);
  opacity: 0.8;
}

.pillar__stat-label {
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1.25vw, 0.875rem);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #000;
  line-height: 1.25;
}

.pillar__stats-footnote {
  margin: 0.85rem 0 0;
  width: 100%;
  font-size: 0.52rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
  opacity: 0.92;
}

.pillar__stats-footnote sup {
  font-style: normal;
  font-size: 0.8em;
}

/* Scenario cards */
.scenarios {
  background: var(--white);
}

.scenario-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .scenario-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.scenario-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.scenario-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.scenario-card__n {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(12, 30, 51, 0.12);
  position: absolute;
  top: 1rem;
  right: 1.25rem;
}

.scenario-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  padding-right: 3rem;
  color: var(--navy);
}

.scenario-card p {
  margin: 0 0 1.25rem;
  flex: 1;
  font-size: 0.95rem;
  color: var(--muted);
}

.scenario-card .btn {
  align-self: flex-start;
  font-size: 0.75rem;
  padding: 0.65rem 1.1rem;
}

/* Method */
.method {
  background: #ffffff;
}

.method-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .method-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.method-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(5, 13, 22, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.method-card__visual {
  overflow: hidden;
}

/* Blocchi grigi segnaposto (stesse dimensioni dell�ex 16:9 foto) */
.media-placeholder {
  background: linear-gradient(165deg, #dde2e9 0%, #c9d0da 48%, #b9c2cf 100%);
  border: 1px solid rgba(12, 30, 51, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.media-placeholder--method {
  width: 100%;
  overflow: hidden;
  /* Stesso rapporto delle foto (1750×1237): niente crop verticale */
  aspect-ratio: 1750 / 1237;
}

.method-card__visual img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.pillar__media {
  margin: 1.35rem 0 0;
  width: 100%;
  max-width: 100%;
}

.media-placeholder--pillar {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius);
  min-height: 0;
  overflow: hidden;
}

.pillar__media img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius);
}

.pillar__media--clinic img {
  object-position: center 40%;
}

.media-placeholder--muted {
  filter: brightness(0.97);
}

.media-placeholder--academy {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: min(420px, 55vh);
  min-height: 220px;
  border-radius: var(--radius-lg);
  margin: 0;
  overflow: hidden;
}

.academy-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-lg);
}

/* Sezione elite: foto a destra (senza cornice placeholder) */
.elite__media {
  margin: 0;
  position: relative;
  z-index: 1;
}

.media-placeholder--elite {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 240px;
  position: relative;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

@media (min-width: 900px) {
  .elite__media {
    width: calc(85% + var(--gutter) * 0.85);
    margin-left: auto;
    margin-right: calc(-1 * var(--gutter) * 0.85);
    justify-self: end;
  }

  .media-placeholder--elite {
    aspect-ratio: auto;
    min-height: min(374px, 44vh);
  }
}

.elite__media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: right center;
  display: block;
  border-radius: 0;
  /* Ritaglia eventuale margine bianco del PNG */
  transform: scale(1.09);
  transform-origin: right center;
}

.method-card__body {
  padding: 1.5rem 1.4rem 1.65rem;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.method-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin: 0 0 0.55rem;
  color: var(--navy);
}

.method-card__body p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.58;
  color: var(--muted);
}

/* Models */
.models {
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.model-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 1000px) {
  .model-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.model-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.model-card--featured {
  background: var(--navy);
  color: #e8edf3;
  border-color: var(--navy);
  transform: scale(1.02);
  box-shadow: var(--shadow);
  z-index: 1;
}

.model-card__bar {
  height: 4px;
  background: var(--accent);
}

.model-card--featured .model-card__bar {
  background: var(--teal);
}

.model-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.model-card__tier {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 0.4rem;
}

.model-card--featured .model-card__tier {
  color: rgba(255, 255, 255, 0.95);
}

.model-card__badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.model-card--featured .model-card__badge {
  color: #7dd3fc;
}

.model-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.model-card--featured h3 {
  color: #fff;
}

.model-card p {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  flex: 1;
  opacity: 0.88;
}

.model-card--featured p {
  color: rgba(232, 237, 243, 0.85);
}

.model-card .btn {
  width: 100%;
  font-size: 0.72rem;
}

/* Academy teaser */
.academy-teaser {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.academy-teaser::after {
  content: "ACADEMY";
  position: absolute;
  right: -2rem;
  bottom: -1rem;
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  opacity: 0.06;
  pointer-events: none;
}

.academy-layout {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .academy-layout {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 2.75rem;
  }
}

.academy-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.academy-copy__btn {
  margin-top: 1.35rem;
}

.academy-teaser h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  margin: 0 0 0.65rem;
}

.academy-teaser .academy-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  max-width: 46ch;
  line-height: 1.62;
  font-size: 1.02rem;
}

.academy-visual {
  margin: 0;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  position: relative;
}

/* Steps */
.steps {
  background: var(--white);
}

.steps-list {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

@media (min-width: 700px) {
  .steps-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  position: relative;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.step strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.step span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Lead form */
.lead {
  position: relative;
  color: #fff;
  padding: 4rem 0;
}

.lead__bg {
  position: absolute;
  inset: 0;
  background-color: #050d16;
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(214, 40, 40, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 95% 85%, rgba(14, 116, 144, 0.2) 0%, transparent 50%),
    linear-gradient(145deg, #040a12 0%, #0f2847 45%, #0c1e33 100%);
}

.lead .section-inner {
  position: relative;
}

.lead-card {
  max-width: min(680px, 100%);
  margin: 0 auto;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.25rem) clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}

.lead-card__eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.lead-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.lead-card__intro {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  line-height: 1.55;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem 1rem;
}

@media (min-width: 540px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-optional {
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.72em;
  opacity: 0.85;
}

label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.25rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fafafa;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(14, 116, 144, 0.45);
  outline-offset: 0;
}

textarea {
  min-height: 88px;
  resize: vertical;
}

.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: var(--type-body, 1rem);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.625;
  color: var(--navy);
  margin-bottom: 0;
  cursor: pointer;
}

.check span {
  font: inherit;
  color: inherit;
  text-transform: none;
  letter-spacing: normal;
}

.check a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.check a:hover {
  color: var(--green);
}

.check input {
  width: auto;
  margin-top: 0.35rem;
  flex-shrink: 0;
  cursor: pointer;
}

.lead-card .btn-primary {
  width: 100%;
  margin-top: 0.25rem;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* Footer — 4 colonne (stile Idrokinetik) */
.footer {
  font-family: var(--font-body);
  background: var(--navy);
  color: rgba(232, 237, 243, 0.82);
  padding: 3rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
}

.footer a {
  color: rgba(232, 237, 243, 0.92);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 2.25rem 2rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.35fr 1fr 0.85fr 1.1fr;
    gap: 2rem;
  }
}

.footer-col--brand {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .footer-col--brand {
    grid-column: auto;
  }
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 1.15rem;
}

.footer .logo {
  height: 52px;
  max-width: min(280px, 100%);
  opacity: 1;
}

.footer-company {
  font-style: normal;
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(232, 237, 243, 0.78);
}

.footer-company strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.footer-company a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-policy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  font-size: 0.8125rem;
}

.footer-policy a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
  color: rgba(232, 237, 243, 0.75);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1rem;
}

.footer-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.footer-contact:last-child {
  margin-bottom: 0;
}

.footer-contact__icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-top: 0.1rem;
}

.footer-contact strong {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.footer-contact a {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 0.45rem;
}

.footer-nav li:last-child {
  margin-bottom: 0;
}

.footer-nav a {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(232, 237, 243, 0.88);
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-about {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(232, 237, 243, 0.78);
}

.footer-about--note {
  margin-bottom: 0;
  font-size: 0.78rem;
  color: rgba(232, 237, 243, 0.58);
}

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
}

.footer-bar__copy {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(232, 237, 243, 0.5);
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bar__copy {
    text-align: left;
  }
}
