/* Quordina — sito di vendita. Stessi colori e caratteri della brochure. */
@font-face { font-family: 'Space Grotesk'; font-weight: 500; font-display: swap; src: url('fonts/space-grotesk-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 600; font-display: swap; src: url('fonts/space-grotesk-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-display: swap; src: url('fonts/space-grotesk-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 400; font-display: swap; src: url('fonts/manrope-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 500; font-display: swap; src: url('fonts/manrope-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url('fonts/manrope-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url('fonts/manrope-latin-700-normal.woff2') format('woff2'); }

:root {
  --night: #0f1724;
  --night-2: #162133;
  --night-3: #1f2c42;
  --coral: #ff4f3a;
  --coral-dark: #e23b27;
  --cream: #f8f4ec;
  --cream-2: #efe8db;
  --ink: #1b2230;
  --muted: #5d6573;
  --muted-on-dark: #a8b1c0;
  --line: #e2dccf;
  --radius: 18px;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--cream); line-height: 1.6; font-size: 17px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral); }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.accent { color: var(--coral); }

/* Pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .15s ease, background .15s ease; border: 2px solid transparent; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); }
.btn-ghost { border-color: rgba(255,255,255,.25); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--night); color: #fff; }

/* Intestazione */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(15,23,36,.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 26px; color: #fff; text-decoration: none; letter-spacing: -0.02em; }
.logo span { color: var(--coral); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted-on-dark); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: #fff; }
.nav .btn { padding: 10px 18px; font-size: 15px; color: #fff; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Apertura */
.hero { background: var(--night); color: #fff; position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); }
.hero .lead { color: var(--muted-on-dark); margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted-on-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-on-dark); border: 1px solid var(--night-3); border-radius: 999px; padding: 8px 14px; }
.pixels { position: absolute; right: -120px; top: -10px; width: 460px; opacity: .55; pointer-events: none; }
@media (max-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .pixels { width: 300px; right: -90px; top: 10px; opacity: .45; }
}

/* Telefono finto con il menu */
.phone { width: 300px; margin-inline: auto; background: #0b111b; border-radius: 42px; padding: 12px; box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06); }
.screen { background: #fff; color: var(--ink); border-radius: 31px; overflow: hidden; }
.screen-head { background: var(--coral); color: #fff; padding: 22px 18px 16px; }
.screen-head strong { font-family: var(--display); font-size: 19px; display: block; }
.screen-head small { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; opacity: .9; }
.dish { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 13px 18px; border-bottom: 1px solid #f0ece4; }
.dish b { font-size: 14px; display: block; }
.dish small { font-size: 11px; color: var(--muted); }
.dish .price { font-weight: 700; font-size: 14px; white-space: nowrap; }
.plus { width: 26px; height: 26px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.note { margin: 12px 18px; background: var(--cream); border-radius: 10px; padding: 10px 12px; font-size: 12px; font-style: italic; color: var(--muted); }
.send { margin: 14px 18px 20px; background: var(--coral); color: #fff; text-align: center; border-radius: 999px; padding: 12px; font-weight: 700; font-size: 13px; letter-spacing: .02em; }

/* Fascia vantaggi */
.strip { background: var(--coral); color: #fff; }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; padding: 18px 0; font-weight: 700; font-size: 15px; }

/* Sezioni */
section.block { padding: 96px 0; }
.block-head { max-width: 760px; margin-bottom: 52px; }
.block-head h2 { font-size: clamp(34px, 4.6vw, 54px); margin-top: 12px; }
.block-head .lead { margin-top: 16px; }
@media (max-width: 760px) { section.block { padding: 64px 0; } .block-head { margin-bottom: 36px; } }

/* Come funziona */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.step .num { font-family: var(--display); font-weight: 700; font-size: 30px; color: var(--coral); }
.step h3 { font-size: 20px; margin-top: 10px; }
.step p { color: var(--muted); font-size: 15px; margin-top: 8px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Funzioni */
.dark { background: var(--night); color: #fff; }
.dark .lead { color: var(--muted-on-dark); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--night-2); border: 1px solid var(--night-3); border-radius: var(--radius); padding: 26px; position: relative; }
.feature .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--coral); }
.feature h3 { font-size: 21px; margin-top: 12px; }
.feature p { color: var(--muted-on-dark); font-size: 15px; margin-top: 8px; }
.feature .new { position: absolute; top: 22px; right: 22px; background: var(--coral); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 3px 10px; letter-spacing: .04em; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .features { grid-template-columns: 1fr; } }

/* Stampa */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(32px, 4.2vw, 48px); margin-top: 12px; }
.split .lead { margin-top: 16px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ''; flex: 0 0 22px; height: 22px; border-radius: 50%; margin-top: 2px; background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ticket { background: #fff; width: min(320px, 100%); margin-inline: auto; padding: 26px 24px 34px; font-family: var(--mono); font-size: 14px; line-height: 1.5; color: #111; box-shadow: 0 30px 60px rgba(15,23,36,.18); position: relative; transform: rotate(-1.5deg); }
.ticket::after { content: ''; position: absolute; left: 0; right: 0; bottom: -10px; height: 12px; background: radial-gradient(circle at 6px -2px, transparent 7px, #fff 7.5px) 0 0 / 12px 12px repeat-x; }
.ticket .c { text-align: center; }
.ticket .big { font-size: 22px; font-weight: 700; }
.ticket hr { border: 0; border-top: 1px dashed #999; margin: 10px 0; }
.ticket .item { font-size: 19px; font-weight: 700; }
.ticket .opt { padding-left: 18px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* Risparmio */
.savings { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 40px; }
.saving h3 { font-size: 21px; display: flex; gap: 10px; }
.saving h3::before { content: '€'; color: var(--coral); }
.saving p { color: var(--muted); font-size: 15px; margin: 6px 0 0 24px; }
.example { margin-top: 56px; background: var(--night); color: #fff; border-radius: 22px; padding: 30px 32px; }
.example .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--night-3); font-size: 16px; }
.example .row b { white-space: nowrap; }
.example .total { border: 0; color: var(--coral); font-family: var(--display); font-weight: 700; font-size: 24px; padding-top: 18px; }
.example small { display: block; color: var(--muted-on-dark); font-size: 13px; margin-top: 8px; font-style: italic; }
@media (max-width: 760px) { .savings { grid-template-columns: 1fr; } .example { padding: 24px 20px; } .example .row { font-size: 14px; } }

/* Prezzo */
.pricing { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: start; }
.price-card { background: var(--night); color: #fff; border-radius: 26px; padding: 40px 36px; position: relative; overflow: hidden; }
.price-card .eyebrow { color: var(--coral); }
.price { font-family: var(--display); font-weight: 700; font-size: 84px; line-height: 1; margin-top: 18px; letter-spacing: -0.04em; }
.price small { font-size: 22px; font-weight: 600; color: var(--muted-on-dark); letter-spacing: 0; }
.price-card .ticks li { color: #e7ebf1; }
.price-card .btn { margin-top: 30px; width: 100%; }
.price-card .fine { margin-top: 14px; font-size: 13px; color: var(--muted-on-dark); text-align: center; }
.compare { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 34px 32px; }
.compare h3 { font-size: 24px; }
.compare table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; }
.compare td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare td:last-child { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 12px; }
.compare tr.us td { color: var(--coral); }
.compare small { display: block; margin-top: 14px; font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } .price { font-size: 68px; } .price-card { padding: 32px 24px; } .compare { padding: 26px 22px; } }

/* Domande */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font-family: var(--display); font-weight: 600; font-size: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--coral); font-size: 26px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; max-width: 700px; }

/* Chiusura */
.final { background: var(--night); color: #fff; text-align: center; padding: 96px 0; position: relative; overflow: hidden; }
.final h2 { font-size: clamp(38px, 5.4vw, 66px); }
.final .lead { margin: 18px auto 0; color: var(--muted-on-dark); }
.final .hero-cta { justify-content: center; }
.contact { margin-top: 30px; color: var(--muted-on-dark); font-size: 15px; }
.contact a { color: #fff; }

footer { background: #0a101a; color: var(--muted-on-dark); font-size: 14px; padding: 34px 0; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; }
footer nav { display: flex; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
