/* ====================================================
   OLTREBOOTH — Design System
   Photo Booth per matrimoni ed eventi · Puglia
   ==================================================== */

/* ===== VARIABLES ===== */
:root {
  --white:    #FFFFFF;
  --off:      #F9F8F6;
  --surface:  #F2F1EF;
  --border:   #E4E3E0;
  --gray-300: #C8C7C4;
  --gray-500: #9B9A97;
  --gray-700: #6B6A67;
  --text:     #2A2926;
  --black:    #141312;

  --accent:   #C8471A;
  --accent-h: #a83814;
  --blue:     #1a4fc7;
  --green:    #25d366;

  --serif:  'Oswald', Arial, sans-serif;
  --sans:   'Inter', sans-serif;

  --navbar-h: 72px;
  --r-sm:   8px;
  --r:      14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-pill: 100px;

  --s-xs: 0 1px 4px rgba(0,0,0,0.05);
  --s-sm: 0 2px 12px rgba(0,0,0,0.06);
  --s:    0 8px 32px rgba(0,0,0,0.08);
  --s-lg: 0 20px 60px rgba(0,0,0,0.10);

  --ease: all 0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: #141312; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--sans); }
input, textarea, select { font-family: var(--sans); font-size: 1rem; outline: none; }

/* ===== LAYOUT ===== */
.container  { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 104px 0; }
.alt-bg     { background: var(--off); }

/* Pacchetti — blurred photo background */
.pacchetti.alt-bg { background: transparent; }
.pacchetti {
  position: relative;
  overflow: hidden;
}
.pacchetti::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: url('images/hero.jpg') center/cover no-repeat;
  filter: blur(14px);
  z-index: 0;
}
.pacchetti::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(249,248,246,0.84);
  z-index: 1;
}
.pacchetti > .container {
  position: relative;
  z-index: 2;
}

/* ===== TYPOGRAPHY UTILITIES ===== */
.label {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 14px;
}
.display-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.12;
  margin-bottom: 18px;
}
.display-title em { font-style: italic; opacity: 1; }
.section-sub {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.82;
  max-width: 480px;
}
.body-text {
  font-size: 0.88rem;
  color: var(--gray-700);
  line-height: 1.88;
  margin-bottom: 14px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes kenBurns {
  from { transform: scale(1.00); }
  to   { transform: scale(1.07); }
}
@keyframes scrollLine {
  0%   { height: 0; opacity: 0; }
  40%  { opacity: 1; }
  100% { height: 52px; opacity: 0; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.08); opacity: 0.7; }
}

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* ===== GLOBAL BUTTONS ===== */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--r-pill);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--border);
  transition: var(--ease);
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--black); transform: translateY(-1px); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: calc(var(--navbar-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.navbar.menu-open {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border-bottom-color: transparent !important;
}
.navbar.menu-open .logo-text { color: var(--white); }
.navbar.menu-open .hamburger span { background: var(--white) !important; }
.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 20px rgba(0,0,0,0.05);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img {
  height: 44px; width: 44px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.logo:hover .logo-img { transform: scale(1.05); }
.logo-text {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}
.navbar.scrolled .logo-text { color: var(--black); }
.logo-text-footer {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  margin-right: 16px;
}
.nav-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  color: rgba(255,255,255,0.80);
  transition: color 0.3s ease, background 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.09); }
.navbar.scrolled .nav-link { color: var(--gray-700); }
.navbar.scrolled .nav-link:hover { color: var(--black); background: var(--surface); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.28);
  border-radius: var(--r-pill);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: var(--ease);
}
.nav-cta:hover { background: rgba(255,255,255,0.26); }
.navbar.scrolled .nav-cta { background: var(--black); color: var(--white); border-color: var(--black); }
.navbar.scrolled .nav-cta:hover { background: #2a2927; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--ease);
}
.navbar.scrolled .hamburger span { background: var(--black); }
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center 20%;
  z-index: 0;
  animation: kenBurns 20s ease-in-out infinite alternate;
}

/* Dark fallback when image missing */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #1a1612;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,6,4,0.55) 0%,
    rgba(8,6,4,0.20) 40%,
    rgba(8,6,4,0.60) 100%
  );
  z-index: 1;
}

/* Landing photo overlay inside hero */
.hero-landing {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.20;
  pointer-events: none;
  overflow: hidden;
}
.hero-landing img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero-body {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
  max-width: 780px;
  width: 100%;
  animation: fadeInUp 1s ease both;
}

.hero-eyebrow {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.hero-title em { font-style: italic; opacity: 1; }

.hero-caption {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.92;
  max-width: 420px;
  margin-bottom: 44px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero CTA buttons */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: var(--white);
  color: var(--black);
  border-radius: var(--r-pill);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--ease);
  white-space: nowrap;
}
.btn-hero-primary:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,26,216,0.35);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 16px 40px;
  background: transparent;
  color: rgba(255,255,255,0.80);
  border: 1.5px solid rgba(255,255,255,0.30);
  border-radius: var(--r-pill);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--ease);
  white-space: nowrap;
}
.btn-hero-ghost:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.65);
  color: var(--white);
}
.btn-hero-ghost i { color: #3be07a; font-size: 1rem; }

.hero-scroll-hint { display: none; }

/* Scroll hint (kept for mobile compatibility) */
.hero-scroll-hint-unused {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.38;
}
.hero-scroll-hint span {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--white);
}
.scroll-line {
  width: 1px;
  height: 0;
  background: var(--white);
  animation: scrollLine 2.2s ease-in-out infinite;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--black);
  padding: 44px 0;
}
.stats-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 8px 20px;
  color: var(--white);
}
.stat-num-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}
.stat-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-sfx { font-size: 1.4rem; font-weight: 300; opacity: 0.75; }
.stat-item p {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}
.stat-sep {
  width: 1px;
  height: 52px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

/* ===== CHI SIAMO ===== */
.chiamo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.chiamo-visual { position: relative; }
.chiamo-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--r-xl);
  background: var(--surface);
}
.no-img .chiamo-img { background: var(--surface); min-height: 400px; }
.chiamo-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--white);
  border-radius: var(--r-pill);
  padding: 11px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--black);
  box-shadow: var(--s);
  letter-spacing: 0.02em;
}
.chiamo-tag i { color: var(--accent); }

.chiamo-content .display-title { margin-top: 6px; }
/* Feature cards (chi siamo) */
.feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.feature-card {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px 18px;
  transition: var(--ease);
}
.feature-card:hover { box-shadow: var(--s); transform: translateY(-2px); }
.feature-card .feature-icon {
  width: 36px;
  height: 36px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  margin-bottom: 12px;
}
.feature-card h4 {
  font-family: var(--serif);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--black);
  margin-bottom: 5px;
}
.feature-card p {
  font-size: 0.76rem;
  color: var(--gray-700);
  line-height: 1.65;
  margin: 0;
}

/* ===== SECTION HEAD ===== */
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head .section-sub { margin: 0 auto; }

/* ===== PACCHETTI ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  transition: var(--ease);
}
.pricing-card:hover { box-shadow: var(--s-lg); transform: translateY(-4px); }
.pricing-featured {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  transform: translateY(-8px);
}
.pricing-featured:hover { transform: translateY(-12px); }
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.pricing-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--black);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.pricing-featured .pricing-name {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.12);
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  margin-bottom: 32px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
}
.pricing-featured .pricing-features li { color: rgba(255,255,255,0.80); }
.pricing-features li i {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
  flex-shrink: 0;
}
.pricing-features li.included i {
  background: #dcfce7;
  color: #16a34a;
}
.pricing-featured li.included i {
  background: rgba(22,163,74,0.20);
  color: #4ade80;
}
.pricing-features li.excluded {
  opacity: 0.35;
  text-decoration: line-through;
}
.pricing-features li.excluded i {
  background: var(--surface);
  color: var(--gray-500);
}
.pricing-featured li.excluded i {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.35);
}
.pricing-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: var(--ease);
  border: 1.5px solid var(--black);
}
.pricing-cta:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.pricing-cta-featured {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.pricing-cta-featured:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.pricing-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.74rem;
  color: var(--gray-500);
  font-style: italic;
}

/* ===== GALLERY ===== */
.gallery-label-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.gallery-label-row::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.gallery-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gray-500);
  white-space: nowrap;
}
.gallery-section-label i { color: var(--accent); font-size: 0.7rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 10px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  cursor: pointer;
  background: var(--surface);
}
.gallery-large { grid-column: span 2; grid-row: span 2; }
.gallery-tall  { grid-row: span 2; }
.gallery-wide  { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.10) 50%, transparent 100%);
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i    { color: var(--white); font-size: 1rem; margin-bottom: 6px; }
.gallery-overlay span { color: var(--white); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* Masonry columns — foto in formato originale senza crop */
.gallery-masonry {
  columns: 3;
  column-gap: 10px;
}
.gallery-masonry .gallery-item {
  break-inside: avoid;
  margin-bottom: 10px;
  border-radius: var(--r);
  overflow: hidden;
}
.gallery-masonry .gallery-item img {
  width: 100%;
  height: auto;
  object-fit: unset;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: none; align-items: center; justify-content: center;
}
.lightbox.active { display: flex; animation: fadeIn 0.2s ease; }
.lightbox-content { max-width: 90vw; max-height: 90vh; text-align: center; }
.lightbox-content img { max-width: 100%; max-height: 85vh; border-radius: var(--r); object-fit: contain; }
.lightbox-content p { color: rgba(255,255,255,0.45); margin-top: 10px; font-size: 0.8rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease); font-size: 0.85rem;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.18); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }

/* ===== RECENSIONI ===== */

/* Matrimonio.com callout */
.matrimonio-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 20px 28px;
  margin-bottom: 48px;
}
.mc-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.mc-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #f59e0b;
  font-size: 0.95rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.mc-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mc-text strong { font-size: 0.88rem; color: var(--black); font-weight: 700; white-space: nowrap; }
.mc-text span { font-size: 0.74rem; color: var(--gray-500); }
.mc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--r-pill);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.mc-btn:hover { background: var(--accent); }

.t-label {
  font-family: var(--serif);
  font-size: 0.80rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--gray-700);
  margin-bottom: 12px;
}

.testimonials-wrap { max-width: 740px; margin: 0 auto; }
.testimonials-slider { overflow: hidden; }
.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; animation: fadeIn 0.4s ease; }

.t-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 52px 56px;
  text-align: center;
}
.t-stars { color: #f59e0b; letter-spacing: 4px; font-size: 0.82rem; margin-bottom: 26px; }
.t-card blockquote {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  line-height: 1.88;
  margin-bottom: 30px;
}

.t-author { display: flex; align-items: center; justify-content: center; gap: 12px; }
.t-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500); font-size: 0.95rem;
}
.t-author strong { display: block; font-size: 0.84rem; font-weight: 600; color: var(--black); text-align: left; }
.t-author span   { font-size: 0.71rem; color: var(--gray-500); text-align: left; display: block; }
.t-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-top: 24px;
}
.testimonial-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--gray-500);
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease); font-size: 0.78rem;
}
.testimonial-btn:hover { border-color: var(--black); color: var(--black); }
.testimonials-dots { display: flex; gap: 6px; }
.testimonial-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--ease); cursor: pointer;
}
.testimonial-dot.active { background: var(--black); width: 20px; border-radius: 3px; }

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: var(--ease);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--s-lg); border-color: transparent; }
.blog-img-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--surface);
}
.blog-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-img-wrap img { transform: scale(1.05); }
.blog-img-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--gray-300);
}
.blog-img-wrap img + .blog-img-placeholder { display: none; }
.blog-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--white);
  color: var(--black);
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  z-index: 2;
}
.blog-text { padding: 24px 26px 28px; }
.blog-meta { display: flex; gap: 14px; margin-bottom: 12px; }
.blog-meta span { font-size: 0.68rem; color: var(--gray-500); display: flex; align-items: center; gap: 5px; }
.blog-text h3 {
  font-family: var(--serif);
  font-size: 1rem; font-weight: 700;
  text-transform: uppercase;
  color: var(--black); line-height: 1.38;
  margin-bottom: 10px;
}
.blog-text p { font-size: 0.79rem; color: var(--gray-700); line-height: 1.75; margin-bottom: 18px; }
.blog-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: var(--ease);
}
.blog-read-more:hover { gap: 10px; border-color: var(--black); }
.section-footer { text-align: center; margin-top: 52px; }

/* ===== CONTATTI ===== */
.contatti-wa-bar {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}
.wa-bar-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #25d366;
  color: #fff;
  border-radius: var(--r-xl);
  padding: 18px 28px;
  text-decoration: none;
  max-width: 480px;
  width: 100%;
  transition: background 0.2s;
}
.wa-bar-btn:hover { background: #1fba59; color: #fff; }
.wa-bar-btn .fab { font-size: 1.65rem; flex-shrink: 0; }
.wa-bar-btn div { flex: 1; min-width: 0; }
.wa-bar-btn strong { font-size: 0.92rem; font-weight: 700; display: block; color: #fff; }
.wa-bar-btn span { font-size: 0.78rem; color: rgba(255,255,255,0.88); display: block; margin-top: 1px; }
.wa-arr { margin-left: auto; flex-shrink: 0; opacity: 0.8; font-size: 0.85rem; }

.contact-form-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 52px;
  align-items: start;
}

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 44px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.07em; color: var(--black);
  text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--white);
  font-size: 0.875rem;
  color: var(--black);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group input.error,
.form-group textarea.error { border-color: #dc2626; }
.form-group textarea { resize: vertical; min-height: 96px; }
.form-error { font-size: 0.68rem; color: #dc2626; font-weight: 500; min-height: 14px; }
.form-privacy { margin-top: 4px; }
.checkbox-label {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; font-size: 0.78rem;
  color: var(--gray-700); user-select: none;
}
.checkbox-label input { display: none; }
.checkmark {
  width: 18px; height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 4px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease);
}
.checkbox-label input:checked + .checkmark { background: var(--black); border-color: var(--black); }
.checkbox-label input:checked + .checkmark::after { content: '✓'; color: white; font-size: 10px; font-weight: 700; }
.checkbox-label a { color: var(--accent); }
.btn-submit {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; width: 100%;
  padding: 15px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-pill);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: var(--ease);
  margin-top: 8px;
  cursor: pointer; border: none;
  font-family: var(--sans);
}
.btn-submit:hover { background: var(--accent); transform: translateY(-1px); }
.btn-text, .btn-loading { display: flex; align-items: center; gap: 8px; }
.form-success {
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: var(--r); padding: 14px;
  display: flex; align-items: center; gap: 10px; margin-top: 14px;
}
.form-success i { color: #16a34a; }
.form-success p { font-size: 0.82rem; font-weight: 500; color: #15803d; }

/* Info card */
.contact-card {
  background: var(--black);
  border-radius: var(--r-xl);
  padding: 40px 34px;
  color: var(--white);
  position: sticky;
  top: calc(var(--navbar-h) + 24px);
}
.contact-card h3 {
  font-family: var(--serif);
  font-size: 1.75rem; font-weight: 400;
  margin-bottom: 8px;
}
.contact-card > p {
  font-size: 0.82rem; color: rgba(255,255,255,0.48);
  line-height: 1.75; margin-bottom: 24px;
}
.wa-btn {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r);
  padding: 14px 18px; margin-bottom: 26px;
  transition: var(--ease); color: var(--white);
}
.wa-btn:hover { background: rgba(255,255,255,0.14); transform: translateY(-1px); }
.wa-btn i { font-size: 1.8rem; color: #25d366; flex-shrink: 0; }
.wa-btn strong { display: block; font-size: 0.86rem; font-weight: 600; }
.wa-btn span   { font-size: 0.75rem; color: rgba(255,255,255,0.48); }
.contact-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.contact-item { display: flex; gap: 12px; align-items: flex-start; }
.contact-item > i {
  width: 32px; height: 32px; flex-shrink: 0;
  background: rgba(255,255,255,0.07);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.65);
}
.contact-item small {
  display: block; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.36); margin-bottom: 3px;
}
.contact-item a,
.contact-item span { font-size: 0.82rem; color: rgba(255,255,255,0.76); }
.contact-item a:hover { color: var(--white); text-decoration: underline; }
.contact-socials {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex; gap: 10px;
}
.contact-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.62); font-size: 0.85rem;
  transition: var(--ease);
}
.contact-socials a:hover { background: rgba(255,255,255,0.18); color: var(--white); }

/* ===== FOOTER ===== */
.footer { background: #0A0908; color: rgba(255,255,255,0.5); padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-logo { display: inline-block; margin-bottom: 14px; }
.footer-brand p { font-size: 0.79rem; line-height: 1.78; color: rgba(255,255,255,0.32); margin-bottom: 22px; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.42); font-size: 0.78rem;
  transition: var(--ease);
}
.footer-socials a:hover { background: rgba(255,255,255,0.14); color: var(--white); }
.footer-col h4 {
  font-size: 0.63rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.38); margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 0.79rem; color: rgba(255,255,255,0.36); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-contacts li { display: flex; align-items: center; gap: 9px; font-size: 0.79rem; }
.footer-contacts li i { color: rgba(255,255,255,0.22); width: 14px; }
.footer-contacts li a { color: rgba(255,255,255,0.36); transition: color 0.2s; }
.footer-contacts li a:hover { color: var(--white); }
.footer-contacts li span { color: rgba(255,255,255,0.36); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 18px 0; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 0.71rem; color: rgba(255,255,255,0.20); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.71rem; color: rgba(255,255,255,0.20); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.55); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--s); z-index: 999;
  opacity: 0; pointer-events: none;
  transition: var(--ease); font-size: 0.82rem;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-3px); }

/* ===== BLOG PAGE ===== */
.blog-pg-header {
  padding: calc(var(--navbar-h) + 72px) 0 64px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.blog-pg-header .display-title { font-size: clamp(2rem, 4vw, 3rem); }
.blog-pg-header .section-sub { margin-top: 4px; }

.blog-pg-list { padding: 72px 0 80px; }
.blog-pg-list .container { display: flex; flex-direction: column; gap: 0; }

.blog-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.blog-row:first-child { border-top: 1px solid var(--border); }

.blog-row-img {
  position: relative;
  height: 180px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  flex-shrink: 0;
}
.blog-row-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-row-img.no-img img { display: none; }
.blog-row-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--gray-300);
}
.blog-row-img img + .blog-row-placeholder { display: none; }
.blog-row-img.no-img .blog-row-placeholder { display: flex; }

.blog-row-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.blog-row-cat {
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--black); color: var(--white);
  padding: 4px 12px; border-radius: var(--r-pill);
}
.blog-row-date,
.blog-row-time {
  font-size: 0.72rem; color: var(--gray-500);
  display: flex; align-items: center; gap: 5px;
}
.blog-row-title {
  font-family: var(--serif);
  font-size: 1.3rem; font-weight: 700;
  text-transform: uppercase;
  color: var(--black); line-height: 1.2;
  margin-bottom: 12px;
}
.blog-row-excerpt {
  font-size: 0.84rem; color: var(--gray-700);
  line-height: 1.78; margin-bottom: 20px;
}
.blog-row-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--black);
  border-bottom: 1.5px solid var(--border);
  padding-bottom: 2px;
  transition: gap 0.2s ease, border-color 0.2s ease;
}
.blog-row-link:hover { gap: 12px; border-color: var(--black); }

.blog-pg-cta {
  background: var(--off);
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.blog-pg-cta-btns {
  display: flex; gap: 14px;
  justify-content: center; flex-wrap: wrap;
}
.blog-pg-cta .btn-hero-primary { background: var(--black); color: var(--white); }
.blog-pg-cta .btn-hero-primary:hover { background: var(--accent); }
.blog-pg-cta .btn-hero-ghost { color: var(--black); border-color: var(--border); }
.blog-pg-cta .btn-hero-ghost:hover { border-color: var(--black); background: transparent; }
.blog-pg-cta .btn-hero-ghost i { color: var(--green); }

@media (max-width: 700px) {
  .blog-row { grid-template-columns: 1fr; gap: 20px; }
  .blog-row-img { height: 200px; }
}

/* ===== ARTICLE PAGE ===== */
.article-hero { padding: calc(var(--navbar-h) + 48px) 0 0; background: var(--white); }
.article-hero-img {
  width: 100%; max-height: 480px;
  object-fit: cover; border-radius: var(--r-xl);
  margin-bottom: 48px; box-shadow: var(--s);
}
.article-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.article-category {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--black); font-size: 0.64rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--r-pill);
}
.article-date { font-size: 0.75rem; color: var(--gray-500); }
.article-body { max-width: 720px; margin: 0 auto; padding: 0 28px 100px; }
.article-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400; color: var(--black);
  line-height: 1.2; margin-bottom: 24px;
}
.article-content { font-size: 0.93rem; color: #4a4846; line-height: 1.92; }
.article-content p { margin-bottom: 20px; }
.article-content h2 { font-family: var(--serif); font-size: 1.65rem; font-weight: 400; color: var(--black); margin: 40px 0 16px; }
.article-content h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--black); margin: 28px 0 12px; }
.article-content ul { margin: 16px 0 20px 20px; }
.article-content ul li { margin-bottom: 9px; list-style: disc; }
.article-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gray-500); margin-bottom: 36px; transition: var(--ease);
}
.article-back:hover { color: var(--black); }
.article-divider { height: 1px; background: var(--border); margin: 48px 0; }

/* ===== RESPONSIVE ===== */
/* ===== CONTATTI PHOTO ===== */
.contatti-photo {
  margin-top: 56px;
  border-radius: var(--r-xl);
  overflow: hidden;
  height: 380px;
}
.contatti-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1060px) {
  .blog-page-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .chiamo-grid  { grid-template-columns: 1fr; gap: 48px; }
  .chiamo-visual { order: -1; }
  .chiamo-img { aspect-ratio: 16/9; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pricing-featured { transform: none; }
  .pricing-featured:hover { transform: translateY(-4px); }
  .contact-card { position: static; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 36px; }
  .blog-grid    { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-large { grid-column: span 2; grid-row: span 2; }
  .stats-inner  { flex-wrap: wrap; }
  .stat-item    { flex: 1 1 40%; }
  .stat-sep     { display: none; }
  .contatti-photo { height: 280px; }
}

@media (max-width: 768px) {
  :root { --navbar-h: 60px; }

  /* Navbar mobile — full-screen overlay */
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--black);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 80px 0 48px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transform: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: opacity 0.35s ease;
    z-index: 999;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: all;
  }
  .nav-links .nav-link {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    padding: 16px 28px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    border-radius: 0;
    background: none;
    transition: color 0.2s ease, background 0.2s ease;
  }
  .nav-links .nav-link:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
  .nav-links .nav-link:hover,
  .nav-links .nav-link:active { color: var(--white); background: rgba(255,255,255,0.04); }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero-title { font-size: clamp(2.4rem, 10vw, 4rem); }
  .hero-btns { flex-direction: column; align-items: center; gap: 10px; }
  .btn-hero-primary,
  .btn-hero-ghost { width: 100%; max-width: 280px; justify-content: center; padding: 14px 28px; }

  /* Stats */
  .stats-bar { padding: 32px 0; }
  .stat-num { font-size: 2.2rem; }
  .stat-item { flex: 1 1 45%; padding: 12px 8px; }

  /* Display title */
  .display-title { font-size: clamp(1.75rem, 6.5vw, 2.4rem); }

  /* Section head */
  .section-head { margin-bottom: 40px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .gallery-masonry { columns: 2; column-gap: 8px; }
  .gallery-masonry .gallery-item { margin-bottom: 8px; }

  /* Pricing — horizontal scroll on mobile */
  .pricing-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 28px 4px 20px;
    max-width: none;
    margin: 0 auto;
    scrollbar-width: none;
  }
  .pricing-grid::-webkit-scrollbar { display: none; }
  .pricing-card {
    flex: 0 0 82%;
    scroll-snap-align: center;
    transform: none;
  }
  .pricing-featured { transform: none; }
  .pricing-featured:hover { transform: translateY(-4px); }

  /* Matrimonio callout */
  .matrimonio-callout {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
  }
  .mc-btn { align-self: stretch; justify-content: center; }

  /* Testimonials */
  .t-card { padding: 32px 24px; }
  .t-card blockquote { font-size: 0.92rem; }

  /* Form */
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 28px 20px; }
  .wa-bar-btn { padding: 14px 20px; gap: 12px; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Contatti photo */
  .contatti-photo { height: 240px; margin-top: 40px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }

  /* Display title */
  .display-title { font-size: clamp(1.55rem, 8vw, 2.2rem); }

  /* Feature cards: compact horizontal layout */
  .feature-cards { grid-template-columns: 1fr; gap: 8px; }
  .feature-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
  }
  .feature-card .feature-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-bottom: 0;
    font-size: 0.76rem;
  }
  .feature-card h4 { margin-bottom: 2px; }
  .feature-card p { margin: 0; }

  /* Gallery masonry at 480px */
  .gallery-masonry { columns: 2; column-gap: 6px; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .gallery-large,
  .gallery-tall,
  .gallery-wide { grid-column: span 1; grid-row: span 1; }

  /* Stats: stack vertically */
  .stat-item { flex: 1 1 100%; }
  .stat-num { font-size: 2.6rem; }

  /* Section head */
  .section-head { margin-bottom: 36px; }

  /* Hero */
  .hero-title { font-size: clamp(2.2rem, 12vw, 3.8rem); }
  .hero-caption { font-size: 0.82rem; margin-bottom: 32px; }
  .btn-hero-primary,
  .btn-hero-ghost { max-width: 100%; }

  /* Testimonials */
  .t-card { padding: 28px 18px; }
  .t-card blockquote { font-size: 0.88rem; line-height: 1.8; }
  .testimonials-wrap { max-width: 100%; }

  /* Pricing */
  .pricing-card { padding: 28px 22px; }
  .pricing-grid { max-width: 100%; }

  /* Contact */
  .contact-form { padding: 22px 16px; }
  .contatti-photo { height: 200px; border-radius: var(--r); margin-top: 32px; }

  /* Blog */
  .blog-page-grid { grid-template-columns: 1fr; }

  /* Gallery expand button */
  .btn-gallery-expand { width: 100%; justify-content: center; }

  /* Nav links bigger tap targets */
  .nav-links .nav-link { padding: 14px 16px; }

  /* Footer brand */
  .footer-brand p { font-size: 0.82rem; }
}

/* Gallery expand button */
.btn-gallery-expand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid var(--blue);
  background: transparent;
  color: var(--blue);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-gallery-expand:hover {
  background: var(--blue);
  color: #fff;
}
