:root {
  --aqua: #a6d0ce;
  --aqua-soft: #e7f5f4;
  --aqua-pale: #f3fbfa;
  --cream: #f7f0df;
  --cream-soft: #fbf7ed;
  --paper: #fffdf7;
  --ink: #242424;
  --muted: #66615b;
  --line: rgba(36, 36, 36, 0.14);
  --shadow: 0 24px 70px rgba(36, 36, 36, 0.12);
  font-family: "Noto Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(255, 253, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand img {
  width: min(280px, 58vw);
  aspect-ratio: 1011 / 221;
  height: auto;
  object-fit: contain;
}

.header-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 0.94rem;
}

.text-link {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 92px);
}

.section-dark {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.56), transparent 48%),
    var(--aqua);
}

.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(28px, 5vw, 72px) clamp(20px, 6vw, 92px);
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: #ffffff;
}

h1,
h2 {
  margin: 0 0 20px;
  font-family: "Noto Serif Display", Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.45rem, 7vw, 5.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

p {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 30px;
  margin-left: 0;
  padding-left: 0;
  width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  margin-left: 0;
}

.button.primary {
  color: var(--ink);
  background: var(--aqua);
}

.button.secondary {
  color: inherit;
  border-color: currentColor;
  background: transparent;
}

.photo-frame {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: var(--shadow);
  background: var(--aqua-soft);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-frame.preserve img {
  object-fit: contain;
  background: var(--aqua-soft);
}

.framed-photo {
  padding: 10px;
  border: 1px solid #000000;
  background: #ffffff;
}

.framed-photo img {
  background: #ffffff;
}

.gallery-photo {
  border: 1px solid #000000;
  background: #ffffff;
  box-shadow: none;
}

.gallery-photo img {
  object-fit: cover;
  background: #ffffff;
}

.photo-frame.wide {
  aspect-ratio: 16 / 10;
}

.photo-frame.tall {
  min-height: 520px;
}

.hero-photo {
  min-height: min(720px, 74vh);
}

.missing-photo {
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(166, 208, 206, 0.42), rgba(184, 149, 82, 0.12)),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.3) 0 10px, rgba(255, 255, 255, 0.08) 10px 20px),
    var(--aqua-soft);
  border: 1px dashed rgba(31, 50, 49, 0.35);
  box-shadow: none;
}

.section-dark .missing-photo {
  color: rgba(36, 36, 36, 0.74);
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.48), rgba(199, 170, 114, 0.16)),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.28) 0 10px, rgba(255, 255, 255, 0.08) 10px 20px),
    var(--aqua);
  border-color: rgba(36, 36, 36, 0.22);
}

.missing-photo span {
  font-weight: 800;
}

.intro-grid,
.final-cta,
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: center;
}

.stacked-photos {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 18px;
  align-items: end;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

.gallery {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.gallery-section {
  background: #ffffff;
}

.gallery-track {
  outline: none;
}

.gallery-slide {
  display: none;
  margin: 0;
}

.gallery-slide.is-active {
  display: block;
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.96rem;
}

.gallery-btn {
  width: 44px;
  height: 44px;
  border: 1px solid #000000;
  border-radius: 50%;
  color: var(--ink);
  background: var(--aqua);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-status {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-weight: 800;
}

.cuisine-section {
  background: #ffffff;
  border-top: 1px solid #000000;
}

.atmosphere {
  margin-top: 24px;
}

.final-cta {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
}

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

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid #000000;
  background: #ffffff;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

label span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

input:focus,
textarea:focus,
.gallery-track:focus,
.button:focus,
.text-link:focus,
.gallery-btn:focus {
  outline: 3px solid rgba(184, 149, 82, 0.45);
  outline-offset: 3px;
}

.full {
  grid-column: 1 / -1;
}

.privacy {
  grid-template-columns: 22px 1fr;
  align-items: start;
  font-weight: 600;
}

.privacy input {
  margin-top: 4px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
}

.form-status.is-error {
  color: #8b2d20;
  font-weight: 800;
}

.footer {
  display: grid;
  grid-template-columns: minmax(190px, 300px) minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  gap: 28px;
  padding: 46px clamp(20px, 6vw, 92px);
  color: var(--ink);
  background: var(--aqua);
}

.footer img {
  width: 300px;
  aspect-ratio: 1011 / 221;
  height: auto;
  object-fit: contain;
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-top: 22px;
  border-top: 1px solid #000000;
  font-size: 0.92rem;
}

.footer-legal p {
  margin: 0;
  font-size: inherit;
}

.footer-legal a {
  font-weight: 800;
}

address {
  font-style: normal;
}

.map-block {
  overflow: hidden;
  min-height: 260px;
  border: 1px solid #000000;
  background: #ffffff;
}

.map-block iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
}

.legal-page {
  background: var(--paper);
}

.legal-content {
  max-width: 940px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(2.35rem, 5vw, 4.8rem);
}

.legal-content h2 {
  margin-top: 46px;
  font-size: clamp(1.65rem, 3vw, 2.8rem);
}

.legal-content a:not(.button) {
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
  }

  .header-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }

  .hero,
  .intro-grid,
  .split,
  .final-cta,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .hero-photo {
    order: -1;
    min-height: 430px;
  }

  .stacked-photos {
    grid-template-columns: 1fr;
  }

  .photo-frame.tall {
    min-height: 430px;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-track {
    grid-column: 1 / -1;
    order: -1;
  }

  .gallery-btn {
    width: 100%;
    border-radius: 999px;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand img {
    width: 210px;
  }

  .section {
    padding: 54px 18px;
  }

  .hero {
    padding: 18px;
  }

  .hero-photo,
  .photo-frame.tall {
    min-height: 380px;
  }
}

/* === Correzioni audit 20/10/2026 (sgsm) === */

/* CTA principale visibile anche su fondo Tiffany */
.section-dark .button.primary {
  background: #ffffff;
  border-color: #000000;
}

/* Gallery: fotografia intera, senza ritagli, su fondo bianco con cornice */
.gallery-photo.wide {
  aspect-ratio: auto;
  height: min(68vh, 620px);
  min-height: 0;
  padding: 10px;
}

.gallery-photo img {
  object-fit: contain;
}

@media (max-width: 820px) {
  .gallery-photo.wide {
    height: min(62vh, 460px);
  }
}

@media (max-width: 480px) {
  .gallery-photo.wide {
    height: 340px;
  }
}

.button[disabled] {
  opacity: 0.6;
  cursor: wait;
}
