/* ============================================================
   Design System (from scratch)
   Premium luxury island retreat website
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Jost:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors - Premium Mediterranean Night Palette */
  --clr-bg: #111312; /* Deep olive-black */
  --clr-bg-alt: #171918;
  --clr-surface: #1e201f;
  --clr-surface-2: #282a29;
  --clr-border: rgba(212, 180, 131, 0.15); /* Gold-tinted subtle border */
  --clr-border-2: rgba(212, 180, 131, 0.25);
  --clr-text: #f3efe9; /* Warm linen */
  --clr-text-muted: #aca8a3;
  --clr-accent: #d4b483; /* Soft Gold */
  --clr-accent-dim: rgba(212, 180, 131, .15);
  --clr-white: #ffffff;
  --clr-overlay: rgba(17, 19, 18, .75);

  /* Typography */
  --ff-serif: 'Marcellus', Georgia, serif;
  --ff-sans: 'Jost', -apple-system, sans-serif;

  /* Spacing */
  --sp-xs: .5rem;
  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 6rem;
  --sp-xxl: 10rem;

  /* Transitions */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --tr-fast: .3s var(--ease-out);
  --tr-mid: .6s var(--ease-out);
  --tr-slow: 1s var(--ease-out);

  /* Layout */
  --max-w: 1320px;
  --hdr-h: 180px;
  --radius: 8px; /* Slightly softer */
}

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

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

body {
  font-family: var(--ff-sans);
  font-weight: 400;
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ---------- Utility ---------- */
.container {
  width: 90%;
  max-width: var(--max-w);
  margin: 0 auto;
}

[data-feature="offers"].feature-hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--ff-serif);
  font-weight: 500;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: .02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: .01em;
}

h3 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  letter-spacing: .02em;
}

h4 {
  font-size: 1.1rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-family: var(--ff-sans);
  font-weight: 600;
}

.subtitle {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--clr-accent);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-top: .5rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  max-width: 640px;
  line-height: 1.85;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-sm);
}

.section-tag::before,
.section-tag::after {
  content: '';
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2.2rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 50px; /* Pill shape for elegance */
  transition: all var(--tr-fast);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--clr-accent);
  color: var(--clr-bg);
}

.btn--primary:hover {
  background: #b89958;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 169, 110, .3);
}

.btn--outline {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--clr-text);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.btn--outline:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  transform: translateY(-2px);
}

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

.btn--white:hover {
  background: var(--clr-text);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  transition: background var(--tr-mid), box-shadow var(--tr-mid);
}

.header.scrolled {
  background: rgba(12, 12, 12, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--clr-border);
  height: 100px;
}

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

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

.header__logo img {
  height: 140px;
  width: auto;
  display: block;
  transition: height var(--tr-mid);
  filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 1)) drop-shadow(0 5px 15px rgba(0, 0, 0, 1)) drop-shadow(0 20px 60px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 10px rgba(0,0,0,1));
}

.header.scrolled .header__logo img {
  height: 70px;
}

@media (max-width: 768px) {
  .header:not(.scrolled) {
    height: 380px;
    align-items: flex-start;
    padding-top: 8rem;
    transition: all var(--tr-mid);
  }

  .header:not(.scrolled) .container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 5%;
  }

  .header:not(.scrolled) .header__logo img {
    height: 220px;
    filter: drop-shadow(0 12px 45px rgba(0, 0, 0, 1)) drop-shadow(0 6px 20px rgba(0, 0, 0, 1)) drop-shadow(0 25px 80px rgba(0, 0, 0, 1)) drop-shadow(0 0 15px rgba(0,0,0,1));
  }

  .header:not(.scrolled) .header__menu-btn {
    position: absolute;
    top: -35px; 
    right: 5%;
  }

  .header.scrolled .header__logo img {
    height: 55px;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 1)) drop-shadow(0 2px 8px rgba(0, 0, 0, 1));
  }

  /* Ensure container reverts to row on scroll */
  .header.scrolled .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* Ensure menu btn reverts to static/flex flow on scroll */
  .header.scrolled .header__menu-btn {
    position: static;
  }
}

/* Navigation */
.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__nav a {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  transition: color var(--tr-fast);
  position: relative;
  text-shadow: 
    0 2px 10px rgba(0, 0, 0, 0.9), 
    0 1px 5px rgba(0, 0, 0, 1),
    0 0 20px rgba(0, 0, 0, 0.5);
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--clr-accent);
  transition: width var(--tr-fast);
}

.header__nav a:hover {
  color: var(--clr-white);
}

.header__nav a:hover::after {
  width: 100%;
}

.header__nav a.active {
  color: var(--clr-accent);
}

.header__nav a.active::after {
  width: 100%;
}

.header__cta .btn {
  padding: .6rem 1.5rem;
  font-size: .75rem;
}

/* Mobile nav */
.header__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.9));
}

.header__menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--clr-white);
  transition: all var(--tr-fast);
  border-radius: 2px;
}

@media (max-width: 960px) {

  .header__nav,
  .header__cta {
    display: none;
  }

  .header__menu-btn {
    display: flex;
  }
}

/* Mobile overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(12, 12, 12, .97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr-mid);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  color: var(--clr-text);
  transition: color var(--tr-fast);
}

.mobile-nav a:hover {
  color: var(--clr-accent);
}

.mobile-nav__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--clr-text);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 25s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.15);
  }
}

/* Multi-layer overlay for depth */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* Top scrim for header/logo */
    linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 15%, transparent 35%),
    /* Bottom scrim for scroll indicator & shape */
    linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.15) 20%, transparent 45%),
    /* Subtle vignette */
    radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.35) 100%);
}

/* Hero Content */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--sp-lg) var(--sp-md);
  max-width: 800px;
  margin: 30rem auto 0; /* Ulteriormente abbassato su richiesta dell'utente */
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.9),
    0 1px 5px rgba(0, 0, 0, 1);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, transparent 75%);
}

/* ── Hero Title Box ── */
.hero__title-box {
  position: relative;
  display: inline-block;
  padding: 1rem 2rem;
  margin-bottom: 1.6rem;

  /* Estrema trasparenza */
  background: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);

  /* Bordo quasi invisibile */
  border: 1px solid rgba(212, 180, 131, 0.12);

  /* Rimosse ombre pesanti */
  box-shadow: none;

  animation: heroFadeIn 1s ease-out 0.3s both;
}

  animation: heroFadeIn 1s ease-out 0.3s both;
}

/* Animated corner accents — molto tenui */
.hero__title-box-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--clr-accent);
  border-style: solid;
  opacity: 0.2;
  transition: opacity var(--tr-fast);
}
.hero__title-box:hover .hero__title-box-corner { opacity: 1; }

.hero__title-box-corner--tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.hero__title-box-corner--tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.hero__title-box-corner--bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.hero__title-box-corner--br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

/* Ornament rows (line ✦ line) — molto tenui */
.hero__title-box-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--clr-accent);
  opacity: 0.25;
  margin-bottom: 0.6rem;
}
.hero__title-box-ornament:last-of-type {
  margin-bottom: 0;
  margin-top: 0.9rem;
}
.hero__title-box-line {
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-accent));
}
.hero__title-box-ornament:last-of-type .hero__title-box-line {
  background: linear-gradient(90deg, var(--clr-accent), transparent);
}
.hero__title-box-ornament:last-of-type .hero__title-box-line:first-child {
  background: linear-gradient(90deg, transparent, var(--clr-accent));
}
.hero__title-box-ornament:last-of-type .hero__title-box-line:last-child {
  background: linear-gradient(90deg, var(--clr-accent), transparent);
}

/* Override title margin inside box (box provides spacing) */
.hero__title-box .hero__title {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .hero__title-box {
    padding: 1.6rem 1.5rem 1.4rem;
  }
  .hero__title-box-line { width: 28px; }
}

/* Tag line with animated dashes */
.hero__tag-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  animation: heroFadeIn 1s ease-out .3s both;
}

.hero__tag-line .section-tag {
  margin-bottom: 0;
}

.hero__tag-dash {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--clr-accent);
  opacity: 0.7;
  animation: dashExpand 1.2s ease-out .6s both;
}

@keyframes dashExpand {
  from { width: 0; opacity: 0; }
  to { width: 40px; opacity: 0.7; }
}

/* Title */
.hero__title {
  color: var(--clr-white);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  animation: heroFadeIn 1s ease-out .5s both;
}

/* Gold decorative line */
.hero__gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--clr-accent), transparent);
  margin: 0 auto 1.5rem;
  animation: heroFadeIn 1s ease-out .7s both;
  position: relative;
}

.hero__gold-line::before {
  content: '◆';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8px;
  color: var(--clr-accent);
  text-shadow: none;
  line-height: 1;
}

/* Subtitle */
.hero__subtitle {
  margin-bottom: 1rem;
  animation: heroFadeIn 1s ease-out .8s both;
}

/* Lead text */
.hero__lead {
  color: rgba(255, 255, 255, .9);
  margin: 0 auto 2rem;
  animation: heroFadeIn 1s ease-out 1s both;
}

/* CTA buttons */
.hero__cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  animation: heroFadeIn 1s ease-out 1.2s both;
}

/* Entrance animation */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  animation: heroFadeIn 1s ease-out 1.6s both;
}

.hero__scroll-text {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--clr-accent);
  opacity: 0.8;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--clr-accent), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--clr-accent));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(80px);
    opacity: 0;
  }
}

/* Bottom Shape Divider */
.hero__shape-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.hero__shape-divider svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* Shorter hero for subpages */
.hero--short {
  min-height: 55vh;
}

/* ---------- Sections ---------- */
.section {
  padding: var(--sp-xl) 0;
}

.section--alt {
  background: var(--clr-bg-alt);
}

.section__header {
  text-align: center;
  margin-bottom: var(--sp-lg);
}

.section__header .lead {
  margin: .5rem auto 0;
}

/* ---------- Cards (Rooms, Offers, etc.) ---------- */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-md);
}

.card-grid .card {
  flex: 1 1 340px;
  max-width: 410px; /* Prevents cards from becoming too wide in incomplete rows */
}

@media (max-width: 768px) {
  .card-grid .card {
    flex: 1 1 100%;
    max-width: none;
  }
}

.card {
  background: var(--clr-surface);
  border-radius: 12rem 12rem 8px 8px; /* Puglia Arch Shape */
  overflow: hidden;
  border: 1px solid var(--clr-border);
  transition: transform var(--tr-mid), box-shadow var(--tr-mid), border-color var(--tr-mid);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
  border-color: var(--clr-accent);
}

.card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

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

.card:hover .card__img img {
  transform: scale(1.06);
}

.card__badge {
  position: absolute;
  top: var(--sp-sm);
  left: var(--sp-sm);
  background: var(--clr-accent);
  color: var(--clr-bg);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .35rem .8rem;
  border-radius: 3px;
}

.card__body {
  padding: var(--sp-md);
}

.card__body h3 {
  margin-bottom: .5rem;
}

.card__body p {
  color: var(--clr-text-muted);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.card__body .btn {
  margin-top: .5rem;
}

/* Travel Info Cards (Special handling for text-only cards) */
.card--travel {
  border-radius: var(--radius) !important; /* Standard radius to avoid cutting text without images */
  text-align: center;
}

.card--travel .card__body {
  padding: var(--sp-lg) var(--sp-md);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card__icon {
  width: 64px;
  height: 64px;
  background: var(--clr-accent-dim);
  border: 1.5px solid var(--clr-border-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
  margin-bottom: 1.5rem;
  transition: all var(--tr-fast);
}

.card--travel:hover .card__icon {
  border-color: var(--clr-accent);
  background: var(--clr-accent);
  color: var(--clr-bg);
  transform: translateY(-2px);
}

.card--travel h3 {
  margin-bottom: 1rem;
}

.card--travel p {
  max-width: 280px;
  margin: 0 auto 0.5rem;
}

/* ---------- Feature (split layout) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
}

.feature--reverse {
  direction: rtl;
}

.feature--reverse>* {
  direction: ltr;
}

.feature__img {
  border-radius: 16rem 16rem 8px 8px; /* Classic Apulian Arch Motif */
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.05);
}

.feature__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform var(--tr-slow);
}

.feature:hover .feature__img img {
  transform: scale(1.04);
}

.feature__text h2 {
  margin-bottom: var(--sp-sm);
}

.feature__text p {
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-md);
  line-height: 1.8;
}

@media (max-width: 768px) {

  .feature,
  .feature--reverse {
    grid-template-columns: 1fr;
  }
}

/* ---------- Gallery ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-bottom: var(--sp-lg);
}

.gallery-filters button {
  padding: .55rem 1.3rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 50px;
  border: 1.5px solid var(--clr-border-2);
  transition: all var(--tr-fast);
}

.gallery-filters button:hover,
.gallery-filters button.active {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: var(--clr-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: .5rem;
}

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

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

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

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

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

/* ---------- FAQ Accordion ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--clr-border);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 500;
  text-align: left;
  color: var(--clr-text);
  transition: color var(--tr-fast);
}

.faq-item__q:hover {
  color: var(--clr-accent);
}

.faq-item__q .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--clr-border-2);
  border-radius: 50%;
  font-size: 1rem;
  transition: all var(--tr-fast);
}

.faq-item.open .faq-item__q .icon {
  transform: rotate(45deg);
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}

.faq-item.open .faq-item__a {
  max-height: 400px;
  padding-bottom: 1.5rem;
}

.faq-item__a p {
  color: var(--clr-text-muted);
  font-size: .95rem;
  line-height: 1.8;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--sp-lg);
}

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

.contact-info h3 {
  margin-bottom: var(--sp-sm);
  color: var(--clr-accent);
}

.contact-info p {
  color: var(--clr-text-muted);
  font-size: .92rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.contact-info a {
  color: var(--clr-accent);
  transition: color var(--tr-fast);
}

.contact-info a:hover {
  color: var(--clr-white);
}

.form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.form__group {
  flex: 1 1 calc(50% - .5rem);
  min-width: 200px;
}

.form__group--full {
  flex: 1 1 100%;
}

.form__group label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: .4rem;
}

.form__group input,
.form__group textarea,
.form__group select {
  width: 100%;
  padding: .8rem 1rem;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-2);
  border-radius: var(--radius);
  color: var(--clr-text);
  font-family: var(--ff-sans);
  font-size: .9rem;
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
  outline: none;
}

.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px var(--clr-accent-dim);
}

.form__group textarea {
  min-height: 140px;
  resize: vertical;
}

.form__group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a9590' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form__group select option {
  background: var(--clr-surface);
  color: var(--clr-text);
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}

.form__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--clr-accent);
  cursor: pointer;
}

.form__checkbox label {
  font-size: .85rem;
  color: var(--clr-text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  cursor: pointer;
}

.form__checkbox a {
  color: var(--clr-accent);
  text-decoration: underline;
}

/* ---------- Location / Map ---------- */
.map-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(.4) brightness(.85);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--clr-bg-alt);
  border-top: 1px solid var(--clr-border);
  padding: var(--sp-lg) 0 var(--sp-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--sp-md);
}

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

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

.footer__brand p {
  color: var(--clr-text-muted);
  font-size: .88rem;
  margin-top: .75rem;
  max-width: 300px;
  line-height: 1.7;
}

.footer__col h4 {
  font-size: .75rem;
  font-family: var(--ff-sans);
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 1rem;
}

.footer__col a {
  display: block;
  font-size: .88rem;
  color: var(--clr-text-muted);
  padding: .3rem 0;
  transition: color var(--tr-fast);
}

.footer__col a:hover {
  color: var(--clr-white);
}

.footer__bottom {
  margin-top: var(--sp-lg);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__bottom p {
  font-size: .78rem;
  color: var(--clr-text-muted);
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--clr-border-2);
  border-radius: 50%;
  font-size: .9rem;
  transition: all var(--tr-fast);
}

.footer__social a:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  transform: translateY(-2px);
}

/* ---------- Scroll-based fade-in animation ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Lightbox (Gallery) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, .93);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr-mid);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

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

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--clr-white);
  cursor: pointer;
  z-index: 10;
  background: none;
  border: none;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: var(--clr-white);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 1rem;
  opacity: 0.5;
  transition: all var(--tr-fast);
  user-select: none;
}

.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }

.lightbox__prev:hover,
.lightbox__next:hover {
  opacity: 1;
  color: var(--clr-accent);
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
  .lightbox__prev, .lightbox__next {
    font-size: 2.5rem;
    padding: 0.5rem;
  }
}


/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: calc(var(--hdr-h) + var(--sp-md)) 0 var(--sp-sm);
}

.breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .8rem;
  color: var(--clr-text-muted);
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: .5rem;
  color: var(--clr-border-2);
}

.breadcrumb a {
  transition: color var(--tr-fast);
}

.breadcrumb a:hover {
  color: var(--clr-accent);
}

/* ---------- Highlight box (for offers) ---------- */
.highlight-box {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
}

.highlight-box__bg {
  position: absolute;
  inset: 0;
}

.highlight-box__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.highlight-box__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 40%, transparent 100%);
}

.highlight-box__content {
  position: relative;
  z-index: 2;
  padding: var(--sp-lg);
}

.highlight-box__content h2 {
  color: var(--clr-white);
  margin-bottom: .75rem;
}

.highlight-box__content p {
  color: rgba(255, 255, 255, .8);
  max-width: 540px;
  margin-bottom: 1.5rem;
}

/* ---------- Stats Row ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-md);
  text-align: center;
  padding: var(--sp-lg) 0;
}

.stat__number {
  font-family: var(--ff-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--clr-accent);
  line-height: 1;
}

.stat__label {
  font-size: .82rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .5rem;
}

/* ---------- Divider ---------- */
/* ---------- Ornate Divider ---------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  border: none;
  margin: var(--sp-md) auto;
  color: var(--clr-accent);
  opacity: 0.8;
}

.divider::before,
.divider::after {
  content: '';
  height: 1px;
  width: 60px;
  background: linear-gradient(to var(--dir, right), transparent, currentColor);
}

.divider::after {
  --dir: left;
}

.divider-icon {
  width: 24px;
  height: 24px;
  display: block;
}


/* ---------- Page-specific intro ---------- */
.page-intro {
  padding: calc(var(--hdr-h) + var(--sp-xl)) 0 var(--sp-lg);
  text-align: center;
}

.page-intro h1 {
  margin-bottom: .5rem;
}

.page-intro .lead {
  margin: 1rem auto 0;
}

/* ---------- Responsive Tweaks ---------- */
@media (max-width: 768px) {
  .hero__scroll {
    bottom: 90px;
  }

  .hero__shape-divider svg {
    height: 50px;
  }

  .hero__tag-dash {
    width: 25px;
  }

  @keyframes dashExpand {
    from { width: 0; opacity: 0; }
    to { width: 25px; opacity: 0.7; }
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 100svh;
  }

  .hero--short {
    min-height: 45vh;
  }

  .section {
    padding: var(--sp-lg) 0;
  }

  .hero__scroll {
    display: none;
  }

  .hero__shape-divider svg {
    height: 35px;
  }

  .hero__gold-line {
    width: 40px;
  }
}

/* ---------- Progressive Image Loading ---------- */
.progressive-img {
  transition: opacity var(--tr-mid);
  background-color: var(--clr-bg-alt);
}

/* ---------- Lightbox Loader ---------- */
.lightbox img {
  opacity: 0;
  transition: opacity var(--tr-mid);
}

.lightbox.is-ready img {
  opacity: 1;
}

.lightbox__loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, .1);
  border-top-color: var(--clr-accent);
  border-radius: 50%;
  animation: lbSpin 1s linear infinite;
  display: none;
  z-index: 5;
}

.lightbox.is-loading .lightbox__loader {
  display: block;
}

@keyframes lbSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ---------- Decorations & Ornaments ---------- */

.card-wrapper {
  position: relative;
  padding: 10px;
  display: flex;
}

.ornament-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 1px solid var(--clr-accent);
  opacity: 0.15;
  pointer-events: none;
  z-index: 10;
  transition: all var(--tr-mid);
}

.ornament-corner--tl { top: 0; left: 0; border-right: none; border-bottom: none; border-radius: 12rem 0 0 0; }
.ornament-corner--tr { top: 0; right: 0; border-left: none; border-bottom: none; border-radius: 0 12rem 0 0; }
.ornament-corner--bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.ornament-corner--br { bottom: 0; right: 0; border-left: none; border-top: none; }

.card-wrapper:hover .ornament-corner {
  opacity: 0.5;
  transform: scale(1.1);
  width: 50px;
  height: 50px;
  border-width: 1.5px;
}

/* Floating Elements */
.floating-ornament {
  position: absolute;
  pointer-events: none;
  opacity: 0.08;
  z-index: 0;
  filter: blur(0.5px);
  animation: float 25s infinite ease-in-out;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(40px, -60px) rotate(20deg); }
  66% { transform: translate(-30px, 50px) rotate(-15deg); }
}

.bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l5 22 22 5-22 5-5 22-5-22-22-5 22-5z' fill='%23d4b483' fill-opacity='1' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 150px 150px;
}

.divider-icon {
  width: 24px;
  height: 24px;
  display: block;
  fill: currentColor;
}