/* ============================================================
   Santa Maria Rooms — Stile principale
   Palette e tipografia allineate a grandhotel-santamaria.it
   Royal Blue #003C70 · Taupe #988D70 · Bg #EEEEEE
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette identica a grandhotel-santamaria.it (Elementor kit) */
  --royal:    #003C70;          /* primary  */
  --royal-dk: #00284D;          /* primary scuro (variazione) */
  --royal-lt: #54696F;          /* steel/blue-grey (cd55174) */
  --brass:    #988D70;          /* accent taupe (Elementor accent) */
  --brass-lt: #B38F8D;           /* dusty pink (7055e5b) */
  --cream:    #EEEEEE;          /* light bg (dbce949) */
  --cream-dk: #DADADA;          /* light grey (f6ae53e) */
  --ivory:    #FFFFFF;          /* white (afa1ae9) */
  --gray-dk:  #575756;          /* text / secondary */
  --gray-md:  #8a8a89;
  --gray-lt:  #DADADA;
  --white:    #FFFFFF;
  --black:    #1a1a1a;

  /* TT Commons → Outfit; Capetown Signature Slant → Allura */
  --font-display: 'Outfit', 'TT Commons', -apple-system, sans-serif;
  --font-script:  'Allura', 'Capetown Signature Slant', 'Italianno', cursive;
  --font-body:    'Outfit', 'TT Commons', -apple-system, sans-serif;

  --header-h: 88px;
  --section-py: 110px;
  --transition: .45s cubic-bezier(.22,.61,.36,1);
  --shadow-md: 0 8px 32px rgba(0,40,77,.10);
  --shadow-lg: 0 20px 60px rgba(0,40,77,.18);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--gray-dk);
  background: var(--ivory);
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: .01em;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: italic; font-family: var(--font-display); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--royal);
  letter-spacing: .005em;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: .85rem;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--brass);
}

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  color: var(--royal);
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.section-title em {
  color: var(--brass);
  font-style: italic;
  font-weight: 400;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--gray-dk);
  max-width: 620px;
  font-weight: 300;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header .section-eyebrow { display: inline-flex; }
.section-header .section-desc { margin: 0 auto; }

.section-header--light .section-title { color: var(--white); }
.section-header--light .section-title em { color: var(--brass-lt); }
.section-header--light .section-desc { color: rgba(255,255,255,.78); }
.section-header--light .section-eyebrow { color: var(--brass-lt); }
.section-header--light .section-eyebrow::before { background: var(--brass-lt); }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 1rem 2.4rem;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--royal);
  color: var(--white);
  border-color: var(--royal);
}
.btn-primary:hover {
  background: var(--royal-dk);
  border-color: var(--royal-dk);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,40,77,.2);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--royal);
  border-color: var(--white);
}

.btn-header {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
  padding: .7rem 1.5rem;
  font-size: .68rem;
}
.btn-header:hover { background: var(--white); color: var(--royal); border-color: var(--white); }

.site-header.scrolled .btn-header {
  border-color: rgba(255,255,255,.4);
}

.btn-sm { padding: .65rem 1.4rem; font-size: .68rem; }
.btn-white { background: var(--white); color: var(--royal); border-color: var(--white); }
.btn-white:hover { background: transparent; color: var(--white); border-color: var(--white); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}

.site-header.scrolled {
  background: rgba(0, 60, 112, .96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
  height: 72px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 2.25rem;
  gap: 1.5rem;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: .9;
  flex-shrink: 0;
  padding-top: 4px;
}
.logo-script {
  font-family: var(--font-script);
  font-size: 2.4rem;
  color: var(--white);
  font-weight: 400;
  line-height: .9;
}
.logo-sub {
  font-family: var(--font-body);
  font-size: .55rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-top: 4px;
  padding-left: .15rem;
}

.main-nav ul {
  display: flex;
  gap: 2.5rem;
}

.main-nav a {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  position: relative;
  transition: color var(--transition);
  padding: .5rem 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 1px;
  background: var(--brass-lt);
  transition: width var(--transition);
}
.main-nav a:hover { color: var(--brass-lt); }
.main-nav a:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 1px;
  background: var(--white);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

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

.hero-video {
  position: absolute; inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,40,77,.45) 0%, rgba(0,40,77,.25) 40%, rgba(0,40,77,.7) 100%);
}
.hero-overlay::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0,40,77,.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1340px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2.25rem;
  padding-top: var(--header-h);
}

.hero-eyebrow {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--brass-lt);
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  opacity: 0;
  animation: fadeUp 1.2s .3s ease forwards;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  width: 36px; height: 1px;
  background: var(--brass-lt);
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.hero-script {
  font-family: var(--font-script);
  font-size: clamp(4.5rem, 11vw, 9rem);
  color: var(--white);
  font-weight: 400;
  line-height: .85;
  margin-bottom: -.5rem;
  opacity: 0;
  animation: fadeUp 1.2s .5s ease forwards;
  text-shadow: 0 4px 30px rgba(0,0,0,.25);
}

.hero-display {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--white);
  font-weight: 400;
  letter-spacing: .35em;
  text-transform: uppercase;
  padding-left: .25rem;
  opacity: 0;
  animation: fadeUp 1.2s .8s ease forwards;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,.88);
  font-weight: 300;
  margin: 1.5rem 0 3rem;
  max-width: 560px;
  line-height: 1.6;
  opacity: 0;
  animation: fadeUp 1.2s 1.1s ease forwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1.2s 1.4s ease forwards;
}

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

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  color: rgba(255,255,255,.8);
  font-size: .6rem;
  letter-spacing: .35em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ============================================================
   BOOKING BAR
   ============================================================ */
.booking-bar {
  background: var(--royal);
  padding: 2.5rem 0;
  position: relative;
  z-index: 10;
  border-top: 4px solid var(--brass);
}

.booking-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
}

.booking-title {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  flex-shrink: 0;
}

.booking-eyebrow {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--brass-lt);
}
.booking-heading {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  line-height: 1.2;
  max-width: 280px;
}

.booking-form {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  flex: 1;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 1;
  min-width: 120px;
}

.booking-field label {
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

.booking-field input,
.booking-field select {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
  padding: .85rem 1rem;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 400;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.booking-field input:focus,
.booking-field select:focus {
  border-color: var(--brass-lt);
  background: rgba(255,255,255,.12);
}
.booking-field select option { background: var(--royal-dk); color: var(--white); }
.booking-field input::-webkit-calendar-picker-indicator { filter: invert(1) opacity(.65); }

.booking-form .btn { align-self: flex-end; height: 50px; background: var(--brass); border-color: var(--brass); color: var(--white); }
.booking-form .btn:hover { background: var(--brass-lt); border-color: var(--brass-lt); color: var(--royal-dk); }

/* ============================================================
   ABOUT
   ============================================================ */
.section { padding: var(--section-py) 0; }

.about { background: var(--ivory); position: relative; z-index: 11; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-image {
  position: relative;
  padding: 1.5rem 1.5rem 0 0;
  transform: translateY(-6rem);
  z-index: 20;
  align-self: start;
}
.about-frame {
  position: relative;
  border: 1px solid var(--brass);
  padding: .65rem;
  background: var(--white);
  z-index: 2;
}
.about-image img,
.about-frame video,
.about-frame img,
.about-image video {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

.about-badge {
  position: absolute;
  bottom: 2rem;
  right: -1rem;
  background: var(--brass);
  color: var(--white);
  padding: 1.5rem 1.75rem;
  text-align: center;
  z-index: 3;
}
.badge-num { display: block; font-size: 1.2rem; letter-spacing: .15em; font-family: var(--font-display); }
.badge-text { display: block; font-size: .6rem; letter-spacing: .35em; text-transform: uppercase; margin-top: .35rem; }

.about-text .section-title { font-size: clamp(2rem, 3.6vw, 2.8rem); }

.about-text p {
  color: var(--gray-dk);
  margin-bottom: 1.25rem;
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.85;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin: 2.5rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--gray-lt);
  border-bottom: 1px solid var(--gray-lt);
}

.stat { text-align: left; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--royal);
  font-weight: 400;
  line-height: 1;
  margin-bottom: .35rem;
}
.stat-label {
  display: block;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--brass);
  font-weight: 500;
}

/* ============================================================
   HIGHLIGHTS STRIP
   ============================================================ */
.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--cream);
  border-top: 1px solid var(--cream-dk);
  border-bottom: 1px solid var(--cream-dk);
}

.highlight-item {
  padding: 3.5rem 2.25rem;
  border-right: 1px solid var(--cream-dk);
  text-align: center;
  transition: background var(--transition), transform var(--transition);
}
.highlight-item:last-child { border-right: none; }
.highlight-item:hover { background: var(--ivory); transform: translateY(-4px); }

.hi-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  color: var(--royal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hi-icon svg { width: 100%; height: 100%; }

.highlight-item h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--royal);
  margin-bottom: .75rem;
  font-weight: 400;
  letter-spacing: .02em;
}
.highlight-item p {
  font-size: .88rem;
  color: var(--gray-dk);
  font-weight: 300;
  line-height: 1.6;
}

/* ============================================================
   CAMERE
   ============================================================ */
.camere { background: var(--ivory); }

.camere-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.camera-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid transparent;
}
.camera-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cream-dk);
}

.camera-card.featured {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0,40,77,.18);
  border-color: var(--brass);
}
.camera-card.featured:hover { transform: translateY(-18px); }

.card-img {
  position: relative;
  overflow: hidden;
  height: 280px;
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.camera-card:hover .card-img img { transform: scale(1.08); }

.card-overlay {
  position: absolute; inset: 0;
  background: rgba(0,40,77,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.camera-card:hover .card-overlay { opacity: 1; }

.card-badge {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  background: var(--brass);
  color: var(--white);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  padding: .45rem 1rem;
  z-index: 2;
}

.card-body { padding: 2rem 1.75rem; }

.card-cat {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: .5rem;
}

.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--royal);
  margin-bottom: .85rem;
  font-weight: 400;
  letter-spacing: .015em;
}

.card-body p {
  font-size: .92rem;
  color: var(--gray-dk);
  margin-bottom: 1.5rem;
  font-weight: 300;
  line-height: 1.7;
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.card-features li {
  font-size: .68rem;
  background: var(--cream);
  color: var(--royal);
  padding: .4rem .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--cream-dk);
}

/* ============================================================
   SERVIZI
   ============================================================ */
.servizi {
  position: relative;
  color: var(--white);
  overflow: hidden;
}

.servizi-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: grayscale(.15) contrast(.95);
}

.servizi-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,40,77,.92) 0%, rgba(0,28,55,.94) 100%);
}

.servizi .container { position: relative; z-index: 1; }

.servizi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.15);
  border-left: 1px solid rgba(255,255,255,.15);
}

.servizio-card {
  padding: 3rem 2.25rem;
  border-right: 1px solid rgba(255,255,255,.15);
  border-bottom: 1px solid rgba(255,255,255,.15);
  transition: background var(--transition);
  position: relative;
}
.servizio-card:hover {
  background: rgba(255,255,255,.04);
}
.servizio-card:hover .sv-num { color: var(--brass-lt); }

.sv-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: rgba(255,255,255,.35);
  font-weight: 400;
  margin-bottom: 1.25rem;
  display: block;
  transition: color var(--transition);
  letter-spacing: .05em;
}

.servizio-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: .85rem;
  font-weight: 400;
  letter-spacing: .015em;
}
.servizio-card p {
  font-size: .92rem;
  color: rgba(255,255,255,.72);
  font-weight: 300;
  line-height: 1.7;
}

/* ============================================================
   CILENTO STRIP
   ============================================================ */
.cilento-strip { background: var(--cream); }

.cilento-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 6rem;
  align-items: center;
}

.cilento-text .section-title { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.cilento-text p {
  color: var(--gray-dk);
  margin-bottom: 1.25rem;
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.85;
}

.cilento-images {
  position: relative;
  height: 540px;
}

.ci-img {
  position: absolute;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.ci-img--1 {
  width: 72%; height: 75%;
  top: 0; right: 0;
}
.ci-img--2 {
  width: 55%; height: 55%;
  bottom: 0; left: 0;
  border: 8px solid var(--cream);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   GALLERIA
   ============================================================ */
.galleria { background: var(--ivory); padding-bottom: 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 2px;
  margin-top: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--royal);
}
.gallery-item:nth-child(3),
.gallery-item:nth-child(8) {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease, opacity .5s ease;
}
.gallery-item:hover img { transform: scale(1.08); opacity: .8; }

.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(0,40,77,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 200;
  font-family: var(--font-display);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,28,55,.97);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }

.lb-img-wrap {
  max-width: 90vw;
  max-height: 90vh;
}
.lb-img-wrap img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0,0,0,.5);
}

.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: none;
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  cursor: pointer;
  font-size: 1.2rem;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  z-index: 2001;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: var(--brass); border-color: var(--brass);
}
.lb-close { top: 2rem; right: 2rem; }
.lb-prev { left: 2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 2rem; top: 50%; transform: translateY(-50%); }

/* ============================================================
   CONTATTI
   ============================================================ */
.contatti { background: var(--cream); }

.contatti-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  align-items: flex-start;
}
.contact-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--brass);
  color: var(--royal);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 22px; height: 22px; }

.contact-item strong {
  display: block;
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: .5rem;
}
.contact-item p {
  font-size: .95rem;
  color: var(--gray-dk);
  font-weight: 300;
  line-height: 1.65;
}
.contact-item a { color: var(--royal); transition: color var(--transition); border-bottom: 1px solid transparent; }
.contact-item a:hover { color: var(--brass); border-bottom-color: var(--brass); }

.social-links { display: flex; gap: .75rem; margin-top: 2rem; }

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid var(--royal);
  color: var(--royal);
  transition: var(--transition);
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { background: var(--royal); color: var(--white); }
.social-btn--wa { border-color: #25d366; color: #25d366; }
.social-btn--wa:hover { background: #25d366; color: var(--white); border-color: #25d366; }

.contatti-map {
  position: relative;
}
.contatti-map iframe {
  display: block;
  filter: grayscale(.25) contrast(1.05);
}
.contatti-map::after {
  content: '';
  position: absolute;
  inset: -1.5rem -1.5rem 1.5rem 1.5rem;
  border: 1px solid var(--brass);
  z-index: -1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--royal-dk);
  color: rgba(255,255,255,.72);
  padding: 5rem 0 2rem;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--brass);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 400;
}
.footer-script {
  font-family: var(--font-script);
  font-size: 2.4rem;
  text-transform: none;
  color: var(--brass-lt);
  letter-spacing: 0;
  display: inline-block;
  vertical-align: middle;
  margin-left: .25rem;
}

.footer-tagline {
  font-size: .72rem;
  color: var(--brass-lt);
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.footer-addr {
  font-size: .9rem;
  line-height: 1.75;
  color: rgba(255,255,255,.65);
  font-weight: 300;
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brass-lt);
  margin-bottom: 1.5rem;
}

.footer-nav ul { display: flex; flex-direction: column; gap: .85rem; }
.footer-nav a {
  font-size: .9rem;
  font-weight: 300;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--brass-lt); }

.footer-contact p {
  font-size: .9rem;
  margin-bottom: .65rem;
  color: rgba(255,255,255,.7);
  font-weight: 300;
}
.footer-contact a { transition: color var(--transition); }
.footer-contact a:hover { color: var(--brass-lt); }

.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.25);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .05em;
  transition: var(--transition);
  color: rgba(255,255,255,.75);
}
.footer-social a:hover { border-color: var(--brass-lt); color: var(--brass-lt); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: .75rem;
  font-weight: 300;
}
.footer-bottom a { transition: color var(--transition); }
.footer-bottom a:hover { color: var(--brass-lt); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
.reveal.visible { opacity: 1; transform: none; }

.stagger-1 { transition-delay: .1s; }
.stagger-2 { transition-delay: .2s; }
.stagger-3 { transition-delay: .3s; }
.stagger-4 { transition-delay: .4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid,
  .cilento-grid { gap: 4rem; }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .highlight-item:nth-child(2) { border-right: none; }
  .highlight-item:nth-child(1), .highlight-item:nth-child(2) { border-bottom: 1px solid var(--cream-dk); }
  .servizi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .booking-bar .container { gap: 1.5rem; }
  .booking-title { width: 100%; }
}

@media (max-width: 768px) {
  :root { --section-py: 70px; --header-h: 72px; }

  .header-inner { padding: 0 1.25rem; }

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

  .hamburger { display: flex; }

  .main-nav.open {
    display: block;
    position: fixed;
    inset: 0;
    background: var(--royal-dk);
    z-index: 999;
    padding: 100px 2rem 2rem;
  }
  .main-nav.open ul {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .main-nav.open a {
    font-size: 1rem;
    letter-spacing: .3em;
  }

  .logo-script { font-size: 2rem; }
  .logo-sub { font-size: .5rem; }

  .hero { min-height: 580px; }
  .hero-content { padding: var(--header-h) 1.5rem 0; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { width: 100%; }

  .booking-bar { padding: 2rem 0; }
  .booking-form { flex-direction: column; align-items: stretch; }
  .booking-field { min-width: 100%; }
  .booking-form .btn { width: 100%; }

  .about-grid,
  .cilento-grid,
  .contatti-grid { grid-template-columns: 1fr; gap: 3rem; }

  .about-image { padding: 1rem 1rem 0 0; }
  .about-image img,
  .about-frame video,
  .about-frame img,
  .about-image video { height: 380px; }
  .about-badge { right: 0; bottom: 1rem; padding: 1.2rem 1.4rem; }
  .about-stats { gap: 1.5rem; flex-wrap: wrap; }
  .stat-num { font-size: 2rem; }

  .camere-grid { grid-template-columns: 1fr; gap: 2rem; }
  .camera-card.featured { transform: none; }
  .camera-card.featured:hover { transform: translateY(-8px); }

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

  .cilento-images { height: 360px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(8) { grid-column: span 1; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .highlights { grid-template-columns: 1fr; }
  .highlight-item { border-right: none; border-bottom: 1px solid var(--cream-dk); }
  .highlight-item:last-child { border-bottom: none; }

  .lb-close, .lb-prev, .lb-next { width: 42px; height: 42px; }
  .lb-close { top: 1rem; right: 1rem; }
  .lb-prev { left: 1rem; }
  .lb-next { right: 1rem; }
}

@media (max-width: 480px) {
  .hero-script { font-size: 4.5rem; }
  .hero-display { font-size: 1.5rem; letter-spacing: .25em; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(n) { grid-column: span 1; }
  .container { padding: 0 1.25rem; }
}
