/* ===========================================================
   Nastro Caldo — Studio di registrazione analogico, Milano
   Design system: warm vintage analog, cream + rust + mustard + teal
   Display: Fraunces (soft characterful serif)   Body: DM Sans
   Distinct from Risuona (dark purple synth): light, warm, retro,
   1970s analog warmth.
   =========================================================== */

:root {
  --cream:    #f6ecd8;
  --cream-2:  #efe2c8;
  --paper:    #fbf5e9;
  --ink:      #2a2018;
  --ink-soft: #7a6a55;
  --rust:     #c0512f;
  --rust-dk:  #97391d;
  --mustard:  #d99a2b;
  --teal:     #2f7d72;
  --line:     #e3d4b6;
  --line-2:   #d6c29c;
  --radius:   18px;
  --maxw:     1180px;
  --shadow:   0 26px 56px -30px rgba(42, 32, 24, .34);
  --shadow-sm:0 14px 30px -18px rgba(42, 32, 24, .3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.72;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, .display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600; line-height: 1.04; letter-spacing: -0.015em;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.section { padding: 100px 0; }
.section--tight { padding: 64px 0; }
.section--cream { background: var(--cream); }
.section--teal { background: var(--teal); color: #fff; }
.section--rust { background: var(--rust); color: #fff; }

.eyebrow {
  font-family: 'DM Sans', sans-serif; text-transform: uppercase; letter-spacing: .22em;
  font-size: 12px; font-weight: 700; color: var(--rust);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 11px; height: 11px; border-radius: 50%; border: 3px solid var(--mustard); display: inline-block; }
.section--teal .eyebrow, .section--rust .eyebrow { color: #fff; }
.section--teal .eyebrow::before, .section--rust .eyebrow::before { border-color: var(--mustard); }

.h-xl { font-size: clamp(2.9rem, 7vw, 5.6rem); }
.h-lg { font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
.h-md { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }

.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 58ch; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.hl { color: var(--rust); font-style: italic; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 15px;
  padding: 15px 30px; border-radius: 100px; border: 2px solid transparent; cursor: pointer;
  transition: all .18s ease;
}
.btn--primary { background: var(--rust); color: #fff; }
.btn--primary:hover { background: var(--rust-dk); transform: translateY(-2px); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.section--teal .btn--ghost, .section--rust .btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.section--teal .btn--ghost:hover, .section--rust .btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--mustard { background: var(--mustard); color: var(--ink); }
.btn--mustard:hover { background: #c4882080; background: #c08620; transform: translateY(-2px); }

/* ---------- NAV ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251,245,233,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 82px; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.brand { font-family: 'Fraunces', serif; font-weight: 600; font-size: 26px; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--rust); display: grid; place-items: center; flex: none; }
.brand__mark::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--mustard); }
.brand span { color: var(--rust); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.nav__links a:hover, .nav__links a.active { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--ink); }

/* ---------- HERO ---------- */
.hero { padding: 72px 0 88px; position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero h1 { margin: 20px 0 22px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero__stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.stat b { font-family: 'Fraunces', serif; font-size: 2.3rem; display: block; line-height: 1; color: var(--rust); }
.stat small { font-size: .82rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }
.hero__media { position: relative; }
.hero__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4/3.6; object-fit: cover; box-shadow: var(--shadow); }
.hero__chip { position: absolute; bottom: -16px; right: -10px; background: var(--mustard); color: var(--ink); font-family: 'Fraunces', serif; font-weight: 600; padding: 12px 20px; border-radius: 100px; font-size: 15px; box-shadow: var(--shadow-sm); }
.hero__dot { position: absolute; top: -20px; left: -20px; width: 90px; height: 90px; border-radius: 50%; background: var(--teal); z-index: -1; }

/* ---------- marquee ---------- */
.tape { background: var(--ink); color: var(--cream); overflow: hidden; }
.tape__track { display: flex; white-space: nowrap; padding: 14px 0; font-family: 'Fraunces', serif; font-style: italic; font-size: 18px; animation: slide 32s linear infinite; }
.tape__track span { padding: 0 22px; display: inline-flex; align-items: center; gap: 22px; }
.tape__track span::after { content: "●"; color: var(--mustard); font-size: 9px; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .tape__track { animation: none; } }

/* ---------- grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.align-c { align-items: center; }

.sec-head { max-width: 700px; margin-bottom: 54px; }
.sec-head.center { margin-left: auto; margin-right: auto; }
.sec-head .eyebrow { margin-bottom: 16px; }
.sec-head h2 { margin-bottom: 14px; }

/* ---------- cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card__ic { width: 54px; height: 54px; border-radius: 50%; background: var(--cream); border: 2px solid var(--mustard); display: grid; place-items: center; margin-bottom: 20px; font-family: 'Fraunces', serif; font-weight: 600; color: var(--rust); font-size: 1.2rem; }
.card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.card li { padding-left: 22px; position: relative; font-size: .94rem; color: var(--ink-soft); }
.card li::before { content: "♪"; position: absolute; left: 0; color: var(--teal); }

/* ---------- feature ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature--rev .feature__media { order: 2; }
.feature__media img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; }
.feature__copy .eyebrow { margin-bottom: 14px; }
.feature__copy h2 { margin-bottom: 14px; }
.feature ul { list-style: none; margin-top: 22px; display: grid; gap: 13px; }
.feature li { padding-left: 30px; position: relative; color: var(--ink-soft); }
.feature li::before { content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 3px; background: var(--rust); border-radius: 3px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.figure { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--ink); }
.figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .5s ease; }
.figure:hover img { transform: scale(1.05); }
.figure figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(251,245,233,.94); border-radius: 12px; padding: 13px 16px; }
.figure figcaption span { font-size: 11px; color: var(--rust); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.figure figcaption h4 { font-family: 'Fraunces', serif; font-size: 1.15rem; margin-top: 2px; }

/* ---------- stat band ---------- */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.statband b { font-family: 'Fraunces', serif; font-size: 2.9rem; display: block; line-height: 1; color: var(--mustard); }
.statband small { font-size: .84rem; color: rgba(255,255,255,.82); text-transform: uppercase; letter-spacing: .1em; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.quote p { font-family: 'Fraunces', serif; font-size: 1.25rem; line-height: 1.4; }
.quote__who { margin-top: 18px; font-size: .88rem; color: var(--ink-soft); padding-top: 14px; border-top: 1px solid var(--line); }
.quote__who b { display: block; color: var(--ink); font-size: .98rem; }

/* ---------- pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.tier { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 30px; }
.tier--feat { background: var(--ink); color: var(--cream); }
.tier--feat .muted { color: rgba(246,236,216,.7); }
.tier__name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.3rem; }
.tier__price { font-family: 'Fraunces', serif; font-weight: 600; font-size: 2.9rem; margin: 12px 0 4px; }
.tier__price small { font-size: .95rem; color: var(--ink-soft); }
.tier--feat .tier__price small { color: rgba(246,236,216,.7); }
.tier ul { list-style: none; margin: 22px 0 26px; display: grid; gap: 11px; }
.tier li { padding-left: 24px; position: relative; font-size: .95rem; }
.tier li::before { content: "♪"; position: absolute; left: 0; color: var(--teal); }
.tier--feat li::before { color: var(--mustard); }
.tier .btn { width: 100%; justify-content: center; }
.tier__badge { display: inline-block; background: var(--cream); color: var(--rust); border-radius: 100px; padding: 5px 14px; font-size: 12px; font-weight: 700; margin-bottom: 14px; }
.tier--feat .tier__badge { background: var(--mustard); color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.2rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: 'Fraunces', serif; font-size: 1.7rem; color: var(--rust); flex: none; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 28px 26px; color: var(--ink-soft); max-width: 76ch; }

/* ---------- timeline ---------- */
.timeline { display: grid; gap: 14px; }
.tl { display: grid; grid-template-columns: 110px 1fr; gap: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; }
.tl__y { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.7rem; color: var(--rust); }
.tl h4 { font-family: 'Fraunces', serif; font-size: 1.3rem; margin-bottom: 6px; }
.tl p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- values ---------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.value { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.value__n { font-family: 'Fraunces', serif; color: var(--teal); font-size: 1.5rem; }
.value h4 { font-family: 'Fraunces', serif; font-size: 1.4rem; margin: 4px 0 8px; }
.value p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- CTA ---------- */
.cta { background: var(--ink); color: var(--cream); border-radius: var(--radius); padding: 64px 50px; text-align: center; }
.cta h2 { margin-bottom: 14px; }
.cta p { color: rgba(246,236,216,.78); max-width: 52ch; margin: 0 auto 28px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; }
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row__ic { width: 46px; height: 46px; border-radius: 50%; flex: none; background: var(--cream); border: 2px solid var(--mustard); color: var(--rust); display: grid; place-items: center; font-family: 'Fraunces', serif; }
.info-row b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.info-row span { font-size: 1.05rem; }
.map-ph { margin-top: 22px; height: 200px; border-radius: var(--radius); border: 1px solid var(--line-2); background: repeating-linear-gradient(45deg, var(--cream), var(--cream) 16px, var(--cream-2) 16px, var(--cream-2) 32px); display: grid; place-items: center; font-family: 'Fraunces', serif; color: var(--rust); }

/* ---------- forms ---------- */
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; color: var(--ink-soft); font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; font-family: inherit; font-size: 1rem; background: var(--cream); color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--rust); }
.field textarea { min-height: 130px; resize: vertical; }
.form .btn { width: 100%; justify-content: center; }
.form__note { font-size: .82rem; color: var(--ink-soft); margin-top: 14px; }

/* ---------- page hero ---------- */
.page-hero { padding: 72px 0 60px; text-align: center; border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.2rem); margin-bottom: 14px; }
.page-hero p { color: var(--ink-soft); max-width: 60ch; margin: 0 auto; font-size: 1.12rem; }
.crumbs { font-size: .8rem; color: var(--ink-soft); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .1em; }
.crumbs a:hover { color: var(--rust); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(246,236,216,.72); padding: 76px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 42px; }
.footer .brand { color: var(--cream); }
.footer .brand span { color: var(--mustard); }
.footer__about { margin-top: 16px; font-size: .95rem; max-width: 32ch; }
.footer h5 { font-family: 'Fraunces', serif; color: var(--cream); font-size: 1.1rem; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a:hover { color: var(--mustard); }
.footer__bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(246,236,216,.16); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: rgba(246,236,216,.5); }

/* ---------- cookie ---------- */
.cookie { position: fixed; left: 22px; right: 22px; bottom: 22px; z-index: 80; max-width: 780px; margin: 0 auto; background: var(--ink); color: var(--cream); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 22px; justify-content: space-between; flex-wrap: wrap; }
.cookie p { font-size: .9rem; color: rgba(246,236,216,.8); flex: 1 1 320px; }
.cookie a { color: var(--mustard); text-decoration: underline; }
.cookie__btns { display: flex; gap: 10px; }
.cookie .btn { padding: 11px 22px; font-size: 13px; }

/* ---------- legal ---------- */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.25rem; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 12px; }
.legal ul { margin: 0 0 16px 22px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: .92rem; }
.legal th, .legal td { border: 1px solid var(--line-2); padding: 10px 13px; text-align: left; }
.legal th { background: var(--cream); font-family: 'Fraunces', serif; }
.legal .updated { color: var(--ink-soft); font-size: .9rem; }
.page-hero.legal-hero { text-align: left; }
.page-hero.legal-hero p { margin-left: 0; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .hero__grid, .feature, .grid-2, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .feature--rev .feature__media { order: 0; }
  .grid-3, .grid-4, .gallery, .quotes, .tiers, .statband, .values { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 68px 0; }
  .grid-3, .grid-4, .gallery, .quotes, .tiers, .statband, .values, .footer__grid { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 70px 1fr; gap: 16px; }
  .cta { padding: 44px 24px; }
}
