/* ============================================================================
   WHITE RE — white-re.com
   Design system: blu reale profondo + bianco, linee argento, dettagli oro.
   Font self-hosted (GDPR-clean). Made by Royaletiger.
   ============================================================================ */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-italic-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

:root {
  /* palette brand */
  --navy: #0B1B3A;
  --navy-deep: #071228;
  --navy-soft: #12294F;
  --navy-line: #1C3560;
  --ink: #14243F;
  --text: #43536F;
  --muted: #6E7E97;
  --bg: #FFFFFF;
  --bg-alt: #F6F8FB;
  --line: #DCE3EC;
  --silver: #C6CFDC;
  --silver-deep: #8A97AC;
  --gold: #C9A961;
  --gold-bright: #E8CE8F;
  --gold-deep: #A8873F;
  /* tipografia */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  /* sistema */
  --shadow-sm: 0 2px 10px rgba(11, 27, 58, .06);
  --shadow-md: 0 14px 34px rgba(11, 27, 58, .10);
  --shadow-lg: 0 30px 70px rgba(7, 18, 40, .45);
  --radius: 6px;
  --radius-lg: 10px;
  --container: 1240px;
  --nav-h: 78px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.14; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 300; }
h1 strong, h2 strong { font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 300; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: radial-gradient(1200px 700px at 80% -10%, var(--navy-soft) 0%, var(--navy) 55%, var(--navy-deep) 100%); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--silver); }

.eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: .74rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.section-dark .eyebrow { color: var(--silver); }
.eyebrow b { color: var(--gold-deep); font-weight: 600; }
.section-dark .eyebrow b { color: var(--gold); }

.gold { color: var(--gold); }
h2 .gold { color: var(--gold-deep); }
.section-dark h2 .gold { color: var(--gold); }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 500; letter-spacing: 0; }

.hairline {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--silver) 18%, #E9EEF5 50%, var(--silver) 82%, transparent);
}
.section-dark .hairline { opacity: .5; }

.idx { font-size: .74rem; font-weight: 600; letter-spacing: .3em; color: var(--gold-deep); }
.section-dark .idx { color: var(--gold); }

.lead { font-size: 1.13rem; line-height: 1.75; max-width: 62ch; }

/* ---------------------------------------------------------------- bottoni */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 32px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-display); font-size: .8rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-primary { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: var(--navy-deep); box-shadow: 0 10px 26px rgba(201, 169, 97, .35); }
.btn-primary:hover { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #fff; }
.btn-outline { border-color: var(--silver-deep); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-deep); }
.section-dark .btn-outline, .hero .btn-outline { color: #fff; border-color: var(--silver-deep); }
.section-dark .btn-outline:hover, .hero .btn-outline:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn .arr { font-weight: 400; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  background: rgba(7, 18, 40, .55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(198, 207, 220, .12);
  transition: background .3s;
}
.site-header.scrolled { background: rgba(7, 18, 40, .92); }
.site-header.has-menu-open {
  backdrop-filter: none; -webkit-backdrop-filter: none;
  background: var(--navy-deep);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 46px; height: 34px; }
.brand .brand-name { font-size: 1rem; font-weight: 600; letter-spacing: .42em; color: #fff; }
.nav-menu { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nav-menu a {
  display: block; padding: 10px 14px; white-space: nowrap;
  font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--silver); transition: color .25s;
}
.nav-menu a:hover { color: #fff; }
.nav-menu a[aria-current="page"], .nav-menu a.is-active { color: var(--gold-bright); }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 12px 22px; font-size: .7rem; }
.nav-menu a.btn-primary { color: var(--navy-deep); }
.nav-menu a.btn-primary:hover { color: #fff; }

/* ---------------------------------------------------------------- menu mobile (pattern Royaletiger) */
body.is-locked {
  position: fixed; width: 100%; overflow: hidden;
  top: var(--scroll-lock-top, 0); overflow-anchor: none;
}
.nav-overlay { display: none; }
.nav-toggle {
  display: none; width: 46px; height: 46px;
  border: 1px solid rgba(198, 207, 220, .35); border-radius: 12px;
  background: transparent; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 20px; height: 1.6px; background: #fff;
  transition: transform .3s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-overlay {
    display: block; position: fixed; inset: 0; z-index: 89;
    background: rgba(4, 9, 20, .55); border: 0; padding: 0; cursor: pointer;
    opacity: 0; visibility: hidden;
    transition: opacity .38s var(--ease), visibility 0s linear .38s;
  }
  .nav-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .38s var(--ease), visibility 0s linear 0s; }

  /* ---- menu liquido full-screen brandizzato ---- */
  .nav-menu {
    position: fixed; inset: 0; z-index: 91;
    width: 100%; height: 100%;
    background:
      radial-gradient(900px 600px at 85% 0%, var(--navy-soft) 0%, transparent 60%),
      var(--navy-deep);
    display: flex; flex-direction: column; align-items: stretch; justify-content: center;
    gap: 2px; padding: 100px 34px 44px;
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; transform: translateY(-4%); visibility: hidden;
    transition: opacity .38s var(--ease), transform .38s var(--ease), visibility 0s linear .38s;
  }
  .nav-menu::before {
    content: ""; position: fixed; right: -60px; bottom: -30px;
    width: 320px; height: 235px; pointer-events: none;
    background: url('../img/logo-mark-light.png') no-repeat center / contain;
    opacity: .07;
  }
  .nav-menu.is-open {
    opacity: 1; transform: none; visibility: visible;
    transition: opacity .38s var(--ease), transform .38s var(--ease), visibility 0s linear 0s;
  }
  .nav-menu li { counter-increment: voce; opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .nav-menu.is-open li { opacity: 1; transform: none; }
  .nav-menu.is-open li:nth-child(1) { transition-delay: .10s; }
  .nav-menu.is-open li:nth-child(2) { transition-delay: .16s; }
  .nav-menu.is-open li:nth-child(3) { transition-delay: .22s; }
  .nav-menu.is-open li:nth-child(4) { transition-delay: .28s; }
  .nav-menu.is-open li:nth-child(5) { transition-delay: .34s; }
  .nav-menu.is-open li:nth-child(6) { transition-delay: .40s; }
  .nav-menu.is-open li:nth-child(7) { transition-delay: .46s; }
  .nav-menu { counter-reset: voce; }
  .nav-menu a {
    display: flex; align-items: baseline; gap: 18px;
    padding: 13px 4px;
    font-size: clamp(1.5rem, 6vw, 2.1rem); font-weight: 300;
    letter-spacing: .02em; text-transform: none; color: #fff;
    border-bottom: 1px solid rgba(198, 207, 220, .12);
  }
  .nav-menu a::before {
    content: "0" counter(voce);
    font-size: .68rem; font-weight: 600; letter-spacing: .3em; color: var(--gold);
  }
  .nav-menu a:hover { color: var(--gold-bright); }
  .nav-menu a[aria-current="page"] { color: var(--gold-bright); font-weight: 600; }
  .nav-cta { margin: 26px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .nav-menu a.btn-primary { border-bottom: 0; font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
  .nav-menu a.btn-primary::before { content: none; }
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  min-height: min(92vh, 860px);
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 70px) 0 90px;
  background: var(--navy-deep);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(7, 18, 40, .96) 0%, rgba(7, 18, 40, .82) 38%, rgba(7, 18, 40, .38) 75%, rgba(7, 18, 40, .55) 100%),
    linear-gradient(0deg, rgba(7, 18, 40, .85) 0%, rgba(7, 18, 40, 0) 40%);
}
.hero .container { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--silver); margin-bottom: 26px;
}
.hero-eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 .gold { color: var(--gold); }
.hero .lead { color: var(--silver); margin: 22px 0 38px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-strip {
  position: relative; z-index: 2;
  margin-top: 70px; padding-top: 34px;
  border-top: 1px solid rgba(198, 207, 220, .22);
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 64px;
}
.hstat .n { font-size: 2rem; font-weight: 300; color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hstat .n em { font-style: normal; color: var(--gold); }
.hstat .t { font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--silver-deep); margin-top: 6px; }

/* ---------------------------------------------------------------- metodo (home staging) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split-media::before {
  content: ""; position: absolute; inset: 26px -26px -26px 26px;
  border: 1px solid var(--gold); border-radius: var(--radius-lg); z-index: -1; opacity: .5;
}
.media-caption {
  position: absolute; left: 22px; bottom: 22px;
  background: rgba(7, 18, 40, .82); color: var(--silver);
  font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 3px; backdrop-filter: blur(6px);
}
.points { margin: 30px 0 0; padding: 0; list-style: none; }
.points li {
  display: grid; grid-template-columns: 52px 1fr; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.points li:last-child { border-bottom: 0; }
.points h3 { margin: 0 0 4px; font-size: 1.04rem; }
.points p { margin: 0; font-size: .94rem; }
.motto {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--ink); line-height: 1.3;
}
.motto .gold { color: var(--gold-deep); }

/* ---------------------------------------------------------------- proposte */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 54px; }
.card {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--navy-line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); border-color: var(--gold-deep); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-tag {
  position: absolute; top: 14px; left: 14px;
  font-size: .64rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 3px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: var(--navy-deep);
}
.card-tag.tag-rent { background: rgba(7, 18, 40, .85); color: var(--silver); border: 1px solid var(--silver-deep); }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { color: #fff; margin: 0 0 6px; font-size: 1.05rem; }
.card-place {
  font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px;
}
.card-body p { font-size: .9rem; margin: 0 0 18px; }
.card-link {
  margin-top: auto; align-self: flex-start;
  font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-bright); display: inline-flex; gap: 8px; align-items: center;
}
.card-link:hover { color: var(--gold); }

/* ---------------------------------------------------------------- chi siamo */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.chips li {
  border: 1px solid var(--silver); border-radius: 999px; padding: 10px 18px;
  font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text);
}
.chips li.chip-gold { border-color: var(--gold); color: var(--gold-deep); }

/* ---------------------------------------------------------------- servizi */
.serv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 54px; border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.serv {
  padding: 34px 30px 30px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg); transition: box-shadow .3s;
}
.serv:hover { box-shadow: var(--shadow-md); position: relative; z-index: 2; }
.serv svg { width: 40px; height: 40px; stroke: var(--gold-deep); margin-bottom: 16px; }
.serv h3 { font-size: 1.02rem; margin-bottom: 8px; }
.serv p { font-size: .9rem; margin: 0; }

/* ---------------------------------------------------------------- cta banner */
.cta-banner { text-align: center; padding: 110px 0; }
.cta-banner .crown-foot { width: 74px; margin: 0 auto 26px; }
.cta-banner h2 { max-width: 24ch; margin-left: auto; margin-right: auto; }
.cta-banner .lead { margin: 18px auto 40px; }
.cta-banner .hero-cta { justify-content: center; }

/* ---------------------------------------------------------------- contatti */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; margin-top: 54px; align-items: start; }
.nap { display: flex; flex-direction: column; gap: 0; }
.nap-item { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 30px 1fr; gap: 16px; align-items: start; }
.nap-item:first-child { padding-top: 0; }
.nap-item svg { width: 22px; height: 22px; stroke: var(--gold-deep); margin-top: 4px; }
.nap-item h3 { font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.nap-item p { margin: 0; font-size: .98rem; color: var(--ink); }
.nap-item a { color: var(--ink); }
.nap-item a:hover { color: var(--gold-deep); }
.nap-item .maps-link { font-size: .8rem; color: var(--gold-deep); font-weight: 600; }

.form-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
input, textarea, select {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body); font-size: .98rem; color: var(--ink);
  background: var(--bg-alt);
  transition: border-color .25s;
}
input:focus, textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
textarea { resize: vertical; min-height: 130px; }
.privacy-row { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; }
.privacy-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold-deep); }
.privacy-row label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .85rem; color: var(--text); margin: 0; }
#formStatus { min-height: 1.4em; font-size: .9rem; color: var(--gold-deep); margin-top: 10px; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy-deep); color: var(--silver); padding: 80px 0 0; border-top: 1px solid var(--navy-line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 60px; }
.footer-grid h4 { color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; margin: 0 0 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--silver); font-size: .92rem; transition: color .25s; }
.footer-grid a:hover { color: var(--gold-bright); }
.footer-brand img { width: 150px; margin-bottom: 18px; }
.footer-brand p { font-size: .9rem; color: var(--silver-deep); max-width: 30ch; }
.footer-nap { font-size: .92rem; color: var(--silver); }
.footer-nap p { margin: 0 0 10px; }
.footer-nap a { color: var(--silver); }
.footer-bottom {
  border-top: 1px solid var(--navy-line); padding: 24px 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  font-size: .8rem; color: var(--silver-deep);
}
.footer-bottom a { color: var(--silver-deep); }
.footer-bottom a:hover { color: var(--gold-bright); }
.footer-bottom .legal { display: flex; gap: 20px; }

/* ---------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- servizi (pagina) */
.serv-section { padding: 84px 0; border-bottom: 1px solid var(--line); }
.serv-section:last-of-type { border-bottom: 0; }
.serv-section .split { align-items: center; }
.serv-list { margin: 22px 0 28px; padding: 0; list-style: none; }
.serv-list li {
  position: relative; padding: 9px 0 9px 30px; font-size: .98rem;
}
.serv-list li::before {
  content: ""; position: absolute; left: 0; top: 1.05em;
  width: 16px; height: 1px; background: var(--gold);
}
.serv-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* ---------------------------------------------------------------- processo (home staging) */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 54px; border-top: 1px solid var(--navy-line); }
.process .ph { padding: 28px 26px 0 0; border-left: 1px solid var(--navy-line); padding-left: 26px; }
.process .ph:first-child { border-left: 0; padding-left: 0; }
.process h3 { color: #fff; font-size: 1.02rem; margin: 14px 0 8px; }
.process p { font-size: .9rem; margin: 0; }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 820px; margin-top: 44px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; color: var(--gold-deep); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 22px; margin: 0; max-width: 68ch; }

/* ---------------------------------------------------------------- blog */
.blog-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 54px; }
.bcard {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.bcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.bcard-media { aspect-ratio: 16 / 9; overflow: hidden; }
.bcard-media img { width: 100%; height: 100%; object-fit: cover; }
.bcard-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.bcard-meta { font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.bcard-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.bcard-body h3 a { color: var(--ink); }
.bcard-body h3 a:hover { color: var(--gold-deep); }
.bcard-body p { font-size: .93rem; margin: 0 0 18px; }
.bcard .card-link { color: var(--gold-deep); margin-top: auto; align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; display: inline-flex; gap: 8px; }
.post-hero-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin: 0 0 40px; }
.prose blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--gold);
  font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--ink);
}

/* ---------------------------------------------------------------- pagine interne (policy / 404) */
.page-hero { background: var(--navy-deep); padding: calc(var(--nav-h) + 70px) 0 60px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); }
.breadcrumb { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--silver-deep); margin-bottom: 18px; }
.breadcrumb a { color: var(--silver); }
.breadcrumb a:hover { color: var(--gold-bright); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; font-weight: 700; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.err-wrap { text-align: center; padding: 140px 0; }
.err-wrap .big { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; color: var(--navy); letter-spacing: -.04em; line-height: 1; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1150px) and (min-width: 901px) {
  .nav-menu a { padding: 10px 9px; letter-spacing: .12em; font-size: .7rem; }
  .brand .brand-name { letter-spacing: .26em; font-size: .9rem; }
  .nav-wrap { gap: 14px; }
}
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split-media::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-strip { gap: 40px; }
}
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process .ph { padding: 24px 0 0 0; border-left: 0; border-top: 1px solid var(--navy-line); margin-top: 24px; }
  .process .ph:first-child, .process .ph:nth-child(2) { border-top: 0; margin-top: 0; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .serv-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-strip { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-card { padding: 28px 22px; }
  .brand .brand-name { letter-spacing: .3em; font-size: .9rem; }
  .blog-cards { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process .ph { border-top: 1px solid var(--navy-line); margin-top: 24px; padding-top: 24px; }
  .process .ph:nth-child(2) { border-top: 1px solid var(--navy-line); margin-top: 24px; }
  .process .ph:first-child { border-top: 0; margin-top: 0; padding-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .nav-menu, .nav-overlay { transition: none; }
  .btn, .card, .card-media img { transition: none; }
}

/* ============================================================================
   SUPER — dettagli cinematici e componenti premium
   ============================================================================ */

/* barra di avanzamento lettura */
#scrollProgress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 200;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  pointer-events: none;
}

/* hero cinematico */
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-media img { animation: kenburns 14s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero .hero-eyebrow { animation: fadeUp .7s var(--ease) .15s both; }
.hero h1 { animation: fadeUp .8s var(--ease) .3s both; }
.hero .lead { animation: fadeUp .8s var(--ease) .45s both; }
.hero .hero-cta { animation: fadeUp .8s var(--ease) .6s both; }
.hero .hero-strip { animation: fadeUp .9s var(--ease) .8s both; }
.scroll-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2; width: 1px; height: 54px; overflow: hidden; }
.scroll-hint::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, var(--gold));
  animation: scrollhint 2.2s ease-in-out infinite;
}
@keyframes scrollhint { 0% { transform: translateY(-100%); } 60% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* striscia scorrevole brandizzata */
.ticker {
  overflow: hidden; background: var(--navy-deep);
  border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line);
  padding: 18px 0;
}
.ticker-track { display: flex; gap: 56px; width: max-content; animation: ticker 38s linear infinite; }
.ticker-track > span {
  display: flex; align-items: center; gap: 56px;
  font-size: .76rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase;
  color: var(--silver); white-space: nowrap;
}
.ticker-track img { width: 22px; height: 16px; opacity: .85; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* banda citazione con parallax */
.quote-band { position: relative; background-size: cover; background-position: center; padding: 140px 0; }
@media (min-width: 1024px) { .quote-band { background-attachment: fixed; } }
.quote-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 18, 40, .9), rgba(7, 18, 40, .8)); }
.quote-band .container { position: relative; text-align: center; }
.quote-band .crown-q { width: 58px; margin: 0 auto 26px; display: inline-block; }
.quote-band .q {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem); color: #fff;
  max-width: 26ch; margin: 0 auto 20px; line-height: 1.35; text-wrap: balance;
}
.quote-band .q .gold { color: var(--gold-bright); }
.quote-band .qa { font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--silver); }

/* slider prima / dopo */
.ba-slider {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); aspect-ratio: 3 / 2; --pos: 50%;
  touch-action: pan-y;
}
.ba-slider > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.72) contrast(.92); }
.ba-line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  transform: translateX(-1px); pointer-events: none;
}
.ba-knob {
  position: absolute; top: 50%; left: var(--pos); transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-deep); border: 1px solid var(--gold);
  color: var(--gold-bright); display: flex; align-items: center; justify-content: center;
  font-size: 15px; letter-spacing: 3px; text-indent: 3px; pointer-events: none;
  box-shadow: 0 8px 24px rgba(7, 18, 40, .5);
}
.ba-slider input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0;
}
.ba-tag { position: absolute; top: 14px; font-size: .64rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; padding: 7px 13px; border-radius: 3px; pointer-events: none; }
.ba-tag-prima { left: 14px; background: rgba(7, 18, 40, .8); color: var(--silver); }
.ba-tag-dopo { right: 14px; background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: var(--navy-deep); }
.ba-note { font-size: .8rem; color: var(--muted); margin-top: 14px; }

@media (prefers-reduced-motion: reduce) {
  .hero-media img, .hero .hero-eyebrow, .hero h1, .hero .lead, .hero .hero-cta, .hero .hero-strip { animation: none; }
  .ticker-track { animation: none; }
  .scroll-hint { display: none; }
  .quote-band { background-attachment: scroll; }
}
