/* ═══════════════════════════════════════════════════════════════════════════
   ANTEROS EVENTI — Design System
   Palette: Verde oliva logo #808132 | Sfondo Cipria #F5E6E0 | Testi Dark #2D2D2D
   Font: Playfair Display | Raleway | Great Vibes
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ──────────────────────────────────────────────────── */
:root {
  --gold:        #808132;
  --gold-light:  #9FA058;
  --gold-dark:   #5E6125;
  --blush:       #F5E6E0;
  --blush-dark:  #E8CDBF;
  --dark:        #2D2D2D;
  --dark-mid:    #3A3A3A;
  --dark-light:  #4D4D4D;
  --burgundy:    #8B1A3A;
  --white:       #FAFAF8;
  --bg-main:     #FAF7F5;
  --text-muted:  #6B6B6B;
  --text-light:  #FAFAF8;
  --border:      rgba(128,129,50,.15);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Raleway', 'Helvetica Neue', Arial, sans-serif;
  --font-script:  'Great Vibes', cursive;

  --radius:      4px;
  --radius-lg:   12px;
  --shadow:      0 4px 24px rgba(0,0,0,.12);
  --shadow-gold: 0 4px 32px rgba(201,169,110,.22);
  --transition:  .35s cubic-bezier(.25,.46,.45,.94);

  --header-h:    80px;
}

/* ─── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-main);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }
p  { margin-bottom: 1rem; }

.script { font-family: var(--font-script); font-weight: 400; }
.section-label {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

/* ─── LAYOUT ─────────────────────────────────────────────────────────────── */
.container {
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
}
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }

/* ─── GRIGLIE ────────────────────────────────────────────────────────────── */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) {
  .two-col-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) {
  .three-col-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .three-col-grid { grid-template-columns: 1fr; }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── TIPOGRAFIA UTILITÀ ─────────────────────────────────────────────────── */
.gold-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: .5rem;
}
.section-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 1.5rem;
}
.img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 320px; }



/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}
.btn-sm { padding: .6rem 1.25rem; font-size: .78rem; }

/* ─── HEADER ─────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(250,247,245,.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(250,247,245,.98);
  box-shadow: 0 2px 20px rgba(0,0,0,.12);
}
/* Header sempre con sfondo chiaro */
.page-no-hero .site-header {
  background: rgba(250,247,245,.98);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 2rem;
  max-width: 1320px;
  margin: 0 auto;
}

/* Logo */
.logo, .logo-footer {
  display: flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
}
.logo-img {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .03em;
  text-shadow: 0 1px 8px rgba(0,0,0,.60);
}
.logo-sub {
  font-family: var(--font-body);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-light);
  opacity: .7;
}
.logo-footer-img { height: 48px; width: auto; }

/* Nav desktop */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-link {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dark);
  padding: .5rem .75rem;
  border-radius: var(--radius);
  transition: color var(--transition);
}
.nav-link:hover { color: var(--gold); }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  width: max-content;
  background: #FFFFFF;
  border: 1px solid rgba(128,129,50,.15);
  border-radius: var(--radius-lg);
  padding: .5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform .25s;
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
  display: flex;
  flex-direction: column;
  list-style: none;
  z-index: 999;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: block;
  padding: .6rem 1rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--dark);
  border-radius: var(--radius);
  transition: background var(--transition);
}
.dropdown li a:hover { background: rgba(128,129,50,.1); color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switch {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: .3rem .6rem;
  border-radius: 20px;
  transition: var(--transition);
}
.lang-switch:hover { background: var(--gold); color: var(--dark); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 5px; }
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  bottom: 0;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h)); /* dvh per browser mobile moderni */
  background: rgba(250,247,245,.98);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  padding-bottom: 3rem;
  border-top: 1px solid rgba(128,129,50,.15);
  z-index: 999;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { 
  display: flex; 
  flex-direction: column; 
  gap: .25rem;
  min-height: min-content;
}
.mobile-nav a {
  display: block;
  padding: .75rem 1rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--dark);
  border-radius: var(--radius);
  transition: background var(--transition);
}
.mobile-nav a:hover { background: rgba(128,129,50,.1); color: var(--gold); }
.mobile-lang a { color: var(--gold) !important; }

/* ─── HERO ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--dark);
}
.hero-bg video,
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}
/* Hero Slideshow */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(10,10,10,.60) 0%,
      rgba(10,10,10,.15) 22%,
      transparent 42%
    ),
    linear-gradient(
      to top,
      rgba(10,10,10,.75) 0%,
      rgba(10,10,10,.30) 30%,
      transparent 55%
    );
}
.hero-content {
  position: absolute;
  z-index: 2;
  bottom: 5rem;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  padding: 0 clamp(1.5rem, 8vw, 8rem);
  max-width: 900px;
  margin: 0 auto;
  text-shadow: 0 2px 16px rgba(0,0,0,.70);
}
.hero-content h1,
.hero-content h2,
.hero-content h3,
.hero-content h4,
.hero-content h5,
.hero-content p {
  color: #fff;
}
.hero-script {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: #E8D5B0;
  display: block;
  margin-bottom: .5rem;
  opacity: 0;
  animation: fadeUp .8s .3s forwards;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: .02em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp .8s .5s forwards;
}
.hero-sub {
  font-size: clamp(.9rem, 2vw, 1.1rem);
  font-weight: 300;
  letter-spacing: .08em;
  opacity: .85;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp .8s .7s forwards;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .8s .9s forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-light);
  opacity: .5;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: var(--gold);
  animation: scrollLine 2s infinite;
}

/* ─── SECTION INTRO ──────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; }
.section-script {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem) !important;
  max-width: 100%;
}
@media (max-width: 700px) {
  .section-script { white-space: normal; font-size: 1.1rem !important; }
}
.divider-gold {
  width: 60px; height: 2px;
  background: var(--gold);
  margin: 1.25rem auto;
}

/* ─── CARD GRIGLIA ───────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

.card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  border: 1px solid rgba(128,129,50,.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.15); }
.card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--transition);
}
.card:hover .card-img img { transform: scale(1.06); }
.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,.7) 0%, transparent 60%);
}
.card-body {
  padding: 1.75rem;
  background: #FFFFFF;
}
.card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: .65rem;
  font-weight: 600;
}
.card-text { font-size: .9rem; color: var(--dark-mid); margin-bottom: 1rem; line-height: 1.7; }
.card-link {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
}
.card:hover .card-link { color: var(--gold-dark); }

/* Card ceremony con icona (usata altrove) */
.card-ceremony {
  background: var(--dark-mid);
  border: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.card-ceremony:hover {
  background: rgba(201,169,110,.08);
  border-color: var(--gold);
  transform: translateY(-4px);
}
.card-ceremony .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card-ceremony .title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: .5rem;
}
.card-ceremony .excerpt { font-size: .85rem; color: var(--text-muted); }

/* ─── CAROUSEL CERIMONIE HOME ────────────────────────────────────────────── */
.cer-carousel {
  position: relative;
  margin-top: 3rem;
  overflow: hidden;        /* TAGLIA tutto ciò che esce */
  padding-bottom: .5rem;
}
.cer-track {
  display: flex;
  gap: 1.5rem;
  transition: transform .75s cubic-bezier(.65,0,.2,1);
  will-change: transform;
}
.cer-slide {
  flex: 0 0 auto;          /* larghezza imposta da JS */
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  background: var(--dark-mid);
  border: 1px solid var(--border);
  transition: transform .4s cubic-bezier(.25,.8,.25,1), border-color .3s, box-shadow .4s;
}
.cer-slide:hover {
  transform: translateY(-7px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 20px 48px rgba(0,0,0,.45);
}
.cer-slide-img {
  width: 100%;
  aspect-ratio: 3/2;
  background-size: cover;
  background-position: center;
  background-color: var(--dark-light);
}
.cer-slide-body {
  padding: 1.1rem 1.4rem 1.4rem;
}
.cer-slide-body h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: .5rem;
  line-height: 1.35;
}
.cer-slide-link {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.cer-arrow {
  position: absolute;
  top: calc(50% - .5rem);
  transform: translateY(-50%);
  background: rgba(10,10,10,.7);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(201,169,110,.4);
  color: var(--text-light);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
  z-index: 10;
}
.cer-arrow:disabled { opacity: .3; pointer-events: none; }
.cer-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  transform: translateY(-50%) scale(1.1);
}
.cer-arrow-prev { left: -.5rem; }
.cer-arrow-next { right: -.5rem; }
@media (max-width: 640px) { .cer-arrow { display: none; } }

/* ─── SEZIONE DARK (sfondo scuro) ────────────────────────────────────────── */
.section-dark {
  background: #F5F2EF;
  color: var(--dark);
}
.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark h4, .section-dark h5 { color: var(--dark); }
.section-dark .section-header p { color: var(--dark-mid); }
.section-dark .section-label { color: var(--gold); }

/* ─── SEZIONE BLUSH ──────────────────────────────────────────────────────── */
.section-blush { background: var(--blush); }

/* ─── QUOTE ──────────────────────────────────────────────────────────────── */
.quote-section {
  background: var(--dark);
  padding: 5rem 0;
  text-align: center;
}
.quote-text {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--gold);
  max-width: 500px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}
.quote-author {
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── TESTIMONIANZE ──────────────────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.testimonial-card {
  background: var(--dark-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.testimonial-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 1rem; }
.testimonial-text { color: rgba(250,247,245,.8); font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold);
}
.testimonial-event { font-size: .8rem; color: var(--text-muted); }

/* ─── FORM CONTATTI ──────────────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group.full-width { grid-column: 1 / -1; }
.form-label { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.form-control {
  padding: .85rem 1rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: var(--radius);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  box-sizing: border-box;
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(128,129,50,.15);
}
.form-control::placeholder { color: rgba(45,45,45,.35); }
select.form-control option { background: #fff; color: var(--dark); }
textarea.form-control { resize: vertical; min-height: 130px; }

/* ─── GALLERY LIGHTBOX ───────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,.0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.gallery-item:hover .gallery-item-overlay { background: rgba(26,26,26,.5); }
.gallery-item-overlay span { opacity: 0; font-size: 2rem; color: var(--white); transition: opacity var(--transition); }
.gallery-item:hover .gallery-item-overlay span { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.92);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  line-height: 1;
}
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: var(--gold);
  cursor: pointer;
  padding: 1rem;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ─── BLOG ───────────────────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.post-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.07); transition: transform var(--transition); }
.post-card:hover { transform: translateY(-4px); }
.post-card-img { aspect-ratio: 16/9; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card-body { padding: 1.5rem; }
.post-card-date { font-size: .75rem; color: var(--text-muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .5rem; }
.post-card-title { font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: .75rem; color: var(--dark); }
.post-card-excerpt { font-size: .9rem; color: #555; }

/* ─── PAGINA INTERNA HERO ────────────────────────────────────────────────── */
.page-hero {
  height: 50vh;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding-bottom: 4rem;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--dark-mid);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(10,10,10,.45) 0%,
      rgba(10,10,10,.10) 30%,
      transparent 55%
    ),
    linear-gradient(
      to top,
      rgba(10,10,10,.80) 0%,
      rgba(10,10,10,.35) 40%,
      transparent 70%
    );
}
.page-hero-content {
  position: relative;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.page-hero-content h1 { color: #fff; margin-bottom: .75rem; text-shadow: 0 2px 12px rgba(0,0,0,.70); }
.page-hero-content .hero-subtitle { color: rgba(250,247,245,.9); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.breadcrumb {
  display: flex;
  gap: .5rem;
  align-items: center;
  font-size: .78rem;
  letter-spacing: .08em;
  color: rgba(250,247,245,.95);
  text-shadow: 0 1px 4px rgba(0,0,0,.8);
}
.breadcrumb a { color: #E8D5B0; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.breadcrumb span::before { content: '›'; margin-right: .5rem; }

/* ─── PAGE GENERICA (Privacy / Cookie) ──────────────────────────────────── */
.section-page-generic {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background: var(--bg-light, #faf7f5);
  color: var(--dark);
}
.breadcrumb-dark {
  color: rgba(0,0,0,.45);
  margin-bottom: 1.5rem;
}
.breadcrumb-dark a { color: var(--gold); }
.page-generic-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--dark);
  margin-bottom: 2.5rem;
}
.section-page-generic .long-text h2,
.section-page-generic .long-text h3,
.section-page-generic .long-text h4 { color: var(--dark); margin: 1.75rem 0 .6rem; }
.section-page-generic .long-text p,
.section-page-generic .long-text li { color: #333; line-height: 1.8; }
.section-page-generic .long-text a { color: var(--gold); }
.section-page-generic .long-text table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem;
}
.section-page-generic .long-text th,
.section-page-generic .long-text td {
  border: 1px solid #ddd; padding: .6rem .9rem; text-align: left;
}
.section-page-generic .long-text th { background: #f0ece8; font-weight: 600; }

/* ─── CTA SECTION ────────────────────────────────────────────────────────── */
.cta-section {
  position: relative;
  padding: 7rem 2rem;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,.85) 0%, rgba(26,26,26,.7) 100%);
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  color: #fff;
}
.cta-content h2,
.cta-title {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0;
}
.cta-label {
  color: var(--gold);
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
}
.cta-script {
  font-family: 'Great Vibes', cursive;
  font-size: 1.6rem;
  color: var(--gold);
  margin: 0;
}

/* ─── ABOUT STORY (full-bleed image) ────────────────────────────────────── */
.about-story-section {
  overflow: hidden;
  padding: 0;
}
.about-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.about-text {
  padding: 6rem 4rem 6rem clamp(2rem, calc((100vw - 1200px) / 2 + 2rem), 8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}
.about-text .divider-gold { margin: .5rem 0; }
.about-text p { color: var(--text-muted); line-height: 1.8; }
.about-image-bleed {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.about-image-bleed img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: unset;
}
@media (max-width: 860px) {
  .about-story-inner {
    grid-template-columns: 1fr;
  }
  .about-text {
    padding: 3rem 1.5rem;
    order: 2;
  }
  .about-image-bleed {
    height: 380px;
    order: 1;
  }
}

/* ─── WHATSAPP WIDGET ───────────────────────────────────────────────────── */
.whatsapp-widget {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: transform .25s, box-shadow .25s;
  text-decoration: none;
}
.whatsapp-widget:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,.6);
}
.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: #1a1a1a;
  color: #fff;
  font-size: .78rem;
  white-space: nowrap;
  padding: .35rem .7rem;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.whatsapp-widget:hover .whatsapp-tooltip {
  opacity: 1;
}
@media (max-width: 480px) {
  .whatsapp-widget { bottom: 1.25rem; right: 1.25rem; width: 52px; height: 52px; }
  .whatsapp-tooltip { display: none; }
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: #FAF7F5;
  padding-top: 5rem;
}
.footer-divider { text-align: center; margin-bottom: 3rem; }
.footer-ornament { color: var(--gold); font-size: 1.5rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}
.footer-tagline { font-size: .85rem; color: rgba(250,247,245,.88); margin: .75rem 0 1.5rem; max-width: 280px; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(250,247,245,.4);
  border-radius: 50%;
  color: rgba(250,247,245,.85);
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-links h4 {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .88rem; color: rgba(250,247,245,.85); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-contact h4 {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-contact p { font-size: .88rem; color: rgba(250,247,245,.85); margin-bottom: 1.5rem; }
.footer-contact a { color: var(--gold); }
.footer-contact a.btn-gold { color: var(--dark); }
.footer-bottom {
  border-top: 1px solid rgba(250,247,245,.2);
  text-align: center;
  padding: 1.5rem 2rem;
}
.footer-bottom p { font-size: .78rem; color: rgba(250,247,245,.75); }
.footer-bottom a { color: var(--gold); }

/* ─── COOKIE BANNER ──────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 1.5rem; right: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  background: var(--dark-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 5000;
  box-shadow: var(--shadow);
}
.cookie-banner p { font-size: .85rem; color: rgba(250,247,245,.75); margin: 0; }
.cookie-banner a { color: var(--gold); }

/* ─── ANIMAZIONI ─────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollLine {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Su mobile le animazioni reveal possono bloccare il contenuto: le disabilitiamo */
@media (max-width: 768px) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
/* Rispetta preferenza riduzione movimento */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ─── ADMIN BADGE ────────────────────────────────────────────────────────── */
.admin-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--burgundy);
  color: var(--white);
  font-size: .75rem;
  letter-spacing: .1em;
  text-align: center;
  padding: .35rem;
  z-index: 2000;
}
.admin-bar a { color: var(--gold-light); margin-left: 1rem; }
body.has-admin-bar { padding-top: 30px; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 65px; }

  .main-nav, .header-actions .btn { display: none; }
  .hamburger { display: flex; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cookie-banner { flex-direction: column; text-align: center; }
  /* contatti mobile */
  .form-control { padding: 1rem; font-size: 1rem; }
  textarea.form-control { min-height: 150px; }
  #contact-form .btn { width: 100%; justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}

/* ===== ALBUMS GRID (masonry) ===== */
.albums-masonry {
  columns: 4 280px;
  column-gap: 1.25rem;
}
.albums-masonry .album-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, box-shadow .3s ease;
}
.albums-masonry .album-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,.14);
}
.album-card-img {
  position: relative;
  overflow: hidden;
}
.album-card-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s ease;
}
.albums-masonry .album-card:hover .album-card-img img {
  transform: scale(1.04);
}
.album-card-img .album-card-placeholder {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm-light, #f5f0eb);
  font-size: 2.5rem;
}
.album-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,20,10,.45) 0%, transparent 60%);
  pointer-events: none;
}
.album-card-count {
  position: absolute;
  bottom: .6rem;
  right: .75rem;
  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: .72rem;
  padding: .2rem .55rem;
  border-radius: 20px;
  letter-spacing: .04em;
}
.album-card-body {
  padding: .9rem 1rem 1rem;
}
.album-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--dark);
  margin: 0 0 .35rem;
}
.album-card-meta {
  display: inline-block;
  font-size: .78rem;
  color: var(--dark-mid, #6b5c4e);
  margin-right: .75rem;
  margin-bottom: .3rem;
}
.album-card-body p {
  font-size: .82rem;
  color: var(--dark-mid, #6b5c4e);
  margin: .3rem 0 .5rem;
  line-height: 1.5;
}
.album-card-cta {
  font-size: .82rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .04em;
}

/* Fallback grid per browser senza columns-masonry support */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.albums-grid .album-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, box-shadow .3s ease;
}
.albums-grid .album-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,.14);
}
.albums-grid .album-card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.albums-grid .album-card:hover .album-card-img img {
  transform: scale(1.04);
}
.albums-grid .album-card-body {
  padding: .9rem 1rem 1rem;
  flex: 1;
}

@media (max-width: 1100px) {
  .albums-masonry { columns: 3 240px; }
  .albums-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 740px) {
  .albums-masonry { columns: 2 200px; }
  .albums-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .albums-masonry { columns: 1; }
  .albums-grid { grid-template-columns: 1fr; }
}

/* ===== ALBUMS GRID (masonry) ===== */
.albums-masonry {
  columns: 4 280px;
  column-gap: 1.25rem;
}
.albums-masonry .album-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, box-shadow .3s ease;
}
.albums-masonry .album-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,.14);
}
.album-card-img {
  position: relative;
  overflow: hidden;
}
.album-card-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s ease;
}
.albums-masonry .album-card:hover .album-card-img img {
  transform: scale(1.04);
}
.album-card-img .album-card-placeholder {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm-light, #f5f0eb);
  font-size: 2.5rem;
}
.album-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,20,10,.45) 0%, transparent 60%);
  pointer-events: none;
}
.album-card-count {
  position: absolute;
  bottom: .6rem;
  right: .75rem;
  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: .72rem;
  padding: .2rem .55rem;
  border-radius: 20px;
  letter-spacing: .04em;
}
.album-card-body {
  padding: .9rem 1rem 1rem;
}
.album-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--dark);
  margin: 0 0 .35rem;
}
.album-card-meta {
  display: inline-block;
  font-size: .78rem;
  color: var(--dark-mid, #6b5c4e);
  margin-right: .75rem;
  margin-bottom: .3rem;
}
.album-card-body p {
  font-size: .82rem;
  color: var(--dark-mid, #6b5c4e);
  margin: .3rem 0 .5rem;
  line-height: 1.5;
}
.album-card-cta {
  font-size: .82rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .04em;
}

/* albums-grid (usato in gallery.php e come fallback) */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.albums-grid .album-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, box-shadow .3s ease;
}
.albums-grid .album-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,.14);
}
.albums-grid .album-card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.albums-grid .album-card:hover .album-card-img img {
  transform: scale(1.04);
}
.albums-grid .album-card-body {
  padding: .9rem 1rem 1rem;
  flex: 1;
}

@media (max-width: 1100px) {
  .albums-masonry { columns: 3 240px; }
  .albums-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 740px) {
  .albums-masonry { columns: 2 200px; }
  .albums-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .albums-masonry { columns: 1; }
  .albums-grid { grid-template-columns: 1fr; }
}
