/* ==========================================================================
   Eni Style — Beauty & Nails · San Donà di Piave
   Design system: nero elegante + tiffany (dal logo) + oro (CTA)
   ========================================================================== */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-var.woff2') format('woff2');
}

:root {
  /* palette brand */
  --brand: #4c9191;
  --brand-light: #63b7b7;
  --brand-pale: #e4f0ef;
  --accent: #c8a15a;
  --accent-dark: #a9834a;
  --ink: #161715;
  --ink-soft: #20221f;
  --text: #3a3d3c;
  --muted: #6f7473;
  --bg: #faf8f4;
  --bg-alt: #f2ede3;
  --line: #e6e0d3;
  --on-dark: #f4f1ea;
  --on-dark-muted: #b9b5aa;
  /* tipografia */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  /* sistema */
  --shadow-sm: 0 2px 10px rgba(22, 23, 21, .07);
  --shadow-md: 0 10px 32px rgba(22, 23, 21, .12);
  --shadow-lg: 0 24px 60px rgba(22, 23, 21, .18);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1240px;
  --nav-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  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(--brand); text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
h4 {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); }
.section-dark h2, .section-dark h3 { color: var(--on-dark); }
.section-dark p { color: var(--on-dark-muted); }

.section-head {
  max-width: 680px;
  margin-bottom: clamp(2.4rem, 5vw, 3.6rem);
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1rem; color: var(--muted); }
.section-dark .section-head p { color: var(--on-dark-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--accent);
}

/* ---------- bottoni ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 2.1rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #201a0e;
  box-shadow: 0 8px 22px rgba(200, 161, 90, .35);
}
.btn-primary:hover { background: #d8b26b; }

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover { background: var(--ink); color: var(--on-dark); }

.section-dark .btn-outline,
.btn-outline.on-dark {
  border-color: rgba(244, 241, 234, .5);
  color: var(--on-dark);
}
.section-dark .btn-outline:hover,
.btn-outline.on-dark:hover { background: var(--on-dark); color: var(--ink); }

/* ---------- topbar + header ---------- */
.topbar {
  background: var(--ink);
  border-bottom: 1px solid rgba(244, 241, 234, .08);
  font-size: .82rem;
  color: var(--on-dark-muted);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 38px;
}
.topbar a { color: var(--on-dark-muted); transition: color .25s; }
.topbar a:hover { color: var(--brand-light); }
.topbar-contacts { display: flex; gap: 1.4rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(22, 23, 21, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--nav-h);
}

.brand { display: flex; align-items: center; gap: .8rem; }
.brand img { width: 62px; height: auto; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--on-dark);
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--brand-light);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.4vw, 2.2rem);
}
.main-nav a {
  font-size: .93rem;
  font-weight: 500;
  color: var(--on-dark-muted);
  padding: .4rem 0;
  position: relative;
  transition: color .25s;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--on-dark); }
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta { margin-left: .4rem; }
.nav-cta .btn { padding: .68rem 1.5rem; font-size: .88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(244, 241, 234, .25);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--on-dark);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero home ---------- */
.hero {
  background: var(--ink);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 85% 20%, rgba(99, 183, 183, .14), transparent 60%),
    radial-gradient(ellipse 50% 45% at 10% 90%, rgba(200, 161, 90, .10), transparent 60%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(4rem, 9vw, 7.5rem);
}
.hero h1 { color: var(--on-dark); }
.hero h1 em {
  font-style: italic;
  color: var(--brand-light);
}
.hero-lead {
  margin-top: 1.4rem;
  max-width: 34rem;
  font-size: 1.1rem;
  color: var(--on-dark-muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.6rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(244, 241, 234, .12);
}
.hero-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.hero-badge span {
  font-size: .82rem;
  color: var(--on-dark-muted);
}

.hero-figure { position: relative; }
.hero-figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
}
.hero-figure::after {
  content: '';
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1px solid rgba(200, 161, 90, .45);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.hero-card {
  position: absolute;
  left: -1.2rem;
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  background: rgba(22, 23, 21, .86);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(99, 183, 183, .35);
  border-radius: var(--radius);
  padding: .85rem 1.2rem;
  font-size: .85rem;
  color: var(--on-dark);
  box-shadow: var(--shadow-md);
}
.hero-card svg { width: 26px; height: 26px; color: var(--brand-light); flex: none; }

/* ---------- hero pagine interne ---------- */
.page-hero {
  background: var(--ink);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
  padding: clamp(3.2rem, 7vw, 5.5rem) 0;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 60% at 88% 10%, rgba(99, 183, 183, .13), transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--on-dark); }
.page-hero p {
  margin-top: 1rem;
  max-width: 38rem;
  color: var(--on-dark-muted);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .82rem;
  margin-bottom: 1.4rem;
  color: var(--on-dark-muted);
}
.breadcrumb a { color: var(--brand-light); }
.breadcrumb li:not(:last-child)::after {
  content: '›';
  margin-left: .5rem;
  opacity: .5;
}

/* ---------- feature card ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--brand-pale);
  color: var(--brand);
  margin-bottom: 1.4rem;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { margin-bottom: .7rem; }
.feature-card p { font-size: .97rem; color: var(--muted); }

/* ---------- split (immagine + testo) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.split-figure { position: relative; }
.split-figure img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}
.split-figure::after {
  content: '';
  position: absolute;
  inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 1px solid var(--accent);
  opacity: .45;
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: -1;
}
.split-body p { margin-top: 1.1rem; color: var(--muted); }
.split-body .btn { margin-top: 1.9rem; }

.check-list { margin-top: 1.4rem; display: grid; gap: .75rem; }
.check-list li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .98rem;
}
.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
  flex: none;
  margin-top: .2rem;
}

/* ---------- servizi ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card figure { aspect-ratio: 4 / 3; overflow: hidden; }
.service-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.service-card:hover figure img { transform: scale(1.06); }
.service-card-body { padding: 1.5rem 1.5rem 1.7rem; flex: 1; display: flex; flex-direction: column; }
.service-card-body .tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: .5rem;
}
.service-card-body h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.service-card-body p { font-size: .93rem; color: var(--muted); flex: 1; }
.service-card-body .link {
  margin-top: 1.1rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.service-card-body .link svg { width: 16px; height: 16px; transition: transform .3s; }
.service-card:hover .link svg { transform: translateX(4px); }

/* servizi — pagina dettaglio */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(2.4rem, 5vw, 3.6rem);
}
.service-row + .service-row { border-top: 1px solid var(--line); }
.service-row:nth-child(even) .service-row-figure { order: 2; }
.service-row-figure img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.service-row-body .tag {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.service-row-body h2 { margin-top: .5rem; }
.service-row-body p { margin-top: 1rem; color: var(--muted); }
.service-row-body .btn { margin-top: 1.7rem; }
.service-row-body ul { margin-top: 1.2rem; display: grid; gap: .7rem; }
.service-row-body ul li {
  display: flex;
  gap: .65rem;
  font-size: .97rem;
  align-items: flex-start;
}
.service-row-body ul svg {
  width: 19px;
  height: 19px;
  color: var(--brand);
  flex: none;
  margin-top: .25rem;
}

/* ---------- numeri / counter ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: .6rem;
  font-size: .88rem;
  color: var(--on-dark-muted);
}

/* ---------- testimonianze ---------- */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.quote-stars { display: flex; gap: .2rem; color: var(--accent); }
.quote-stars svg { width: 17px; height: 17px; }
.quote-card blockquote {
  font-size: .98rem;
  color: var(--text);
  flex: 1;
}
.quote-card figcaption {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
}
.quote-card figcaption span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: .8rem;
}

/* ---------- galleria ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  border: none;
  padding: 0;
  background: none;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(12, 13, 12, .92);
  padding: 4vh 4vw;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(920px, 100%);
  max-height: 88vh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: .4rem;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(244, 241, 234, .12);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background .25s;
}
.lightbox-nav:hover { background: rgba(244, 241, 234, .25); }
.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }

/* ---------- blog card ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.blog-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 880px;
  margin-inline: auto;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card figure { aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card figure img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.6rem 1.6rem 1.8rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-body time {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.blog-card-body h3 { font-size: 1.35rem; margin: .55rem 0 .6rem; }
.blog-card-body h3 a { color: inherit; transition: color .25s; }
.blog-card-body h3 a:hover { color: var(--brand); }
.blog-card-body p { font-size: .93rem; color: var(--muted); flex: 1; }
.blog-card-body .link {
  margin-top: 1.1rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--brand);
}

/* ---------- articolo ---------- */
.article {
  max-width: 760px;
  margin-inline: auto;
}
.article-meta {
  display: flex;
  gap: 1rem;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.article h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 2.6rem 0 1rem; }
.article h3 { font-size: 1.35rem; margin: 2rem 0 .8rem; }
.article p { margin-bottom: 1.15rem; }
.article ul, .article ol { margin: 0 0 1.3rem 1.3rem; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin-bottom: .5rem; }
.article strong { color: var(--ink); }
.article .answer-box {
  background: var(--brand-pale);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.3rem 1.5rem;
  margin-bottom: 1.8rem;
  font-size: 1rem;
}
.article figure { margin: 2rem 0; }
.article figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.article figcaption {
  font-size: .82rem;
  color: var(--muted);
  margin-top: .6rem;
  text-align: center;
}

/* FAQ accordion */
.faq-list { display: grid; gap: .9rem; margin: 1.4rem 0 0; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--brand);
  transition: transform .3s var(--ease);
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.4rem 1.2rem; font-size: .96rem; color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 12% 20%, rgba(99, 183, 183, .16), transparent 60%),
    radial-gradient(ellipse 45% 60% at 90% 85%, rgba(200, 161, 90, .13), transparent 60%);
}
.cta-banner .container {
  position: relative;
  text-align: center;
  max-width: 760px;
}
.cta-banner h2 { color: var(--on-dark); }
.cta-banner p { margin-top: 1rem; color: var(--on-dark-muted); }
.cta-banner .hero-actions { justify-content: center; }

/* ---------- contatti ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
.contact-cards { display: grid; gap: 1.1rem; }
.contact-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-card .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin: 0;
  flex: none;
}
.contact-card .feature-icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; }
.contact-card p, .contact-card a { font-size: .95rem; color: var(--muted); }
.contact-card a:hover { color: var(--brand); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-md);
}
.contact-form h2 { font-size: 1.8rem; margin-bottom: .4rem; }
.contact-form > p { color: var(--muted); font-size: .95rem; margin-bottom: 1.6rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: .96rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .8rem 1rem;
  transition: border-color .25s, box-shadow .25s;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(76, 145, 145, .18);
}
.form-privacy {
  grid-column: 1 / -1;
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .84rem;
  color: var(--muted);
}
.form-privacy input {
  width: 18px;
  height: 18px;
  margin-top: .15rem;
  accent-color: var(--brand);
  flex: none;
}
.form-status {
  grid-column: 1 / -1;
  font-size: .9rem;
  font-weight: 500;
  min-height: 1.4em;
}
.form-status.ok { color: var(--brand); }
.form-status.error { color: #b3423a; }

.map-cta {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .92rem;
  font-weight: 600;
}
.map-cta svg { width: 18px; height: 18px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--on-dark-muted);
  padding-top: clamp(3.5rem, 7vw, 5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand img { width: 120px; margin-bottom: 1.1rem; }
.footer-brand p { font-size: .92rem; max-width: 30ch; }
.footer-col h4 { color: var(--on-dark); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a {
  font-size: .93rem;
  color: var(--on-dark-muted);
  transition: color .25s;
}
.footer-col a:hover { color: var(--brand-light); }
.footer-contact li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .93rem;
}
.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--brand-light);
  flex: none;
  margin-top: .25rem;
}
.footer-bottom {
  border-top: 1px solid rgba(244, 241, 234, .1);
  padding: 1.4rem 0;
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  font-size: .82rem;
}
.footer-bottom a { color: var(--on-dark-muted); }
.footer-bottom a:hover { color: var(--brand-light); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ---------- 404 ---------- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.error-page .container { max-width: 620px; }
.error-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 8rem);
  font-weight: 600;
  color: var(--brand);
  line-height: 1;
}
.error-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: .6rem; }
.error-page p { margin-top: 1rem; color: var(--muted); }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  /* il backdrop-filter creerebbe un containing block che intrappola il drawer fixed */
  .site-header {
    background: var(--ink);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-toggle { display: flex; }
  .nav-cta { display: flex; }
  .nav-cta .btn { width: auto; }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 84vw);
    background: var(--ink);
    padding: calc(var(--nav-h) + 2rem) 2.2rem 2rem;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    z-index: 55;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: none; box-shadow: -20px 0 60px rgba(0,0,0,.4); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 1.3rem; }
  .main-nav a { font-size: 1.1rem; }
  body.nav-locked { overflow: hidden; }

  .hero .container { grid-template-columns: 1fr; }
  .hero-figure { max-width: 520px; }
  .split, .service-row, .contact-layout { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row-figure { order: 0; }
  .features-grid, .quotes-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid-2 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.2rem; }
}

@media (max-width: 640px) {
  .topbar-note { display: none; }
  .features-grid, .quotes-grid, .blog-grid, .blog-grid-2, .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .brand img { width: 52px; }
  .brand-name { font-size: 1.25rem; }
  .hero-figure::after, .split-figure::after { display: none; }
  .hero-card { left: .8rem; bottom: .9rem; }
}

@media (max-width: 480px) {
  .btn { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

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