/* ================================================================
   STUDIO DEL GRASSO — Design System 2025
   Inter (corpo) + Playfair Display (titoli) · Gold/Dark/Cream
   ================================================================ */

/* ── CUSTOM PROPERTIES ─────────────────────────────────────────── */
:root {
  --gold: #b8936a;
  --gold-light: #cba87c;
  --gold-pale: rgba(184, 147, 106, .1);
  --gold-border: rgba(184, 147, 106, .22);

  --dark: #0f0e0c;
  --dark-2: #191714;
  --dark-3: #232018;
  --cream: #f8f4ed;
  --cream-2: #f0ebe0;
  --white: #ffffff;
  --text: #2a2520;
  --muted: #7a7268;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  --nav-h: 66px;
  --sv: clamp(4.5rem, 8vw, 8rem);
  --col: clamp(1.25rem, 5vw, 6vw);
  --max-w: 1200px;
  --r: 6px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

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

img,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

/* ── BASE ──────────────────────────────────────────────────────── */
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
}

/* ── SCROLL REVEAL ─────────────────────────────────────────────── */
/*
  Stato iniziale impostato via JS (classe .js-animations sul <html>)
  così senza JS il contenuto rimane visibile — nessuna dipendenza dura.
*/
.js-animations [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.16, 1, .3, 1),
    transform .65s cubic-bezier(.16, 1, .3, 1);
}

.js-animations [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ── TYPOGRAPHY UTILITIES ──────────────────────────────────────── */
.eyebrow {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: .9rem;
  display: flex;
  align-items: center;
  gap: .65rem;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

.eyebrow-light {
  color: rgba(255, 255, 255, .55);
}

.eyebrow-light::before {
  background: rgba(255, 255, 255, .4);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.section-title em {
  color: var(--gold);
  font-style: italic;
}

.title-white {
  color: #fff;
}

.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 2.5rem;
}

.section-intro {
  font-size: .98rem;
  color: var(--muted);
  line-height: 1.9;
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-intro-light {
  color: rgba(255, 255, 255, .6);
}

.link-gold {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── BUTTONS ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 2.1rem;
  font-size: .83rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  transition: background .22s, color .22s, border-color .22s, box-shadow .22s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 4px 24px rgba(184, 147, 106, .35);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
  border-color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
}

.btn-dark {
  background: var(--dark);
  color: var(--gold);
  border-color: var(--dark);
}

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

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

.btn-dark-outline:hover {
  background: var(--dark);
  color: var(--gold);
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: .6rem 1.4rem;
  font-size: .78rem;
}

/* ── NAVIGATION ────────────────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--col);
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
}

#main-nav.scrolled,
#main-nav.open {
  background: rgba(15, 14, 12, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--gold-border);
}

.nav-logo {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1.15rem;
  letter-spacing: .02em;
  text-decoration: none;
  z-index: 1;
}

.nav-logo span {
  color: #fff;
  font-style: italic;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .4rem;
  z-index: 1;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: transform .3s var(--ease), opacity .3s;
}

#main-nav.open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#main-nav.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

#main-nav.open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  display: none;
  list-style: none;
}

#main-nav.open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(15, 14, 12, .98);
  border-bottom: 1px solid var(--gold-border);
  padding: .5rem 0;
}

#main-nav.open .nav-links a {
  display: block;
  padding: .9rem var(--col);
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  font-size: .875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  transition: color .2s, padding-left .2s;
}

#main-nav.open .nav-links a:hover,
#main-nav.open .nav-links a[aria-current="page"] {
  color: var(--gold);
  padding-left: calc(var(--col) + .5rem);
}

/* ── HERO (home, full-viewport) ─────────────────────────────────── */
.hero {
  min-height: 100vh;
  /* fallback per browser che non supportano svh */
  min-height: 100svh;
  /* modern: esclude l'altezza della barra browser mobile */
  background: url('./wallpaper.png') center center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(15, 14, 12, .92) 0%,
      rgba(15, 14, 12, .75) 55%,
      rgba(15, 14, 12, .55) 100%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg,
      rgba(255, 255, 255, .022) 0, rgba(255, 255, 255, .022) 1px,
      transparent 1px, transparent 100px);
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 65% 50%, rgba(184, 147, 106, .13) 0%, transparent 65%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 3rem var(--col) 6rem;
  max-width: calc(var(--max-w) + var(--col) * 2);
  margin: 0 auto;
  width: 100%;
}

.hero-content {
  max-width: 680px;
}

.hero-content .eyebrow {
  animation: fadeUp .8s .1s both;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  line-height: 1.04;
  color: #fff;
  margin-bottom: 1.5rem;
  animation: fadeUp .8s .25s both;
}

.hero-title em {
  color: var(--gold);
  font-style: italic;
}

.hero-sub {
  color: rgba(255, 255, 255, .8);
  font-size: clamp(.95rem, 2vw, 1.08rem);
  line-height: 1.85;
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 2.5rem;
  animation: fadeUp .8s .4s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  animation: fadeUp .8s .55s both;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 1s 1.3s both;
}

.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

.hero-scroll p {
  color: rgba(255, 255, 255, .35);
  font-size: .63rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero-number {
  display: none;
  position: absolute;
  right: var(--col);
  bottom: 6vh;
  font-family: var(--font-serif);
  font-size: clamp(7rem, 14vw, 14rem);
  color: rgba(184, 147, 106, .05);
  line-height: 1;
  user-select: none;
  animation: fadeIn 1.2s .8s both;
}

/* ── PAGE HERO (inner pages, shorter) ──────────────────────────── */
.page-hero {
  background: url('./wallpaper.png') center center / cover no-repeat;
  padding: calc(var(--nav-h) + 4.5rem) var(--col) 4.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(15, 14, 12, .88) 0%,
      rgba(15, 14, 12, .78) 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.page-hero .eyebrow {
  justify-content: center;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  color: #fff;
  line-height: 1.08;
  margin-bottom: 1.1rem;
}

.page-hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.page-hero p {
  color: rgba(255, 255, 255, .72);
  font-size: .98rem;
  line-height: 1.8;
  font-weight: 300;
}

/* ── SECTION LAYOUTS ───────────────────────────────────────────── */
.section {
  padding: var(--sv) var(--col);
}

.section-white {
  background: var(--white);
}

.section-cream {
  background: var(--cream-2);
}

.section-dark {
  background: var(--dark-2);
  color: #fff;
}

.section-dark .section-title {
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, .62);
  line-height: 1.9;
  font-weight: 300;
}

.section-inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

/* ── TRUST STRIP ───────────────────────────────────────────────── */
.trust-strip {
  background: var(--dark);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 2.75rem var(--col);
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.trust-item {
  text-align: center;
}

.trust-num {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--gold);
  line-height: 1;
  display: block;
  font-weight: 700;
}

.trust-label {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  display: block;
  margin-top: .45rem;
}

/* ── PILLARS (valori del brand) ─────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.pillar {
  padding: 2rem 1.75rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--gold-border);
  border-radius: var(--r);
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}

.pillar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

.pillar:hover::after {
  transform: scaleX(1);
}

.pillar:hover {
  border-color: rgba(184, 147, 106, .45);
  transform: translateY(-4px);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--gold-pale);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
}

.pillar h3 {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: #fff;
  margin-bottom: .55rem;
}

.pillar p {
  font-size: .875rem;
  color: rgba(255, 255, 255, .5);
  line-height: 1.75;
}

/* ── SERVICE CARDS (home preview) ──────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.service-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-top: 3px solid transparent;
  border-radius: 0 0 var(--r) var(--r);
  box-shadow: 0 2px 24px rgba(0, 0, 0, .06);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}

.service-card:hover {
  border-top-color: var(--gold);
  box-shadow: 0 10px 44px rgba(0, 0, 0, .11);
  transform: translateY(-5px);
}

.service-card .num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--cream-2);
  line-height: 1;
  margin-bottom: .4rem;
  font-weight: 700;
  transition: color .3s;
}

.service-card:hover .num {
  color: rgba(184, 147, 106, .18);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  margin-bottom: .65rem;
  color: var(--dark);
}

.service-card p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ── SERVICE DETAIL (servizi.html) ─────────────────────────────── */
.service-detail {
  background: var(--white);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 2px 24px rgba(0, 0, 0, .055);
  transition: box-shadow .3s, transform .3s;
}

.service-detail:hover {
  box-shadow: 0 8px 42px rgba(0, 0, 0, .1);
  transform: translateX(5px);
}

.service-detail .num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--cream-2);
  line-height: 1;
  margin-bottom: .5rem;
  font-weight: 700;
}

.service-detail h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--dark);
  margin-bottom: .85rem;
}

.service-detail p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.services-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* ── TEAM CARDS ─────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.team-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--gold-border);
  border-radius: var(--r);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}

.team-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

.team-card:hover::after {
  transform: scaleX(1);
}

.team-card:hover {
  border-color: rgba(184, 147, 106, .5);
  transform: translateY(-5px);
}

.team-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-pale);
  border: 1.5px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 1.3rem;
}

.team-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: .3rem;
}

.team-card .role {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.team-card p {
  font-size: .875rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.8;
}

/* ── VALUE CARDS ────────────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.value-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r) var(--r) 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .055);
  transition: box-shadow .3s, transform .3s;
}

.value-card:hover {
  box-shadow: 0 8px 34px rgba(0, 0, 0, .09);
  transform: translateX(4px);
}

.value-icon {
  font-size: 1.6rem;
  margin-bottom: .85rem;
}

.value-card h3 {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: var(--dark);
  margin-bottom: .55rem;
}

.value-card p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.78;
}

/* ── STORIA SPLIT ───────────────────────────────────────────────── */
.storia-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.storia-aside {
  padding: 2.5rem 2rem;
  background: var(--gold-pale);
  border: 1px solid var(--gold-border);
  border-radius: var(--r);
}

.storia-aside blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-style: italic;
  color: #fff;
  line-height: 1.55;
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.storia-aside cite {
  font-size: .78rem;
  color: rgba(255, 255, 255, .4);
  letter-spacing: .08em;
}

/* ── FAQ ACCORDION ──────────────────────────────────────────────── */
.faq-list {
  margin-top: 2.5rem;
  max-width: 820px;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text);
  transition: color .22s;
}

.faq-q:hover {
  color: var(--gold);
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--gold);
  font-weight: 300;
  transition: transform .35s var(--ease), background .22s, border-color .22s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold-pale);
  border-color: var(--gold);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease);
}

.faq-a p {
  padding: 0 0 1.5rem;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.85;
}

/* ── CONTACT INFO ───────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
}

.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1.75rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  margin-bottom: 1.5rem;
  text-decoration: none;
  padding: .5rem;
  margin-left: -.5rem;
  border-radius: var(--r);
  transition: transform .3s var(--ease);
}

a.contact-item:hover {
  transform: scale(1.04);
}

.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--gold-pale);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background .3s, border-color .3s;
}

a.contact-item:hover .contact-icon {
  background: rgba(184, 147, 106, .22);
  border-color: rgba(184, 147, 106, .5);
}

.contact-label {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .25rem;
  font-weight: 600;
}

.contact-value {
  color: rgba(255, 255, 255, .72);
  font-size: .9rem;
  font-weight: 300;
}

/* ── MAP ────────────────────────────────────────────────────────── */
#map {
  height: 300px;
  width: 100%;
  border: 1px solid var(--gold-border);
  border-radius: var(--r);
  filter: grayscale(25%) contrast(1.05);
}

/* ── CONTACT FORM ───────────────────────────────────────────────── */
.form-wrap {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--r);
  box-shadow: 0 4px 32px rgba(0, 0, 0, .08);
}

.form-wrap h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: .5rem;
}

.form-wrap .form-sub {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.form-group label {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--dark-3);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: .85rem 1rem;
  border: 1.5px solid rgba(0, 0, 0, .12);
  border-radius: var(--r);
  background: var(--cream);
  color: var(--text);
  font-size: .9rem;
  transition: border-color .22s, box-shadow .22s, background .22s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--gold-pale);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group select {
  cursor: pointer;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  cursor: pointer;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.55;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: .15rem;
  accent-color: var(--gold);
  padding: 0;
  border: none;
  box-shadow: none;
  background: none;
}

.form-success {
  display: none;
  padding: 2rem 1.5rem;
  background: rgba(184, 147, 106, .1);
  border: 1px solid var(--gold-border);
  border-radius: var(--r);
  text-align: center;
}

.form-success.show {
  display: block;
}

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--dark);
  margin-bottom: .6rem;
}

.form-success p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── CTA STRIP ──────────────────────────────────────────────────── */
.cta-strip {
  background: var(--gold);
  padding: 4.5rem var(--col);
  text-align: center;
}

.cta-strip h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  color: var(--dark);
  margin-bottom: .75rem;
}

.cta-strip p {
  color: rgba(26, 24, 20, .65);
  font-size: .95rem;
  margin-bottom: 2.25rem;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

/* ── FOOTER ─────────────────────────────────────────────────────── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--gold-border);
  padding: 4rem var(--col) 2rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.footer-brand .nav-logo {
  display: inline-block;
  font-size: 1.2rem;
  margin-bottom: .85rem;
}

.footer-brand p {
  font-size: .82rem;
  color: rgba(255, 255, 255, .4);
  line-height: 1.8;
  max-width: 280px;
}

.footer-col h4 {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-col a {
  font-size: .85rem;
  color: rgba(255, 255, 255, .4);
  text-decoration: none;
  transition: color .22s;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-col address {
  font-style: normal;
  font-size: .85rem;
  color: rgba(255, 255, 255, .4);
  line-height: 1.9;
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  font-size: .74rem;
  color: rgba(255, 255, 255, .28);
}

.footer-bottom span {
  color: var(--gold);
}

/* ── ANIMATIONS ─────────────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scrollPulse {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 1;
  }

  45% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }

  55% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 1;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}

/* ── RESPONSIVE BREAKPOINTS ─────────────────────────────────────── */

/* tablet 640px+ */
@media (min-width: 640px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  #map {
    height: 360px;
  }

  .services-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* desktop 1024px+ */
@media (min-width: 1024px) {

  /* nav */
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    gap: 2.5rem;
    position: static;
    background: none;
    border: none;
    padding: 0;
  }

  .nav-links a {
    display: inline;
    padding: 0;
    border: none;
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    font-size: .875rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 500;
    transition: color .22s;
  }

  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    color: var(--gold);
  }

  /* hero */
  .hero-number {
    display: block;
  }

  /* grids */
  .pillars {
    grid-template-columns: repeat(4, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr 1.25fr;
    gap: 5rem;
    align-items: start;
  }

  .storia-grid {
    grid-template-columns: 1.6fr 1fr;
    gap: 4rem;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
  }

  #map {
    height: 400px;
  }
}

/* ── REDUCED MOTION ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}