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

:root {
  --white:      #fafaf8;
  --off:        #f2f0eb;
  --stone:      #e8e4dc;
  --ink:        #1c1c1a;
  --ink-mid:    #4a4a46;
  --ink-soft:   #8a8a84;
  --ink-faint:  #c2c0bb;
  --accent:     #2c3e2d;
  --accent-lt:  #e8ede8;
  --gold:       #a8935a;
  --rule:       rgba(0,0,0,0.08);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', sans-serif;

  --section-pad: clamp(80px, 10vw, 140px);
  --gutter:      clamp(24px, 5vw, 80px);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── UTILITY ──────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.label-tag {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.label-tag::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--ink);
}

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

/* ─── ANIMATIONS ───────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes lineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── NAV ───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: padding 0.3s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* SVG Logo Mark */
.logo-mark svg { width: 36px; height: 36px; }

.logo-wordmark {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.5px;
}
.logo-wordmark span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-mid);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  background: var(--ink);
  color: white !important;
  padding: 9px 22px;
  border-radius: 0;
  letter-spacing: 1.5px;
  font-size: 10px !important;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent) !important; color: white !important; }



/* ─── MOBILE MENU ───────────────────────── */

.mobile-menu-toggle,
.mobile-menu {
  display: none;
}


/* MOBILE */

@media (max-width: 900px) {

    nav {

    padding: 14px var(--gutter)!important;

  }

  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {

    display: flex;

    width: 32px;
    height: 24px;

    padding: 0;

    border: 0;
    background: transparent;

    flex-direction: column;
    justify-content: space-between;

    cursor: pointer;

    z-index: 300;
  }

  .mobile-menu-toggle span {

    width: 100%;
    height: 2px;

    background: var(--ink);

    transition: 0.3s ease;
  }


  /* X animation */

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }


  /* FULLSCREEN MENU */

  .mobile-menu {

    position: fixed;

    top: 73px; /* altezza navbar */
    left: 0;

    width: 100%;
    height: calc(100vh - 73px);

    background: #ffffff;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 34px;

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.3s ease;

    z-index: 150;
  }

  .mobile-menu.active {

    opacity: 1;
    visibility: visible;
  }

  .mobile-menu a {

    color: var(--ink);

    text-decoration: none;

    font-size: 22px;

    letter-spacing: 3px;

    text-transform: uppercase;
  }

}

/* ─── HERO ──────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px var(--gutter) 80px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  animation: fadeUp 1s ease 0.2s both;
  margin-bottom: 32px;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--ink);
  animation: fadeUp 1s ease 0.4s both;
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-payoff {
  font-family: var(--serif);
  font-size: clamp(17px, 2vw, 22px);
  font-style: italic;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 460px;
  animation: fadeUp 1s ease 0.6s both;
  margin-bottom: 48px;
  border-left: 2px solid var(--gold);
  padding-left: 20px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 1s ease 0.8s both;
}

.btn-primary {
  display: inline-block;
  background: var(--ink);
  color: white;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-mid);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--ink-faint);
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); }

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-image-stack {
  position: absolute;
  inset: 0;
}

.hero-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Placeholder: architectural interior — light, geometric */
  background: linear-gradient(135deg, #e8e2d8 0%, #d4cfc7 40%, #bfbab0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Architectural placeholder visual */
.arch-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  background: linear-gradient(160deg, #f0ece4 0%, #2C3E2D 100%);
  overflow: hidden;
}

.arch-placeholder::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 180px;
  height: 280px;
  border: 1px solid rgba(255,255,255,0.5);
  border-bottom: none;
  border-radius: 90px 90px 0 0;
}
.arch-placeholder::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 300px;
  height: 400px;
  border: 1px solid rgba(255,255,255,0.3);
  border-bottom: none;
  border-radius: 150px 150px 0 0;
}

.arch-inner {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 200px;
  border: 1px solid rgba(255,255,255,0.6);
  border-bottom: none;
  border-radius: 40px 40px 0 0;
}

.arch-floor {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.4);
}

.arch-light {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 60%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
}

.arch-caption {
  position: absolute;
  bottom: 32px;
  right: 32px;
  background: rgba(250,250,248,0.85);
  padding: 14px 18px;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  backdrop-filter: blur(4px);
  border: 1px solid var(--rule);
  animation: fadeIn 1.2s ease 1s both;
}

/* Hero stats strip */
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  background: var(--ink);
  color: white;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  animation: fadeUp 1s ease 1s both;
}

.hero-stat {
  padding: 24px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .stat-n {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  color: white;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat .stat-n span { color: var(--gold); font-style: italic; }
.hero-stat .stat-l {
font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}


/* ─── MANIFESTO ─────────────────────────────────────── */
#manifesto {
  padding: var(--section-pad) var(--gutter);
  background: var(--off);
  position: relative;
  overflow: hidden;
}

.manifesto-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.manifesto-aside { padding-top: 8px; }

.manifesto-quote {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.manifesto-quote em { font-style: italic; color: var(--gold); }

.manifesto-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.manifesto-body p {
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.8;
}

.manifesto-body p strong {
  font-weight: 400;
  color: var(--ink);
}

.manifesto-line {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 8px 0;
}


/* ─── TEAM ──────────────────────────────────────────── */
#team {
  padding: var(--section-pad) var(--gutter);
  background: var(--white);
}

.section-header {
  max-width: 1280px;
  margin: 0 auto 64px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.section-header-left { max-width: 560px; }
.section-header-left .label-tag { margin-bottom: 16px; }

.section-header-right {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 320px;
  text-align: right;
  line-height: 1.7;
}

.team-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--stone);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s;
  position: relative;
}
.team-card:hover { border-color: var(--gold); }
.team-card:hover .team-photo-inner { transform: scale(1.03); }

.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.team-photo-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

/* Stylized photo placeholders */

.team-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-info {
  padding: 28px 28px 32px;
  border-top: 1px solid var(--stone);
}

.team-role {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.team-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.2;
}

.team-bio {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.75;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.team-tag {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--off);
  padding: 5px 12px;
  border: 1px solid var(--stone);
}


/* PORTFOLIO IMAGES */

.slide-img {
  width: 100%;
  overflow: hidden;
}

.portfolio-img {
  width: 100%;
  height: auto;
  display: block;
}


/* ─── SERVIZI ───────────────────────────────────────── */
#servizi {
  padding: var(--section-pad) var(--gutter);
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
}

#servizi::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(44,62,45,0.4) 0%, transparent 70%);
  pointer-events: none;
}

.servizi-inner {
  max-width: 1280px;
  margin: 0 auto;
}

#servizi .label-tag { color: var(--gold); }
#servizi .label-tag::before { background: var(--gold); }

#servizi .section-title { color: white; }
#servizi .section-title em { color: var(--gold); }

.servizi-intro {
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin-bottom: 72px;
  line-height: 1.8;
  font-style: italic;
  font-family: var(--serif);
}

.servizi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.06);
}

.servizio-item {
  padding: 36px 32px;
  border-right: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
  position: relative;
}
.servizio-item:hover { background: rgba(255,255,255,0.03); }
.servizio-item:nth-child(3n) { border-right: none; }


.servizio-num {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0.8;
}

.servizio-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  color: white;
  margin-bottom: 10px;
  line-height: 1.3;
}

.servizio-desc {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.servizio-line {
  position: absolute;
  top: 0; left: 32px;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.servizio-item:hover .servizio-line { transform: scaleX(1); }


/* ─── GALLERY ───────────────────────────────────────── */
#progetti {
  padding: var(--section-pad) var(--gutter);
  background: var(--off);
}

.progetti-inner { max-width: 1280px; margin: 0 auto; }

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.gallery-controls {
  display: flex;
  gap: 8px;
}
.gallery-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--stone);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--ink-mid);
  transition: all 0.2s;
}
.gallery-btn:hover { background: var(--ink); color: white; border-color: var(--ink); }

.slideshow {
  position: relative;
  overflow: hidden;
}

.slides-track {
  display: flex;
  gap: 16px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
  flex: 0 0 calc(50% - 8px);
  position: relative;
  overflow: hidden;
}

.slide-img {
  width: 100%;
  aspect-ratio: 4/3;
  display: block;
  position: relative;
  overflow: hidden;
}

/* Architectural photo placeholders */
.slide-1 { background: linear-gradient(135deg, #e4ddd2 0%, #c8c0b4 50%, #afa59a 100%); }
.slide-2 { background: linear-gradient(135deg, #dce4dc 0%, #c0ccbe 50%, #a8b8a4 100%); }
.slide-3 { background: linear-gradient(135deg, #e8e0d4 0%, #d0c8b8 50%, #b8afa0 100%); }
.slide-4 { background: linear-gradient(135deg, #ddd8d0 0%, #c4bdb0 50%, #aea89e 100%); }
.slide-5 { background: linear-gradient(135deg, #e0e4dc 0%, #c8ceC4 50%, #b0b8aa 100%); }
.slide-6 { background: linear-gradient(135deg, #e4dcd4 0%, #ccc0b4 50%, #b4a89c 100%); }
.slide-5 { background: linear-gradient(135deg, #e0e4dc 0%, #c8ceC4 50%, #b0b8aa 100%); }
.slide-6 { background: linear-gradient(135deg, #e4dcd4 0%, #ccc0b4 50%, #b4a89c 100%); }

.slide-geom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-geom svg { opacity: 0.25; }

.slide-caption {
  padding: 20px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.slide-caption-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  padding-left: 1px;
}
.slide-caption-meta {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.gallery-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 40px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--stone);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.dot.active { background: var(--ink); transform: scale(1.4); }


/* ─── CONTATTI ──────────────────────────────────────── */
#contatti {
  padding: var(--section-pad) var(--gutter);
  background: var(--white);
}

.contatti-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.contatti-left .label-tag { margin-bottom: 20px; }

.contatti-tagline {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 32px;
  letter-spacing: -0.3px;
}
.contatti-tagline em { font-style: italic; color: var(--accent); }

.contatti-text {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 420px;
}

.contact-methods { display: flex; flex-direction: column; gap: 20px; }

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-method-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  color: var(--ink-soft);
}
.contact-method-info {}
.contact-method-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 3px;
}
.contact-method-value {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
}
.contact-method-value a {
  color: inherit;
  text-decoration: none;
}
.contact-method-value a:hover { color: var(--accent); }

/* FORM */
.contatti-form { padding-top: 8px; }

.form-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--stone);
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--gold);
}
.form-input::placeholder, .form-textarea::placeholder {
  color: var(--ink-faint);
  font-style: italic;
  font-family: var(--serif);
}

.form-textarea {
  resize: none;
  height: 100px;
  line-height: 1.7;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.btn-submit {
  width: 100%;
  background: var(--ink);
  color: white;
  border: none;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 18px 36px;
  cursor: pointer;
  transition: background 0.25s;
  margin-top: 12px;
}
.btn-submit:hover { background: var(--accent); }

.form-success {
  display: none;
  background: var(--accent-lt);
  border: 1px solid var(--accent);
  padding: 16px 20px;
  font-size: 13px;
  color: var(--accent);
  margin-top: 12px;
  font-family: var(--serif);
  font-style: italic;
}

/* ─── COOKIE BANNER ───────────────────── */

.cookie-banner {

  position: fixed;

  left: 0;
  right: 0;
  bottom: 0;

  width: 100%;

  background: rgba(250,250,248,0.98);

  backdrop-filter: blur(14px);

  border-top: 1px solid var(--stone);

  padding: 28px var(--gutter);

  z-index: 9999;

  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 40px;
}

.cookie-content {

  display: flex;

  align-items: flex-start;

  gap: 18px;

  max-width: 760px;
}

.cookie-icon {

  width: 42px;
  height: 42px;

  flex-shrink: 0;

  border: 1px solid var(--stone);

  display: flex;

  align-items: center;
  justify-content: center;

  color: var(--gold);

  margin-top: 2px;
}

.cookie-icon svg {

  width: 20px;
  height: 20px;
}

.cookie-text {

  font-size: 13px;

  line-height: 1.8;

  color: var(--ink-mid);
}

.cookie-text a {

  color: var(--accent);

  text-decoration: none;

  border-bottom: 1px solid rgba(44,62,45,0.2);
}

.cookie-text a:hover {

  border-color: var(--accent);
}

.cookie-actions {

  display: flex;

  gap: 12px;

  flex-shrink: 0;
}


/* buttons */

.cookie-btn {

  border: none;

  cursor: pointer;

  padding: 14px 22px;

  font-family: var(--sans);

  font-size: 10px;

  font-weight: 500;

  letter-spacing: 2px;

  text-transform: uppercase;

  transition: 0.25s ease;
}


/* reject */

.cookie-btn.ghost {

  background: transparent;

  color: var(--ink);

  border: 1px solid var(--stone);
}

.cookie-btn.ghost:hover {

  border-color: var(--ink);
}


/* accept */

.cookie-btn:not(.ghost) {

  background: var(--ink);

  color: white;
}

.cookie-btn:not(.ghost):hover {

  background: var(--accent);
}


/* mobile */

@media (max-width: 700px) {

  .cookie-banner {

    flex-direction: column;

    align-items: flex-start;

    padding: 22px var(--gutter);
  }

  .cookie-actions {

    width: 100%;
  }

  .cookie-btn {

    flex: 1;
  }

}

/* ─── PRIVACY PAGE ───────────────────── */

.privacy-page {

  background: var(--white);

  color: var(--ink);
}


.privacy-header {

  position: sticky;

  top: 0;

  z-index: 100;

  background: rgba(250,250,248,0.95);

  backdrop-filter: blur(10px);

  border-bottom: 1px solid var(--rule);

  padding: 20px var(--gutter);

  display: flex;

  align-items: center;

  justify-content: space-between;
}


.privacy-logo {

  display: flex;

  align-items: center;

  gap: 10px;

  text-decoration: none;
}


.privacy-close {

  position: fixed;

  top: 24px;
  right: 24px;

  width: 48px;
  height: 48px;

  background: #1c1c1a;

  color: #ffffff;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  text-decoration: none;

  font-size: 24px;
  line-height: 1;

  border: 1px solid rgba(255,255,255,0.08);

  transition: background 0.25s ease,
              transform 0.25s ease;

  z-index: 200;

  cursor: pointer;

  pointer-events: auto;
}

.privacy-close::before,
.privacy-close::after {
  pointer-events: none;
}


.privacy-container {

  max-width: 900px;

  margin: 0 auto;

  padding: 100px var(--gutter);
}


.privacy-section {

  margin-bottom: 56px;
}


.privacy-section h2 {

  font-family: var(--serif);

  font-size: 30px;

  font-weight: 400;

  margin-bottom: 18px;
}


.privacy-section p,
.privacy-section li {

  font-size: 15px;

  line-height: 1.9;

  color: var(--ink-mid);
}


.privacy-section ul {

  padding-left: 20px;

  margin-top: 14px;
}


.privacy-section a {

  color: var(--accent);

  text-decoration: none;
}

.privacy-section a:hover {

  text-decoration: underline;
}

/* ─── FORM DISCLAIMER ───────────────────── */

.form-disclaimer {

  margin-top: 28px;
  margin-bottom: 12px;

  font-size: 11px;

  line-height: 1.8;

  color: var(--ink-soft);
}

.form-disclaimer a {

  color: var(--accent);

  text-decoration: none;
}

.form-disclaimer a:hover {

  text-decoration: underline;
}

/* ─── FOOTER ────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.45);
  padding: 40px var(--gutter);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 18px;
  color: white;
}
.footer-logo span { color: var(--gold); }

.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 11px;
  text-align: right;
  line-height: 1.6;
}


/* ─── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; }
  .hero-right { height: 400px; }
  .hero-stats { position: relative; grid-template-columns: repeat(3,1fr); }

  .manifesto-grid { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: 1fr; }
  .servizi-grid { grid-template-columns: 1fr 1fr; }
  .servizio-item:nth-child(3n) { border-right: 1px solid rgba(255,255,255,0.06); }
  .servizio-item:nth-child(2n) { border-right: none; }

  .slide { flex: 0 0 85%; }
  .contatti-inner { grid-template-columns: 1fr; gap: 60px; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .section-header-right { text-align: left; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy { text-align: left; }
  nav ul { display: none; }

  .slide {
  flex: 0 0 100%;
}
}

@media (max-width: 600px) {
  .servizi-grid { grid-template-columns: 1fr; }
  .servizio-item:nth-child(2n) { border-right: none; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
}
