/* ============================================
   CASA GIRGENTI - Stile Globale
   Palette: olive scuro dal logo + grigi della casa
   ============================================ */

/* --- Self-hosted Fonts (GDPR compliant) --- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-300.ttf') format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-300-italic.ttf') format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-400-italic.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/inter-300.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.ttf') format('truetype');
}

/* --- CSS Variables --- */
:root {
  --color-primary: #2D3319;
  --color-primary-light: #4A5332;
  --color-primary-dark: #1a1f0f;
  --color-accent: #8B7D6B;
  --color-accent-light: #A99B8A;
  --color-warm: #C4B5A4;
  --color-cream: #F5F0EB;
  --color-white: #FFFFFF;
  --color-grey-light: #E8E4E0;
  --color-grey: #9B9590;
  --color-grey-dark: #5A5550;
  --color-text: #2D2926;
  --color-text-light: #6B6560;

  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 2px 8px rgba(45, 51, 25, 0.08);
  --shadow-md: 0 4px 20px rgba(45, 51, 25, 0.12);
  --shadow-lg: 0 8px 40px rgba(45, 51, 25, 0.16);
  --shadow-xl: 0 20px 60px rgba(45, 51, 25, 0.20);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0.02em;
}

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

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 500;
}

h4 {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 500;
}

p {
  font-size: 1rem;
  color: var(--color-text-light);
  max-width: 65ch;
}

.subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  font-weight: 300;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 1rem;
  display: block;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.container--wide {
  max-width: 1400px;
}

.container--narrow {
  max-width: 800px;
}

section {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

/* --- Decorative Elements --- */
.divider {
  width: 60px;
  height: 1px;
  background: var(--color-accent);
  margin: 1.5rem 0;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.ornament::before,
.ornament::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--color-accent);
}

.ornament span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-accent);
  line-height: 1;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-slow);
  padding: 1.5rem 0;
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__logo img {
  height: 50px;
  width: auto;
  transition: var(--transition);
  filter: brightness(0) invert(1);
}

.header--scrolled .header__logo img {
  height: 40px;
  filter: none;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.header--scrolled .header__logo-text {
  color: var(--color-primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
}

.header--scrolled .nav__link {
  color: var(--color-text);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: var(--transition);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  background: var(--color-primary);
  color: var(--color-white) !important;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
}

.nav__cta:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav__cta svg {
  width: 16px;
  height: 16px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition);
  transform-origin: center;
}

.header--scrolled .hamburger span {
  background: var(--color-primary);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(45, 51, 25, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-slow);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__link {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-white);
  font-weight: 300;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.mobile-nav__link:hover {
  color: var(--color-warm);
}

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

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(45, 51, 25, 0.4) 0%,
    rgba(45, 51, 25, 0.2) 40%,
    rgba(45, 51, 25, 0.5) 100%
  );
  z-index: -1;
}

.hero__content {
  text-align: center;
  color: var(--color-white);
  padding: 0 1.5rem;
  animation: fadeUp 1.2s ease-out;
}

.hero__logo {
  width: clamp(150px, 22vw, 250px);
  margin: 0 auto 1rem;
  filter: brightness(0) invert(1);
  animation: logoReveal 1.8s ease-out, logoGlow 3s ease-in-out 2s infinite;
}

.hero__title {
  color: var(--color-white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero__subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero__scroll svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

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

.btn--outline-dark {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn--outline-dark:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--accent {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn--accent:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
}

.btn--call {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--call:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   FLOATING CALL BUTTON
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

.floating-cta__btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  animation: pulse-ring 2s ease-out infinite;
}

.floating-cta__btn:hover {
  background: var(--color-primary-light);
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.floating-cta__btn svg {
  width: 20px;
  height: 20px;
}

.floating-cta__btn--secondary {
  padding: 0.8rem 1.2rem;
  background: var(--color-accent);
  font-size: 0.78rem;
  animation: none;
}

.floating-cta__btn--secondary:hover {
  background: var(--color-accent-light);
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section--cream {
  background: var(--color-cream);
}

.section--primary {
  background: var(--color-primary);
}

.section--primary h2,
.section--primary h3,
.section--primary p,
.section--primary .section-label {
  color: var(--color-white);
}

.section--primary .section-label {
  color: var(--color-warm);
}

.section--primary p {
  color: rgba(255, 255, 255, 0.8);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  margin: 0 auto;
}

/* ============================================
   FEATURES / AMENITIES GRID
   ============================================ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.feature {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream);
  border-radius: 50%;
  color: var(--color-primary);
}

.feature__icon svg {
  width: 26px;
  height: 26px;
}

.feature__title {
  margin-bottom: 0.75rem;
}

.feature__text {
  font-size: 0.9rem;
  margin: 0 auto;
}

/* ============================================
   IMAGE GALLERY / GRID
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-grid__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-grid__item--wide {
  grid-column: span 2;
}

.gallery-grid__item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-grid__item:hover img {
  transform: scale(1.05);
}

.gallery-grid__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 51, 25, 0.4) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
}

.gallery-grid__item:hover::after {
  opacity: 1;
}

.gallery-grid__item__label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.gallery-grid__item:hover .gallery-grid__item__label {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery filter tabs */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.gallery-tab {
  padding: 0.5rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--color-text-light);
  border: 1px solid var(--color-grey-light);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-tab:hover,
.gallery-tab.active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav--prev {
  left: 1.5rem;
}

.lightbox__nav--next {
  right: 1.5rem;
}

/* ============================================
   ABOUT / TEXT SECTIONS
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about-grid--reverse {
  direction: rtl;
}

.about-grid--reverse > * {
  direction: ltr;
}

.about-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-img::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-text h2 {
  margin-bottom: 0.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-text p:last-of-type {
  margin-bottom: 2rem;
}

/* ============================================
   TERRITORIO / CARDS
   ============================================ */
.places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.place-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.place-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.place-card:hover .place-card__img {
  transform: scale(1.05);
}

.place-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(45, 51, 25, 0.85) 0%, transparent 100%);
  color: var(--color-white);
}

.place-card__distance {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-warm);
  margin-bottom: 0.5rem;
}

.place-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.place-card__text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

/* ============================================
   TERRITORY LIST
   ============================================ */
.territory-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
}

.territory-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  align-items: flex-start;
  transition: var(--transition);
}

.territory-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.territory-item__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: 50%;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.territory-item__icon svg {
  width: 22px;
  height: 22px;
}

.territory-item__content {
  flex: 1;
}

.territory-item__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.territory-item__header h3 {
  margin: 0;
}

.territory-item__distance {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.territory-item__content p {
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream);
  border-radius: 50%;
  color: var(--color-primary);
}

.contact-item__icon svg {
  width: 22px;
  height: 22px;
}

.contact-item__text h4 {
  margin-bottom: 0.25rem;
}

.contact-item__text p {
  font-size: 0.9rem;
}

.contact-item__text a {
  color: var(--color-primary);
  font-weight: 500;
}

.contact-item__text a:hover {
  color: var(--color-primary-light);
}

.contact-phones {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-phone-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition);
  text-align: center;
  justify-content: center;
}

.contact-phone-btn:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-phone-btn svg {
  width: 20px;
  height: 20px;
}

.contact-phone-btn--secondary {
  background: var(--color-accent);
}

.contact-phone-btn--secondary:hover {
  background: var(--color-accent-light);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0 1.5rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.footer__logo img {
  height: 80px;
  filter: brightness(0) invert(1);
  margin: 0 auto;
}

.footer__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-top: 0.75rem;
}

.footer__address {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer__links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__bottom {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__powered {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: var(--transition);
}

.footer__powered:hover {
  color: rgba(255, 255, 255, 0.6);
}

.footer__powered-icon {
  width: 14px;
  height: 16px;
}

.footer__powered-icon path {
  fill: rgba(255, 255, 255, 0.5);
}

.footer__powered:hover .footer__powered-icon path {
  fill: rgba(255, 255, 255, 0.75);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.footer__legal .footer__link {
  font-size: 0.75rem;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-page {
  padding: 8rem 0 4rem;
}

.legal-page h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.legal-page__updated {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 3rem;
}

.legal-page h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-page h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-page p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-page ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-page li {
  line-height: 1.8;
  margin-bottom: 0.25rem;
}

.legal-page a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page a:hover {
  color: var(--color-primary-light);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid var(--color-grey-light);
}

.legal-table th {
  background: var(--color-cream);
  font-weight: 600;
  color: var(--color-primary);
}

/* ============================================
   VIS DIGITAL BADGE
   ============================================ */
/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-primary);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-banner__inner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

.cookie-banner__inner a {
  color: var(--color-warm);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__btn {
  flex-shrink: 0;
  padding: 0.6rem 1.8rem;
  background: var(--color-warm);
  color: var(--color-primary-dark);
  border: none;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-banner__btn:hover {
  background: var(--color-white);
}

@media (max-width: 600px) {
  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
  }
}

/* ============================================
   VIS DIGITAL BADGE
   ============================================ */
.vis-badge {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 900;
}

.vis-badge__icon {
  width: 44px;
  height: 44px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  animation: visBadgePulse 3s ease-in-out 4s infinite;
}

.vis-badge__icon:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.vis-badge__icon svg {
  width: 20px;
  height: 24px;
}

.vis-badge__popup {
  position: absolute;
  bottom: calc(100% + 0.75rem);
  left: 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  min-width: 260px;
}

.vis-badge__popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.vis-badge__popup p {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 1rem;
  max-width: none;
}

.vis-badge__btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, #a855f7, #ec4899, #fb923c);
  color: var(--color-white);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.vis-badge__btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-white);
}

/* ============================================
   PAGE HERO (subpages)
   ============================================ */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(45, 51, 25, 0.5) 0%,
    rgba(45, 51, 25, 0.6) 100%
  );
  z-index: -1;
}

.page-hero__content {
  color: var(--color-white);
  animation: fadeUp 0.8s ease-out;
}

.page-hero__content h1 {
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.page-hero__content .subtitle {
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   ROOMS SECTION (la-casa page)
   ============================================ */
.room-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 500px;
}

.room-section--reverse {
  direction: rtl;
}

.room-section--reverse > * {
  direction: ltr;
}

.room-section__gallery {
  position: relative;
  overflow: hidden;
}

.room-section__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 500px;
}

.room-section__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.room-section__content h3 {
  margin-bottom: 1rem;
}

.room-section__content p {
  margin-bottom: 1.5rem;
}

.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.room-amenity {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--color-cream);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text);
}

.room-amenity svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

/* ============================================
   ROOM CAROUSEL
   ============================================ */
.room-carousel {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.room-carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.room-carousel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  min-height: 500px;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.room-carousel__slide.active {
  opacity: 1;
}

.room-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.room-carousel__btn:hover {
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.room-carousel__btn--prev {
  left: 1rem;
}

.room-carousel__btn--next {
  right: 1rem;
}

.room-carousel__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.room-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.room-carousel__dot.active {
  background: var(--color-white);
  transform: scale(1.2);
}

/* Transport icons for Come Arrivare */
.transport-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--color-warm);
}

.transport-icon svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 1024px) {
  .room-carousel {
    height: 400px;
  }

  .room-carousel__slide {
    min-height: 400px;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-8px);
  }
  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}

@keyframes logoReveal {
  0% {
    opacity: 0;
    transform: scale(0.6);
    filter: brightness(0) invert(1) drop-shadow(0 0 0 rgba(255,255,255,0));
  }
  60% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(255,255,255,0.3));
  }
}

@keyframes logoGlow {
  0%, 100% {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.2));
  }
  50% {
    filter: brightness(0) invert(1) drop-shadow(0 0 25px rgba(255,255,255,0.5));
  }
}

@keyframes visBadgePulse {
  0%, 100% {
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  }
  50% {
    box-shadow: 0 2px 10px rgba(0,0,0,0.15), 0 0 0 8px rgba(168, 85, 247, 0.15), 0 0 0 16px rgba(236, 72, 153, 0.08);
  }
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 4px 20px rgba(45, 51, 25, 0.3);
  }
  50% {
    box-shadow: 0 4px 20px rgba(45, 51, 25, 0.3), 0 0 0 10px rgba(45, 51, 25, 0.1);
  }
  100% {
    box-shadow: 0 4px 20px rgba(45, 51, 25, 0.3), 0 0 0 20px rgba(45, 51, 25, 0);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-grid--reverse {
    direction: ltr;
  }

  .room-section {
    grid-template-columns: 1fr;
  }

  .room-section--reverse {
    direction: ltr;
  }

  .room-section__gallery img {
    min-height: 350px;
    max-height: 450px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid__item--wide {
    grid-column: span 1;
  }

  .hero {
    min-height: 500px;
  }

  .page-hero {
    height: 50vh;
    min-height: 350px;
  }

  .floating-cta {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .floating-cta__btn {
    padding: 0.85rem 1.25rem;
    font-size: 0.78rem;
  }

  .lightbox__nav--prev {
    left: 0.75rem;
  }

  .lightbox__nav--next {
    right: 0.75rem;
  }

  .territory-list {
    grid-template-columns: 1fr;
  }

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

  .place-card {
    aspect-ratio: 16/10;
  }
}

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

  .hero__cta-group {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }
}
