/* ==============================================
   Royal Vatican Rooms — Global Stylesheet
   Covers: index, camere, servizi, gallery, contatti
   Use: <link rel="stylesheet" href="style.css">
============================================== */

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

:root {
  --cream:      #f7f3ed;
  --warm-white: #faf8f5;
  --gold:       #b8965a;
  --gold-light: #d4b07a;
  --gold-pale:  #e8d5b0;
  --charcoal:   #1e1c1a;
  --ink:        #2e2b27;
  --muted:      #7a7168;
  --border:     #ddd5c4;

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

  --max: 1180px;
  --gap: clamp(1.5rem, 4vw, 3rem);
}

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* ─── UTILITIES ─────────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.gold-line {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 1rem auto;
}

.overline {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

/* ─── NAVBAR ────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem var(--gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s, box-shadow .4s;
}

.nav-logo-img {
  height: 42px;
  width: 42px;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
  border-radius: 4px;
  mix-blend-mode: luminosity;
  opacity: .9;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}


nav.solid { background: rgba(30,28,26,.97); }

nav.scrolled {
  background: rgba(30, 28, 26, .96);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 24px rgba(0,0,0,.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: .05em;
  line-height: 1.2;
  text-decoration: none;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo span {
  display: block;
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-family: var(--sans);
  font-weight: 300;
}



.nav-links a {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  font-weight: 400;
  transition: color .25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--gold-light); }
.nav-links a.active::after { width: 100%; }

.nav-links a:hover::after { width: 100%; }

.nav-book {
  font-size: .7rem !important;
  letter-spacing: .18em !important;
  color: var(--gold-light) !important;
  border: 1px solid var(--gold) !important;
  padding: .5rem 1.2rem;
  transition: background .25s, color .25s !important;
}
.nav-book::after { display: none !important; }
.nav-book:hover { background: var(--gold) !important; color: #fff !important; }

.nav-lang {
  display: flex;
  gap: .6rem;
  font-size: .68rem;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5);
}
.nav-lang a { transition: color .25s; }
.nav-lang a:hover { color: var(--gold-light); }
.nav-lang a.active { color: var(--gold-light); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1px;
  background: #fff;
}

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.5) 100%),
    url('../../img/Ubaldi-38.jpg') center/cover no-repeat;
}

/* decorative gold rule top-left */
.hero-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 45%;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gap);
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  animation: heroIn .9s ease both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

.hero-eyebrow {
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-family: var(--sans);
  font-weight: 400;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.6rem;
  letter-spacing: -.01em;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,.75);
  max-width: 520px;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 400;
  padding: .95rem 2.2rem;
  cursor: pointer;
  transition: all .3s;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold-light);
}
.btn-outline {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.4);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  animation: bounce 2s infinite;
}
.hero-scroll::before {
  content: '';
  display: block;
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.4));
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ─── PAGE HERO (pagine interne) ────────────────────────── */
.page-hero {
  position: relative;
  height: clamp(280px, 40vw, 480px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,18,16,.8) 0%, rgba(20,18,16,.3) 60%, rgba(20,18,16,.4) 100%);
  z-index: 1;
}
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.85);
  z-index: 0;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem var(--gap);
  animation: heroIn .7s ease both;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  margin-bottom: .5rem;
}

/* ─── INTRO ─────────────────────────────────────────────── */
.intro {
  padding: clamp(4rem, 8vw, 8rem) var(--gap);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
}

.intro-text .overline { text-align: left; margin: 0 0 .8rem; }

.intro-text h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 1.8rem;
}

.intro-text p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.intro-sig {
  margin-top: 2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
  line-height: 1.5;
}

.intro-image {
  position: relative;
}
.intro-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.intro-image::before {
  content: '';
  position: absolute;
  top: -1.5rem; right: -1.5rem;
  bottom: 1.5rem; left: 1.5rem;
  border: 1px solid var(--gold-pale);
  z-index: -1;
}
.intro-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 70%, rgba(184,150,90,.15));
  pointer-events: none;
}

/* ─── PILLARS ───────────────────────────────────────────── */
.pillars {
  background: var(--charcoal);
  padding: clamp(4rem, 8vw, 7rem) var(--gap);
}

.pillars-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.pillars-header h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  color: #fff;
  margin-top: .5rem;
}

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

.pillar {
  padding: 3rem 2.5rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  transition: background .3s, transform .3s;
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .4s;
}
.pillar:hover { background: rgba(255,255,255,.06); transform: translateY(-4px); }
.pillar:hover::before { width: 100%; }

.pillar-icon {
  width: 52px; height: 52px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.pillar-icon svg {
  width: 22px; height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.3;
}

.pillar h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: .8rem;
}
.pillar p {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  line-height: 1.8;
}

/* ─── STATS ─────────────────────────────────────────────── */
.stats {
  padding: clamp(3.5rem, 6vw, 6rem) var(--gap);
  background: var(--cream);
}

.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.stats-inner > p {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--charcoal);
  font-style: italic;
  margin-bottom: 3.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
}

.stat {
  padding: 3rem 2rem;
  border: 1px solid var(--border);
  background: var(--warm-white);
  transition: background .3s;
}
.stat:hover { background: #fff; }

.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .5rem;
}
.stat-label {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── CTA ───────────────────────────────────────────────── */
.cta {
  position: relative;
  padding: clamp(4rem, 8vw, 8rem) var(--gap);
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(30,28,26,.92) 45%, rgba(30,28,26,.6) 100%),
    url('../../img/Ubaldi-38.jpg') center 60%/cover no-repeat;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.cta-text h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.2;
  margin-bottom: .8rem;
}
.cta-text p {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

/* ─── FOOTER ────────────────────────────────────────────── */
footer {
  background: #131210;
  color: rgba(255,255,255,.55);
  padding: clamp(3rem, 6vw, 5rem) var(--gap) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--max);
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .nav-logo { color: #fff; font-size: 1.4rem; }
.footer-brand p {
  font-size: .83rem;
  line-height: 1.9;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-weight: 400;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul a {
  font-size: .83rem;
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--gold-light); }

.footer-col address {
  font-style: normal;
  font-size: .83rem;
  line-height: 2;
}
.footer-col address a { transition: color .2s; }
.footer-col address a:hover { color: var(--gold-light); }

.footer-hours dt {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  font-family: var(--sans);
  font-weight: 400;
  margin-top: .6rem;
}
.footer-hours dd { font-size: .83rem; }

.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .73rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom a { transition: color .2s; }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-legal {
  display: flex;
  gap: 1.5rem;
}

/* ─── WHATSAPP FLOAT ─────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 200;
  width: 52px; height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .3s, box-shadow .3s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.55); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .intro        { grid-template-columns: 1fr; gap: 3rem; }
  .intro-image  { order: -1; }
  .pillars-grid { grid-template-columns: 1fr; }
  .stats-grid   { grid-template-columns: 1fr; }
  .cta-inner    { flex-direction: column; text-align: center; }
  .cta-actions  { justify-content: center; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    flex-direction: column;
    background: rgba(30,28,26,.98);
    padding: 5rem 2rem 3rem;
    gap: 1.8rem;
    z-index: 99;
    transform: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-hamburger {
    display: flex;
    z-index: 101;
  }
  .nav-hamburger span {
    transition: transform .3s, opacity .3s;
  }
  .nav-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  .nav-hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }
  .footer-grid  { grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction: column; text-align: center; }
  .hero h1      { font-size: 2.6rem; }
}


/* ══════════════════════════════════════════════
   CAMERE
══════════════════════════════════════════════ */

/* ─── ROOMS ────────────────────────────────────────────── */
.rooms-section { padding: clamp(4rem, 8vw, 8rem) 0; }

.room-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  border-bottom: 1px solid var(--border);
}
.room-block:last-child { border-bottom: none; }
.room-block.reverse .room-img { order: 2; }
.room-block.reverse .room-info { order: 1; }

.room-img {
  position: relative;
  overflow: hidden;
}
.room-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.room-block:hover .room-img img { transform: scale(1.04); }

.room-img-label {
  position: absolute;
  top: 2rem; left: 2rem;
  font-size: .65rem; letter-spacing: .22em; text-transform: uppercase;
  color: #fff; font-family: var(--sans); font-weight: 400;
  background: rgba(30,28,26,.55);
  backdrop-filter: blur(4px);
  padding: .45rem 1rem;
  border: 1px solid rgba(255,255,255,.2);
}

.room-info {
  padding: clamp(2.5rem, 5vw, 4.5rem);
  display: flex; flex-direction: column; justify-content: center;
  background: var(--warm-white);
}

.room-info .overline { margin-bottom: .6rem; text-align: left; }

.room-info h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 300; color: var(--charcoal);
  line-height: 1.2; margin-bottom: .8rem;
}

.room-types {
  font-size: .68rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
  font-family: var(--sans); font-weight: 400;
}

.room-info > p {
  font-size: .9rem; color: var(--muted); line-height: 1.9; margin-bottom: 2rem;
}

.amenities-title {
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem; font-weight: 400;
}

.amenities {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .5rem 1.5rem; margin-bottom: 2.5rem;
}
.amenities li {
  list-style: none; font-size: .83rem; color: var(--ink);
  display: flex; align-items: center; gap: .5rem;
}
.amenities li::before {
  content: '';
  display: inline-block; width: 4px; height: 4px;
  background: var(--gold); border-radius: 50%; flex-shrink: 0;
}

/* ─── CTA BOTTOM ────────────────────────────────────────── */
.rooms-cta {
  background: var(--charcoal);
  padding: clamp(3rem, 6vw, 5rem) var(--gap);
  text-align: center;
}
.rooms-cta h2 {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300; color: #fff; margin-bottom: .6rem;
}
.rooms-cta p { font-size: .88rem; color: rgba(255,255,255,.55); margin-bottom: 2.2rem; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .room-block { grid-template-columns: 1fr; min-height: unset; }
  .room-block.reverse .room-img,
  .room-block.reverse .room-info { order: unset; }
  .room-img { height: 360px; }
}


/* ══════════════════════════════════════════════
   SERVIZI
══════════════════════════════════════════════ */

/* ─── SERVICES GRID ──────────────────────────────────── */
.services-main {
  padding: clamp(4rem, 8vw, 8rem) var(--gap);
  max-width: var(--max);
  margin: 0 auto;
}
.services-main .overline { text-align: center; margin-bottom: .6rem; }
.services-main > h2 {
  font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300; color: var(--charcoal); text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
}

.service-card {
  padding: 2.8rem 2.5rem;
  background: var(--warm-white);
  border: 1px solid var(--border);
  transition: background .3s, transform .3s;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width .4s;
}
.service-card:hover { background: #fff; transform: translateY(-3px); }
.service-card:hover::after { width: 100%; }

.service-badge {
  display: inline-block;
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold-pale);
  padding: .25rem .7rem; margin-bottom: 1.5rem;
  font-family: var(--sans); font-weight: 400;
}

.service-icon {
  width: 56px; height: 56px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: border-color .3s;
}
.service-card:hover .service-icon { border-color: var(--gold); }
.service-icon svg {
  width: 24px; height: 24px;
  stroke: var(--gold); fill: none; stroke-width: 1.3;
}

.service-card h3 {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 400;
  color: var(--charcoal); margin-bottom: .7rem;
}
.service-card p {
  font-size: .87rem; color: var(--muted); line-height: 1.85;
}

/* ─── STANDARDS ─────────────────────────────────────── */
.standards {
  background: var(--charcoal);
  padding: clamp(3.5rem, 6vw, 6rem) var(--gap);
}
.standards-inner {
  max-width: var(--max); margin: 0 auto; text-align: center;
}
.standards-inner > p {
  font-size: .87rem; color: rgba(255,255,255,.5); margin-bottom: 3rem;
}
.standards-inner h2 {
  font-family: var(--serif); font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 300; color: #fff; margin-bottom: .5rem;
}
.standards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.standard-item {
  padding: 3rem 2rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.standard-item h4 {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 400;
  color: #fff; margin-bottom: .4rem;
}
.standard-item span {
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold);
}

/* ─── POLICIES ──────────────────────────────────────── */
.policies {
  padding: clamp(4rem, 7vw, 7rem) var(--gap);
  max-width: var(--max); margin: 0 auto;
}
.policies .overline { text-align: center; margin-bottom: .5rem; }
.policies > h2 {
  font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300; color: var(--charcoal); text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.policies-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px; border: 1px solid var(--border);
}

.policy-card {
  padding: 2.5rem 2rem;
  background: var(--warm-white);
  border: 1px solid var(--border);
}
.policy-card h3 {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 400;
  color: var(--charcoal); margin-bottom: 1.2rem;
  padding-bottom: .8rem; border-bottom: 1px solid var(--border);
}
.policy-row {
  margin-bottom: .8rem;
}
.policy-row dt {
  font-size: .65rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); font-weight: 400; margin-bottom: .2rem;
}
.policy-row dd {
  font-size: .87rem; color: var(--ink); line-height: 1.6;
}

/* ─── CTA ───────────────────────────────────────────── */
.services-cta {
  background: var(--cream);
  padding: clamp(3rem, 6vw, 5rem) var(--gap);
  text-align: center;
}
.services-cta h2 {
  font-family: var(--serif); font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 300; color: var(--charcoal); margin-bottom: .5rem;
}
.services-cta p { font-size: .88rem; color: var(--muted); margin-bottom: 2rem; }

@media (max-width: 768px) {
  .standards-grid { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════
   GALLERY
══════════════════════════════════════════════ */

/* ─── FILTER TABS ──────────────────────────────────── */
.gallery-filters {
  padding: 3rem var(--gap) 0;
  max-width: var(--max); margin: 0 auto;
  display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center;
}
.filter-btn {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  font-family: var(--sans); font-weight: 400;
  padding: .55rem 1.4rem; cursor: pointer;
  border: 1px solid var(--border); background: transparent;
  color: var(--muted); transition: all .25s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--charcoal); color: #fff; border-color: var(--charcoal);
}
.filter-btn.active { border-color: var(--gold); background: var(--gold); }

/* ─── MASONRY GRID ──────────────────────────────────── */
.gallery-section {
  padding: 2.5rem var(--gap) clamp(4rem, 8vw, 7rem);
  max-width: var(--max); margin: 0 auto;
}

.gallery-grid {
  columns: 3 280px;
  gap: 10px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; display: block;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,18,16,.75) 0%, transparent 55%);
  opacity: 0; transition: opacity .35s;
  display: flex; align-items: flex-end; padding: 1.2rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-label {
  color: #fff;
}
.gallery-label h3 {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 300;
  line-height: 1.2;
}
.gallery-label span {
  font-size: .65rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold-light);
}

/* zoom icon */
.gallery-zoom {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.gallery-zoom svg { width: 15px; height: 15px; stroke: #fff; fill: none; }
.gallery-item:hover .gallery-zoom { opacity: 1; }

/* ─── LIGHTBOX ──────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(10,9,8,.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }

.lightbox-img {
  max-width: 90vw; max-height: 85vh;
  object-fit: contain;
  transform: scale(.95); transition: transform .3s;
}
.lightbox.open .lightbox-img { transform: scale(1); }

.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.3); background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem; transition: border-color .2s;
}
.lightbox-close:hover { border-color: var(--gold); }

.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.3); background: transparent;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, background .2s;
}
.lightbox-nav:hover { border-color: var(--gold); background: rgba(184,150,90,.15); }
.lightbox-nav svg { width: 18px; height: 18px; stroke: #fff; fill: none; }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-caption {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  text-align: center; color: rgba(255,255,255,.6); font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase;
}

/* ─── CTA ───────────────────────────────────────────── */
.gallery-cta {
  background: var(--charcoal);
  padding: clamp(3rem, 6vw, 5rem) var(--gap);
  text-align: center;
}
.gallery-cta h2 {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300; color: #fff; margin-bottom: .6rem;
}
.gallery-cta p { font-size: .88rem; color: rgba(255,255,255,.5); margin-bottom: 2rem; line-height: 1.9; }


/* ══════════════════════════════════════════════
   CONTATTI
══════════════════════════════════════════════ */

/* ─── CONTACT LAYOUT ───────────────────────────────── */
.contact-main {
  padding: clamp(4rem, 8vw, 7rem) var(--gap);
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem;
  align-items: start;
}

.contact-info .overline { margin-bottom: .6rem; text-align: left; }

.contact-info h2 {
  font-family: var(--serif); font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 300; color: var(--charcoal); margin-bottom: 2.5rem; line-height: 1.2;
}

.contact-block {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.contact-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.contact-block h3 {
  font-size: .65rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-family: var(--sans); font-weight: 400;
  margin-bottom: .8rem;
}
.contact-block p, .contact-block address {
  font-size: .9rem; color: var(--ink); line-height: 2;
  font-style: normal;
}
.contact-block a { transition: color .2s; }
.contact-block a:hover { color: var(--gold); }

.contact-hours dt {
  font-size: .65rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); font-weight: 400; display: inline;
}
.contact-hours dd {
  font-size: .9rem; color: var(--ink); display: inline;
}
.contact-hours dd::after { content: '\A'; white-space: pre; }

.wa-btn {
  display: inline-flex; align-items: center; gap: .7rem;
  margin-top: 1.2rem;
  background: #25d366; color: #fff;
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  font-family: var(--sans); font-weight: 400;
  padding: .85rem 1.8rem; transition: background .25s;
}
.wa-btn:hover { background: #1da856; }
.wa-btn svg { width: 18px; height: 18px; fill: #fff; }

/* ─── MAP ───────────────────────────────────────────── */
.map-wrap {
  position: sticky; top: 7rem;
}
.map-wrap iframe {
  width: 100%; height: 420px; border: none;
  display: block;
}
.map-label {
  background: var(--charcoal); padding: 1.2rem 1.5rem;
  display: flex; align-items: center; gap: .8rem;
}
.map-label svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; flex-shrink: 0; }
.map-label span { font-size: .82rem; color: rgba(255,255,255,.7); line-height: 1.5; }

/* ─── DIRECTIONS ────────────────────────────────────── */
.directions {
  background: var(--cream);
  padding: clamp(4rem, 7vw, 7rem) var(--gap);
}
.directions-inner { max-width: var(--max); margin: 0 auto; }
.directions-inner .overline { text-align: center; margin-bottom: .5rem; }
.directions-inner > h2 {
  font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300; color: var(--charcoal); text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.directions-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px; border: 1px solid var(--border);
}

.direction-card {
  padding: 2.5rem 2rem;
  background: var(--warm-white);
  border: 1px solid var(--border);
  transition: background .3s;
}
.direction-card:hover { background: #fff; }

.direction-icon {
  font-size: 1.6rem; margin-bottom: 1.2rem;
}
.direction-card h3 {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 400;
  color: var(--charcoal); margin-bottom: 1.2rem;
  padding-bottom: .8rem; border-bottom: 1px solid var(--border);
}

.direction-steps { list-style: none; counter-reset: step; }
.direction-steps li {
  counter-increment: step;
  display: flex; gap: .8rem; align-items: flex-start;
  font-size: .85rem; color: var(--muted); line-height: 1.6;
  margin-bottom: .6rem;
}
.direction-steps li::before {
  content: counter(step);
  min-width: 20px; height: 20px;
  background: var(--gold); color: #fff;
  font-size: .65rem; font-weight: 400;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; flex-shrink: 0; margin-top: .1rem;
}

.direction-time {
  margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--border);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); font-family: var(--sans); font-weight: 400;
}

/* ─── NEARBY ─────────────────────────────────────────── */
.nearby {
  padding: clamp(4rem, 7vw, 7rem) var(--gap);
  max-width: var(--max); margin: 0 auto;
}
.nearby .overline { text-align: center; margin-bottom: .5rem; }
.nearby > h2 {
  font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300; color: var(--charcoal); text-align: center;
  margin-bottom: 3rem;
}

.nearby-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px;
  border: 1px solid var(--border);
}
.nearby-item {
  padding: 1.8rem 1.5rem;
  background: var(--warm-white); border: 1px solid var(--border);
  display: flex; align-items: center; gap: 1rem;
  transition: background .3s;
}
.nearby-item:hover { background: #fff; }
.nearby-icon { font-size: 1.4rem; }
.nearby-info h4 {
  font-family: var(--serif); font-size: 1rem; font-weight: 400; color: var(--charcoal);
}
.nearby-info span {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold);
}

/* ─── CTA ───────────────────────────────────────────── */
.contact-cta {
  background: var(--charcoal);
  padding: clamp(3rem, 6vw, 5rem) var(--gap);
  text-align: center;
}
.contact-cta h2 {
  font-family: var(--serif); font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 300; color: #fff; margin-bottom: .5rem;
}
.contact-cta p { font-size: .88rem; color: rgba(255,255,255,.5); margin-bottom: 2rem; }

@media (max-width: 860px) {
  .contact-main { grid-template-columns: 1fr; gap: 3rem; }
  .map-wrap { position: static; }
}