/* Get a quote e pagine legali. Usano il sistema comune di site.css (.hm-eyebrow, .u-rv, .u-lines, .u-out). */
.gq, .lg { --acc: #c98cf0; --ease: cubic-bezier(0.16, 1, 0.3, 1); --line: rgba(255,255,255,.14); width: 100vw; margin: 0 0 0 calc(50% - 50vw) !important; background: #000; color: #fff; font-family: 'Inter', -apple-system, sans-serif; text-align: left; line-height: 1.5; }
.gq *, .gq *::before, .gq *::after, .lg *, .lg *::before, .lg *::after { box-sizing: border-box; }
.gq h1, .gq p, .gq label, .gq input, .gq a, .lg h1, .lg h2, .lg p, .lg li, .lg a { font-family: inherit; }

/* ---------- Get a quote ---------- */
.gq { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: 150px 0 110px; }
.gq-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 7vw, 110px); align-items: end; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.gq-title { margin: 0 0 34px; font-size: clamp(44px, 5.7vw, 88px); font-weight: 900; line-height: .86; letter-spacing: -.05em; text-transform: uppercase; }
.gq-lead { margin: 0; max-width: 470px; font-size: 18px; line-height: 1.6; color: #85858b; }
.gq-form { margin: 0; }
.gq-form .field { position: relative; margin: 0 0 26px; border-bottom: 1px solid var(--line); }
.gq-form .field::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.gq-form .field:focus-within::after { transform: scaleX(1); }
.gq-form .field--hp { display: none; }
.gq-form label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.5); transition: color .3s; }
.gq-form .field:focus-within label { color: #fff; }
.gq-form input[type=text], .gq-form input[type=email] { display: block; width: 100%; height: auto; margin: 0; padding: 12px 0 16px; border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: none; color: #fff; font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.3; -webkit-appearance: none; appearance: none; }
.gq-form input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 1000px #000 inset; caret-color: #fff; }
.gq-submit { all: unset; box-sizing: border-box; display: block; width: 100%; margin-top: 38px; padding: 20px 24px; border-radius: 100px; background: #fff; color: #000; text-align: center; font-family: inherit; font-size: 12px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; cursor: pointer; transition: transform .5s var(--ease), background .3s, opacity .3s; }
.gq-submit:hover { transform: translateY(-2px); background: #dcdcdc; }
.gq-submit:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.gq-submit:disabled { opacity: .6; cursor: default; transform: none; }
.gq-legal { margin: 22px 0 0; font-size: 13px; line-height: 1.6; color: #77777d; }
.gq-legal a { color: #b9b9be; text-decoration: underline; text-underline-offset: 3px; }
.gq-legal a:hover { color: #fff; }

/* ---------- Pagine legali ---------- */
.lg-wrap { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.lg-head { padding-top: 170px; padding-bottom: 80px; }
.lg-title { margin: 0 0 30px; font-size: clamp(46px, 7.4vw, 112px); font-weight: 900; line-height: .86; letter-spacing: -.05em; text-transform: uppercase; }
.lg-date { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.45); }
.lg-date b { margin-left: 10px; font-weight: 700; color: #fff; }
.lg-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start; padding-bottom: 140px; border-top: 1px solid var(--line); }
.lg-toc { position: sticky; top: 76px; max-height: calc(100vh - 76px); padding: 34px 0 24px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.lg-toc::-webkit-scrollbar { display: none; }
.lg-toc p { margin: 0 0 14px; font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,.5); }
.lg-toc ol { list-style: none; margin: 0; padding: 0; }
.lg-toc a { display: grid; grid-template-columns: 30px minmax(0, 1fr); padding: 7px 0; color: #77777d; text-decoration: none; font-size: 13.5px; line-height: 1.35; transition: color .3s; }
.lg-toc a span { font-size: 10.5px; font-weight: 700; letter-spacing: 1.5px; line-height: 1.75; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.3); transition: color .3s; }
.lg-toc a:hover, .lg-toc a[aria-current] { color: #fff; }
.lg-toc a[aria-current] span { color: var(--acc); }
.lg-toc a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lg-body { max-width: 760px; }
.lg-intro { padding: 34px 0 6px; }
.lg-intro p { font-size: 19px; line-height: 1.6; color: #b9b9be; }
.lg-body section { padding: 38px 0 14px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.lg-body > section:first-child { border-top: 0; padding-top: 34px; }
.lg-body h2 { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: baseline; margin: 0 0 20px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: #fff; }
.lg-n { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--acc); font-variant-numeric: tabular-nums; }
.lg-body p, .lg-body ul { margin: 0 0 18px; padding: 0 0 0 44px; font-size: 16px; line-height: 1.7; color: #9a9aa0; }
.lg-intro p { padding-left: 0; }
.lg-body ul { list-style: none; }
.lg-body li { position: relative; padding: 9px 0 9px 22px; border-top: 1px solid rgba(255,255,255,.07); }
.lg-body li::before { content: ''; position: absolute; left: 0; top: 21px; width: 10px; height: 1px; background: rgba(255,255,255,.4); }
.lg-body strong { color: #fff; font-weight: 600; }
.lg-body a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; transition: text-decoration-color .3s; }
.lg-body a:hover { text-decoration-color: #fff; }
.lg-body table { width: 100%; margin: 0 0 22px 44px; width: calc(100% - 44px); border-collapse: collapse; font-size: 14px; line-height: 1.5; color: #9a9aa0; }
.lg-body th, .lg-body td { padding: 11px 14px 11px 0; border-top: 1px solid rgba(255,255,255,.1); text-align: left; vertical-align: top; }
.lg-body th { font-size: 10.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.5); }
.lg-body td:first-child { color: #fff; }
.lg-cookie-btn { all: unset; box-sizing: border-box; display: inline-block; margin: 4px 0 22px 44px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.35); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; cursor: pointer; }
.lg-cookie-btn:hover { border-bottom-color: #fff; }
.lg-cookie-btn:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

@media (max-width: 899px) {
  .gq { padding: 46px 0 80px; align-items: flex-start; min-height: 0; }
  .gq-wrap { grid-template-columns: 1fr; gap: 54px; padding: 0 24px; }
  .gq-title { font-size: clamp(42px, 13vw, 80px); margin-bottom: 24px; }
  .gq-lead { font-size: 17px; }
  .lg-wrap { padding: 0 24px; }
  .lg-head { padding-top: 46px; padding-bottom: 44px; }
  .lg-title { font-size: clamp(38px, 11.5vw, 76px); }
  .lg-grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 90px; }
  .lg-toc { position: static; max-height: none; overflow: visible; padding: 28px 0 30px; border-bottom: 1px solid var(--line); }
  .lg-toc ol { columns: 2; column-gap: 20px; }
  .lg-toc li { break-inside: avoid; }
  .lg-body h2 { grid-template-columns: 32px minmax(0, 1fr); }
  .lg-body p, .lg-body ul { padding-left: 0; font-size: 15.5px; }
  .lg-body table { margin-left: 0; width: 100%; font-size: 13px; }
  .lg-cookie-btn { margin-left: 0; }
}
