/* ============================================================
   STYLE.CSS v2 — Premium Redesign
   B&B Al Palazzo — Gioiosa Ionica (RC), Calabria
   ============================================================ */

/* ========================
   DESIGN TOKENS
   ======================== */
:root {
  /* Core palette */
  --cream:        #F5ECD7;
  --cream-light:  #FBF6EC;
  --ochre:        #C8973A;
  --ochre-dark:   #A67B2D;
  --ochre-light:  rgba(200, 151, 58, 0.12);
  --ochre-mid:    rgba(200, 151, 58, 0.25);
  --brown:        #6B3D1E;
  --brown-dark:   #3E1F0A;
  --brown-mid:    rgba(107, 61, 30, 0.08);
  --off-white:    #FAF7F0;
  --gold-light:   #E8B84B;
  --text-dark:    #2C1810;
  --text-medium:  #5C3D2E;
  --text-light:   #9B7B6A;
  --white:        #FFFFFF;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Lato', 'Helvetica Neue', Arial, sans-serif;

  /* Easing */
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:    cubic-bezier(0.77, 0, 0.175, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Transitions */
  --t-fast: all 0.18s var(--ease-out);
  --t:      all 0.38s var(--ease-out);
  --t-slow: all 0.65s var(--ease-out);

  /* Shadows (warmer, more refined) */
  --shadow-sm: 0 1px 4px rgba(44,24,16,.06), 0 4px 12px rgba(107,61,30,.08);
  --shadow:    0 4px 16px rgba(44,24,16,.08), 0 12px 40px rgba(107,61,30,.12);
  --shadow-lg: 0 8px 32px rgba(44,24,16,.10), 0 24px 64px rgba(107,61,30,.16);
  --shadow-gold: 0 4px 24px rgba(200,151,58,.25);

  /* Borders */
  --border-subtle: 1px solid rgba(200,151,58,.14);
  --border-card:   1px solid rgba(200,151,58,.12);

  /* Layout */
  --radius:     8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 999px;
  --max-width:  1200px;
  --nav-height: 76px;
  --sec-pad:    120px 24px;
  --sec-pad-sm: 80px 24px;
}

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

/* Skip link — keyboard navigation */
.skip-link {
  position: absolute;
  top: -100%;
  left: 12px;
  padding: 10px 22px;
  background: var(--ochre);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 10000;
  text-decoration: none;
  transition: top 0.2s ease;
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 0; }

/* Focus styles for keyboard users */
:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 3px;
  border-radius: 3px;
}
:focus:not(:focus-visible) { outline: none; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--off-white);
  color: var(--text-dark);
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; transition: var(--t-fast); }
ul  { list-style: none; }

/* ========================
   SCROLL PROGRESS BAR
   ======================== */
.scroll-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brown), var(--ochre), var(--gold-light));
  z-index: 9999;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ========================
   TYPOGRAPHY
   ======================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.18;
  color: var(--brown);
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem);   letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
h4 { font-size: clamp(1rem, 1.8vw, 1.3rem); }

p {
  font-size: 1rem;
  color: var(--text-medium);
  margin-bottom: 1rem;
  line-height: 1.8;
}
p:last-child { margin-bottom: 0; }

/* ========================
   PILL LABEL (eyebrow tags)
   Replace inline ochre colored text with accessible pill badges
   ======================== */
.hero-eyebrow,
.label-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  /* Default: body sections — brown text on tinted bg (8:1 contrast ratio) */
  color: var(--brown);
  background: var(--ochre-light);
  border: 1px solid var(--ochre-mid);
}

/* Override for dark hero contexts */
.hero .hero-eyebrow,
.page-hero .hero-eyebrow {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

/* Inline-style color overrides reset to brown for accessibility */
.section .hero-eyebrow,
.section-alt .hero-eyebrow,
.about-section .hero-eyebrow,
[class*="tour"] .hero-eyebrow,
[class*="rooms"] .hero-eyebrow {
  color: var(--brown) !important; /* override inline ochre */
}

/* ========================
   CONTAINER
   ======================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ========================
   SECTION UTILITIES
   ======================== */
.section     { padding: var(--sec-pad); }
.section-sm  { padding: var(--sec-pad-sm); }
.section-alt {
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-light) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p  {
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-medium);
}

.section-divider {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--ochre), var(--gold-light));
  border-radius: 2px;
  margin: 14px auto 22px;
}
.section-divider.left { margin-left: 0; }

/* ========================
   BUTTONS
   ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--t);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* Shimmer effect on primary */
.btn-primary {
  background: linear-gradient(135deg, var(--ochre), var(--ochre-dark));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(200,151,58,.3);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.25) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.65s var(--ease-out);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover::after {
  transform: translateX(100%);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.65);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--brown);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--brown);
  border-color: rgba(107,61,30,.45);
}
.btn-outline-dark:hover {
  background: var(--brown);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ========================
   NAVBAR
   ======================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out),
              border-color 0.4s var(--ease-out);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 1px 0 rgba(200,151,58,.12), var(--shadow-sm);
  border-bottom-color: rgba(200,151,58,.1);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo img {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
  transition: color 0.4s var(--ease-out);
  position: relative;
}
.navbar.scrolled .logo-text { color: var(--brown); }

/* Nav links with animated underline */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color 0.3s var(--ease-out);
}
.navbar.scrolled .nav-link { color: var(--text-medium); }

/* Underline slide */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  width: 0; height: 2px;
  background: var(--ochre);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.32s var(--ease-out);
}
.nav-link:hover,
.nav-link.active { color: var(--ochre) !important; }
.nav-link:hover::after,
.nav-link.active::after { width: 55%; }

/* Prenota CTA */
.nav-cta {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--ochre), var(--ochre-dark));
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  margin-left: 12px;
  transition: var(--t);
  box-shadow: 0 2px 10px rgba(200,151,58,.3);
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.nav-cta::after { display: none !important; }

/* ── Auth dropdown (navbar) ──────────────────────────────── */
.nav-auth-wrap {
  position: relative;
  list-style: none;
}

.nav-auth-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color .3s var(--ease-out);
  white-space: nowrap;
}

.navbar.scrolled .nav-auth-btn { color: var(--text-medium); }
.nav-auth-btn:hover             { color: var(--ochre) !important; }

.nav-auth-caret {
  font-size: .65rem;
  transition: transform .22s;
}
.nav-auth-wrap.open .nav-auth-caret { transform: rotate(180deg); }

.nav-auth-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--white);
  border: 1px solid rgba(107,61,30,.1);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.13);
  min-width: 210px;
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 2000;
}

.nav-auth-wrap.open .nav-auth-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  font-size: .86rem;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-medium);
  text-decoration: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background .15s, color .15s;
  line-height: 1.3;
}

.dropdown-item:hover { background: var(--cream); color: var(--ochre); }

.dropdown-item i {
  width: 16px;
  text-align: center;
  color: var(--ochre);
  flex-shrink: 0;
}

.dropdown-signout {
  color: #c62828;
  border-top: 1px solid rgba(107,61,30,.08);
  margin-top: 4px;
  padding-top: 13px;
}
.dropdown-signout i  { color: #c62828; }
.dropdown-signout:hover { background: #fff5f5; color: #b71c1c; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--t);
  transform-origin: center;
}
.navbar.scrolled .hamburger span { background: var(--brown); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================
   HERO (FULLSCREEN)
   ======================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--brown-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }

/* iOS fix: no fixed attachment on mobile */
@media (max-width: 768px) {
  .hero-bg { background-attachment: scroll; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    175deg,
    rgba(44, 24, 16, 0.35) 0%,
    rgba(44, 24, 16, 0.72) 70%,
    rgba(62, 31, 10, 0.85) 100%
  );
}

/* Grain texture overlay */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 0 28px;
  animation: heroEntry 1.1s var(--ease-out) both;
}
@keyframes heroEntry {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Decorative gold line */
.hero-line {
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  margin: 0 auto 28px;
  animation: lineGrow 0.9s 0.4s var(--ease-out) forwards;
  border-radius: 2px;
}
@keyframes lineGrow {
  to { width: 80px; }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
  text-shadow: 0 2px 32px rgba(0,0,0,.25);
  animation: heroEntry 1.1s 0.15s var(--ease-out) both;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  font-style: italic;
  color: rgba(255,255,255,.88);
  margin-bottom: 48px;
  animation: heroEntry 1.1s 0.3s var(--ease-out) both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroEntry 1.1s 0.45s var(--ease-out) both;
}

.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.55);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  animation: scrollBounce 2.4s 1s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.55; }
  50%       { transform: translateX(-50%) translateY(9px); opacity: 1; }
}

/* ========================
   PAGE HERO (compact)
   ======================== */
.page-hero {
  position: relative;
  height: 46vh;
  min-height: 370px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: var(--nav-height);
  background: var(--brown-dark);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
  transform: scale(1.02);
  transition: transform 6s ease;
}
.page-hero-bg.loaded { transform: scale(1); }

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(44,24,16,.2), rgba(44,24,16,.7));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 28px;
  animation: heroEntry 0.9s var(--ease-out) both;
}
.page-hero h1 {
  color: var(--white);
  margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.page-hero-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,.82);
}

/* ========================
   STATS BAND
   ======================== */
.stats-band {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 100%);
  padding: 64px 28px;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.stat-item {
  text-align: center;
  padding: 20px 32px;
  border-right: 1px solid rgba(200,151,58,.18);
}
.stat-item:last-child { border-right: none; }

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  margin-bottom: 10px;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: var(--ochre);
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,236,215,.65);
}

/* ========================
   ABOUT SECTION
   ======================== */
.about-section { padding: var(--sec-pad); }

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

.about-image-wrapper {
  position: relative;
}
.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: -24px; left: -24px;
  width: 52%; height: 52%;
  border: 2px solid var(--ochre);
  border-radius: var(--radius-lg);
  z-index: 0;
  opacity: 0.6;
}
.about-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: -16px; right: -16px;
  width: 38%; height: 38%;
  background: var(--ochre-light);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.about-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  bottom: -28px; right: -28px;
  background: linear-gradient(135deg, var(--ochre), var(--ochre-dark));
  color: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  z-index: 2;
  box-shadow: var(--shadow-gold);
}
.about-badge .number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.about-badge .label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 5px;
  opacity: 0.88;
}

.about-content { padding: 10px 0; }
.about-content .section-divider { margin: 12px 0 24px; }
.about-content h2 { margin-bottom: 22px; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 30px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-medium);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--brown-mid);
  transition: var(--t-fast);
}
.about-feature:hover {
  background: var(--ochre-light);
  color: var(--brown);
}
.about-feature i { color: var(--ochre); font-size: 0.9rem; }

/* ========================
   CARDS
   ======================== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out),
              border-color 0.4s var(--ease-out);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,151,58,.3);
}

.card-img-wrap {
  overflow: hidden;
  background: var(--cream); /* shimmer placeholder */
}
.card-img {
  width: 100%;
  height: 238px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.card:hover .card-img { transform: scale(1.06); }

.card-body { padding: 30px; }

.card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown);
  background: var(--ochre-light);
  border: 1px solid var(--ochre-mid);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.93rem; margin-bottom: 18px; }

.card-price {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.card-price span {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-light);
}

/* ========================
   GRIDS
   ======================== */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 56px; align-items: center; }

/* ========================
   SERVICES ICONS (homepage)
   ======================== */
.services-icons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-icon-item {
  padding: 40px 24px 36px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: var(--border-card);
  text-align: center;
  transition: var(--t);
  cursor: default;
}
.service-icon-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(200,151,58,.3);
}

/* Icon circle background */
.svc-icon-wrap {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ochre-light), rgba(200,151,58,.06));
  border: 1px solid var(--ochre-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--t);
}
.service-icon-item:hover .svc-icon-wrap {
  background: linear-gradient(135deg, var(--ochre), var(--ochre-dark));
  border-color: transparent;
}
.svc-icon {
  font-size: 1.5rem;
  color: var(--ochre);
  transition: color 0.3s var(--ease-out);
}
.service-icon-item:hover .svc-icon { color: var(--white); }
.service-icon-item h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--brown);
}
.service-icon-item p {
  font-size: 0.87rem;
  margin: 0;
  color: var(--text-medium);
}

/* ========================
   TESTIMONIALS
   ======================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  border: var(--border-card);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--t);
  overflow: hidden;
}
.testimonial::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 7rem;
  color: var(--ochre);
  opacity: 0.1;
  position: absolute;
  top: 0; left: 16px;
  line-height: 1;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(200,151,58,.25);
}
.testimonial:hover::before { opacity: 0.18; }

/* Gold accent bar on hover */
.testimonial::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--ochre), var(--gold-light));
  transition: width 0.4s var(--ease-out);
  border-radius: 0 0 0 var(--radius-lg);
}
.testimonial:hover::after { width: 100%; }

.testimonial-stars {
  color: var(--ochre);
  margin-bottom: 16px;
  font-size: 0.88rem;
  letter-spacing: 2px;
}
.testimonial-text {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 24px;
  color: var(--text-medium);
  position: relative;
  z-index: 1;
}
.testimonial-author {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--brown);
}
.testimonial-loc {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 3px;
}

/* ========================
   RATING BADGE
   ======================== */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid rgba(200,151,58,.3);
  border-radius: var(--radius-pill);
  padding: 9px 24px;
  margin-bottom: 50px;
  box-shadow: var(--shadow-sm);
}
.rating-badge .stars { color: var(--ochre); letter-spacing: 2px; }
.rating-badge strong {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--brown);
}
.rating-badge small { color: var(--text-light); font-size: 0.8rem; }

/* ========================
   MAP SECTION
   ======================== */
.map-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.map-embed { width: 100%; height: 100%; min-height: 360px; border: none; display: block; }
.map-info {
  background: linear-gradient(145deg, var(--brown) 0%, var(--brown-dark) 100%);
  padding: 72px 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.map-info::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(200,151,58,.06);
  pointer-events: none;
}
.map-info h3 {
  color: var(--gold-light);
  margin-bottom: 36px;
  font-size: 1.9rem;
}
.map-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 26px;
}
.map-info-item i {
  color: var(--ochre);
  font-size: 1.05rem;
  margin-top: 4px;
  min-width: 18px;
}
.map-info-item p {
  color: rgba(245,236,215,.86);
  margin: 0;
  line-height: 1.65;
  font-size: 0.95rem;
}
.map-info-item a { color: var(--gold-light); }
.map-info-item a:hover { color: var(--white); }

/* ========================
   ROOM SECTIONS (camere.html)
   ======================== */
.room-section { padding: 88px 0; border-bottom: 1px solid rgba(200,151,58,.1); }
.room-section:last-of-type { border-bottom: none; }

.rooms-container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }

.room-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.room-grid.reversed { direction: rtl; }
.room-grid.reversed > * { direction: ltr; }

.room-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.room-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out);
}
.room-img-wrap:hover .room-img { transform: scale(1.04); }

.room-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: linear-gradient(135deg, var(--ochre), var(--ochre-dark));
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.room-price-tag {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ochre);
  margin: 20px 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.room-price-tag small {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 400;
}

.room-amenities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 22px 0 30px;
}
.room-amenity {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-medium);
  padding: 9px 14px;
  border-radius: var(--radius);
  background: var(--brown-mid);
  transition: var(--t-fast);
}
.room-amenity:hover { background: var(--ochre-light); color: var(--brown); }
.room-amenity i { color: var(--ochre); font-size: 0.8rem; }

.room-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ochre-light);
  border: 1px solid var(--ochre-mid);
  border-radius: var(--radius-pill);
  padding: 7px 18px;
  font-size: 0.82rem;
  color: var(--brown);
  margin-top: 6px;
}
.room-note i { color: var(--ochre); }

/* ========================
   SERVICES PAGE
   ======================== */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  border: var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--ochre), var(--gold-light));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease-out);
  border-radius: 0 0 0 var(--radius-lg);
}
.service-card:hover::before { transform: scaleY(1); }
.service-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow);
  border-color: rgba(200,151,58,.25);
}
.service-card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--ochre-light);
  border: 1px solid var(--ochre-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--ochre);
  margin-bottom: 18px;
  transition: var(--t);
}
.service-card:hover .service-card-icon {
  background: linear-gradient(135deg, var(--ochre), var(--ochre-dark));
  color: var(--white);
  border-color: transparent;
}
.service-card h4 { margin-bottom: 9px; color: var(--brown); }
.service-card p  { font-size: 0.9rem; margin: 0; color: var(--text-medium); }

/* Info cards (orari/policy) */
.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 42px;
  border: var(--border-card);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.info-card h3 {
  color: var(--brown);
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(200,151,58,.15);
  display: flex;
  align-items: center;
  gap: 12px;
}
.info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(200,151,58,.08);
}
.info-row:last-child { border-bottom: none; }
.info-row > i {
  color: var(--ochre);
  margin-top: 3px;
  min-width: 18px;
  font-size: 0.95rem;
}
.info-row-content strong {
  display: block;
  font-size: 0.88rem;
  color: var(--brown);
  margin-bottom: 3px;
}
.info-row-content span { font-size: 0.85rem; color: var(--text-medium); }

/* Attraction cards */
.attraction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.attraction-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: var(--t);
}
.attraction-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(200,151,58,.28);
}
.attraction-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}
.attraction-card:hover .attraction-img { transform: scale(1.04); }
.attraction-body { padding: 24px; }
.attraction-body .tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
  background: var(--ochre-light);
  border: 1px solid var(--ochre-mid);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}
.attraction-body h4 { margin-bottom: 8px; color: var(--brown); }
.attraction-body p  { font-size: 0.87rem; margin: 0; color: var(--text-medium); }

/* ========================
   GALLERY
   ======================== */
.gallery-grid {
  columns: 3;
  column-gap: 16px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  position: relative;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--ease-out);
  border-radius: var(--radius-lg);
  background: var(--cream);
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44,24,16,0);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  transition: background 0.4s var(--ease-out);
}
.gallery-item:hover .gallery-item-overlay {
  background: rgba(44,24,16,.32);
}
.gallery-item-overlay i {
  color: var(--white);
  font-size: 1.8rem;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-spring);
}
.gallery-item:hover .gallery-item-overlay i {
  opacity: 1;
  transform: scale(1);
}

/* Gallery hidden items (filter) */
.gallery-item.hidden { display: none; }

/* ========================
   3D TOUR
   ======================== */
.matterport-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(200,151,58,.15);
}
.matterport-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.highlight-item {
  padding: 44px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: var(--t);
}
.highlight-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(200,151,58,.3);
}
.highlight-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ochre-light), rgba(200,151,58,.05));
  border: 1px solid var(--ochre-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--ochre);
  margin: 0 auto 22px;
  transition: var(--t);
}
.highlight-item:hover .highlight-icon {
  background: linear-gradient(135deg, var(--ochre), var(--ochre-dark));
  color: var(--white);
  border-color: transparent;
}
.highlight-item h4 { margin-bottom: 12px; color: var(--brown); }
.highlight-item p  { font-size: 0.9rem; margin: 0; color: var(--text-medium); }

/* ========================
   CONTACT PAGE
   ======================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: var(--border-card);
  box-shadow: var(--shadow);
}
.contact-form-card h3 { margin-bottom: 8px; }
.contact-form-card > p { margin-bottom: 32px; color: var(--text-medium); }

/* ---- FORM ELEMENTS (accessible contrast) ---- */
.form-group { margin-bottom: 22px; }

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brown);          /* #6B3D1E on white → 7.6:1 ✓ */
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid rgba(107,61,30,.2);  /* visible but subtle */
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);     /* #2C1810 on white → 13.7:1 ✓ */
  background: var(--off-white);
  transition: var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}
input::placeholder,
textarea::placeholder { color: var(--text-light); }  /* #9B7B6A on #FAF7F0 → 3.3:1 (decorative) */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ochre);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(200,151,58,.14);
}
textarea { resize: vertical; min-height: 130px; }

.contact-info-card {
  background: linear-gradient(145deg, var(--brown) 0%, var(--brown-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 44px 42px;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(200,151,58,.06);
  pointer-events: none;
}
.contact-info-card h3 { color: var(--gold-light); margin-bottom: 32px; }

.contact-info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 26px;
}
.contact-info-item > i {
  color: var(--ochre);
  font-size: 1.1rem;
  margin-top: 3px;
  min-width: 20px;
}
.contact-info-item p {
  color: rgba(245,236,215,.88); /* on brown-dark → good contrast */
  margin: 0;
  line-height: 1.65;
  font-size: 0.93rem;
}
.contact-info-item a { color: var(--gold-light); }
.contact-info-item a:hover { color: var(--white); }

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  margin-top: 12px;
  transition: var(--t-fast);
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 14px rgba(37,211,102,.3);
}
.btn-whatsapp:hover {
  background: #1EB855;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37,211,102,.4);
}

.contact-map { border-radius: var(--radius-lg); overflow: hidden; margin-top: 28px; box-shadow: var(--shadow-sm); border: var(--border-card); }
.contact-map iframe { width: 100%; height: 260px; border: none; display: block; }

/* ========================
   SCROLL ANIMATIONS (enhanced)
   ======================== */
.fade-in {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Stagger delays */
.fd1 { transition-delay: 0.08s; }
.fd2 { transition-delay: 0.17s; }
.fd3 { transition-delay: 0.26s; }
.fd4 { transition-delay: 0.35s; }

/* Slide from left */
.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.fade-left.visible { opacity: 1; transform: translateX(0); }

/* Slide from right */
.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

/* Scale in */
.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-spring);
}
.scale-in.visible { opacity: 1; transform: scale(1); }

/* ========================
   FOOTER
   ======================== */
.footer {
  background-color: var(--brown-dark);
  color: var(--cream);
  position: relative;
}

/* Top gradient border */
.footer-top {
  height: 3px;
  background: linear-gradient(90deg, var(--brown), var(--ochre), var(--gold-light), var(--ochre), var(--brown));
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 70px 28px 50px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold-light);
  display: block;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.footer-col p {
  color: rgba(245,236,215,.72);   /* on brown-dark → ~5.5:1 ✓ */
  font-size: 0.88rem;
  line-height: 1.85;
  margin-bottom: 0;
}
.footer-col h4 {
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(200,151,58,.2);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(245,236,215,.7);
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--t-fast);
}
.footer-col ul li a::before {
  content: '→';
  font-size: 0.75rem;
  color: var(--ochre);
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--t-fast);
}
.footer-col ul li a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}
.footer-col ul li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-contact-item > i {
  color: var(--ochre);
  margin-top: 3px;
  min-width: 16px;
  font-size: 0.9rem;
}
.footer-contact-item p,
.footer-contact-item a {
  color: rgba(245,236,215,.72);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.6;
}
.footer-contact-item a:hover { color: var(--gold-light); }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  border: 1px solid rgba(245,236,215,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,236,215,.65);
  font-size: 0.88rem;
  transition: var(--t-fast);
}
.footer-social a:hover {
  border-color: var(--ochre);
  color: var(--gold-light);
  background: rgba(200,151,58,.12);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(245,236,215,.1);
  padding: 22px 28px;
  text-align: center;
}
.footer-bottom p {
  color: rgba(245,236,215,.55); /* was .38 → 2.1:1 (WCAG fail); .55 → 3.4:1 ✓ */
  font-size: 0.78rem;
  margin: 0;
}

/* ========================
   WHATSAPP FLOAT
   ======================== */
.whatsapp-float {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 998;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.7rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out),
              transform 0.4s var(--ease-spring),
              box-shadow 0.3s var(--ease-out);
}
.whatsapp-float.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}
.whatsapp-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 8px 30px rgba(37,211,102,.5);
}

/* Pulse ring */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37,211,102,.25);
  animation: waPulse 2.8s ease-in-out infinite;
}
@keyframes waPulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.15); }
}

/* ========================
   MISC UTILITIES
   ======================== */
.text-center { text-align: center; }
.text-ochre  { color: var(--ochre); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }

/* Image skeleton shimmer */
.img-placeholder {
  background: linear-gradient(90deg, var(--cream) 25%, var(--cream-light) 50%, var(--cream) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1024px) {
  .grid-3              { grid-template-columns: repeat(2,1fr); }
  .services-icons-grid { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid   { grid-template-columns: repeat(2,1fr); }
  .services-full-grid  { grid-template-columns: repeat(2,1fr); }
  .highlights-grid     { grid-template-columns: repeat(2,1fr); }
  .attraction-grid     { grid-template-columns: repeat(2,1fr); }
  .footer-container    { grid-template-columns: 1fr 1fr; }
  .about-grid          { gap: 56px; }
  .about-image         { height: 420px; }
  .room-grid           { gap: 46px; }
  .contact-grid        { grid-template-columns: 1fr; }
  .stats-grid          { grid-template-columns: repeat(2,1fr); }
  .stat-item           { border-right: none; border-bottom: 1px solid rgba(200,151,58,.18); }
  .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  :root {
    --sec-pad:    72px 20px;
    --sec-pad-sm: 52px 20px;
    --nav-height: 68px;
  }

  /* Mobile menu */
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(250,247,240,.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 20px 32px;
    gap: 4px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
    box-shadow: var(--shadow);
    border-bottom: var(--border-subtle);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-link {
    color: var(--text-medium) !important;
    padding: 14px 18px;
    width: 100%;
    text-align: center;
    border-radius: var(--radius);
    font-size: 0.82rem;
  }
  .nav-link::after { bottom: 2px; }
  .nav-cta { margin-left: 0; width: 100%; text-align: center; }

  /* Auth dropdown — mobile: espansione inline */
  .nav-auth-wrap { width: 100%; }

  .nav-auth-btn {
    width: 100%;
    justify-content: space-between;
    padding: 14px 18px;
    font-size: .82rem;
    color: var(--text-medium) !important;
    border-radius: var(--radius);
  }
  .nav-auth-btn:hover { color: var(--ochre) !important; }

  .nav-auth-dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(107,61,30,.08);
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    display: none;
    padding: 4px 0 8px;
    min-width: 0;
    background: transparent;
  }

  .nav-auth-wrap.open .nav-auth-dropdown { display: block; }

  .dropdown-item {
    padding: 10px 28px;
    color: var(--text-medium);
    font-size: .82rem;
  }
  .dropdown-signout { border-top: none; margin-top: 0; }

  /* Layouts */
  .grid-3            { grid-template-columns: 1fr; }
  .grid-2            { grid-template-columns: 1fr; gap: 36px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .map-section       { grid-template-columns: 1fr; }
  .map-info          { padding: 44px 28px; }
  .footer-container  { grid-template-columns: 1fr; gap: 36px; }
  .about-grid        { grid-template-columns: 1fr; gap: 52px; }
  .about-image       { height: 300px; }
  .about-image-wrapper::before,
  .about-image-wrapper::after { display: none; }
  .about-badge       { bottom: 14px; right: 14px; }
  .hero-cta          { flex-direction: column; align-items: center; }
  .room-grid         { grid-template-columns: 1fr; gap: 36px; }
  .room-grid.reversed { direction: ltr; }
  .room-img          { height: 290px; }
  .gallery-grid      { columns: 2; }
  .highlights-grid   { grid-template-columns: 1fr; }
  .attraction-grid   { grid-template-columns: 1fr; }
  .services-full-grid { grid-template-columns: 1fr; }
  .contact-form-card  { padding: 30px 24px; }
  .contact-info-card  { padding: 32px 26px; }
  .stats-grid        { grid-template-columns: 1fr 1fr; }
  .whatsapp-float    { bottom: 20px; right: 20px; width: 54px; height: 54px; font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .gallery-grid      { columns: 1; }
  .room-amenities    { grid-template-columns: 1fr; }
  .about-features    { grid-template-columns: 1fr; }
  .stats-grid        { grid-template-columns: 1fr; }
  .stat-item         { border-right: none; }
  .services-icons-grid { grid-template-columns: 1fr; }
}

/* ========================
   GPU HINTS
   Promote only elements with frequent transforms/opacity changes
   ======================== */
.whatsapp-float,
.hero-bg,
.page-hero-bg,
.card,
.service-icon-item,
.testimonial { will-change: transform; }

/* ========================
   REDUCED MOTION
   Respects vestibular / epilepsy settings
   ======================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Immediately show animated elements — no invisible content */
  .fade-in,
  .fade-left,
  .fade-right,
  .scale-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Stop hero parallax zoom */
  .hero-bg,
  .page-hero-bg {
    transform: none !important;
    transition: none !important;
  }

  /* Stop hero entry animation */
  .hero-content,
  .hero h1,
  .hero-subtitle,
  .hero-cta { animation: none !important; }

  /* Stop scroll bounce arrow */
  .hero-scroll { animation: none !important; }

  /* Stop WhatsApp pulse */
  .whatsapp-float::before { animation: none !important; }
}
