/* ===================================================================
   Master Dealer — Design System (Concept C: Scale & Performance)
   Font: Archivo (display) + Inter (body)
   Palette: #111 ink · #FF6A00 orange · #F5F5F5 surface · #DCDCDC line
=================================================================== */

:root {
  --bg:        #FFFFFF;
  --ink:       #111111;
  --ink-muted: #6B6B6B;
  --orange:    #FF6A00;
  --line:      #DCDCDC;
  --surface:   #F5F5F5;
  --font-display: 'Archivo', sans-serif;
  --font-body:    'Inter', sans-serif;
  --max-width: 1320px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* ===================================================================
   Eyebrow
=================================================================== */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 1px;
  background: var(--orange);
}
.eyebrow--light { color: rgba(255,255,255,.55); }
.eyebrow--light::before { background: rgba(255,255,255,.35); }

/* ===================================================================
   Buttons
=================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .07em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary  { background: var(--ink);    color: #fff; }
.btn--primary:hover  { background: #2a2a2a; }
.btn--outline  { border-color: var(--ink);  color: var(--ink); }
.btn--outline:hover  { background: var(--ink); color: #fff; }
.btn--orange   { background: var(--orange); color: #fff; }
.btn--orange:hover   { background: #e05800; }
.btn--ghost    { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover    { border-color: #fff; }
.btn--sm { padding:  8px 16px; font-size: 11px; }
.btn--lg { padding: 18px 36px; font-size: 13px; }

/* ===================================================================
   Header
=================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.header__logo img { height: 32px; }

.nav { display: flex; align-items: center; flex: 1; margin-left: 4px; }
.nav__item { position: relative; }
.nav__link {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .01em;
  color: var(--ink);
  padding: 10px 14px;
  display: block;
  transition: color .2s;
}
.nav__link--plain { display: block; }
.nav__link { display: flex; align-items: center; gap: 4px; }
.nav__chevron { flex-shrink: 0; transition: transform .2s; }
.nav__item.is-open .nav__chevron,
.nav__item:hover .nav__chevron { transform: rotate(180deg); }
.nav__item:hover .nav__link,
.nav__link:hover { color: var(--orange); }

.nav__dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 6px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s var(--ease), visibility .2s, transform .2s var(--ease);
  z-index: 200;
}
.nav__item:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: color .15s, background .15s;
}
.nav__dropdown a:hover { background: var(--surface); color: var(--orange); }

.header__cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  margin-left: auto;
  z-index: 101;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  display: block;
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================================
   Hero
=================================================================== */
.hero {
  padding: 72px 0 0;
  border-bottom: 1px solid var(--line);
}
.hero--home {
  height: calc(100vh - 64px);
  height: calc(100svh - 64px);
  padding: 64px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  background: url('../img/hero-1.webp') center / cover no-repeat;
  position: relative;
  overflow: hidden;
}
.hero--home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,.96) 35%, rgba(255,255,255,.75) 60%, rgba(255,255,255,.15) 100%);
  z-index: 0;
}
.hero--home .hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 8.5vw, 128px);
  line-height: .88;
  letter-spacing: -.04em;
  text-transform: uppercase;
  margin: 0;
  color: var(--ink);
}
.hero__title .hl {
  background: var(--orange);
  color: var(--ink);
  padding: 0 10px;
}
.hero__title .hl--offset {
  display: inline-block;
  margin-top: .08em;
}
.hero__sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-top: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.hero__lead {
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 500px;
  margin: 0;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}
.hero__photo {
  width: 100%;
  height: clamp(440px, 62vh, 720px);
  overflow: hidden;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

/* ===================================================================
   Stats row
=================================================================== */
.stats {
  border-bottom: 1px solid var(--line);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 44px 40px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 52px;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ink);
}
.stat__label {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ===================================================================
   Partners marquee
=================================================================== */
.partners {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.partners__label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 24px;
}
.partners__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners__track {
  display: flex;
  gap: 72px;
  width: max-content;
  animation: marquee 36s linear infinite;
  align-items: center;
}
.partner-logo {
  height: 26px;
  width: auto;
  display: block;
  flex-shrink: 0;
  filter: grayscale(1) opacity(0.5);
  transition: filter .25s;
}
.partner-logo:hover { filter: grayscale(0) opacity(1); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===================================================================
   Services
=================================================================== */
.services { border-bottom: 1px solid var(--line); }

.services__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 88px 0 64px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}
.services__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 46px);
  letter-spacing: -.03em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.0;
}
.services__lead {
  color: var(--ink-muted);
  font-size: 17px;
  margin: 0;
  line-height: 1.7;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.svc-card {
  padding: 36px 32px 36px 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.svc-card:nth-child(3n)    { border-right: none; }
.svc-card:nth-child(n + 4) { border-bottom: none; }
.svc-card__img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}
.svc-card__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--orange);
  display: block;
}
.svc-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin: 12px 0 10px;
  line-height: 1.1;
}
.svc-card p {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.65;
}
.svc-card__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===================================================================
   CUBE platform
=================================================================== */
.cube {
  background: var(--ink);
  color: #fff;
  padding: 96px 0 80px;
}
.cube__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cube__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 54px);
  text-transform: uppercase;
  letter-spacing: -.03em;
  margin: 0 0 24px;
  line-height: .95;
}
.cube__title .hl {
  background: var(--orange);
  color: var(--ink);
  padding: 0 10px;
}
.cube__lead {
  color: rgba(255,255,255,.6);
  font-size: 16px;
  max-width: 460px;
  margin: 0 0 36px;
  line-height: 1.7;
}
.cube__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.cube__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cube__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.cube__col {
  padding-right: 40px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.cube__col:last-child { border-right: none; padding-right: 0; }
.cube__col-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--orange);
  margin-bottom: 14px;
}
.cube__col h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin: 0 0 10px;
}
.cube__col p {
  color: rgba(255,255,255,.5);
  font-size: 14px;
  margin: 0;
  line-height: 1.65;
}

/* ===================================================================
   News
=================================================================== */
.news {
  background: var(--surface);
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.news__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}
.news__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 48px);
  text-transform: uppercase;
  letter-spacing: -.03em;
  margin: 0;
  line-height: .95;
}
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.news-card {
  background: var(--bg);
  display: block;
  transition: background .2s;
}
.news-card:hover { background: #fafafa; }
.news-card__img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.news-card:hover .news-card__img img { transform: scale(1.04); }
.news-card__body { padding: 24px 28px 32px; }
.news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.news-card__date {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.news-card__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--orange);
}
.news-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 0;
}

/* ===================================================================
   Final CTA
=================================================================== */
.final-cta {
  background: var(--ink);
  padding: 104px 0;
}
.final-cta__inner { text-align: center; }
.final-cta__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 7vw, 108px);
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 48px;
  line-height: .92;
}
.final-cta__title .hl {
  background: var(--orange);
  color: var(--ink);
  padding: 0 14px;
  display: inline-block;
  margin-top: .08em;
}
.final-cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===================================================================
   Footer
=================================================================== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.55);
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 72px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__logo { height: 28px; margin-bottom: 20px; }
.footer__brand p { font-size: 13px; line-height: 1.8; }
.footer__brand a:hover { color: var(--orange); }
.footer__col h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 20px;
}
.footer__col a { display: block; font-size: 14px; padding: 5px 0; transition: color .2s; }
.footer__col a:hover { color: var(--orange); }
.footer__cta { color: var(--orange) !important; font-weight: 700; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0 32px;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a:hover { color: #fff; }

/* ===================================================================
   Scroll reveal
=================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ===================================================================
   Responsive
=================================================================== */
@media (max-width: 1100px) {
  .cube__inner       { grid-template-columns: 1fr; }
  .cube__cols        { grid-template-columns: 1fr; }
  .cube__col         { border-right: none; padding-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 32px; }
  .cube__col:last-child { border-bottom: none; padding-bottom: 0; }
  .services__grid    { grid-template-columns: repeat(2, 1fr); }
  .svc-card:nth-child(3n)    { border-right: 1px solid var(--line); }
  .svc-card:nth-child(2n)    { border-right: none; }
  .svc-card:nth-child(n + 5) { border-bottom: none; }
  .svc-card:nth-child(n + 4) { border-bottom: 1px solid var(--line); }
  .news__grid        { grid-template-columns: 1fr; }
  .footer__top       { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .container { padding: 0 24px; }

  /* Header */
  .header__inner    { gap: 16px; padding-top: 14px; padding-bottom: 14px; }
  .header__cta      { display: none; }
  .nav-toggle       { display: flex; }

  /* Mobile nav */
  .nav {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-left: 0;
    padding: 90px 24px 40px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open      { transform: translateX(0); }
  .nav__item        { width: 100%; border-bottom: 1px solid var(--line); }
  .nav__link        { width: 100%; text-align: left; font-size: 18px; font-weight: 800; padding: 18px 0; }
  .nav__link--plain { width: 100%; }
  .nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
    padding: 0 0 14px;
    min-width: 0;
  }
  .nav__item:hover .nav__dropdown { transform: none; }
  .nav__item.is-open .nav__dropdown { display: block; }
  .nav__dropdown a  { padding: 10px 0; font-size: 15px; }

  /* Hero */
  .hero             { padding-top: 48px; }
  .hero--home       { height: auto; min-height: calc(100svh - 56px); padding-top: 48px; justify-content: flex-start; }
  .hero__inner      { padding: 0 24px; }
  .hero__sub        { grid-template-columns: 1fr; gap: 24px; }
  .hero__actions    { justify-content: flex-start; }
  .hero__photo      { height: 260px; }

  /* Stats */
  .stats__grid      { grid-template-columns: repeat(2, 1fr); }
  .stat             { border-bottom: 1px solid var(--line); padding: 32px 24px; }
  .stat:nth-child(even)     { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }

  /* Services */
  .services__intro  { grid-template-columns: 1fr; gap: 24px; padding: 64px 0 48px; }
  .services__grid   { grid-template-columns: 1fr; }
  .svc-card         { border-right: none !important; padding-right: 0; }
  .svc-card:nth-child(n + 4) { border-bottom: 1px solid var(--line) !important; }
  .svc-card:last-child       { border-bottom: none !important; }

  /* News */
  .news__header     { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* CTA */
  .final-cta        { padding: 72px 0; }
  .final-cta__actions { flex-direction: column; align-items: center; }

  /* Footer */
  .footer__top      { grid-template-columns: 1fr; }

}

/* ===================================================================
   Partner page
=================================================================== */
.nav__item.is-active > .nav__link,
.nav__link.is-active,
.nav__dropdown a.is-active {
  color: var(--orange);
}

.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}

.section--surface {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.section--form {
  border-top: 1px solid var(--line);
}

.partner-section__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -.03em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 64px;
  max-width: 600px;
}

.stats__grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Partner page hero centrato */
.hero--centered { text-align: center; padding: 96px 0 80px; border-bottom: 1px solid var(--line); }
.hero--centered .eyebrow { justify-content: center; }
.hero--centered .hero__title { margin: 0 auto; font-size: clamp(48px,6vw,96px); max-width: 900px; line-height: 1; }
.hero--centered .hero__lead { margin: 32px auto 0; max-width: 560px; font-size: 18px; color: var(--ink-muted); }
.hero--centered .hero__actions { justify-content: center; margin-top: 40px; }

@media (min-width: 861px) {
  .hero__title .hl--nowrap {
    white-space: nowrap;
    display: inline-block;
  }
}

/* Benefit grid */
.benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.benefit-card { padding: 40px 32px 40px 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefit-card:nth-child(3n) { border-right: none; }
.benefit-card:nth-child(n+4) { border-bottom: none; }
.benefit-card__num { font-family: var(--font-display); font-weight: 900; font-size: 12px; letter-spacing: .12em; color: var(--orange); display: block; }
.benefit-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: -.01em; margin: 14px 0 10px; }
.benefit-card p { font-size: 14px; color: var(--ink-muted); margin: 0; line-height: 1.65; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.step { padding: 40px 32px 40px 0; border-right: 1px solid var(--line); }
.step:last-child { border-right: none; }
.step__n { display: block; font-family: var(--font-display); font-weight: 900; font-size: 64px; color: var(--line); line-height: 1; margin-bottom: 16px; }
.step h3 { font-family: var(--font-display); font-weight: 800; font-size: 17px; text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 10px; }
.step p { font-size: 14px; color: var(--ink-muted); margin: 0; line-height: 1.65; }

/* Form */
.form-section__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.form-section__sticky { position: sticky; top: 120px; }
.form-section__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(28px,3.2vw,42px); text-transform: uppercase; letter-spacing: -.03em; margin: 0 0 20px; line-height: 1; }
.form-section__lead { font-size: 17px; color: var(--ink-muted); margin: 0 0 28px; }
.partner-form-shell { min-height: 560px; }
.form-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.form-checks li { font-size: 14px; color: var(--ink-muted); display: flex; gap: 10px; align-items: flex-start; }
.form-checks li::before { content: "✓"; color: var(--orange); font-weight: 700; font-size: 14px; flex-shrink: 0; }
.form-field { margin-bottom: 32px; }
.form-field label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.form-field input,
.form-field select,
.form-field textarea { width: 100%; border: none; border-bottom: 2px solid var(--line); padding: 14px 0; font-family: var(--font-body); font-size: 16px; background: transparent; outline: none; color: var(--ink); transition: border-color .2s, color .2s; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-bottom-color: var(--orange); }
.form-field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23111111' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; cursor: pointer; }
.form-field textarea { border: 2px solid var(--line); padding: 14px; resize: vertical; }
.form-field textarea:focus { border-color: var(--orange); }
.form-field.is-error label,
.form-privacy.is-error label { color: #E53E3E; }
.form-field.is-error input,
.form-field.is-error select { border-bottom-color: #E53E3E; }
.form-field.is-error textarea { border-color: #E53E3E; }
.form-privacy { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 32px; }
.form-privacy input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--orange); flex-shrink: 0; margin-top: 2px; cursor: pointer; }
.form-privacy.is-error input[type="checkbox"] { outline: 1px solid #E53E3E; outline-offset: 2px; }
.form-privacy label { font-size: 13px; color: var(--ink-muted); line-height: 1.5; cursor: pointer; }
.form-privacy a { color: var(--orange); text-decoration: underline; }
.form-submit { width: 100%; justify-content: center; }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 420px;
  border: 1px solid var(--line);
  padding: 40px;
  background: #fafafa;
}
.form-success__check {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 20px;
}
.form-success__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -.03em;
  text-transform: uppercase;
  line-height: .95;
  margin: 0 0 16px;
}
.form-success__text {
  font-size: 17px;
  color: var(--ink-muted);
  margin: 0 0 24px;
  max-width: 420px;
}
.form-success__link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.form-success__link:hover { color: var(--orange); }

/* Responsive partner page */
@media (max-width: 1024px) {
  .benefit-grid { grid-template-columns: repeat(2,1fr); }
  .benefit-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .benefit-card:nth-child(2n) { border-right: none; }
  .benefit-card:nth-child(n+4) { border-bottom: 1px solid var(--line); }
  .benefit-card:nth-last-child(-n+2) { border-bottom: none; }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .step { border-bottom: 1px solid var(--line); }
  .step:nth-child(2n) { border-right: none; }
  .step:nth-last-child(-n+2) { border-bottom: none; }
  .form-section__grid { grid-template-columns: 1fr; gap: 48px; }
  .form-section__sticky { position: static; }
}
@media (max-width: 860px) {
  .hero--centered { padding: 64px 0 56px; }
  .stats__grid--3 { grid-template-columns: 1fr; }
  .stats__grid--3 .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stats__grid--3 .stat:last-child { border-bottom: none; }
  .section { padding: 64px 0; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card { border-right: none !important; border-bottom: 1px solid var(--line) !important; padding-right: 0; }
  .benefit-card:last-child { border-bottom: none !important; }
  .steps-grid { grid-template-columns: 1fr; }
  .step { border-right: none; padding-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
  .partner-form-shell { min-height: 0; }
  .form-success { min-height: 0; padding: 32px 24px; }
}

/* Hero a 2 colonne (pagine interne) */
.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
.hero--split .hero__inner { padding-bottom: 64px; }
.hero--split .hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}
.hero--split .hero__title {
  font-size: clamp(40px, 5.5vw, 88px);
}
.hero--split .hero__lead {
  margin-top: 24px;
}
.hero--split .hero__actions {
  margin-top: 36px;
}
.hero--split .hero__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  overflow: hidden;
}
.hero--split .hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 860px) {
  .hero--split .hero__grid { grid-template-columns: 1fr; }
  .hero--split .hero__photo { height: 240px; }
}

.job-grid { display: flex; flex-direction: column; }
.job-card { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.job-card:first-child { border-top: 1px solid var(--line); }
.job-card__info { flex: 1; }
.job-card__role { font-family: var(--font-display); font-weight: 900; font-size: 22px; text-transform: uppercase; letter-spacing: -.02em; margin: 0 0 6px; }
.job-card__meta { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--orange); margin: 0 0 12px; font-weight: 600; }
.job-card__desc { font-size: 15px; color: var(--ink-muted); margin: 0; max-width: 600px; }
.btn--sm { padding: 10px 18px; font-size: 12px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

.final-cta__lead {
  font-size: 18px;
  color: rgba(255,255,255,.7);
  max-width: 680px;
  margin: 0 auto 32px;
}

@media (max-width: 860px) {
  .job-card { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
}

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; padding-top: 48px; }
.about-grid__text p { font-size: 17px; color: var(--ink-muted); line-height: 1.75; margin: 0 0 24px; }
.about-grid__text p:last-child { margin: 0; }
.about-grid__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.about-grid--reverse { direction: rtl; }
.about-grid--reverse > * { direction: ltr; }

.blog-featured { display: grid; grid-template-columns: 3fr 2fr; border: 1px solid var(--line); margin-bottom: 1px; }
.blog-featured__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.blog-featured__body { padding: 48px 40px; display: flex; flex-direction: column; justify-content: space-between; border-left: 1px solid var(--line); }
.blog-featured__cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); margin: 0 0 16px; }
.blog-featured__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; margin: 0 0 20px; color: var(--ink); }
.blog-featured__excerpt { font-size: 15px; color: var(--ink-muted); line-height: 1.65; margin: 0 0 32px; flex: 1; }
.blog-featured__link { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--orange); text-decoration: none; }
.blog-featured__link:hover { text-decoration: underline; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.blog-card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.blog-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.blog-card__body { padding: 28px 28px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card__cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); margin: 0 0 10px; }
.blog-card__title { font-family: var(--font-display); font-weight: 900; font-size: 17px; line-height: 1.2; letter-spacing: -.01em; text-transform: uppercase; margin: 0 0 12px; color: var(--ink); flex: 1; }
.blog-card__link { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--orange); text-decoration: none; margin-top: auto; padding-top: 16px; }
.blog-card__link:hover { text-decoration: underline; }

.ceo-social { display: flex; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.ceo-social a { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.ceo-social a:hover { color: var(--orange); border-color: var(--orange); }
.steps-grid--5 { grid-template-columns: repeat(5,1fr); }

.faq-list { border-top: 1px solid var(--line); margin-top: 48px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-display); font-weight: 900; font-size: clamp(16px, 1.4vw, 20px); text-transform: uppercase; letter-spacing: -.01em; color: var(--ink); }
.faq-item__trigger .faq-icon { flex-shrink: 0; width: 24px; height: 24px; position: relative; }
.faq-item__trigger .faq-icon::before, .faq-item__trigger .faq-icon::after { content: ''; position: absolute; background: var(--ink); transition: transform .25s var(--ease), opacity .25s; }
.faq-item__trigger .faq-icon::before { width: 24px; height: 2px; top: 11px; left: 0; }
.faq-item__trigger .faq-icon::after { width: 2px; height: 24px; top: 0; left: 11px; }
.faq-item.is-open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-item.is-open .faq-item__trigger { color: var(--orange); }
.faq-item.is-open .faq-icon::before { background: var(--orange); }
.faq-item__body { display: none; padding: 0 0 28px; max-width: 720px; font-size: 16px; color: var(--ink-muted); line-height: 1.75; }
.faq-item.is-open .faq-item__body { display: block; }

.contact-block { margin-bottom: 40px; }
.contact-block__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); margin: 0 0 8px; }
.contact-block__value { font-family: var(--font-display); font-weight: 900; font-size: 20px; letter-spacing: -.01em; margin: 0; color: var(--ink); }
.contact-block__value a { color: inherit; text-decoration: none; }
.contact-block__value a:hover { color: var(--orange); }
.contact-map { width: 100%; aspect-ratio: 4/3; border: 1px solid var(--line); overflow: hidden; margin-top: 40px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.svc-overview-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 48px; }
.svc-overview-card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.svc-overview-card__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.svc-overview-card__body { padding: 32px 28px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.svc-overview-card__title { font-family: var(--font-display); font-weight: 900; font-size: 20px; text-transform: uppercase; letter-spacing: -.01em; margin: 0; color: var(--ink); }
.svc-overview-card__text { font-size: 14px; color: var(--ink-muted); line-height: 1.65; margin: 0; flex: 1; }
.svc-overview-card__link { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--orange); text-decoration: none; margin-top: auto; display: inline-block; }
.svc-overview-card__link:hover { text-decoration: underline; }

.sede-gallery-top { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 1px; background: var(--line); margin-top: 48px; }
.sede-gallery-top__main { grid-row: 1 / 3; }
.sede-gallery-top img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sede-gallery-top__main img { aspect-ratio: 4/3; }
.sede-gallery-top__side img { aspect-ratio: 16/9; }

.sede-features { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); margin-top: 48px; }
.sede-feature { padding: 40px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sede-feature:nth-child(3n) { border-right: none; }
.sede-feature__num { font-family: var(--font-display); font-size: 40px; font-weight: 900; color: var(--orange); display: block; margin-bottom: 16px; }
.sede-feature__title { font-family: var(--font-display); font-size: 16px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 12px; }
.sede-feature__text { font-size: 14px; color: var(--ink-muted); line-height: 1.65; margin: 0; }

.sede-gallery-bottom { display: grid; grid-template-columns: repeat(5,1fr); gap: 1px; background: var(--line); margin-top: 1px; }
.sede-gallery-bottom img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }

/* ===================================================================
   Prose — editorial / WP page content (the_content)
=================================================================== */
.prose { max-width: 860px; font-size: 16px; line-height: 1.8; color: var(--ink-muted); }
.prose h1, .prose h2 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; color: var(--ink); margin: 0 0 24px; }
.prose h1 { font-size: clamp(28px,3vw,42px); }
.prose h2 { font-size: clamp(22px,2.5vw,32px); margin-top: 56px; }
.prose h3 { font-family: var(--font-display); font-size: 20px; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; color: var(--ink); margin: 40px 0 16px; }
.prose h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin: 24px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose a { color: var(--orange); font-weight: 600; text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 48px 0; }
