/* ============================================
   Fatima Maliki — Consulente B2B Luce e Gas
   Rebuild statico — palette e font dall'originale
   ============================================ */

:root {
  --ink: #111827;          /* blu notte quasi nero */
  --ink-2: #1F2937;        /* grigio-navy */
  --green: #16A34A;        /* verde primario */
  --green-bright: #22C55E; /* verde acceso */
  --green-light: #4ADE80;
  --green-pale: #86EFAC;
  --mint: #F0FDF4;         /* sezioni chiare */
  --paper: #F9FAFB;
  --text-dark: #1F2937;
  --text-mid: #4B5563;
  --text-soft: #6B7280;    /* 4.83:1 su bianco — conforme WCAG AA */
  --green-link: #15803D;   /* verde scuro per link su sfondo chiaro — 5.3:1 */
  --white: #ffffff;
  --font-head: 'Montserrat', sans-serif;
  --font-serif: 'Lora', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-head);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.65;
  background: var(--white);
}

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

h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; color: var(--ink); }
h1 { font-size: 46px; font-weight: 700; }
h2 { font-size: 36px; font-weight: 700; }
h3 { font-size: 19px; font-weight: 700; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 34px;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(22, 163, 74, .35);
}
.btn-green:hover { background: var(--green-bright); box-shadow: 0 12px 30px rgba(34, 197, 94, .45); }

/* lampo di luce in diagonale */
.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-22deg);
  pointer-events: none;
}
.btn:hover::before { animation: btn-shine .75s ease; }
@keyframes btn-shine { from { left: -80%; } to { left: 130%; } }

/* ---------- Header sticky ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(17, 24, 39, .06);
  padding: 12px 0;
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 8px 24px rgba(17, 24, 39, .1); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-size: 17px; color: var(--ink); text-decoration: none; }
.brand strong { font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-actions .btn { padding: 11px 24px; font-size: 14px; }
.header-actions .call { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14.5px; }
.header-actions .call:hover { color: var(--green); }
.header-actions .li-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px;
}
.header-actions .li-icon svg { width: 22px; height: 22px; fill: var(--ink); transition: fill .2s; }
.header-actions .li-icon:hover svg { fill: var(--green); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 130px;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, .82), rgba(17, 24, 39, .68) 55%, rgba(17, 24, 39, .85));
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; max-width: 920px; }
.hero h1 { color: var(--white); margin-bottom: 26px; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--green-bright), var(--green-pale));
  transform: scaleX(0);
  transform-origin: left;
  animation: hl-in .9s ease 1.1s both;
}
@keyframes hl-in { to { transform: scaleX(1); } }
.hero .hero-sub {
  color: #d6dde6;
  font-size: 17px;
  max-width: 780px;
  margin: 0 auto 38px;
}
.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(134, 239, 172, .4);
  background: rgba(22, 163, 74, .15);
  backdrop-filter: blur(4px);
  color: var(--green-pale);
  font-size: 13px;
  font-weight: 600;
}
.hero .badge svg { width: 16px; height: 16px; fill: var(--green-pale); flex: 0 0 auto; }

/* ---------- Situazioni (pain points) ---------- */
.pains { background: var(--paper); padding: 84px 0; }
.pains > .container > h2 { text-align: center; margin-bottom: 52px; }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pain-card {
  position: relative;
  background: var(--white);
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.pain-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(17, 24, 39, .12), 0 0 24px rgba(34, 197, 94, .15);
  border-color: var(--green-pale);
}
.pain-card .icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 14px;
  background: var(--mint);
  display: flex; align-items: center; justify-content: center;
}
.pain-card .icon svg { width: 28px; height: 28px; stroke: var(--green); fill: none; stroke-width: 1.8; }
.pain-card h3 { margin-bottom: 10px; font-size: 17px; }
.pain-card p { font-size: 14px; color: var(--text-mid); }

/* ---------- Metodo (3 pilastri) ---------- */
.method { background: var(--ink); padding: 84px 0; position: relative; overflow: hidden; }
.method::before,
.method::after {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .25;
  pointer-events: none;
  background: radial-gradient(circle, rgba(34, 197, 94, .9), transparent 70%);
  animation: blob-drift 18s ease-in-out infinite alternate;
}
.method::before { left: -180px; top: -180px; }
.method::after { right: -180px; bottom: -200px; animation-duration: 23s; animation-direction: alternate-reverse; }
@keyframes blob-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(130px, 70px) scale(1.15); }
}
.method .container { position: relative; }
.method h2 { color: var(--white); text-align: center; margin-bottom: 52px; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.method-card {
  position: relative;
  background: rgba(31, 41, 55, .8);
  border: 1px solid rgba(74, 222, 128, .18);
  border-radius: 18px;
  padding: 32px 28px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.method-card:hover {
  transform: translateY(-8px);
  border-color: rgba(74, 222, 128, .5);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45), 0 0 30px rgba(34, 197, 94, .2);
}
.method-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-light);
  background: rgba(22, 163, 74, .15);
  border: 1px solid rgba(74, 222, 128, .3);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.method-card h3 { color: var(--white); font-size: 20px; margin-bottom: 12px; }
.method-card p { font-size: 14px; color: #c4ccd6; }

/* ---------- Chi sono ---------- */
.about { background: var(--white); padding: 90px 0; overflow: hidden; }
.about .container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(165deg, var(--green-pale) 0%, var(--green) 45%, var(--ink) 100%);
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.about-photo::before {
  content: "";
  position: absolute;
  width: 240px; height: 240px;
  top: -70px; right: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .45), transparent 70%);
  filter: blur(8px);
}
.about-photo img {
  position: relative;
  width: 86%;
  max-width: 420px;
  filter: drop-shadow(0 14px 30px rgba(17, 24, 39, .5));
}
.about-text h2 { margin-bottom: 22px; }
.about-text p { font-size: 16px; color: var(--text-mid); margin-bottom: 18px; }
.about-text .btn { margin-top: 12px; }

/* ---------- Solidità partner ---------- */
.solid { background: var(--mint); padding: 84px 0; }
.solid h2 { text-align: center; margin-bottom: 14px; }
.solid .solid-sub { text-align: center; color: var(--text-mid); font-size: 15px; margin-bottom: 48px; }
.solid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solid-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 26px;
  text-align: center;
  border-top: 4px solid var(--green);
  box-shadow: 0 6px 20px rgba(17, 24, 39, .06);
  transition: transform .35s ease, box-shadow .35s ease;
}
.solid-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(17, 24, 39, .12); }
.solid-card h3 { margin-bottom: 10px; }
.solid-card p { font-size: 14px; color: var(--text-mid); }

/* ---------- Casi tipo ---------- */
.cases { background: var(--white); padding: 84px 0; }
.cases h2 { text-align: center; margin-bottom: 10px; }
.cases .cases-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 46px;
}
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: var(--paper);
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}
.case-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(17, 24, 39, .1); }
.case-card .quote-mark { color: var(--green-pale); font-size: 46px; font-family: var(--font-serif); line-height: 1; margin-bottom: 10px; }
.case-card .case-text { font-family: var(--font-serif); font-style: italic; font-size: 15px; color: var(--text-mid); flex: 1; }
.case-card .case-who { margin-top: 20px; }
.case-card .case-who strong { display: block; color: var(--ink); font-size: 14.5px; }
.case-card .case-who span { font-size: 13px; color: var(--text-soft); }
.case-card .case-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  background: var(--mint);
  border: 1px solid var(--green-pale);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 14px;
}

/* ---------- Come funziona + form ---------- */
.how { background: var(--ink); padding: 90px 0; position: relative; overflow: hidden; }
.how h2 { color: var(--white); text-align: center; margin-bottom: 12px; }
.how .how-sub { text-align: center; color: #c4ccd6; font-size: 16px; margin-bottom: 54px; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.how-steps h3 { color: var(--white); font-size: 22px; margin-bottom: 26px; }
.step { display: flex; gap: 18px; margin-bottom: 26px; }
.step-n {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  background: var(--green-light);
  box-shadow: 0 0 22px rgba(74, 222, 128, .35);
}
.step p { font-size: 15px; color: #d6dde6; }
.step p strong { color: var(--white); }

/* blocco fiducia sotto gli step */
.how-trust {
  list-style: none;
  margin: 38px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.how-trust li {
  position: relative;
  padding-left: 32px;
  font-size: 14.5px;
  font-weight: 600;
  color: #dbe2ea;
  line-height: 1.35;
}
.how-trust li::before {
  content: "";
  position: absolute;
  left: 0; top: calc((1.35em - 22px) / 2);   /* centra il pallino sulla prima riga del testo */
  width: 22px; height: 22px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ADE80' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E") center / 13px no-repeat,
    rgba(74, 222, 128, .14);
  box-shadow: inset 0 0 0 1px rgba(74, 222, 128, .32);
}

/* card contatto diretto */
.how-contact {
  margin-top: 34px;
  padding: 24px 26px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(34, 197, 94, .14), rgba(34, 197, 94, .03));
  border: 1px solid rgba(74, 222, 128, .22);
}
.how-contact-q { color: var(--white); font-weight: 700; font-size: 16.5px; margin-bottom: 16px; }
.how-contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hc-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700; font-size: 14.5px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .25s ease;
}
.hc-btn svg { width: 18px; height: 18px; }
.hc-call { background: var(--white); color: var(--ink); }
.hc-call svg { fill: var(--green); }
.hc-wa { background: #25D366; color: #fff; }
.hc-wa svg { fill: #fff; }
.hc-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .35); }
.hc-btn:focus-visible { outline: 2px solid var(--green-light); outline-offset: 3px; }

/* form card */
.lead-form {
  background: var(--white);
  border-radius: 20px;
  padding: 34px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}
.lead-form label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin: 16px 0 6px; }
.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"] {
  width: 100%;
  border: 1px solid #D1D5DB;
  border-radius: 10px;
  padding: 13px 14px;
  font-family: var(--font-head);
  font-size: 14.5px;
  color: var(--text-dark);
  transition: border-color .2s, box-shadow .2s;
}
.lead-form input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .28);
}
/* focus visibile da tastiera su checkbox, file-drop e link del form */
.lead-form input[type="checkbox"]:focus-visible,
.file-drop:focus-within,
.consent a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}
.file-drop {
  margin-top: 6px;
  border: 2px dashed #D1D5DB;
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-mid);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.file-drop:hover, .file-drop.drag { border-color: var(--green); background: var(--mint); }
.file-drop input { display: none; }
.file-drop .file-name { display: block; margin-top: 6px; font-weight: 600; color: var(--green); }
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--text-mid);
}
.consent input {
  margin-top: 2px;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  accent-color: var(--green);
  cursor: pointer;
}
.consent a {
  color: var(--green-link);
  font-weight: 600;
  text-decoration: underline;
}
.consent a:hover { color: var(--green); }
.lead-form .btn { width: 100%; margin-top: 22px; text-align: center; }
.form-feedback { margin-top: 14px; font-size: 14px; font-weight: 600; display: none; }
.form-feedback.ok { display: block; color: var(--green); }
.form-feedback.err { display: block; color: #DC2626; }

/* ---------- Footer ---------- */
.site-footer { background: #0B1120; color: #9CA3AF; padding: 40px 0 28px; text-align: center; }
.site-footer .foot-brand { color: var(--white); font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.site-footer p { font-size: 12.5px; max-width: 760px; margin: 0 auto 6px; }
.site-footer .foot-links { margin: 14px 0 10px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.site-footer a { color: #C4CCD6; text-decoration: none; font-size: 13px; }
.site-footer a:hover { color: var(--green-light); }
.site-footer .li-icon svg { width: 20px; height: 20px; fill: #C4CCD6; }
.site-footer .li-icon:hover svg { fill: var(--green-light); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 99;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  animation: wa-pulse 2.6s ease-out infinite;
}
.wa-float svg { width: 30px; height: 30px; fill: var(--white); }
@keyframes wa-pulse {
  0%   { box-shadow: 0 4px 14px rgba(0,0,0,.3), 0 0 0 0 rgba(37, 211, 102, .45); }
  70%  { box-shadow: 0 4px 14px rgba(0,0,0,.3), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 4px 14px rgba(0,0,0,.3), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Effetti reveal ---------- */
.reveal { opacity: 0; }
.reveal.in { animation: rise .7s ease both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
.hero h1 { animation: rise .8s ease both; }
.hero .hero-sub { animation: rise .8s ease .15s both; }
.hero .btn { animation: rise .8s ease .3s both; }
.hero .badge { animation: rise .8s ease .45s both; }

/* tilt + riflesso (coordinate da js/effects.js) */
.tilt { will-change: transform; }
.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
  background: radial-gradient(
    400px circle at var(--mx, 50%) var(--my, 50%),
    rgba(134, 239, 172, .22),
    transparent 65%
  );
}
.tilt:hover::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero .hero-sub, .hero .btn, .hero .badge, .wa-float,
  .method::before, .method::after { animation: none !important; }
  .hero h1 .hl::after { animation: none; transform: scaleX(1); }
  .reveal { opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  h1 { font-size: 36px; }
  h2 { font-size: 29px; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .method-grid, .solid-grid, .case-grid { grid-template-columns: 1fr; }
  .about .container { grid-template-columns: 1fr; gap: 40px; }
  .how-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 640px) {
  h1 { font-size: 30px; }
  .hero { padding: 70px 0 90px; }
  .hero h1 .hl { white-space: normal; }   /* evita overflow su viewport stretti */
  .hero h1 .hl::after { bottom: -2px; height: 4px; }
  .pain-grid { grid-template-columns: 1fr; }
  .brand { font-size: 15px; }
  .brand span { display: none; }
  .header-actions { gap: 10px; }
  .header-actions .call { display: none; }
  .header-actions .btn { white-space: nowrap; padding: 10px 16px; font-size: 13px; }
  .header-actions .li-icon { width: 36px; height: 36px; }
  .about-photo { min-height: 380px; }
  .about-photo img { width: 92%; }
  .how-trust { grid-template-columns: 1fr; gap: 12px; }
  .how-contact-actions { flex-direction: column; }
  .hc-btn { justify-content: center; }
  /* tap target comodi per i link footer */
  .site-footer .foot-links { gap: 8px; }
  .site-footer .foot-links a { padding: 8px 6px; }
}

/* ---------- Pagina Partner ---------- */
/* Stili aggiuntivi per partner.html. Riusa al massimo le classi esistenti
   (.how .method .pains .pain-card .solid .lead-form ...): qui solo i ritocchi
   nuovi indispensabili (select/textarea nel form, H2 nelle pain-card, layout
   step a colonna singola, FAQ). Palette e font invariati. */

/* form: select e textarea allineati visivamente agli input esistenti */
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid #D1D5DB;
  border-radius: 10px;
  padding: 13px 14px;
  font-family: var(--font-head);
  font-size: 14.5px;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.lead-form textarea { min-height: 84px; resize: vertical; }
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .28);
}
/* freccia custom per il select nativo */
.lead-form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316A34A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.form-micro { margin-top: 12px; font-size: 12px; color: var(--text-soft); text-align: center; }

/* "Come funziona la partnership": step in colonna singola centrata */
.partner-steps { max-width: 760px; margin: 0 auto; }
.partner-steps .how-trust { margin-top: 34px; }

/* CTA centrate a fine sezione */
.method-cta, .pains-cta { text-align: center; margin-top: 48px; }

/* sottotitolo sezione "Per chi è" (riusa il tono di .solid-sub) */
.pains-sub { text-align: center; color: var(--text-mid); font-size: 15px; margin: -36px auto 48px; max-width: 720px; }

/* H2 dentro le pain-card per le keyword per-verticale: dimensione uguale all'h3 */
.pain-card h2 { font-size: 17px; line-height: 1.25; margin-bottom: 10px; color: var(--ink); font-weight: 700; }
/* card verticali: testo allineato a sinistra (paragrafi lunghi più leggibili) */
.pains .pain-card { text-align: left; }
.pains .pain-card .icon { margin: 0 0 18px; }

/* Mini-FAQ: domande/risposte come blocchi .step senza numero */
.faq .faq-list { max-width: 820px; margin: 0 auto; }
.faq .faq-list .step { display: block; }
.faq .faq-list .step p strong { display: inline-block; margin-bottom: 4px; font-size: 16px; }

/* intro colonna candidatura */
.candidatura-intro { color: #d6dde6; font-size: 15px; margin-bottom: 8px; }

/* fascia "Sei un professionista?" in home (discreta) */
.partner-strip { background: var(--mint); border-top: 1px solid #E5E7EB; border-bottom: 1px solid #E5E7EB; padding: 22px 0; }
.partner-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.partner-strip p { font-size: 14.5px; color: var(--text-mid); margin: 0; flex: 1; min-width: 240px; }
.partner-strip p strong { color: var(--ink); }
.partner-strip .btn { flex: 0 0 auto; padding: 12px 26px; font-size: 14px; }
@media (max-width: 640px) {
  .partner-strip .container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 980px) {
  .pains-sub { margin-top: -20px; }
}
@media (max-width: 640px) {
  .partner-steps { max-width: 100%; }
}

/* Hero partner: la frase evidenziata è lunga, deve andare a capo dentro il
   contenitore (NO nowrap che sfora) e usare una sottolineatura che segue le
   righe, invece dell'::after a riga singola pensato per frasi corte. */
.hero-partner h1 .hl {
  white-space: normal;
  text-decoration: underline;
  text-decoration-color: var(--green-bright);
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
  text-decoration-skip-ink: none;
}
.hero-partner h1 .hl::after { content: none; }
