/* =============================================
   AUTOCARROZZERIA DUEMILA — style.css
   Aruba Linux Basic · Static Site
   ============================================= */

/* ── RESET & VARIABLES ── */
:root {
  --bg:       #1e1e1e;
  --bg2:      #171717;
  --bg3:      #252525;
  --surface:  #2a2a2a;
  --surface2: #313131;
  --border:   rgba(255,255,255,0.07);
  --red:      #c8102e;
  --red2:     #a00d26;
  --red-glow: rgba(200,16,46,0.18);
  --white:    #ffffff;
  --gray:     rgba(255,255,255,0.55);
  --gray2:    rgba(255,255,255,0.30);
  --gold:     #d4a843;
  --font:     "Helvetica Neue", Helvetica, Arial, sans-serif;
  --r4:       4px;
  --r8:       8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--bg); color: var(--white); font-family: var(--font); line-height: 1.65; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

body.menu-open { overflow: hidden; }

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem;
  background: rgba(23,23,23,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.6); }
.nav-logo { height: 40px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray); transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--red); transition: width 0.25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--red) !important; color: var(--white) !important;
  padding: 0.48rem 1.3rem !important; border-radius: var(--r4) !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red2) !important; }
.nav-cta::after { display: none !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.85rem 2rem; border-radius: var(--r4);
  transition: all 0.22s; cursor: pointer; border: none; text-decoration: none;
  white-space: nowrap;
}
.btn-red  { background: var(--red);  color: var(--white); box-shadow: 0 4px 18px var(--red-glow); }
.btn-red:hover  { background: var(--red2); transform: translateY(-2px); box-shadow: 0 6px 26px rgba(200,16,46,0.38); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.22); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.05); transform: translateY(-2px); }
.btn-wa { background: #25d366; color: var(--white); }
.btn-wa:hover { background: #1ebc5a; transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }

/* ── LAYOUT ── */
.section { padding: 6rem 2rem; }
.section-alt { background: var(--bg2); }
.section-surface { background: var(--bg3); }
.container { max-width: 1120px; margin: 0 auto; }
.container-sm { max-width: 760px; margin: 0 auto; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.text-center { text-align: center; }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }
.flex-wrap { display: flex; gap: 1rem; flex-wrap: wrap; }
.flex-wrap-center { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ── TYPOGRAPHY ── */
.eyebrow {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.9rem;
}
.title {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.015em; margin-bottom: 1.2rem;
}
.title-xl {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.02em; margin-bottom: 1.5rem;
}
.body-lg { font-size: 1rem; color: var(--gray); line-height: 1.78; max-width: 580px; }
.rule { width: 36px; height: 2px; background: var(--red); margin-bottom: 1.8rem; }
.rule-center { margin-left: auto; margin-right: auto; }
.text-red { color: var(--red); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  padding-top: 68px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: var(--bg2);
}
.hero-bg img,
.hero-bg video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(18,18,18,0.97) 0%,
    rgba(18,18,18,0.62) 45%,
    rgba(18,18,18,0.22) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%; padding: 5rem 2rem 5.5rem;
  max-width: 1120px; margin: 0 auto;
  animation: fadeUp 0.9s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
.hero-eyebrow {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1.3rem;
  animation: fadeUp 0.9s 0.05s ease both;
}
.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700; line-height: 1.04;
  letter-spacing: -0.02em; max-width: 720px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.9s 0.12s ease both;
}
.hero-sub {
  font-size: 1.05rem; color: var(--gray); max-width: 500px;
  line-height: 1.78; margin-bottom: 2.5rem;
  animation: fadeUp 0.9s 0.2s ease both;
}
.hero-ctas { animation: fadeUp 0.9s 0.28s ease both; }
.hero-trust {
  display: flex; gap: 2rem; flex-wrap: wrap;
  margin-top: 3rem; animation: fadeUp 0.9s 0.36s ease both;
}
.trust-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray2);
}
.trust-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); flex-shrink: 0;
}

/* ── STAT STRIP ── */
.stat-strip { background: var(--red); }
.stat-strip-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.stat-item {
  text-align: center; padding: 1.6rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 2rem; font-weight: 700; line-height: 1; }
.stat-lbl {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0.82; margin-top: 5px;
}

/* ── PAGE HERO ── */
.page-hero {
  padding-top: calc(68px + 5rem); padding-bottom: 4rem;
  padding-left: 2rem; padding-right: 2rem;
  background: var(--bg2); border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute;
  top: 0; right: 0; width: 38%; height: 100%;
  background: linear-gradient(135deg, transparent 35%, rgba(200,16,46,0.05) 100%);
  pointer-events: none;
}
.breadcrumb {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray2); margin-bottom: 1.5rem;
}
.breadcrumb span { color: var(--red); }

/* ── CARDS ── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r8); padding: 2rem;
  transition: all 0.26s; position: relative; overflow: hidden;
}
.card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--red); transition: width 0.3s;
}
.card:hover { border-color: rgba(200,16,46,0.2); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.card:hover::after { width: 100%; }
.card-icon {
  width: 46px; height: 46px; background: rgba(200,16,46,0.1);
  border-radius: var(--r4); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3rem; transition: background 0.26s;
}
.card:hover .card-icon { background: var(--red); }
.card h3 {
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.6rem;
}
.card p { font-size: 0.88rem; color: var(--gray); line-height: 1.65; }
.card-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin-top: 1.2rem; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--red);
  transition: gap 0.2s;
}
.card-link:hover { gap: 0.6rem; }

/* ── PHOTO PLACEHOLDERS ── */
.photo-ph {
  background: var(--surface); border: 1.5px dashed rgba(255,255,255,0.1);
  border-radius: var(--r8);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.8rem; color: var(--gray2); text-align: center; padding: 2rem;
}
.photo-ph svg { opacity: 0.18; }
.photo-ph-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.photo-ph-hint { font-size: 0.72rem; color: var(--gray2); opacity: 0.6; font-style: italic; margin-top: 0.2rem; }

/* ── STEPS ── */
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 1.5rem; padding-bottom: 2.4rem; }
.step:last-child { padding-bottom: 0; }
.step-track { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.step-dot {
  width: 38px; height: 38px; border-radius: 50%; background: var(--red);
  color: var(--white); font-size: 0.88rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-line { width: 1px; flex: 1; background: rgba(200,16,46,0.22); margin-top: 5px; min-height: 24px; }
.step:last-child .step-line { display: none; }
.step-body { padding-top: 0.3rem; }
.step-body h4 {
  font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.4rem;
}
.step-body p { font-size: 0.88rem; color: var(--gray); line-height: 1.65; }

/* ── REVIEWS ── */
.review-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r8); padding: 1.8rem; transition: transform 0.24s;
}
.review-card:hover { transform: translateY(-3px); }
.review-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 0.9rem; font-size: 0.88rem; }
.review-text { font-size: 0.88rem; color: var(--gray); line-height: 1.72; font-style: italic; margin-bottom: 1rem; }
.review-text::before { content: '\201C'; color: var(--red); font-size: 1.4rem; line-height: 0; vertical-align: -0.35em; margin-right: 1px; }
.review-text::after  { content: '\201D'; color: var(--red); font-size: 1.4rem; line-height: 0; vertical-align: -0.35em; margin-left: 1px; }
.review-author { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.review-platform { font-size: 0.72rem; color: var(--gray2); margin-top: 2px; }

/* ── FAQ ── */
.faq { border: 1px solid var(--border); border-radius: var(--r8); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  padding: 1.2rem 1.5rem; font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.03em; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  user-select: none; transition: background 0.2s;
}
.faq-q:hover { background: var(--surface2); }
.faq-arrow { color: var(--red); font-style: normal; transition: transform 0.3s; flex-shrink: 0; margin-left: 1rem; }
.faq-q.open .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a.open { max-height: 320px; }
.faq-a-inner { padding: 0 1.5rem 1.2rem; font-size: 0.88rem; color: var(--gray); line-height: 1.72; }

/* ── COMPARISON TABLE ── */
.compare-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r8); padding: 1.8rem;
}
.compare-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}
.compare-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.compare-list li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.88rem; color: var(--gray); }
.compare-list li svg { flex-shrink: 0; margin-top: 2px; }
.compare-box.good { background: rgba(200,16,46,0.05); border-color: rgba(200,16,46,0.18); }
.compare-box.good .compare-list li { color: var(--white); }

/* ── FORM ── */
.form-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r8); padding: 2.5rem;
}
.form-box h3 {
  font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r4); padding: 0.85rem 1.1rem;
  font-family: var(--font); font-size: 0.9rem; color: var(--white);
  transition: border-color 0.2s; outline: none; resize: vertical;
  -webkit-appearance: none; appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group textarea { min-height: 120px; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; }
.form-note { font-size: 0.74rem; color: var(--gray2); margin-top: 0.8rem; text-align: center; }
.form-success { display: none; background: rgba(37,211,102,0.1); border: 1px solid rgba(37,211,102,0.3); border-radius: var(--r8); padding: 1.2rem; font-size: 0.88rem; color: #7ff0b2; margin-top: 1rem; }
.form-error { display: none; background: rgba(200,16,46,0.1); border: 1px solid rgba(200,16,46,0.3); border-radius: var(--r8); padding: 1.2rem; font-size: 0.88rem; color: #f8a0b0; margin-top: 1rem; }

/* ── CONTACT INFO ── */
.contact-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}
.contact-row {
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 0.7rem; font-size: 0.9rem; color: var(--gray);
  transition: color 0.2s;
}
.contact-row:hover { color: var(--white); }
.contact-row svg { flex-shrink: 0; }
.orari-grid {
  display: grid; grid-template-columns: auto 1fr;
  gap: 0.4rem 1.4rem; font-size: 0.88rem;
}
.orari-day { color: var(--gray2); }
.orari-h { color: var(--white); }

/* ── MAP ── */
.map-wrap {
  border-radius: var(--r8); overflow: hidden;
  border: 1px solid var(--border);
}
.map-wrap iframe { width: 100%; display: block; border: none; }

/* ── ALERT BOX ── */
.alert {
  background: rgba(200,16,46,0.08); border: 1px solid rgba(200,16,46,0.22);
  border-radius: var(--r8); padding: 1.3rem 1.5rem;
  font-size: 0.88rem; color: var(--gray); line-height: 1.72;
}
.alert strong { color: var(--white); }

/* ── CHECK LIST ── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.88rem; color: var(--gray);
}
.check-list li svg { flex-shrink: 0; margin-top: 2px; }
.check-list li strong { color: var(--white); }

/* ── CTA BANNER ── */
.cta-banner { background: var(--red); padding: 4.5rem 2rem; text-align: center; }
.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; margin-bottom: 1rem; line-height: 1.15;
}
.cta-banner p { font-size: 1rem; opacity: 0.88; margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.btn-white { background: white; color: var(--red); }
.btn-white:hover { background: rgba(255,255,255,0.88); transform: translateY(-2px); }
.btn-outline-white { background: transparent; border: 1.5px solid white; color: white; }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* ── FLOATING WHATSAPP ── */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 54px; height: 54px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.4);
  text-decoration: none; transition: all 0.25s;
  animation: waPulse 3s infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 18px rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 4px 28px rgba(37,211,102,0.65); }
}

/* ── FOOTER ── */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 4rem 2rem 2rem; }
.footer-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; }
.footer-logo { height: 36px; margin-bottom: 1rem; opacity: 0.72; }
.footer-desc { font-size: 0.84rem; color: var(--gray2); line-height: 1.75; }
.footer-col h4 {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { font-size: 0.84rem; color: var(--gray2); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1120px; margin: 2.5rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
}
.footer-copy { font-size: 0.76rem; color: var(--gray2); }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.v { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ── GRAZIE PAGE ── */
.grazie-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 6rem 2rem; }
.grazie-box { max-width: 540px; text-align: center; }
.grazie-icon { width: 72px; height: 72px; background: rgba(37,211,102,0.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 2rem; }

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 1024px) {
  nav { padding: 0 2rem; }
}
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start;
    background: rgba(18,18,18,0.99);
    padding: 1.5rem 2rem; gap: 1.2rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 2rem; }
  .grid-2.no-stack { grid-template-columns: 1fr 1fr; }
  .stat-strip-inner { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 4rem 1.5rem; }
  .page-hero { padding-top: calc(68px + 3rem); padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero-title { font-size: clamp(2.4rem, 7vw, 3.6rem); }
}
@media (max-width: 600px) {
  .stat-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 1.2rem; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
  .stat-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-trust { gap: 1rem; }
  .section { padding: 3.5rem 1.2rem; }
  nav { padding: 0 1.2rem; }
}


/* ── MEDIA BLOCKS ── */
.page-hero.page-hero-image {
  background-image:
    linear-gradient(to top, rgba(18,18,18,0.92) 0%, rgba(18,18,18,0.72) 48%, rgba(18,18,18,0.52) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
}
.page-hero.page-hero-image .container { position: relative; z-index: 2; }
.media-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r8);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 14px 32px rgba(0,0,0,0.22);
}
.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.18) 36%, rgba(10,10,10,0.02) 70%);
  pointer-events: none;
}
.media-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1rem 1.15rem 1.1rem;
}
.media-caption strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.media-caption span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
}
.media-card.square { aspect-ratio: 1 / 1; }
.media-card.wide { aspect-ratio: 16 / 10; }
.media-card.tall { aspect-ratio: 4 / 5; }
.media-card.landscape { aspect-ratio: 4 / 3; }
.media-stack {
  position: relative;
  padding-right: 3.6rem;
  padding-bottom: 3.2rem;
}
.media-stack .media-card-main { aspect-ratio: 4 / 5; }
.media-stack .media-card-float {
  position: absolute;
  width: 44%;
  right: 0;
  bottom: 0;
  aspect-ratio: 4 / 5;
  border: 6px solid var(--bg2);
}
.section-copy-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.6rem;
}
.section-copy-list li {
  list-style: none;
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.72;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.section-copy-list li svg { flex-shrink: 0; margin-top: 2px; }
.showcase-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 1rem;
}
.showcase-grid .media-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 100%;
}
.showcase-grid .media-card:last-child {
  grid-column: span 3;
  aspect-ratio: 16 / 8;
}
.image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.info-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r8);
  padding: 2rem;
}
.info-panel p { color: var(--gray); }
.contact-visual {
  border: 1px solid var(--border);
  border-radius: var(--r8);
  overflow: hidden;
}
.contact-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.contact-visual-body {
  padding: 1.2rem 1.3rem 1.35rem;
  background: var(--surface);
}
.contact-visual-body h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.contact-visual-body p { font-size: 0.88rem; color: var(--gray); line-height: 1.68; }
.stat-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}
.stat-badges span {
  display: inline-flex;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nano-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.nano-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.2rem;
}
.nano-features .info-panel { padding: 1.5rem; }
.nano-features h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.inline-accent {
  border-left: 2px solid var(--red);
  padding-left: 1rem;
  margin-top: 1.4rem;
}
.inline-accent p { font-size: 0.88rem; color: var(--gray); }
@media (max-width: 900px) {
  .showcase-grid,
  .nano-gallery,
  .image-pair,
  .nano-features { grid-template-columns: 1fr; }
  .showcase-grid .media-card:first-child,
  .showcase-grid .media-card:last-child { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 10; }
  .media-stack { padding-right: 0; padding-bottom: 0; }
  .media-stack .media-card-float {
    position: relative;
    width: 100%;
    margin-top: 1rem;
    border-width: 1px;
    aspect-ratio: 16 / 10;
  }
}


/* ── DUAL DESKTOP + MOBILE OPTIMIZATION ── */
.media-card picture,
.contact-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}
.media-card picture > img,
.contact-visual picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile rules start only below 768px so the desktop composition remains unchanged. */
@media (max-width: 767px) {
  html { scroll-padding-top: 64px; }
  body { -webkit-text-size-adjust: 100%; }
  nav {
    height: 64px;
    padding-left: max(1.2rem, env(safe-area-inset-left));
    padding-right: max(1.2rem, env(safe-area-inset-right));
  }
  .nav-logo { height: 34px; }
  .nav-links {
    top: 64px;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }
  .nav-links a { font-size: 0.82rem; }

  .hero {
    min-height: 100svh;
    padding-top: 64px;
    align-items: flex-end;
  }
  .hero-bg video { object-position: 58% center; }
  .hero-content {
    padding: 3.8rem 1.2rem max(3rem, env(safe-area-inset-bottom));
  }
  .hero-eyebrow { margin-bottom: 0.9rem; }
  .hero-title {
    font-size: clamp(2.45rem, 12vw, 3.15rem);
    margin-bottom: 1rem;
  }
  .hero-sub {
    font-size: 0.96rem;
    line-height: 1.65;
    margin-bottom: 1.6rem;
  }
  .hero-ctas { width: 100%; gap: 0.7rem; }
  .hero-ctas .btn,
  .page-hero .flex-wrap .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-trust {
    margin-top: 1.8rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .trust-item { font-size: 0.67rem; }

  .page-hero { padding-top: calc(64px + 2.8rem); }
  .page-hero.page-hero-image {
    background-image:
      linear-gradient(to top, rgba(18,18,18,0.96) 0%, rgba(18,18,18,0.78) 54%, rgba(18,18,18,0.52) 100%),
      var(--hero-image-mobile, var(--hero-image));
    background-position: center;
    min-height: auto;
    padding-bottom: 3rem;
  }
  .page-hero .title { font-size: clamp(2rem, 9vw, 2.65rem); }
  .page-hero .body-lg { max-width: 100%; }

  .stat-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:last-child { grid-column: 1 / -1; border-right: none; }
  .stat-num { font-size: 1.7rem; }
  .stat-lbl { font-size: 0.62rem; }

  .section { padding: 3.5rem 1.2rem; }
  .section + .section { padding-top: 3rem; }
  .title { font-size: clamp(1.85rem, 8.5vw, 2.35rem); }
  .body-lg { font-size: 0.96rem; line-height: 1.7; }

  .media-card,
  .contact-visual,
  .form-box,
  .info-panel { box-shadow: none; }
  .media-card img,
  .contact-visual img { object-position: center; }
  .media-stack .media-card-float { aspect-ratio: 4 / 5; }
  .media-card-main,
  .media-stack .media-card-float,
  .media-card.tall { max-height: 620px; }
  .media-caption { padding: 0.9rem 0.95rem 1rem; }
  .media-caption strong { font-size: 0.76rem; }
  .media-caption span { font-size: 0.73rem; line-height: 1.45; }
  .showcase-grid,
  .nano-gallery,
  .image-pair { gap: 0.8rem; }
  .showcase-grid .media-card:first-child,
  .showcase-grid .media-card,
  .nano-gallery .media-card,
  .image-pair .media-card { aspect-ratio: 4 / 3; }
  .showcase-grid .media-card:last-child { aspect-ratio: 16 / 10; }
  .showcase-grid .media-card:last-child img { object-position: center 42%; }
  .contact-visual img { aspect-ratio: 4 / 3; }

  .section-copy-list { margin-top: 1.25rem; }
  .info-panel { padding: 1.4rem; }
  .form-box { padding: 1.25rem; }
  .form-box h3 { margin-bottom: 1.5rem; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; }
  .btn {
    min-height: 48px;
    padding: 0.82rem 1.15rem;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
  .cta-banner { padding: 3.5rem 1.2rem; }
  .cta-banner .btn { width: 100%; justify-content: center; }
  .orari-grid { grid-template-columns: 1fr; gap: 0.2rem; }
  .orari-h { margin-bottom: 0.55rem; }
  .contact-row { overflow-wrap: anywhere; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
  .footer-copy { line-height: 1.6; }
  .wa-float {
    width: 50px;
    height: 50px;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}


/* ── TARGETED PHOTO REFINEMENTS ── */
.footer-logo { height: 52px; width: auto; opacity: 0.86; }

.about-photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1rem;
  align-items: stretch;
}
.about-photo-card {
  background: #151515;
}
.about-photo-main {
  aspect-ratio: 4 / 5;
}
.about-photo-main img {
  object-fit: contain;
  object-position: center top;
}
.about-photo-secondary {
  aspect-ratio: 4 / 5;
}
.about-photo-secondary img {
  object-position: center center;
}
.staff-card {
  aspect-ratio: 16 / 9 !important;
}
.staff-card img {
  object-position: center top;
}
.paint-pair {
  grid-template-columns: 1fr;
  gap: 1rem;
}
.paint-pair .media-card {
  aspect-ratio: 16 / 9;
}
.referent-card {
  background: #151515;
}
.referent-card img {
  object-fit: contain;
  object-position: center top;
}

@media (max-width: 900px) {
  .about-photo-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .footer-logo { height: 46px; }
  .about-photo-main,
  .about-photo-secondary,
  .referent-card {
    aspect-ratio: auto !important;
  }
  .about-photo-main picture,
  .about-photo-secondary picture,
  .referent-card picture,
  .about-photo-main img,
  .about-photo-secondary img,
  .referent-card img {
    height: auto;
  }
  .about-photo-main img,
  .about-photo-secondary img,
  .referent-card img {
    object-fit: contain;
    width: 100%;
  }
  .about-photo-grid { gap: 0.9rem; }
  .paint-pair .media-card { aspect-ratio: 4 / 3; }
  .staff-card { aspect-ratio: 4 / 3 !important; }
  .staff-card img { object-position: center 12%; }
}


/* ── PREMIUM LAYOUT & MOTION REFINEMENTS ── */

/* About imagery: keep the subjects fully visible and move copy below the photo. */
.about-photo-main,
.about-photo-secondary {
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
}
.about-photo-main picture,
.about-photo-secondary picture {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  flex: 0 0 auto;
  background: #151515;
}
.about-photo-main img,
.about-photo-secondary img {
  object-fit: contain;
  object-position: center top;
}
.about-photo-main::after,
.about-photo-secondary::after { display: none; }
.about-photo-main .media-caption {
  position: static;
  padding: 1.05rem 1.15rem 1.2rem;
  background: linear-gradient(145deg, #242424, #1b1b1b);
  border-top: 1px solid var(--border);
}
.about-photo-main .media-caption span { color: rgba(255,255,255,0.68); }

/* Structure gallery: one panoramic image, then a clean three-card row. */
.showcase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  align-items: stretch;
}
.showcase-grid .showcase-main {
  grid-column: 1 / -1;
  grid-row: auto;
  aspect-ratio: 16 / 7;
  min-height: 0;
}
.showcase-grid .showcase-sede,
.showcase-grid .showcase-accoglienza,
.showcase-grid .showcase-carrozzeria {
  grid-column: auto;
  grid-row: auto;
  aspect-ratio: 4 / 3;
}
.showcase-grid .staff-card {
  grid-column: 1 / -1;
  grid-row: auto;
  aspect-ratio: 16 / 9 !important;
}

.nano-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  max-width: 300px;
}

/* Slightly stronger hero typography. */
.hero-title {
  font-size: clamp(3.05rem, 7.3vw, 5.65rem);
  line-height: 1.01;
}
.hero-sub {
  font-size: 1.12rem;
  max-width: 550px;
}

/* Elegant scroll-in typography and subtle media motion. */
.motion-text {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(5px);
  transition:
    opacity 0.72s cubic-bezier(.2,.7,.2,1),
    transform 0.72s cubic-bezier(.2,.7,.2,1),
    filter 0.72s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform, filter;
}
.motion-text.motion-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.motion-text.motion-delay-1 { transition-delay: 0.08s; }
.motion-text.motion-delay-2 { transition-delay: 0.16s; }

.media-card picture > img,
.contact-visual picture > img {
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1), filter 0.5s ease;
}
@media (hover: hover) and (pointer: fine) {
  .media-card:hover picture > img,
  .contact-visual:hover picture > img {
    transform: scale(1.025);
  }
  .about-photo-main:hover picture > img,
  .about-photo-secondary:hover picture > img,
  .referent-card:hover picture > img {
    transform: scale(1.012);
  }
}

@media (max-width: 900px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .showcase-grid .showcase-main,
  .showcase-grid .showcase-sede,
  .showcase-grid .showcase-accoglienza,
  .showcase-grid .showcase-carrozzeria,
  .showcase-grid .staff-card {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: clamp(2.7rem, 12.6vw, 3.45rem);
    line-height: 1.02;
  }
  .hero-sub { font-size: 1rem; }
  .about-photo-main picture,
  .about-photo-secondary picture {
    aspect-ratio: auto;
  }
  .about-photo-main .media-caption {
    padding: 1rem 1rem 1.1rem;
  }
  .nano-cta-buttons {
    margin-left: auto;
    margin-right: auto;
    max-width: 320px;
    align-items: stretch;
  }
  .nano-cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .showcase-grid .showcase-main,
  .showcase-grid .showcase-sede,
  .showcase-grid .showcase-accoglienza,
  .showcase-grid .showcase-carrozzeria,
  .showcase-grid .staff-card {
    aspect-ratio: 4 / 3 !important;
  }
}

/* Final specificity safeguards for the gallery layout. */
.showcase-grid > .media-card.showcase-main {
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
  min-height: 0 !important;
}
.showcase-grid > .media-card.showcase-sede,
.showcase-grid > .media-card.showcase-accoglienza,
.showcase-grid > .media-card.showcase-carrozzeria {
  grid-column: auto !important;
  grid-row: auto !important;
}
.showcase-grid > .media-card.staff-card {
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
}

@media (max-width: 900px) {
  .showcase-grid > .media-card.showcase-main,
  .showcase-grid > .media-card.showcase-sede,
  .showcase-grid > .media-card.showcase-accoglienza,
  .showcase-grid > .media-card.showcase-carrozzeria,
  .showcase-grid > .media-card.staff-card {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-text {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}


/* ── FINAL ABOUT-CARD & SERVICE-ICON FIXES ── */
@media (min-width: 901px) {
  .about-photo-grid {
    align-items: stretch;
  }
  .about-photo-secondary {
    height: 100%;
  }
  .about-photo-secondary picture {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }
  .about-photo-secondary picture > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
}

.card:hover .card-icon svg {
  stroke: #ffffff !important;
}
.card:hover .card-icon svg [fill]:not([fill="none"]) {
  fill: #ffffff !important;
}


/* ── FINAL CONTENT & MOBILE REFINEMENTS — 2026-07-17 ── */
.page-hero .page-title-large {
  font-size: clamp(2.75rem, 5.8vw, 4.7rem);
  line-height: 1.02;
  max-width: 960px;
  margin-bottom: 1.35rem;
}
.service-feature-title {
  font-size: clamp(1.95rem, 3vw, 2.45rem) !important;
  line-height: 1.08;
}
.services-extra-grid {
  margin-top: 1.4rem;
  gap: 1.4rem;
}
.services-extra-grid .card { height: 100%; }
.footer-credit a {
  color: rgba(255,255,255,0.58);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.footer-credit a:hover { color: var(--white); }

@media (max-width: 767px) {
  .page-hero .page-title-large {
    font-size: clamp(2.45rem, 11.8vw, 3.35rem);
    line-height: 1.01;
  }

  /* Preserve the real aspect ratio on mobile instead of forcing photos into 4:3/square crops. */
  .media-card:not(.about-photo-card),
  .showcase-grid > .media-card,
  .nano-gallery > .media-card,
  .image-pair > .media-card {
    aspect-ratio: auto !important;
    min-height: 0 !important;
  }
  .media-card:not(.about-photo-card) picture,
  .showcase-grid > .media-card picture,
  .nano-gallery > .media-card picture,
  .image-pair > .media-card picture,
  .contact-visual picture {
    height: auto !important;
    aspect-ratio: auto !important;
  }
  .media-card:not(.about-photo-card) picture > img,
  .showcase-grid > .media-card picture > img,
  .nano-gallery > .media-card picture > img,
  .image-pair > .media-card picture > img,
  .contact-visual picture > img {
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
  }
  .contact-visual img {
    height: auto !important;
    aspect-ratio: auto !important;
  }
  .services-extra-grid { gap: 1rem; }
}


/* ── PRIVACY, COOKIE & FORM COMPLIANCE — 2026-07-17 ── */
.privacy-ack {
  margin: 0.2rem 0 1.25rem;
  padding: 1rem 1.05rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: var(--r8);
}
.privacy-ack label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--gray);
}
.privacy-ack input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 0.15rem;
  accent-color: var(--red);
  -webkit-appearance: checkbox;
  appearance: auto;
}
.privacy-ack a,
.footer-legal a,
.grazie-legal a,
.legal-content a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-ack a:hover,
.footer-legal a:hover,
.grazie-legal a:hover,
.legal-content a:hover { color: var(--red); }

.map-placeholder {
  border: 1px solid var(--border);
  border-radius: var(--r8);
  background: linear-gradient(145deg, rgba(200,16,46,0.075), rgba(255,255,255,0.025));
  padding: 2rem;
  text-align: center;
}
.map-placeholder-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border-radius: 50%;
  color: var(--red);
  background: rgba(200,16,46,0.1);
  border: 1px solid rgba(200,16,46,0.22);
}
.map-placeholder h3 { font-size: 1.05rem; margin-bottom: 0.65rem; }
.map-placeholder p { color: var(--gray); font-size: 0.82rem; line-height: 1.65; margin: 0 auto 1.25rem; max-width: 440px; }
.footer-legal { display: inline-flex; gap: 0.55rem; align-items: center; }
.footer-legal a { color: var(--gray2); }
.grazie-legal { margin-top: 1.6rem; font-size: 0.76rem; color: var(--gray2); display: flex; justify-content: center; gap: 0.55rem; }

.legal-hero {
  padding-top: calc(68px + 5rem);
  padding-bottom: 4rem;
  background: radial-gradient(circle at 85% 20%, rgba(200,16,46,0.13), transparent 36%), var(--bg2);
  border-bottom: 1px solid var(--border);
}
.legal-hero .container { max-width: 920px; }
.legal-hero .title { max-width: 760px; }
.legal-meta { margin-top: 1rem; font-size: 0.78rem; color: var(--gray2); }
.legal-section { padding: 4.5rem 2rem 6rem; }
.legal-content { max-width: 920px; margin: 0 auto; }
.legal-intro {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: var(--r8);
  padding: 1.5rem 1.6rem;
  margin-bottom: 2.5rem;
}
.legal-content h2 { font-size: clamp(1.3rem, 2.3vw, 1.75rem); margin: 2.6rem 0 0.85rem; line-height: 1.2; }
.legal-content h3 { font-size: 1rem; margin: 1.7rem 0 0.55rem; }
.legal-content p,
.legal-content li { color: var(--gray); font-size: 0.92rem; line-height: 1.82; }
.legal-content p + p { margin-top: 0.8rem; }
.legal-content ul { margin: 0.75rem 0 0 1.2rem; display: grid; gap: 0.55rem; }
.legal-content strong { color: var(--white); }
.legal-note { margin-top: 2.8rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.78rem !important; color: var(--gray2) !important; }

@media (max-width: 900px) {
  .footer-bottom { align-items: flex-start; }
}
@media (max-width: 767px) {
  .privacy-ack { padding: 0.9rem; }
  .map-placeholder { padding: 1.5rem 1.1rem; }
  .legal-hero { padding: calc(64px + 3.5rem) 1.3rem 3rem; }
  .legal-section { padding: 3rem 1.3rem 4.5rem; }
  .legal-intro { padding: 1.2rem; }
  .footer-legal { width: 100%; }
}
