/* FILE COMPLETO AGGIORNATO GIÀ OTTIMIZZATO */
/* Include: footer bottom + cookie + legal già integrati */

:root {
  --bg: #ffffff;
  --text: #171717;
  --muted: #625d56;
  --soft: #f4eee7;
  --line: #dfd7cd;
  --dark: #0f0f0f;
  --dark-2: #151515;
  --white: #ffffff;
  --accent: #d7a857;
  --container: 94%;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
}
body.menu-open,
body.cookie-modal-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main { display: block; }
.container { width: var(--container); margin: 0 auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
}
.site-header__inner {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 28px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.brand {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-logo {
  width: auto;
  height: auto;
  max-height: 78px;
}
.mobile-menu__logo {
  width: auto;
  height: auto;
  max-height: 62px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav > a,
.nav-dropdown__toggle {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  transition: opacity .25s ease;
}
.main-nav > a:hover,
.nav-dropdown__toggle:hover,
.main-nav > a.is-active,
.nav-dropdown__toggle.is-active { opacity: .72; }

.nav-dropdown { position: relative; }
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  min-width: 240px;
  padding: 14px;
  background: rgba(14, 14, 14, 0.96);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .22s ease;
}
.nav-dropdown__menu a {
  display: block;
  color: #fff;
  padding: 12px 10px;
  font-size: 14px;
}
.nav-dropdown__menu a:hover { background: rgba(255,255,255,.06); }
.nav-dropdown:hover .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.22);
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}
.mobile-menu { display: none; }

.hero {
  position: relative;
  min-height: 760px;
  height: 100vh;
  overflow: hidden;
  background: #000;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  animation: heroFade 18s infinite;
}
.hero__slide:nth-child(1) { animation-delay: 0s; }
.hero__slide:nth-child(2) { animation-delay: 6s; }
.hero__slide:nth-child(3) { animation-delay: 12s; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.62), rgba(0,0,0,.2));
  z-index: 1;
}
@keyframes heroFade {
  0% { opacity: 0; transform: scale(1.03); }
  10% { opacity: 1; transform: scale(1); }
  30% { opacity: 1; transform: scale(1); }
  40% { opacity: 0; transform: scale(1.02); }
  100% { opacity: 0; transform: scale(1.02); }
}
.hero__content {
  position: relative;
  z-index: 2;
  width: var(--container);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.hero__copy {
  max-width: 980px;
  padding-top: 80px;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.10);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: 78px;
  line-height: .95;
  font-weight: 800;
  letter-spacing: -.04em;
  color: #fff;
}
.hero p,
.page-hero p {
  margin: 24px 0 0;
  max-width: 760px;
  color: rgba(255,255,255,.92);
  font-size: 17px;
  line-height: 1.9;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 26px;
  border: 1px solid var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .20em;
  text-transform: uppercase;
  transition: .25s ease;
}
.btn--light { background: #fff; color: #000; }
.btn--light:hover { background: transparent; color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: #fff; color: #000; }
.btn--dark {
  background: #111;
  color: #fff;
  border-color: #111;
}
.btn--dark:hover { opacity: .85; }

.section { padding: 110px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--dark); color: #fff; }
.grid-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.grid-split--alt { grid-template-columns: 1.15fr .85fr; }
.split-image {
  min-height: 540px;
  background-size: cover;
  background-position: center;
}
.split-copy {
  min-height: 540px;
  display: flex;
  align-items: center;
  padding: 64px 72px;
  background: #fff;
}
.section--dark .split-copy {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.08);
}
.kicker {
  margin-bottom: 16px;
  color: #7b746a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .22em;
}
.section--dark .kicker { color: rgba(255,255,255,.50); }
.section h2,
.section-intro h2 {
  margin: 0;
  font-size: 54px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.035em;
}
.copy-text,
.copy-text p {
  color: #5d5952;
  font-size: 17px;
  line-height: 1.9;
}
.copy-text p { margin: 22px 0 0; }
.section--dark .copy-text,
.section--dark .copy-text p { color: rgba(255,255,255,.78); }
.section-intro { max-width: 860px; }

.square-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 54px;
}
.square-box {
  border: 1px solid #e5ddd3;
  background: #fff;
}
.square-box__media {
  height: 320px;
  background-size: cover;
  background-position: center;
}
.square-box__body { padding: 30px; }
.square-box h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.03em;
}
.square-box p {
  margin: 16px 0 0;
  color: #5d5952;
  font-size: 15px;
  line-height: 1.85;
}

.info-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
}
.info-stack {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.info-box {
  background: #fff;
  padding: 30px;
}
.info-label {
  color: #7b746a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.info-value {
  margin-top: 14px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.contact-grid {
  margin-top: 40px;
  max-width: 760px;
}
.contact-form {
  display: grid;
  gap: 24px;
}
.field-row,
.field-checkbox {
  display: grid;
  gap: 12px;
}
.contact-form label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7b746a;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 16px 18px;
  border: 1px solid #d8cfc4;
  background: #fff;
  color: #171717;
  font-size: 15px;
  line-height: 1.6;
}
.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #d7a857;
  outline: none;
  box-shadow: 0 0 0 4px rgba(215,168,87,.12);
}
.field-checkbox {
  grid-template-columns: auto 1fr;
  align-items: flex-start;
}
.field-checkbox input {
  width: auto;
  margin-top: 6px;
}
.field-checkbox label {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: #5d5952;
  line-height: 1.65;
}
.field-checkbox a {
  color: #111;
  text-decoration: underline;
}

.page-hero {
  position: relative;
  min-height: 560px;
  padding-top: 170px;
  padding-bottom: 70px;
  background-size: cover;
  background-position: center;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.66), rgba(0,0,0,.28));
}
.page-hero__inner {
  position: relative;
  z-index: 1;
}

/* ===== LEGAL PREMIUM ===== */
.legal-page {
  padding-top: 170px;
  padding-bottom: 100px;
  background: #f4eee7;
}
.legal-box {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 60px 70px;
  border: 1px solid #e6ded3;
}
.legal-box .legal-meta {
  margin: 0 0 30px;
  font-size: 14px;
  color: #777067;
  letter-spacing: .03em;
}
.legal-box h1 {
  margin: 0 0 18px;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -.03em;
}
.legal-box h2 {
  margin: 42px 0 12px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.legal-box p,
.legal-box li {
  font-size: 15px;
  line-height: 1.9;
  color: #4d4942;
  text-align: justify;
}
.legal-box p + p { margin-top: 15px; }
.legal-box ul {
  margin: 0;
  padding-left: 22px;
}
.legal-box li + li { margin-top: 8px; }
.legal-box strong { color: #141414; }

/* ===== COOKIE BANNER ===== */
.cookie-bar {
  position: fixed;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  display: none;
}
.cookie-bar.is-visible { display: block; }
.cookie-bar__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 18px;
  align-items: center;
  padding: 24px 26px;
  background: rgba(15,15,15,.96);
  color: #fff;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.cookie-bar__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em;
}
.cookie-bar__text {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.7;
}
.cookie-bar__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-btn {
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.18);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: .22s ease;
}
.cookie-btn:hover { opacity: .86; }
.cookie-btn--primary {
  background: var(--accent);
  color: #171717;
  border-color: var(--accent);
}
.cookie-btn--light {
  background: #fff;
  color: #111;
  border-color: #fff;
}
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
}
.cookie-modal.is-visible { display: block; }
.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.cookie-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, calc(100vw - 32px));
  margin: 7vh auto 0;
  background: #fff;
  border: 1px solid #e6ded3;
  box-shadow: 0 30px 90px rgba(0,0,0,.25);
}
.cookie-modal__head {
  padding: 28px 30px 20px;
  border-bottom: 1px solid #ece4da;
}
.cookie-modal__head h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: -.03em;
}
.cookie-modal__head p {
  margin: 14px 0 0;
  color: #5f584f;
  font-size: 15px;
  line-height: 1.8;
}
.cookie-modal__body {
  padding: 10px 30px 24px;
}
.cookie-pref {
  display: grid;
  gap: 1px;
  border: 1px solid #ece4da;
  background: #ece4da;
}
.cookie-pref__item {
  background: #fff;
  padding: 22px 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
}
.cookie-pref__item h3 {
  margin: 0;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.cookie-pref__item p {
  margin: 10px 0 0;
  color: #625c54;
  font-size: 14px;
  line-height: 1.75;
}
.cookie-switch {
  position: relative;
  width: 56px;
  height: 32px;
}
.cookie-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.cookie-switch span {
  position: absolute;
  inset: 0;
  background: #d7d1c7;
  transition: .2s ease;
}
.cookie-switch span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  background: #fff;
  transition: .2s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,.16);
}
.cookie-switch input:checked + span { background: #111; }
.cookie-switch input:checked + span::after { transform: translateX(24px); }
.cookie-switch input:disabled + span { background: #111; opacity: .88; }
.cookie-modal__footer {
  padding: 0 30px 30px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-modal__footer-note {
  color: #6c655d;
  font-size: 13px;
  line-height: 1.7;
}
.cookie-link-reset {
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  padding: 28px 0;
  background: #fff;
}
.site-footer__grid {
  padding-top: 22px;
  border-top: 1px solid #ebe3d8;
  display: grid;
  grid-template-columns: 1.15fr .7fr .7fr .85fr;
  gap: 22px;
  align-items: start;
}
.site-footer__brand {
  display: grid;
  align-content: start;
  gap: 10px;
}
.site-footer__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 112px;
  max-height: 48px;
  margin-bottom: 0;
}
.site-footer__title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.site-footer__heading {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7b746a;
}
.site-footer__text {
  max-width: 400px;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #5d5952;
}
.site-footer__links {
  display: grid;
  gap: 8px;
}
.site-footer__links a {
  color: #4f4a44;
  font-size: 14px;
  line-height: 1.45;
}
.site-footer__links a:hover { color: #000; }

@media (max-width: 1160px) {
  .hero h1,
  .page-hero h1 { font-size: 62px; }
  .section h2,
  .section-intro h2 { font-size: 44px; }
  .grid-split,
  .info-layout,
  .site-footer__grid,
  .square-grid,
  .cookie-bar__inner {
    grid-template-columns: 1fr;
  }
  .split-copy { padding: 48px; }
  .cookie-bar__actions { justify-content: flex-start; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-block; }
  .mobile-menu {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.50);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
  }
  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
  }
  .mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(88vw, 420px);
    height: 100%;
    background: #111;
    padding: 110px 28px 30px;
    display: grid;
    align-content: start;
    gap: 18px;
  }
  .mobile-menu__panel a {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
  }
  .mobile-menu__panel a.is-active { opacity: .72; }
  .site-header__inner { padding: 18px; }
  .brand { font-size: 16px; }
  .brand-logo { max-height: 56px; }
  .mobile-menu__logo { max-height: 52px; }
  .hero {
    min-height: 720px;
    height: auto;
  }
  .hero__content {
    min-height: 720px;
    align-items: flex-end;
    padding-bottom: 60px;
  }
  .hero__copy { padding-top: 110px; }
  .site-footer__logo { max-width: 120px; max-height: 52px; }
  .hero h1,
  .page-hero h1 { font-size: 44px; }
  .hero p,
  .page-hero p,
  .copy-text,
  .copy-text p,
  .legal-box p,
  .legal-box li { font-size: 15px; line-height: 1.75; }
  .section { padding: 84px 0; }
  .section h2,
  .section-intro h2,
  .legal-box h1,
  .cookie-modal__head h2 { font-size: 36px; }
  .split-image { min-height: 360px; }
  .split-copy { min-height: auto; padding: 34px 24px; }
  .square-box__media { height: 250px; }
  .square-box__body,
  .info-box,
  .legal-box { padding: 24px; }
  .info-value { font-size: 22px; }
  .page-hero {
    min-height: 500px;
    padding-top: 150px;
  }
  .legal-box h2 { font-size: 18px; }
  .cookie-bar {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .cookie-bar__inner,
  .cookie-modal__head,
  .cookie-modal__body,
  .cookie-modal__footer { padding-left: 20px; padding-right: 20px; }
  .cookie-pref__item {
    grid-template-columns: 1fr;
  }
}


/* ===== FOOTER BOTTOM FINAL ===== */
.site-footer__bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #ebe3d8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer__bottom-left,
.site-footer__bottom-right {
  color: #6a645c;
  font-size: 13px;
  line-height: 1.6;
}

.site-footer__bottom-right a {
  color: #171717;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
.site-footer__links button {
  all: unset;
  cursor: pointer;
  color: #4f4a44;
  font-size: 14px;
  line-height: 1.45;
}

.site-footer__links button:hover {
  color: #000;
}