/* ===== Paint4You — foglio di stile (colori presi dal logo) ===== */
:root {
  --blue-dark: #0d3fa6;
  --blue: #1e7fe0;
  --red: #e3161b;
  --red-dark: #b80f13;
  --orange: #f26a1b;
  --yellow: #fbb317;
  --brand-gradient: linear-gradient(90deg, var(--blue-dark), var(--blue) 22%, var(--red) 55%, var(--orange) 78%, var(--yellow));
  --ink: #16181d;
  --ink-2: #1c1f26;
  --text: #2a2e37;
  --muted: #646b78;
  --line: #e6e8ec;
  --paper: #ffffff;
  --bg: #f5f6f8;
  --white: #ffffff;
  --radius: 14px;
  --font-display: "Montserrat", "Arial Black", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .9rem;
  padding-bottom: .5rem;
  position: relative;
}
.eyebrow::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 48px; height: 3px; border-radius: 3px;
  background: var(--brand-gradient);
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: .08em; /* evita il taglio del corsivo */
}

/* ===== Bottoni ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 1.5rem;
  border: 2px solid var(--red);
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font: 600 1rem var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.btn--small { padding: .55rem 1.1rem; font-size: .92rem; }
.btn--ghost-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost-dark:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header::after { /* pennellata di colore sotto la testata */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 3px; background: var(--brand-gradient);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 46px; width: auto; mix-blend-mode: multiply; }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
}
.nav a:not(.btn):hover { color: var(--red); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  background: var(--paper);
  padding: clamp(50px, 8vw, 100px) 0 clamp(60px, 9vw, 110px);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.hero__lead strong { color: var(--ink); }
.hero__lead { max-width: 540px; font-size: 1.12rem; margin: 0 0 2rem; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__logo img { width: 100%; max-width: 460px; margin-left: auto; mix-blend-mode: multiply; }

.swatches { display: flex; gap: .6rem; list-style: none; padding: 0; margin: 2.6rem 0 0; }
.swatches li {
  width: 36px; height: 36px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.6), transparent 40%), var(--c);
  box-shadow: 0 4px 12px rgba(22,24,29,.18);
}

/* ===== Sezioni ===== */
.section { padding: clamp(70px, 10vw, 110px) 0; }
.section--dark { background: var(--ink-2); color: rgba(255,255,255,.78); }
.section--dark h2 { color: var(--white); }
.section--dark .eyebrow { color: rgba(255,255,255,.6); }

/* ===== Card servizi ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform .25s, box-shadow .25s;
}
.card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--brand-gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22,24,29,.1); }
.card:hover::before { transform: scaleX(1); }
.card p { margin: 0; color: var(--muted); }
.card__link { color: var(--ink); font-weight: 600; text-decoration-color: var(--red); text-underline-offset: 3px; white-space: nowrap; }
.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  margin-bottom: 1.2rem;
  background: var(--tint, rgba(227,22,27,.1));
}
.card__icon svg {
  width: 26px; height: 26px;
  fill: none; stroke: var(--ic, var(--red)); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
/* ogni card prende un colore del logo */
.card:nth-child(6n+1) { --ic: var(--blue-dark); --tint: rgba(13,63,166,.1); }
.card:nth-child(6n+2) { --ic: var(--blue);      --tint: rgba(30,127,224,.12); }
.card:nth-child(6n+3) { --ic: var(--red);       --tint: rgba(227,22,27,.1); }
.card:nth-child(6n+4) { --ic: var(--orange);    --tint: rgba(242,106,27,.12); }
.card:nth-child(6n+5) { --ic: #d9930a;          --tint: rgba(251,179,23,.16); }
.card:nth-child(6n+6) { --ic: var(--ink);       --tint: rgba(22,24,29,.07); }

/* ===== Chi siamo ===== */
.about { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__text p { max-width: 560px; }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.values li {
  position: relative;
  padding: 1.2rem 1.4rem 1.2rem 1.7rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.values li::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--c, var(--red));
}
.values li:nth-child(1) { --c: var(--blue); }
.values li:nth-child(2) { --c: var(--red); }
.values li:nth-child(3) { --c: var(--orange); }
.values li:nth-child(4) { --c: var(--yellow); }
.values strong { display: block; color: var(--white); font-size: 1.05rem; }
.values span { font-size: .95rem; }

/* ===== Contatti ===== */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.contact__list .label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-top: .15rem; }
.contact__list a { color: var(--ink); font-weight: 600; text-decoration-color: var(--red); text-underline-offset: 3px; }

.form {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  padding-top: calc(clamp(1.4rem, 4vw, 2.2rem) + 6px);
  box-shadow: 0 20px 50px rgba(22,24,29,.06);
}
.form::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: var(--brand-gradient);
}
.form__row { margin-bottom: 1rem; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea {
  display: block; width: 100%;
  margin-top: .4rem;
  padding: .8rem .9rem;
  font: 400 1rem var(--font-body);
  color: var(--text);
  background: var(--bg);
  border: 1px solid #d9dde4;
  border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,127,224,.18); background: var(--white);
}
.form__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.form__note { font-size: .82rem; color: var(--muted); margin: 1rem 0 0; }

/* ===== Footer ===== */
.footer {
  position: relative;
  background: var(--ink); color: rgba(255,255,255,.55);
  padding: 2.2rem 0; font-size: .88rem;
}
.footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--brand-gradient);
}
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer p { margin: 0; line-height: 1.7; }
.footer a { color: rgba(255,255,255,.75); }
.wordmark {
  font: italic 900 1.7rem/1 var(--font-display);
  letter-spacing: -.03em;
  color: var(--white);
  text-decoration: none;
}
.wordmark span { color: var(--red); }

/* ===== Fascia Lechler ===== */
.brand-band { background: var(--ink); color: rgba(255,255,255,.75); position: relative; }
.brand-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brand-gradient); }
.brand-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 1.4rem; padding: 1.4rem 20px; text-align: center; }
.brand-band__label { font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.brand-band__name { font: 800 1.9rem/1 var(--font-display); letter-spacing: .08em; color: var(--white); }
.brand-band__text { font-size: .95rem; }

/* ===== Pulsante WhatsApp ===== */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.wa-float svg path:last-child { fill: #fff; stroke: none; }

.brand-band__link { color: var(--white); font-weight: 600; font-size: .95rem; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 1px; }
.brand-band__link:hover { color: #ffb3a8; }
.nav a[aria-current="page"] { color: var(--red); }

/* ===== Pagina prodotti ===== */
.page-hero { background: var(--paper); padding: clamp(50px, 8vw, 90px) 0 clamp(40px, 6vw, 70px); }
.page-hero h1 { max-width: 760px; }

.lechler { background: var(--ink-2); color: rgba(255,255,255,.78); padding: clamp(60px, 9vw, 100px) 0; position: relative; }
.lechler::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--brand-gradient); }
.lechler__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.lechler__badge {
  display: inline-block; padding: .4rem .9rem; border-radius: 999px;
  background: rgba(227,22,27,.15); color: #ff9d94;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.lechler__name {
  font: 800 clamp(3rem, 8vw, 5.2rem)/1 var(--font-display); font-style: normal;
  letter-spacing: .06em; color: var(--white); margin: 1.2rem 0 .3rem;
}
.lechler__claim { margin: 0 0 1.4rem; font-weight: 600; color: rgba(255,255,255,.55); letter-spacing: .04em; }
.lechler__text strong { color: var(--white); }
.lechler__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.45); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.lechler__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.lechler__list li {
  padding: 1rem 1.2rem; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.lechler__list strong { display: block; color: var(--white); }
.lechler__list span { font-size: .92rem; }

.brand-group { margin-top: 2.6rem; }
.brand-group h3 {
  font-size: 1rem; font-style: normal; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line);
}
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.brand-tile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  min-height: 140px; padding: 1.4rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem;
  text-align: center; transition: transform .25s, box-shadow .25s;
}
.brand-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(22,24,29,.08); }
.brand-tile img { max-height: 62px; max-width: 170px; width: auto; object-fit: contain; }
.brand-tile span { font-size: .85rem; color: var(--muted); line-height: 1.4; }

.cta-band { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(50px, 7vw, 80px) 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { margin-bottom: .3rem; }
.cta-band p { margin: 0; color: var(--muted); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-band .btn--ghost { color: var(--ink); border-color: var(--ink); }
.cta-band .btn--ghost:hover { background: var(--ink); color: var(--white); }

/* ===== Pagina chiavi in mano ===== */
.plan-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.plan { margin: 0; }
.plan svg { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(22,24,29,.12)); }
.plan figcaption { margin-top: .8rem; font-size: .85rem; color: var(--muted); text-align: center; }
.plan__label text { font: 600 17px var(--font-body); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.plan__small { font: 500 14px var(--font-body); fill: var(--muted); }
.plan__step text { font: 700 16px var(--font-body); fill: #fff; text-anchor: middle; }

.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: none; }
.step {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.3rem; overflow: hidden;
}
.step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); }
.step:nth-child(1) { --c: var(--blue-dark); --ic: var(--blue-dark); --tint: rgba(13,63,166,.1); }
.step:nth-child(2) { --c: var(--blue);      --ic: var(--blue);      --tint: rgba(30,127,224,.12); }
.step:nth-child(3) { --c: var(--red);       --ic: var(--red);       --tint: rgba(227,22,27,.1); }
.step:nth-child(4) { --c: var(--orange);    --ic: var(--orange);    --tint: rgba(242,106,27,.12); }
.step:nth-child(5) { --c: var(--yellow);    --ic: #d9930a;          --tint: rgba(251,179,23,.16); }
.step__num { position: absolute; top: 1rem; right: 1.1rem; font: italic 900 1.6rem/1 var(--font-display); color: #e4e7ec; }
.step h3 { font-size: 1.08rem; }
.step p { margin: 0; color: var(--muted); font-size: .93rem; }

.more-link { margin: 2rem 0 0; }
.more-link a { font-weight: 600; color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 4px; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .plan-hero { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about, .contact, .lechler__grid { grid-template-columns: 1fr; }
}
/* menu a tendina sotto i 1000px (5 voci + pulsante) */
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(22,24,29,.08);
    padding: .5rem 20px 1.2rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; }
}

@media (max-width: 760px) {
  .header__inner { height: 68px; }
  .logo img { height: 40px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__logo { display: none; } /* su cellulare il logo è già nella testata */
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__row--2 { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: .2rem; }
}

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


/* =========================================================
   TEMI DI PAGINA: ogni pagina ha un colore del logo,
   con le sue sfumature disposte in anelli concentrici
   ========================================================= */
.theme-red {
  --t1:#fde3e1; --t2:#f9b4ad; --t3:#f3837a; --t4:#eb5246; --t5:#e3161b; --t6:#c51218; --t7:#a10e14;
  --accent:#ffd35c;
}
.theme-blue {
  --t1:#e3edfb; --t2:#bcd6f7; --t3:#8cb9f0; --t4:#5598e8; --t5:#2577dc; --t6:#1859c0; --t7:#0d3fa6;
  --accent:#fbb317;
}
.theme-orange {
  --t1:#fff0e3; --t2:#ffd6b5; --t3:#fdb584; --t4:#f9914f; --t5:#f26a1b; --t6:#d95a10; --t7:#b8480c;
  --accent:#ffe29a;
}

.hero-themed {
  --ring: 46px;
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--t7);
  color: rgba(255,255,255,.9);
}
.hero-themed h1 { color: #fff; }
.hero-themed .gradient-text { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--accent); }
.hero-themed .eyebrow { color: rgba(255,255,255,.85); }
.hero-themed .eyebrow::after { background: var(--accent); }
.hero-themed .hero__lead { color: rgba(255,255,255,.9); }
.hero-themed .hero__lead strong { color: #fff; }
.hero-themed .btn { background: #fff; border-color: #fff; color: var(--t7); }
.hero-themed .btn:hover { background: var(--t1); border-color: var(--t1); }
.hero-themed .btn--ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.hero-themed .btn--ghost-dark:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.hero-themed .swatches li { box-shadow: 0 0 0 2px rgba(255,255,255,.85), 0 6px 14px rgba(0,0,0,.25); }

/* il cerchio con il logo e gli anelli di colore */
.hero-themed .hero__grid { position: relative; }
.hero-themed .hero__logo {
  position: relative; z-index: -1;
  width: clamp(240px, 27vw, 340px); aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  overflow: hidden; /* taglia gli angoli bianchi dell'immagine */
  box-shadow:
    0 0 0 calc(var(--ring) * 1) var(--t1),
    0 0 0 calc(var(--ring) * 2) var(--t2),
    0 0 0 calc(var(--ring) * 3) var(--t3),
    0 0 0 calc(var(--ring) * 4) var(--t4),
    0 0 0 calc(var(--ring) * 5) var(--t5),
    0 0 0 calc(var(--ring) * 6) var(--t6);
}
.hero-themed .hero__logo img { width: 84%; max-width: none; margin: 0; mix-blend-mode: normal; }
.page-hero.hero-themed { padding: clamp(70px, 10vw, 120px) 0; }

/* pagina chiavi in mano: gli anelli stanno dietro alla pianta */
.hero-themed .plan { position: relative; }
.hero-themed .plan::before {
  content: ""; position: absolute; z-index: -1;
  left: 50%; top: 46%; width: 220px; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--t1);
  box-shadow:
    0 0 0 calc(var(--ring) * 1) var(--t2),
    0 0 0 calc(var(--ring) * 2) var(--t3),
    0 0 0 calc(var(--ring) * 3) var(--t4),
    0 0 0 calc(var(--ring) * 4) var(--t5),
    0 0 0 calc(var(--ring) * 5) var(--t6);
}
.hero-themed .plan figcaption { display: table; margin: 1rem auto 0; padding: .35rem .9rem; border-radius: 999px; background: rgba(0,0,0,.35); color: #fff; }

/* fascia finale nel colore della pagina */
.cta-themed { background: var(--t7); border-top: 0; color: rgba(255,255,255,.88); }
.cta-themed h2 { color: #fff; }
.cta-themed p { color: rgba(255,255,255,.85); }
.cta-themed .btn { background: #fff; border-color: #fff; color: var(--t7); }
.cta-themed .btn:hover { background: var(--t1); border-color: var(--t1); }
.cta-themed .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.cta-themed .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

@media (max-width: 960px) {
  .hero-themed { --ring: 30px; }
  .hero-themed .hero__grid { grid-template-columns: 1fr; }
  .hero-themed .hero__logo { display: grid; order: -1; width: 190px; margin: calc(var(--ring) * 6 - 40px) auto calc(var(--ring) * 6 + 10px); }
  .hero-themed .plan { margin-top: 3rem; }
}
@media (max-width: 760px) {
  .hero-themed { --ring: 16px; }
  .hero-themed .hero__logo { width: 170px; }
  .hero-themed .plan::before { width: 140px; }
}

/* ===== Tema giallo (pagina Partner): testo scuro per il contrasto ===== */
.theme-yellow {
  --t1:#fff8e1; --t2:#ffefb8; --t3:#ffe38a; --t4:#ffd75c; --t5:#ffca2e; --t6:#fbb317; --t7:#f5a300;
  --accent:#a80d12;
}
.theme-yellow .hero-themed,
.theme-yellow .cta-themed { color: var(--ink); }
.theme-yellow .hero-themed h1,
.theme-yellow .cta-themed h2 { color: var(--ink); }
.theme-yellow .hero-themed .eyebrow,
.theme-yellow .hero-themed .hero__lead,
.theme-yellow .cta-themed p { color: rgba(22,24,29,.82); }
.theme-yellow .hero-themed .hero__lead strong { color: var(--ink); }
.theme-yellow .hero-themed .btn,
.theme-yellow .cta-themed .btn { background: var(--ink); border-color: var(--ink); color: #fff; }
.theme-yellow .hero-themed .btn:hover,
.theme-yellow .cta-themed .btn:hover { background: #000; border-color: #000; }
.theme-yellow .hero-themed .btn--ghost-dark,
.theme-yellow .cta-themed .btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.theme-yellow .hero-themed .btn--ghost-dark:hover,
.theme-yellow .cta-themed .btn--ghost:hover { background: rgba(22,24,29,.08); color: var(--ink); }

/* ===== Schede partner: ognuna con i colori del proprio marchio ===== */
.partners { display: grid; gap: 1.6rem; margin-top: 2.5rem; }
.partner {
  --p: #145ea6; --p-dark: #072a59; --p-soft: #eaf2fb;
  display: grid; grid-template-columns: 320px 1fr;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: 0 14px 36px rgba(22,24,29,.06);
}
.partner--spb        { --p: #145ea6; --p-dark: #072a59; --p-soft: #eaf2fb; --p-accent: #f28e1e; }
.partner--g4rent     { --p: #ff5a00; --p-dark: #30333e; --p-soft: #fff1e8; --p-accent: #ff5a00; }
.partner--meccanocar { --p: #1e8f41; --p-dark: #455a64; --p-soft: #e9f5ed; --p-accent: #1e8f41; }

.partner__brand {
  position: relative; display: grid; place-items: center; gap: 1rem;
  padding: 2.2rem 1.6rem; background: var(--p-soft); text-align: center;
}
.partner__brand::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--p); }
.partner__logo { max-width: 220px; max-height: 110px; width: auto; height: auto; }
.partner__wordmark { font: 800 1.9rem/1 var(--font-display); letter-spacing: .03em; color: var(--p); text-transform: uppercase; }
.partner__logo-box--dark .partner__wordmark { color: #fff; }
.partner__logo-box { display: grid; place-items: center; min-height: 90px; }
.partner--meccanocar .partner__logo { mix-blend-mode: multiply; }
.partner__logo-box--dark { background: var(--p-dark); border-radius: 12px; padding: 1rem 1.4rem; }
.partner__tag {
  display: inline-block; padding: .35rem .8rem; border-radius: 999px;
  background: var(--p); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.partner__body { padding: 2rem clamp(1.4rem, 3vw, 2.4rem); }
.partner__body h3 { color: var(--p-dark); font-size: 1.5rem; margin-bottom: .4rem; }
.partner__body > p { margin: 0 0 1rem; color: var(--text); }
.partner__list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.4rem; }
.partner__list li { position: relative; padding-left: 1.3rem; font-size: .95rem; color: var(--muted); }
.partner__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--p-accent); }
.partner__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.partner__contact { font-size: .9rem; color: var(--muted); line-height: 1.6; }
.partner__contact a { color: var(--p-dark); font-weight: 600; }
.partner__btn { background: var(--p); border-color: var(--p); color: #fff; }
.partner__btn:hover { background: var(--p-dark); border-color: var(--p-dark); }

@media (max-width: 860px) {
  .partner { grid-template-columns: 1fr; }
  .partner__brand::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 6px; }
}
@media (max-width: 560px) {
  .partner__list { grid-template-columns: 1fr; }
}
