/* ===== HomeState Aste Immobiliari — stylesheet ===== */

:root{
  --navy: #16223f;
  --navy-deep: #0e1830;
  --navy-soft: #2c3b60;
  --gold: #c79a44;
  --gold-light: #e0b768;
  --cream: #f7f4ee;
  --white: #ffffff;
  --ink: #1c2438;
  --ink-soft: #5b6377;
  --line: #e3ddd0;
  --shadow: 0 20px 45px -20px rgba(14, 24, 48, 0.35);
  --radius: 4px;
  --maxw: 1180px;
}

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

::selection{ background: var(--gold); color: var(--white); }
::-webkit-scrollbar{ width: 11px; }
::-webkit-scrollbar-track{ background: var(--cream); }
::-webkit-scrollbar-thumb{ background: var(--navy-soft); border-radius: 6px; border: 2px solid var(--cream); }
::-webkit-scrollbar-thumb:hover{ background: var(--gold); }
html{ scrollbar-color: var(--navy-soft) var(--cream); scrollbar-width: thin; }
body{
  margin:0;
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family: 'Fraunces', Georgia, serif;
  margin: 0;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.wrap{ max-width: var(--maxw); margin:0 auto; padding: 0 clamp(16px, 3vw, 32px); }
.gold{ color: var(--gold); }
.navy{ color: var(--navy); }

/* ---------- header ---------- */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  background: rgba(10,16,32,0.22);
  border-bottom: 1px solid transparent;
  transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.site-header.scrolled{
  background: rgba(255,255,255,0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(14,24,48,.08);
}
.site-header .main-nav a{ color: var(--white); text-shadow: 0 1px 4px rgba(0,0,0,.45); transition: color .3s ease, text-shadow .3s ease; }
.site-header.scrolled .main-nav a{ color: var(--navy); text-shadow:none; }
.main-nav.open a{ color: var(--navy) !important; text-shadow:none !important; }
.nav-toggle span{ background: var(--white); transition: background-color .3s ease; }
.site-header.scrolled .nav-toggle span{ background: var(--navy); }
.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height: 84px;
}
.brand img{
  height: 46px; width:auto;
  transition: filter .35s ease;
  filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0,0,0,.5));
}
.site-header.scrolled .brand img{ filter: none; }
.main-nav{ display:flex; align-items:center; gap: 36px; }
.main-nav a{
  font-size: 14px; font-weight: 600; letter-spacing:.03em;
  color: var(--navy); padding: 8px 0; position:relative;
}
.main-nav a::after{
  content:''; position:absolute; left:0; right:0; bottom:-2px; height:2px;
  background: var(--gold); transform: scaleX(0); transition: transform .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after{ transform: scaleX(1); }
.main-nav a.active{ color: var(--gold); }

.header-cta{
  display:inline-flex; align-items:center; gap:8px;
  background: var(--gold); color: var(--white);
  font-size: 13px; font-weight:700; letter-spacing:.03em;
  padding: 12px 22px; border-radius: var(--radius);
  transition: background .2s ease, transform .2s ease;
  white-space: nowrap;
}
.header-cta:hover{ background: var(--navy); transform: translateY(-1px); }
.header-cta svg{ width:16px; height:16px; flex-shrink:0; }

.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:6px; }
.nav-toggle span{ display:block; width:24px; height:2px; background:var(--navy); margin:5px 0; }

/* ---------- hero (home) ---------- */
.hero{
  position:relative; min-height: 100vh; overflow: hidden;
  display:flex; align-items:center;
  padding-top: 84px;
}
.hero-bg{
  position:absolute; inset:0; background-size: cover; background-position: center;
  animation: kenburns 24s ease-in-out infinite alternate; z-index:0;
}
@keyframes kenburns{
  0%{ transform: scale(1); }
  100%{ transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce){
  .hero-bg{ animation: none; }
}
.hero::before{
  content:''; position:absolute; inset:0; z-index:1;
  background: linear-gradient(100deg, rgba(14,24,48,.72) 0%, rgba(14,24,48,.55) 38%, rgba(14,24,48,.15) 62%, rgba(14,24,48,0) 78%);
}
.hero-content{ position:relative; z-index:2; max-width: 640px; padding: 60px 0; }
.hero-kicker{
  font-family:'Fraunces', serif; font-style: italic; font-weight: 500;
  font-size: 19px; color: var(--gold-light); margin-bottom: 26px;
  max-width: 420px;
}
.hero h1{
  color: var(--white); font-size: clamp(48px, 7vw, 86px);
  line-height: .95; margin-bottom: 4px;
}
.hero h1 .home-part{ color: var(--white); }
.hero h1 .state-part{ color: var(--gold-light); }
.hero .tagline{
  font-family:'Fraunces', serif; font-size: clamp(20px, 2.4vw, 28px);
  color: var(--white); font-weight:500; margin: 6px 0 28px;
}
.hero p{ color: rgba(255,255,255,.86); font-size: 16px; max-width: 460px; margin: 0 0 14px; }
.hero p strong{ color: var(--gold-light); }

.wa-button{
  display:inline-flex; align-items:center; gap:10px;
  background: var(--gold); color:var(--white);
  font-size:14px; font-weight:700; letter-spacing:.03em;
  padding: 16px 28px; border-radius: var(--radius);
  margin-top: 20px; box-shadow: var(--shadow);
  transition: transform .2s ease, background .2s ease;
}
.wa-button:hover{ background:#b5872f; transform: translateY(-2px); }
.wa-button svg{ width:19px; height:19px; }

.location-badge{
  position:absolute; right: 32px; bottom: 36px; z-index:2;
  display:flex; align-items:center; gap:10px;
  color: var(--white); font-size: 13px; font-weight:600; letter-spacing:.04em;
  text-align:right;
}
.location-badge svg{ width:22px; height:22px; color: var(--gold-light); }

.scroll-cue{
  position:absolute; left:50%; bottom: 30px; transform: translateX(-50%);
  z-index:2; display:flex; flex-direction:column; align-items:center; gap:10px;
  color: rgba(255,255,255,.75); font-size:11px; letter-spacing:.15em; font-weight:600;
}
.scroll-cue .pill{
  width: 24px; height:38px; border: 2px solid rgba(255,255,255,.6); border-radius: 20px;
  position:relative;
}
.scroll-cue .pill::after{
  content:''; position:absolute; top:6px; left:50%; transform: translateX(-50%);
  width:4px; height:8px; border-radius:2px; background: var(--white);
  animation: scrollpulse 1.8s infinite;
}
@keyframes scrollpulse{ 0%{opacity:1; top:6px;} 100%{opacity:0; top:18px;} }

/* ---------- inner page hero (smaller) ---------- */
.page-hero{
  position:relative; padding: 190px 0 90px; margin-top:0; overflow:hidden;
  display:flex; align-items:flex-end;
}
.page-hero::before{
  content:''; position:absolute; inset:0; z-index:1;
  background: linear-gradient(100deg, rgba(14,24,48,.82) 10%, rgba(14,24,48,.55) 55%, rgba(14,24,48,.2) 85%);
}
.page-hero .wrap{ position:relative; z-index:2; width:100%; text-align:left; }
.page-hero .eyebrow{
  font-family:'Fraunces', serif; font-style: italic; font-weight: 500;
  color: var(--gold-light); font-size:18px; margin-bottom:14px;
}
.page-hero h1{ color:var(--white); font-size: clamp(34px,5vw,58px); line-height:1.05; max-width: 620px; text-align:left; }
.page-hero p{ color: rgba(255,255,255,.85); max-width: 520px; margin-top:16px; font-size:16px; text-align:left; }

.quote-float{
  position:relative; z-index:3; margin-top: -70px; margin-left:auto; margin-right:0;
  max-width: 340px; background: var(--white); box-shadow: var(--shadow);
  border-left: 4px solid var(--gold); padding: 26px 28px; border-radius: var(--radius);
}
.quote-float p{ font-family:'Fraunces',serif; font-style:italic; font-size:17px; color:var(--navy); margin:0 0 10px; }
.quote-float span{ font-size:11px; font-weight:700; letter-spacing:.08em; color: var(--gold); }

/* ---------- generic sections ---------- */
section{ padding: 96px 0; }
.section-cream{ background: var(--cream); }
.section-navy{ background: var(--navy-deep); color: var(--white); }
.section-navy h2, .section-navy h3{ color: var(--white); }

.eyebrow-line{
  font-family:'Fraunces', serif; font-style: italic; font-weight: 500;
  font-size:17px; color: var(--gold);
  margin-bottom: 14px;
}

.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-head h2{ font-size: clamp(28px,3.4vw,42px); line-height:1.15; }
.section-head p{ color: var(--ink-soft); margin-top:16px; font-size:16px; }

/* feature strip (icons row) */
.feature-strip{
  display:grid; grid-template-columns: repeat(4,1fr); gap: 36px;
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  padding: 40px 0;
}
.feature-strip .feature{ display:flex; gap:14px; align-items:flex-start; }
.feature-strip svg{ width:30px; height:30px; color: var(--gold); flex-shrink:0; margin-top:2px; }
.feature h4{ font-size:13px; font-weight:700; letter-spacing:.06em; color:var(--navy); font-family:'Work Sans',sans-serif; margin-bottom:4px; }
.feature p{ font-size:14px; color: var(--ink-soft); margin:0; }

/* service cards */
.service-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.service-card{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow:hidden; display:flex; flex-direction:column;
  transition: border-color .2s ease;
}
.service-card:hover{ border-color: var(--gold); }
.service-card .thumb{ height: 190px; background-size:cover; background-position:center; position:relative; }
.service-card .thumb .icon-badge{
  position:absolute; top:16px; left:16px; width:44px; height:44px;
  background: rgba(22,34,63,.55); border: 1px solid rgba(255,255,255,.5); border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
}
.service-card .thumb .icon-badge svg{ width:21px; height:21px; color: var(--white); }
.service-card .body{ padding: 26px 26px 28px; display:flex; flex-direction:column; flex:1; }
.service-card h3{ font-size: 20px; margin-bottom:14px; }
.service-card ul{ margin-bottom: 22px; flex:1; }
.service-card ul li{
  font-size: 14px; color: var(--ink-soft); padding-left: 20px; position:relative; margin-bottom:9px;
}
.service-card ul li::before{
  content:''; position:absolute; left:0; top:8px; width:6px; height:6px; background: var(--gold); border-radius:50%;
}
.btn-outline{
  display:inline-flex; align-items:center; gap:8px; align-self:flex-start;
  border: 1px solid var(--navy); color: var(--navy);
  font-size: 13px; font-weight:700; letter-spacing:.03em;
  padding: 11px 20px; border-radius: var(--radius);
  transition: background .2s ease, color .2s ease;
}
.btn-outline:hover{ background: var(--navy); color: var(--white); }

/* checklist */
.check-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap: 18px 40px; }
.check-item{ display:flex; gap:14px; align-items:flex-start; font-size:15px; }
.check-item svg{ width:20px; height:20px; color: var(--gold); flex-shrink:0; margin-top:3px; }

/* audience cards (home) */
.audience-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.audience-card{
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; transition: border-color .2s ease;
}
.audience-card:hover{ border-color: var(--gold); }
.audience-card .icon{ width: 32px; height:32px; color: var(--gold); margin-bottom: 18px; display:block; }
.audience-card h3{ font-size:19px; margin-bottom:10px; }
.audience-card p{ font-size:14px; color: var(--ink-soft); margin:0; }

/* CTA banner */
.cta-banner{
  position:relative; padding: 90px 0; background-size:cover; background-position:center;
  text-align:center;
}
.cta-banner::before{ content:''; position:absolute; inset:0; background: rgba(14,24,48,.86); }
.cta-banner .wrap{ position:relative; z-index:2; }
.cta-banner .eyebrow-line{ justify-content:center; }
.cta-banner .eyebrow-line::before{ display:none; }
.cta-banner h2{ color:var(--white); font-size: clamp(28px,3.6vw,42px); margin-bottom:12px; }
.cta-banner p{ color: rgba(255,255,255,.78); margin-bottom:30px; }
.cta-banner .wa-button{ margin-top:0; }
.cta-banner .caption{ display:block; margin-top:14px; font-size:12px; color: rgba(255,255,255,.6); letter-spacing:.04em; }

/* story text page */
.story{ max-width: 720px; }
.story p{ font-size: 16.5px; color: var(--ink); margin-bottom: 22px; }
.story h2{ font-size: 26px; margin: 40px 0 18px; }

/* property listing */
.filter-bar{
  display:flex; flex-wrap:wrap; gap: 12px; margin-bottom: 44px;
}
.filter-bar button{
  font-family:'Work Sans',sans-serif; font-size:13px; font-weight:600; letter-spacing:.03em;
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); color: var(--navy); cursor:pointer; transition: all .2s ease;
}
.filter-bar button.active, .filter-bar button:hover{ background: var(--navy); color:var(--white); border-color:var(--navy); }

.property-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.property-card{
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius);
  overflow:hidden; display:flex; flex-direction:column; transition: border-color .2s ease;
}
.property-card:hover{ border-color: var(--gold); }
.property-card .photo{ height: 200px; background-size:cover; background-position:center; position:relative; }
.property-card .badge{
  position:absolute; top:14px; left:14px; background: var(--gold); color:var(--white);
  font-size:11px; font-weight:700; letter-spacing:.05em; padding:6px 12px; border-radius:999px;
}
.property-card .body{ padding: 22px 22px 24px; }
.property-card .loc{ font-size:12px; color: var(--ink-soft); letter-spacing:.03em; margin-bottom:6px; }
.property-card h3{ font-size: 18px; margin-bottom: 10px; }
.property-card .meta{ display:flex; gap:16px; font-size:13px; color: var(--ink-soft); margin-bottom: 16px; }
.property-card .price-row{ display:flex; align-items:center; justify-content:space-between; border-top:1px solid var(--line); padding-top:14px; }
.property-card .price{ font-family:'Fraunces',serif; font-size: 20px; color: var(--navy); font-weight:600; }
.property-card .price span{ font-size:12px; color: var(--ink-soft); font-family:'Work Sans',sans-serif; display:block; font-weight:400; }
.notice-box{
  background: var(--cream); border-left: 4px solid var(--gold); padding: 20px 24px;
  border-radius: var(--radius); margin-bottom: 48px; font-size: 14px; color: var(--ink-soft);
}

/* contact page */
.contact-grid{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items:flex-start; }
.contact-info h3{ font-size:20px; margin-bottom:18px; }
.contact-list{ margin-bottom: 32px; }
.contact-list li{ display:flex; gap:14px; align-items:flex-start; margin-bottom:20px; font-size:15px; }
.contact-list svg{ width:20px; height:20px; color:var(--gold); flex-shrink:0; margin-top:2px; }
.contact-list a{ color: var(--navy); font-weight:600; }
.map-frame{ border-radius: var(--radius); overflow:hidden; border:1px solid var(--line); box-shadow: var(--shadow); }
.map-frame iframe{ width:100%; height: 260px; border:0; display:block; }

.form-card{
  background: var(--cream); padding: 40px; border-radius: var(--radius); border: 1px solid var(--line);
}
.form-card h3{ font-size: 22px; margin-bottom: 8px; }
.form-card h4{ font-size: 16px; margin: 4px 0 18px; color: var(--navy); }
.form-card > p{ color: var(--ink-soft); font-size:14px; margin-bottom: 26px; }
.field{ margin-bottom: 18px; }
.field label{ display:block; font-size:13px; font-weight:600; color: var(--navy); margin-bottom:7px; }
.field-help{ display:block; color:var(--ink-soft); font-size:12px; line-height:1.5; margin:-2px 0 8px; }
.field input, .field textarea{
  width:100%; padding: 13px 15px; border:1px solid var(--line); border-radius: var(--radius);
  font-family:'Work Sans',sans-serif; font-size: 14px; background: var(--white); color: var(--ink);
}
.field input:focus, .field textarea:focus{ outline: 2px solid var(--gold); outline-offset:1px; }
.field textarea{ resize: vertical; min-height: 110px; }
.question-group{ border:0; padding:0; margin: 4px 0 20px; }
.question-group legend{ font-size:13px; font-weight:600; color:var(--navy); margin-bottom:10px; }
.choice{ display:flex !important; align-items:center; gap:9px; font-weight:400 !important; margin-bottom:9px; cursor:pointer; }
.choice input{ width:auto; accent-color:var(--gold); }
.form-submit{
  width:100%; border:none; cursor:pointer; background: var(--navy); color:var(--white);
  font-size:14px; font-weight:700; letter-spacing:.03em; padding: 15px; border-radius: var(--radius);
  transition: background .2s ease;
}
.form-submit:hover{ background: var(--gold); }
.form-note{ font-size:12px; color: var(--ink-soft); margin-top:12px; text-align:center; }

/* footer */
footer{ background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 64px 0 28px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 46px; }
.footer-brand img{ height: 40px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p{ font-size:14px; max-width: 300px; color: rgba(255,255,255,.6); }
.footer-col h4{ color: var(--white); font-family:'Work Sans',sans-serif; font-size:13px; font-weight:700; letter-spacing:.05em; margin-bottom:18px; }
.footer-col ul li{ margin-bottom: 11px; font-size: 14px; }
.footer-col a:hover{ color: var(--gold-light); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px;
  display:flex; justify-content:space-between; font-size:12px; color: rgba(255,255,255,.45); flex-wrap:wrap; gap:10px;
}

/* whatsapp float button */
.wa-float{
  position: fixed; right: 26px; bottom: 26px; z-index: 200;
  width: 58px; height:58px; border-radius:50%; background:#25D366;
  display:flex; align-items:center; justify-content:center; box-shadow: 0 10px 25px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.wa-float:hover{ transform: scale(1.08); }
.wa-float svg{ width: 30px; height:30px; color:white; }

/* ---------- bottone torna su ---------- */
.back-to-top{
  position: fixed; right: 26px; bottom: 96px; z-index: 199;
  width: 44px; height:44px; border-radius:50%; background: var(--white);
  border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(14,24,48,.15);
  display:flex; align-items:center; justify-content:center; color: var(--navy);
  opacity:0; pointer-events:none; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.back-to-top.visible{ opacity:1; pointer-events:auto; transform: translateY(0); }
.back-to-top svg{ width:18px; height:18px; }
.back-to-top:hover{ border-color: var(--gold); color: var(--gold); }
@media (max-width: 760px){
  .back-to-top{ right:20px; bottom:86px; width:40px; height:40px; }
}

/* ---------- banner cookie ---------- */
.cookie-banner{
  position: fixed; left:20px; right:20px; bottom:20px; z-index: 300;
  background: var(--navy-deep); color: rgba(255,255,255,.88);
  border-radius: var(--radius); padding: 20px 24px;
  display:flex; flex-wrap:wrap; align-items:center; gap:18px; justify-content:space-between;
  max-width: 720px; margin: 0 auto; box-shadow: 0 16px 36px rgba(0,0,0,.3);
  transform: translateY(160%); transition: transform .45s ease;
}
.cookie-banner.visible{ transform: translateY(0); }
.cookie-banner p{ font-size:13px; line-height:1.5; margin:0; flex:1; min-width:220px; }
.cookie-banner a{ color: var(--gold-light); text-decoration: underline; }
.cookie-banner .btn-outline{ border-color: var(--gold); color: var(--gold); flex-shrink:0; white-space:nowrap; }
.cookie-banner .btn-outline:hover{ background: var(--gold); color: var(--navy); }
@media (max-width: 600px){
  .cookie-banner{ left:12px; right:12px; bottom:12px; padding:18px; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .service-grid, .property-grid{ grid-template-columns: repeat(2,1fr); }
  .audience-grid{ grid-template-columns: 1fr; }
  .feature-strip{ grid-template-columns: repeat(2,1fr); row-gap: 28px; }
  .contact-grid{ grid-template-columns: 1fr; }
  .check-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px){
  .main-nav{
    position:fixed; top:84px; left:0; right:0; bottom:0;
    background: var(--white); flex-direction:column; align-items:flex-start;
    padding: 30px 32px; gap: 22px; transform: translateX(100%);
    transition: transform .3s ease; overflow-y:auto;
  }
  .main-nav.open{ transform: translateX(0); }
  .nav-toggle{ display:block; }
  .header-cta{ display:none; }
  .main-nav .header-cta{ display:inline-flex; margin-top:10px; }
  .service-grid, .property-grid{ grid-template-columns: 1fr; }
  .feature-strip{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .quote-float{ margin-top: 24px; max-width:none; }
  .location-badge{ display:none; }
  .hero{ min-height: 760px; padding-top: 76px; }
  .hero-content{ padding: 42px 0 96px; }
  .hero-kicker{ font-size:17px; margin-bottom:20px; }
  .hero h1{ font-size: clamp(42px, 14vw, 68px); }
  .hero p{ font-size:15px; }
  .page-hero{ min-height: 390px; padding: 142px 0 58px; }
  .page-hero h1{ font-size: clamp(34px, 10vw, 48px); }
  .page-hero p{ font-size:15px; }
  .form-card{ padding: 28px 22px; }
  section{ padding: 68px 0; }
}

/* ---------- motivo grafico: profilo del Vesuvio ---------- */
.vesuvio-divider{
  display:flex; justify-content:center; color: var(--gold);
  opacity: 0.55; margin: 0 auto;
}
.vesuvio-divider img{ width: 220px; height:auto; }
.section-navy .vesuvio-divider, .cta-banner .vesuvio-divider{ color: var(--gold-light); opacity:0.4; }

/* ---------- sezione numeri ---------- */
.stats-strip{
  background: var(--navy-deep); padding: 56px 0;
}
.stats-grid{
  display:grid; grid-template-columns: repeat(4,1fr); gap: 32px;
}
.stat-block{
  border-top: 2px solid var(--gold); padding-top: 18px;
}
.stat-block .stat-number{
  font-family:'Fraunces',serif; font-size: clamp(32px,4vw,46px); color: var(--white); font-weight:600;
  line-height:1; margin-bottom: 8px;
}
.stat-block .stat-number sup{ font-size: 0.5em; color: var(--gold-light); top:-0.6em; }
.stat-block .stat-label{ font-size: 14px; color: rgba(255,255,255,.7); }
.stats-note{
  margin-top: 28px; font-size: 12px; color: rgba(255,255,255,.4); max-width: 640px;
}

/* ---------- timeline di processo ---------- */
.process-timeline{
  display:grid; grid-template-columns: repeat(6,1fr); gap: 0; position:relative;
  margin-top: 12px;
}
.process-timeline::before{
  content:''; position:absolute; top:22px; left:8%; right:8%; height:1px; background: var(--line);
}
.process-step{ position:relative; padding: 0 14px; text-align:left; }
.process-step .step-marker{
  width:44px; height:44px; border-radius:50%; background: var(--white); border: 2px solid var(--gold);
  display:flex; align-items:center; justify-content:center; margin-bottom: 18px; position:relative; z-index:2;
  font-family:'Fraunces',serif; font-weight:600; color: var(--navy); font-size:16px;
}
.process-step h4{ font-size: 15px; color: var(--navy); margin-bottom: 8px; font-family:'Work Sans',sans-serif; font-weight:700; }
.process-step p{ font-size: 13px; color: var(--ink-soft); margin:0; }

@media (max-width: 980px){
  .process-timeline{ grid-template-columns: repeat(3,1fr); row-gap: 36px; }
  .process-timeline::before{ display:none; }
}
@media (max-width: 620px){
  .process-timeline{ grid-template-columns: 1fr; }
}

/* ---------- pull-quote editoriale ---------- */
.pull-quote{
  position:relative; padding: 110px 0; background-size:cover; background-position:center;
  display:flex; align-items:center; justify-content:center; text-align:center;
}
.pull-quote::before{ content:''; position:absolute; inset:0; background: rgba(14,24,48,.78); }
.pull-quote .wrap{ position:relative; z-index:2; }
.pull-quote blockquote{
  font-family:'Fraunces',serif; font-style:italic; font-weight:500;
  font-size: clamp(24px,3.4vw,38px); color: var(--white); max-width: 780px; margin: 0 auto 20px;
  line-height:1.35;
}
.pull-quote cite{ font-style:normal; font-size:13px; color: var(--gold-light); }

/* ---------- FAQ ---------- */
.faq-list{ max-width: 760px; }
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-item summary{
  list-style:none; cursor:pointer; padding: 22px 0; font-size: 17px; font-weight:600; color: var(--navy);
  display:flex; align-items:center; justify-content:space-between; gap:20px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary .plus{
  width:22px; height:22px; flex-shrink:0; position:relative;
}
.faq-item summary .plus::before, .faq-item summary .plus::after{
  content:''; position:absolute; background: var(--gold); border-radius:1px;
}
.faq-item summary .plus::before{ top:50%; left:0; width:100%; height:2px; transform: translateY(-50%); }
.faq-item summary .plus::after{ left:50%; top:0; width:2px; height:100%; transform: translateX(-50%); transition: transform .2s ease; }
.faq-item[open] summary .plus::after{ transform: translateX(-50%) rotate(90deg); opacity:0; }
.faq-item p{ padding: 0 0 22px; color: var(--ink-soft); font-size:15px; max-width: 620px; }

/* ---------- footer: dati societari ---------- */
.footer-legal{
  border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0; margin-bottom: 24px;
}
.footer-legal-grid{ display:flex; flex-wrap:wrap; gap: 8px 28px; font-size:12px; color: rgba(255,255,255,.5); }
.footer-legal-grid strong{ color: rgba(255,255,255,.75); font-weight:600; }

/* ---------- print ---------- */
@media print{
  .site-header, .wa-float, .nav-toggle, .cta-banner, .scroll-cue, .hero .location-badge{ display:none !important; }
  .hero, .page-hero{ min-height:auto; padding-top:20px; color:#000; }
  .hero::before, .page-hero::before{ display:none; }
  body{ background:#fff; }
  section{ padding: 30px 0; }
}

/* ---------- easter egg: il logo "fuma" al passaggio del mouse ---------- */
.brand{ position:relative; }
.smoke-puff{
  position:absolute; top:-4px; left:8px; width:20px; height:20px;
  color: var(--gold-light); opacity:0; pointer-events:none;
}
.brand:hover .smoke-puff{ animation: puff 1.3s ease-out; }
@keyframes puff{
  0%{ opacity:0; transform: translateY(2px) scale(.5); }
  20%{ opacity:.6; }
  100%{ opacity:0; transform: translateY(-22px) scale(1.4) translateX(4px); }
}

/* ---------- foto "appuntata" stile polaroid, sezione Chi Siamo ---------- */
.story-grid{
  display:grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items:start;
}
.story-grid .story p:first-of-type::first-letter{
  font-family:'Fraunces', serif; font-weight:700; font-size: 60px; float:left; line-height:0.78;
  padding: 5px 10px 0 0; color: var(--navy);
}
.pinned-photo{
  position:relative; transform: rotate(-2.2deg); background: var(--white);
  padding: 14px 14px 44px; margin-top: 8px;
  box-shadow: 0 20px 34px -20px rgba(14,24,48,.5);
}
.pinned-photo img{ display:block; width:100%; height:230px; object-fit:cover; filter: grayscale(35%) sepia(10%) contrast(1.05); }
.pinned-photo::before{
  content:''; position:absolute; top:-11px; left:50%; transform: translateX(-50%) rotate(-3deg);
  width:74px; height:24px; background: rgba(199,154,68,.5); border: 1px solid rgba(199,154,68,.65);
}
.pinned-photo figcaption{
  position:absolute; bottom:14px; left:14px; right:14px;
  font-family:'Fraunces',serif; font-style:italic; font-size:14px; color: var(--navy);
}
@media (max-width: 760px){
  .story-grid{ grid-template-columns: 1fr; }
  .pinned-photo{ max-width: 320px; margin: 8px auto 0; transform: rotate(-1.5deg); }
}

/* ---------- lettera del fondatore ---------- */
.founder-note{
  background: var(--cream); border-left: 4px solid var(--gold);
  padding: 44px 48px; display:flex; gap:28px; align-items:flex-start;
  max-width: 760px; margin-top: 48px;
}
.founder-note .avatar{
  width:56px; height:56px; border-radius:50%; background: var(--navy); color:var(--white);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  font-family:'Fraunces',serif; font-weight:600; font-size:19px;
}
.founder-note blockquote{
  font-family:'Fraunces',serif; font-style:italic; font-size:18px; line-height:1.55; color: var(--ink);
  margin: 0 0 20px;
}
.founder-note .signature{
  font-family:'Caveat', cursive; font-size: 32px; color: var(--gold); line-height:1; font-weight:600;
}
.founder-note .role{ font-size:13px; color: var(--ink-soft); margin-top:4px; }
.founder-note .customize-note{
  font-family:'Work Sans',sans-serif; font-size:11px; color: var(--ink-soft); opacity:.65;
  margin-top:18px; font-style:normal;
}
@media (max-width:600px){ .founder-note{ flex-direction:column; padding:32px 28px; } }

/* ---------- taglio diagonale: un solo momento di rottura della griglia ---------- */
.stats-strip{
  clip-path: polygon(0 34px, 100% 0, 100% calc(100% - 34px), 0 100%);
  padding: 96px 0 80px;
}

/* ---------- distanza da Napoli (contatti) ---------- */
.map-distance-note{
  font-family:'Fraunces',serif; font-style: italic; color: var(--navy); font-size: 15px; margin-top: 14px;
}

/* ---------- leggero zoom sulle foto al passaggio del mouse ---------- */
.property-card .photo, .service-card .thumb{ transition: transform .45s ease; }
.property-card:hover .photo, .service-card:hover .thumb{ transform: scale(1.06); }

/* ---------- loader iniziale: il martelletto d'asta ---------- */
#preloader{
  position: fixed; inset:0; z-index: 999; background: var(--cream);
  display:flex; align-items:center; justify-content:center;
  pointer-events:none;
  animation: preloaderOut 2.6s ease forwards;
}
#preloader.preloader-skip{ animation:none !important; opacity:0 !important; visibility:hidden !important; }
.preloader-inner{ display:flex; flex-direction:column; align-items:center; gap:16px; }
.preloader-logo{ width:150px; height:auto; opacity:0; animation: logoFadeIn .6s ease forwards; }
.gavel-wrap{ width:84px; height:84px; }
.gavel-swing{ transform-origin: 72px 66px; animation: gavelSwing 1.1s cubic-bezier(.36,.07,.19,.97) forwards; animation-delay: .55s; }
.impact-ring{ opacity:0; animation: impactRing 1.1s ease-out forwards; animation-delay:.55s; }
.preloader-caption{
  font-family:'Fraunces',serif; font-style:italic; color: var(--gold); font-size:15px;
  opacity:0; animation: captionIn 2.6s ease forwards;
}

@keyframes logoFadeIn{
  0%{ opacity:0; transform: translateY(8px) scale(.96); }
  100%{ opacity:1; transform: translateY(0) scale(1); }
}
@keyframes gavelSwing{
  0%, 55%{ transform: rotate(38deg); }
  74%{ transform: rotate(-6deg); }
  85%{ transform: rotate(3deg); }
  100%{ transform: rotate(0deg); }
}
@keyframes impactRing{
  0%, 68%{ opacity:0; transform: scale(.3); }
  76%{ opacity:.85; transform: scale(1); }
  100%{ opacity:0; transform: scale(1.7); }
}
@keyframes captionIn{
  0%, 78%{ opacity:0; transform: translateY(6px); }
  92%, 100%{ opacity:1; transform: translateY(0); }
}
@keyframes preloaderOut{
  0%, 84%{ opacity:1; visibility:visible; }
  100%{ opacity:0; visibility:hidden; }
}
@media (prefers-reduced-motion: reduce){
  #preloader{ animation:none; opacity:0; visibility:hidden; }
}

