/* Sezioni della home (redesign 2026-10). Prefisso hm-. Testi in 3 lingue con span data-scl (site-chrome.css). */
.hm { --hm-navy: #1E3A5F; --hm-navy-deep: #13283F; --hm-accent: #C9844A; --hm-ink: #A35E28; --hm-accent-soft: #F4E6D8; --hm-cream: #FAFAF7;
  --hm-sand: #F2F0EA; --hm-text: #0F0F0F; --hm-muted: #5E6470; --hm-border: #E8E5DC; --hm-ok: #2D7A4F; --hm-ok-soft: #E6F2EB;
  --hm-display: 'Fraunces', Georgia, serif; --hm-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hm-mono: 'Geist Mono', ui-monospace, monospace; font-family: var(--hm-body); color: var(--hm-text); }
.hm *, .hm *::before, .hm *::after { box-sizing: border-box; }
.hm img { max-width: 100%; display: block; }
.hm-wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(18px, 5vw, 56px); }
.hm-sec { padding: clamp(64px, 9vw, 112px) 0; }
.hm-eyebrow { font-family: var(--hm-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hm-ink); margin: 0 0 14px; }
.hm-h2 { font-family: var(--hm-display); font-weight: 400; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 18px; color: var(--hm-navy); }
.hm-lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.65; color: var(--hm-muted); max-width: 62ch; margin: 0; }
.hm-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(32px, 4vw, 52px); }
.hm-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--hm-navy) !important; text-decoration: none !important;
  border-bottom: 2px solid var(--hm-accent); padding-bottom: 3px; white-space: nowrap; }
.hm-link:hover { color: var(--hm-ink) !important; }
.hm-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none !important; transition: transform .18s, background .18s, box-shadow .18s; cursor: pointer; border: 0; font-family: inherit; }
.hm-btn:hover { transform: translateY(-2px); }
.hm-btn--accent { background: var(--hm-ink); color: #fff !important; box-shadow: 0 12px 28px -12px rgba(163,94,40,.8); }
.hm-btn--accent:hover { background: #874a1d; }
.hm-btn--ghost { background: rgba(255,255,255,.12); color: #fff !important; border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.hm-btn--ghost:hover { background: rgba(255,255,255,.22); }
.hm-btn--navy { background: var(--hm-navy); color: #fff !important; }
.hm-btn--wa { background: #25D366; color: #fff !important; }
.hm-btn--line { background: transparent; color: var(--hm-navy) !important; border: 1.5px solid var(--hm-navy); }

/* HERO */
.hm-hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--hm-navy-deep); }
.hm-hero picture, .hm-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hm-hero__img { object-fit: cover; object-position: center 60%; animation: hm-zoom 18s ease-out both; }
@keyframes hm-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hm-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,22,38,.25) 0%, rgba(10,22,38,.2) 35%, rgba(10,22,38,.82) 100%),
  linear-gradient(90deg, rgba(10,22,38,.55) 0%, rgba(10,22,38,0) 65%); }
.hm-hero__in { position: relative; z-index: 2; width: 100%; padding-top: 140px; padding-bottom: clamp(48px, 8vw, 96px); }
.hm-hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--hm-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(6px); margin: 0 0 22px; }
.hm-hero__eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--hm-accent); box-shadow: 0 0 0 4px rgba(201,132,74,.3); }
.hm-hero h1 { font-family: var(--hm-display); font-weight: 400; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 22px; max-width: 16ch; color: #fff; }
.hm-hero h1 em { font-style: italic; color: #F3C79E; }
.hm-hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; max-width: 54ch; color: rgba(255,255,255,.88); margin: 0 0 32px; }
.hm-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hm-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; font-size: .92rem; color: rgba(255,255,255,.88); }
.hm-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hm-trust li::before { content: '✓'; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(45,122,79,.9); font-size: .72rem; font-weight: 700; }

/* TRE MODI */
.hm-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hm-way { position: relative; border-radius: 22px; overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; color: #fff !important;
  text-decoration: none !important; isolation: isolate; box-shadow: 0 20px 44px -26px rgba(30,58,95,.55); }
.hm-way img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.hm-way::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,22,38,0) 25%, rgba(10,22,38,.88) 100%); }
.hm-way:hover img { transform: scale(1.06); }
.hm-way__body { padding: 26px 26px 28px; }
.hm-way__tag { display: inline-block; font-family: var(--hm-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; background: var(--hm-accent);
  padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; }
.hm-way h3 { font-family: var(--hm-display); font-weight: 400; font-size: 1.75rem; line-height: 1.1; margin: 0 0 10px; color: #fff; }
.hm-way p { margin: 0 0 14px; font-size: .98rem; line-height: 1.55; color: rgba(255,255,255,.88); }
.hm-way__go { font-weight: 600; font-size: .92rem; color: #F3C79E; }

/* PASSI */
.hm-steps-sec { background: var(--hm-sand); }
.hm-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: hm; position: relative; }
.hm-step { background: #fff; border: 1px solid var(--hm-border); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s; }
.hm-step:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(30,58,95,.45); }
.hm-step__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.hm-step__img img { width: 100%; height: 100%; object-fit: cover; }
.hm-step__n { position: absolute; top: 12px; left: 12px; width: 40px; height: 40px; border-radius: 12px; background: var(--hm-navy); color: #fff;
  font-family: var(--hm-display); font-size: 1.15rem; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(0,0,0,.2); }
.hm-step__body { padding: 16px 18px 20px; }
.hm-step__ico { font-size: 1.35rem; margin-bottom: 6px; }
.hm-step h3 { font-size: 1.02rem; font-weight: 600; color: var(--hm-navy); margin: 0 0 6px; line-height: 1.3; }
.hm-step p { font-size: .9rem; line-height: 1.5; color: var(--hm-muted); margin: 0; }
.hm-steps__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 34px;
  background: #fff; border: 1px dashed var(--hm-accent); border-radius: 18px; padding: 18px 22px; }
.hm-steps__foot p { margin: 0; color: var(--hm-text); font-size: .98rem; }
.hm-steps__foot strong { color: var(--hm-navy); }

/* DUE ESITI */
.hm-out { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
.hm-out__card { border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--hm-border); display: grid; grid-template-columns: 42% 1fr;
  box-shadow: 0 18px 40px -28px rgba(30,58,95,.5); }
.hm-out__card img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.hm-out__body { padding: 24px 24px 26px; display: flex; flex-direction: column; justify-content: center; }
.hm-out__k { font-family: var(--hm-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hm-ok); background: var(--hm-ok-soft);
  padding: 4px 10px; border-radius: 999px; align-self: flex-start; margin-bottom: 10px; }
.hm-out__body h3 { font-family: var(--hm-display); font-weight: 400; font-size: 1.55rem; line-height: 1.15; color: var(--hm-navy); margin: 0 0 8px; }
.hm-out__body p { margin: 0; color: var(--hm-muted); line-height: 1.55; font-size: .97rem; }
.hm-out__or { align-self: center; width: 54px; height: 54px; border-radius: 50%; background: var(--hm-navy); color: #fff; display: grid; place-items: center;
  font-family: var(--hm-display); font-style: italic; font-size: 1.15rem; box-shadow: 0 8px 20px -6px rgba(30,58,95,.6); }
.hm-guarantee { margin-top: 26px; display: flex; gap: 16px; align-items: flex-start; background: var(--hm-navy); color: #fff; border-radius: 20px; padding: 22px 26px; }
.hm-guarantee__ico { font-size: 1.6rem; }
.hm-guarantee p { margin: 0; line-height: 1.6; color: rgba(255,255,255,.9); }
.hm-guarantee strong { color: #fff; }

/* NOI */
.hm-us { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hm-us__img { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4/3.2; box-shadow: 0 26px 60px -30px rgba(30,58,95,.6); }
.hm-us__img img { width: 100%; height: 100%; object-fit: cover; }
.hm-us__badge { position: absolute; left: 18px; bottom: 18px; background: rgba(255,255,255,.95); color: var(--hm-navy); border-radius: 16px; padding: 12px 16px;
  font-family: var(--hm-display); font-size: 1.05rem; box-shadow: 0 10px 24px -10px rgba(0,0,0,.35); }
.hm-us__badge span { display: block; font-family: var(--hm-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hm-accent); }
.hm-points { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 16px; }
.hm-points li { display: flex; gap: 14px; align-items: flex-start; }
.hm-points__ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--hm-accent-soft); display: grid; place-items: center; font-size: 1.25rem; }
.hm-points strong { display: block; color: var(--hm-navy); font-size: 1.02rem; margin-bottom: 2px; }
.hm-points p { margin: 0; color: var(--hm-muted); line-height: 1.5; font-size: .95rem; }

/* DOCUMENTI */
.hm-docs { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; background: #fff; border: 1px solid var(--hm-border);
  border-radius: 24px; padding: 20px; box-shadow: 0 18px 40px -30px rgba(30,58,95,.5); }
.hm-docs img { width: 180px; height: 130px; object-fit: cover; border-radius: 16px; }
.hm-docs h3 { font-family: var(--hm-display); font-weight: 400; font-size: 1.5rem; color: var(--hm-navy); margin: 0 0 6px; }
.hm-docs p { margin: 0; color: var(--hm-muted); line-height: 1.55; }

/* FAQ */
.hm-faq-sec { background: var(--hm-cream); }
.hm-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.hm-faq details { background: #fff; border: 1px solid var(--hm-border); border-radius: 16px; margin-bottom: 12px; overflow: hidden; }
.hm-faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font-weight: 600; color: var(--hm-navy); position: relative; line-height: 1.4; }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
  background: var(--hm-accent-soft); color: var(--hm-accent); display: grid; place-items: center; font-size: 1.2rem; transition: transform .2s; }
.hm-faq details[open] summary::after { content: '−'; }
.hm-faq details p { margin: 0; padding: 0 20px 18px; color: var(--hm-muted); line-height: 1.6; }

/* CTA FINALE */
.hm-cta { position: relative; overflow: hidden; color: #fff; background: var(--hm-navy-deep); }
.hm-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.hm-cta__in { position: relative; text-align: center; padding-top: clamp(72px, 10vw, 120px); padding-bottom: clamp(72px, 10vw, 120px); }
.hm-cta h2 { font-family: var(--hm-display); font-weight: 400; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08; margin: 0 auto 16px; max-width: 18ch; color: #fff; }
.hm-cta h2 em { color: #F3C79E; }
.hm-cta p { margin: 0 auto 30px; max-width: 56ch; color: rgba(255,255,255,.86); line-height: 1.6; font-size: 1.05rem; }
.hm-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hm-cta .hm-btn--line { color: #fff !important; border-color: rgba(255,255,255,.6); }

/* ANIMAZIONI */
.hm-js .hm-rv { transition: transform .35s ease; }
.hm-js .hm-rv.is-in { transform: none; }
@media (prefers-reduced-motion: reduce) { .hm-rv { opacity: 1; transform: none; transition: none; } .hm-hero__img { animation: none; } }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hm-steps { grid-template-columns: repeat(3, 1fr); }
  .hm-out { grid-template-columns: 1fr; }
  .hm-out__or { justify-self: center; }
}
@media (max-width: 900px) {
  .hm-ways { grid-template-columns: 1fr; }
  .hm-way { min-height: 340px; }
  .hm-us, .hm-faq { grid-template-columns: 1fr; }
  .hm-docs { grid-template-columns: 1fr; text-align: left; }
  .hm-docs img { width: 100%; height: 170px; }
}
@media (max-width: 700px) {
  .hm-hero { min-height: 88vh; }
  .hm-hero__in { padding-top: 110px; }
  .hm-steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 10px; margin: 0 calc(-1 * clamp(18px, 5vw, 56px));
    padding-left: clamp(18px, 5vw, 56px); padding-right: clamp(18px, 5vw, 56px); scroll-padding-inline: clamp(18px, 5vw, 56px); -webkit-overflow-scrolling: touch; }
  .hm-step { flex: 0 0 78%; scroll-snap-align: start; }
  .hm-out__card { grid-template-columns: 1fr; }
  .hm-out__card img { height: 190px; min-height: 0; }
  .hm-btn { width: 100%; justify-content: center; }
  .hm-hero__ctas .hm-btn { width: auto; flex: 1 1 auto; }
}

/* Riquadro Pagas → Usas → Diferencia (Costa del Silencio): hm-cred */
.hm-cred { margin-top: 26px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; align-items: stretch; }
.hm-cred__step { background: #fff; border: 1px solid var(--hm-border); border-radius: 16px; padding: 16px 14px; text-align: center; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.hm-cred__step > span { font-family: var(--hm-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hm-muted); }
.hm-cred__step strong { font-family: var(--hm-display); font-weight: 500; font-size: 1.35rem; line-height: 1.1; color: var(--hm-navy); }
.hm-cred__step small { font-size: .8rem; color: var(--hm-muted); }
.hm-cred__use { background: var(--hm-ok-soft); }
.hm-cred__gain strong { color: var(--hm-ok); }
.hm-cred__arr { align-self: center; color: var(--hm-muted); font-size: 1.2rem; }
.hm-cred__cap { grid-column: 1 / -1; margin: 4px 0 0; font-size: .92rem; line-height: 1.55; color: var(--hm-muted); }
@media (max-width: 640px) { .hm-cred { grid-template-columns: 1fr; } .hm-cred__arr { transform: rotate(90deg); justify-self: center; } }
