/* ==========================================================================
   SUNLIT RIVIERA MODERN — DESIGN SYSTEM
   scenegardenscenefd.quest
   ========================================================================== */

:root {
  /* Palette: Resort Deep Tones */
  --coastal-night: #173033;
  --mediterranean-deep: #214347;
  --garden-teal: #315B59;
  --pool-slate: #466866;

  /* Palette: Soft Resort Surfaces */
  --sea-mist: #DDEAE5;
  --palm-mist: #D7E4D9;
  --pool-glass: #D9E8E8;
  --warm-sand: #E9DDCB;
  --sunwashed-stone: #E3D9C9;
  --resort-white: #F7F7F1;
  --cloud-white: #FCFCF8;

  /* Palette: Family-Friendly Accents */
  --citrus-leaf: #A9B96C;
  --pool-aqua: #70AAA5;
  --coral-sun: #D68168;
  --apricot-glow: #D99A72;
  --resort-gold: #C3A565;
  --garden-sage: #83A38C;

  /* Palette: Text Hierarchy */
  --resort-ink: #182527;
  --deep-stone: #3C4B4D;
  --muted-slate: #687779;
  --light-resort-text: #F2F6F2;

  /* Spacing Scale (4, 8, 16, 24, 40, 64) */
  --space-4: 4px;
  --space-8: 8px;
  --space-16: 16px;
  --space-24: 24px;
  --space-40: 40px;
  --space-64: 64px;

  /* Rounded Corners */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Glass Effects */
  --glass-bg: rgba(252, 252, 248, 0.88);
  --glass-border: rgba(112, 170, 165, 0.32);
  --glass-shadow: 0 12px 32px -4px rgba(23, 48, 51, 0.08), 0 4px 12px rgba(23, 48, 51, 0.04);
  --glass-shadow-hover: 0 16px 40px -4px rgba(23, 48, 51, 0.12), 0 6px 16px rgba(23, 48, 51, 0.06);

  /* Typography */
  --font-family-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --line-height-base: 1.6;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-base);
  background-color: var(--resort-white);
  color: var(--resort-ink);
  line-height: var(--line-height-base);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Typography Rules & Safe Wrapping */
h1, h2, h3, h4, h5, h6, .brand-text, .nav-link, a {
  overflow-wrap: anywhere;
  word-break: normal;
}

h1, h2, h3, h4 {
  color: var(--coastal-night);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: var(--space-16);
  color: var(--deep-stone);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--mediterranean-deep);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  color: var(--coral-sun);
  text-decoration-color: var(--coral-sun);
}

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

/* Accessible Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--coral-sun);
  outline-offset: 3px;
}

/* Motion Preferences */
@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;
  }
}

/* Layout Containers */
.content-wrapper {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-16);
  padding-right: var(--space-16);
  min-width: 0;
}

.section-spacing {
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
}

.bg-warm-sand {
  background-color: var(--warm-sand);
}

.bg-pool-slate {
  background-color: var(--mediterranean-deep);
  color: var(--light-resort-text);
}

.bg-pool-slate h2,
.bg-pool-slate h3,
.bg-pool-slate p {
  color: var(--light-resort-text);
}

/* ==========================================================================
   HEADER COMPONENT (Non-sticky, 56-64px desktop, 48-52px mobile)
   ========================================================================== */
.site-header {
  position: relative;
  height: 64px;
  background-color: var(--cloud-white);
  border-bottom: 1px solid var(--pool-glass);
  display: flex;
  align-items: center;
  z-index: 50;
}

.site-header-inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--space-16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: var(--space-16);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  text-decoration: none;
  color: var(--coastal-night);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  min-width: 0;
}

.brand-link:hover {
  color: var(--coral-sun);
}

.brand-logo-mark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Nav container on desktop */
.nav-container {
  display: flex;
  align-items: center;
  gap: var(--space-24);
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--space-24);
}

.nav-link {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--deep-stone);
  padding: var(--space-4) 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--coastal-night);
  border-bottom-color: var(--coral-sun);
}

.header-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--mediterranean-deep);
  color: var(--light-resort-text);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.header-cta-button:hover {
  background-color: var(--coral-sun);
  color: var(--cloud-white);
  text-decoration: none;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--pool-glass);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle-bar {
  width: 20px;
  height: 2px;
  background-color: var(--coastal-night);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile header rules */
@media (max-width: 768px) {
  .site-header {
    height: 52px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-container {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background-color: var(--cloud-white);
    border-bottom: 1px solid var(--pool-glass);
    box-shadow: 0 16px 32px rgba(23, 48, 51, 0.12);
    padding: var(--space-24) var(--space-16);
    flex-direction: column;
    gap: var(--space-16);
    z-index: 60;
  }

  .nav-container.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-16);
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 8px 0;
    font-size: 1.05rem;
  }

  .header-cta-button {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--coral-sun);
  color: var(--cloud-white);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.button-primary:hover {
  background-color: #be6c54;
  color: var(--cloud-white);
  text-decoration: none;
  transform: translateY(-1px);
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--sea-mist);
  color: var(--mediterranean-deep);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--pool-aqua);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.button-secondary:hover {
  background-color: var(--pool-aqua);
  color: var(--cloud-white);
  text-decoration: none;
}

.badge-accent {
  display: inline-block;
  background-color: var(--sea-mist);
  color: var(--mediterranean-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-16);
  border: 1px solid var(--pool-aqua);
}

/* ==========================================================================
   SEPARATED GLASS PANEL CARD SYSTEM (Global Strict Separation Rule)
   IMAGE -> 24-40px GAP -> GLASS PANEL
   NO OVERLAYS. READABLE CONTENT OUTSIDE IMAGE.
   ========================================================================== */
.separated-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-32, 32px);
  margin-bottom: var(--space-64);
}

.separated-card:last-child {
  margin-bottom: 0;
}

.card-media-shell {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(23, 48, 51, 0.06);
  background-color: var(--sunwashed-stone);
}

.resort-photo {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.glass-content-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-40);
  box-shadow: var(--glass-shadow);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.glass-content-panel:hover {
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--pool-aqua);
}

.panel-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-16);
  flex-wrap: wrap;
  gap: var(--space-8);
}

.panel-pillar-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.pillar-stay    { background-color: var(--sea-mist); color: var(--mediterranean-deep); }
.pillar-play    { background-color: #F8E6DD; color: #9E4F39; }
.pillar-eat     { background-color: var(--palm-mist); color: #32563A; }
.pillar-explore { background-color: var(--pool-glass); color: var(--garden-teal); }
.pillar-relax   { background-color: #F8F1DD; color: #785A1D; }

.panel-indicator {
  font-size: 0.85rem;
  color: var(--muted-slate);
  font-weight: 500;
}

.panel-title {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  margin-bottom: var(--space-16);
}

.panel-description {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--deep-stone);
  margin-bottom: var(--space-24);
}

.panel-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-bottom: var(--space-24);
}

.feature-tag {
  background-color: var(--resort-white);
  border: 1px solid var(--pool-glass);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--deep-stone);
}

.panel-link-button {
  display: inline-flex;
  align-items: center;
  color: var(--mediterranean-deep);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.98rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.panel-link-button:hover {
  color: var(--coral-sun);
  transform: translateX(4px);
}

/* Callout inside glass panel */
.callout-box {
  background-color: rgba(221, 234, 229, 0.45);
  border-left: 4px solid var(--pool-aqua);
  padding: var(--space-16);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
  color: var(--deep-stone);
  margin-top: var(--space-24);
}

/* ==========================================================================
   HERO LAYOUT (Separated Hero Composition)
   ========================================================================== */
.hero-section {
  padding-top: var(--space-40);
  padding-bottom: var(--space-64);
  background: linear-gradient(180deg, var(--cloud-white) 0%, var(--resort-white) 100%);
}

.hero-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-32, 32px);
}

.hero-media-wrapper {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(23, 48, 51, 0.08);
}

.hero-photo {
  width: 100%;
  height: clamp(280px, 45vw, 440px);
  object-fit: cover;
}

.hero-glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--glass-shadow);
}

.hero-title {
  margin-bottom: var(--space-16);
  max-width: 840px;
}

.hero-text {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--deep-stone);
  max-width: 820px;
  line-height: 1.68;
  margin-bottom: var(--space-24);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
  margin-bottom: var(--space-32, 32px);
}

.hero-quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-16);
  padding-top: var(--space-24);
  border-top: 1px solid var(--pool-glass);
}

.stat-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--coral-sun);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted-slate);
  font-weight: 500;
}

/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */
.section-heading-block {
  margin-bottom: var(--space-40);
  max-width: 800px;
}

.section-kicker {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral-sun);
  margin-bottom: var(--space-8);
}

.section-heading {
  margin-bottom: var(--space-16);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--deep-stone);
  line-height: 1.6;
}

.light-text .section-kicker {
  color: var(--citrus-leaf);
}

.light-text .section-heading,
.light-text .section-subtitle {
  color: var(--light-resort-text);
}

/* ==========================================================================
   CHECKLIST COMPONENT
   ========================================================================== */
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-40);
}

@media (min-width: 860px) {
  .checklist-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.highlight-callout {
  background-color: var(--resort-white);
  border-left: 4px solid var(--coral-sun);
  padding: var(--space-16);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.95rem;
  margin-top: var(--space-24);
  color: var(--deep-stone);
}

.checklist-cards-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.checklist-item-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-16);
  background-color: var(--cloud-white);
  border: 1px solid var(--sunwashed-stone);
  border-radius: var(--radius-md);
  padding: var(--space-24);
  box-shadow: 0 4px 12px rgba(23, 48, 51, 0.03);
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--sea-mist);
  color: var(--mediterranean-deep);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.check-body {
  min-width: 0;
}

.check-title {
  font-size: 1.1rem;
  margin-bottom: var(--space-8);
}

/* ==========================================================================
   CTA BANNER CARD
   ========================================================================== */
.cta-banner-card {
  background: linear-gradient(135deg, var(--mediterranean-deep) 0%, var(--coastal-night) 100%);
  color: var(--light-resort-text);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: 0 16px 36px rgba(23, 48, 51, 0.16);
}

.cta-text-content {
  max-width: 720px;
}

.cta-title {
  color: var(--cloud-white);
  margin-bottom: var(--space-16);
}

.cta-lead {
  font-size: 1.15rem;
  color: var(--sea-mist);
  line-height: 1.65;
  margin-bottom: var(--space-32, 32px);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
}

/* ==========================================================================
   SUBPAGE & EDITORIAL LAYOUTS
   ========================================================================== */
.subpage-header-wrapper {
  padding-top: var(--space-40);
  padding-bottom: var(--space-24);
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-size: 0.85rem;
  color: var(--muted-slate);
  margin-bottom: var(--space-16);
}

.breadcrumb-trail a {
  text-decoration: none;
  color: var(--deep-stone);
}

.breadcrumb-trail a:hover {
  color: var(--coral-sun);
}

.subpage-hero-title {
  margin-bottom: var(--space-16);
  max-width: 900px;
}

.subpage-hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--deep-stone);
  max-width: 860px;
  line-height: 1.65;
}

.editorial-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-40);
}

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

.editorial-col p {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* 3-Column Info Cards (Suites & Planning) */
.three-col-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-24);
}

@media (min-width: 768px) {
  .three-col-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info-card {
  background-color: var(--cloud-white);
  border: 1px solid var(--sunwashed-stone);
  border-radius: var(--radius-md);
  padding: var(--space-24);
  box-shadow: 0 4px 14px rgba(23, 48, 51, 0.04);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.info-card-header {
  margin-bottom: var(--space-16);
}

.card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--sea-mist);
  color: var(--mediterranean-deep);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-8);
}

.card-feature-bullets {
  list-style: none;
  margin-top: var(--space-16);
  padding-top: var(--space-16);
  border-top: 1px solid var(--pool-glass);
}

.card-feature-bullets li {
  font-size: 0.9rem;
  color: var(--deep-stone);
  margin-bottom: var(--space-8);
}

/* Responsive Table */
.table-container {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  background-color: var(--cloud-white);
  box-shadow: 0 4px 16px rgba(23, 48, 51, 0.05);
}

.responsive-resort-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.responsive-resort-table th,
.responsive-resort-table td {
  padding: var(--space-16);
  border-bottom: 1px solid var(--pool-glass);
}

.responsive-resort-table th {
  background-color: var(--sea-mist);
  color: var(--coastal-night);
  font-weight: 700;
}

.responsive-resort-table td {
  color: var(--deep-stone);
}

.responsive-resort-table tr:last-child td {
  border-bottom: none;
}

/* Next Step Box */
.next-step-box {
  background: var(--cloud-white);
  border: 1px solid var(--pool-glass);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(23, 48, 51, 0.04);
}

.next-step-box h3 {
  margin-bottom: var(--space-16);
}

.next-step-box p {
  margin-bottom: var(--space-24);
  font-size: 1.05rem;
}

.next-step-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-16);
}

/* ==========================================================================
   LEGAL PAGES LAYOUT
   ========================================================================== */
.legal-content-layout {
  max-width: 860px;
  margin: 0 auto;
}

.legal-glass-card {
  background-color: var(--cloud-white);
  border: 1px solid var(--pool-glass);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 48px);
  box-shadow: 0 6px 20px rgba(23, 48, 51, 0.04);
}

.legal-glass-card h2 {
  margin-top: var(--space-32, 32px);
  margin-bottom: var(--space-16);
  font-size: 1.4rem;
}

.legal-glass-card h2:first-child {
  margin-top: 0;
}

.legal-glass-card p {
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: var(--space-16);
}

.legal-glass-card ul {
  margin-bottom: var(--space-24);
  padding-left: var(--space-24);
}

.legal-glass-card li {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--deep-stone);
  margin-bottom: var(--space-8);
}

.address-callout {
  background-color: var(--sea-mist);
  padding: var(--space-16);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-24);
  font-size: 0.95rem;
}

.cookie-reset-box {
  background-color: var(--resort-white);
  border: 1px dashed var(--pool-aqua);
  padding: var(--space-24);
  border-radius: var(--radius-md);
  margin-top: var(--space-24);
  margin-bottom: var(--space-24);
}

.cookie-status-msg {
  margin-top: var(--space-16);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--garden-teal);
}

/* ==========================================================================
   CONTACT PAGE & MAP
   ========================================================================== */
.contact-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-40);
}

@media (min-width: 860px) {
  .contact-split-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.contact-form-panel {
  background: var(--cloud-white);
  border: 1px solid var(--pool-glass);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 6px 20px rgba(23, 48, 51, 0.04);
}

.contact-form-intro {
  margin-bottom: var(--space-24);
  font-size: 1.02rem;
}

.styled-contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.form-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--coastal-night);
}

.req-star {
  color: var(--coral-sun);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--sunwashed-stone);
  border-radius: var(--radius-sm);
  background-color: var(--resort-white);
  font-family: inherit;
  font-size: 1rem;
  color: var(--resort-ink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--pool-aqua);
  background-color: var(--cloud-white);
  outline: none;
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: var(--coral-sun);
  background-color: #FFF5F2;
}

.form-error-msg {
  display: none;
  font-size: 0.82rem;
  color: #B83A20;
  font-weight: 600;
  margin-top: 2px;
}

.form-error-msg.is-visible {
  display: block;
}

.checkbox-group {
  margin-top: var(--space-8);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-8);
  font-size: 0.88rem;
  color: var(--deep-stone);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.submit-btn {
  margin-top: var(--space-8);
  width: 100%;
  padding: 14px;
  font-size: 1.05rem;
}

.form-success-box {
  background-color: #EEF7EE;
  border: 1.5px solid var(--garden-sage);
  border-radius: var(--radius-md);
  padding: var(--space-16);
  margin-top: var(--space-16);
  color: #244629;
}

.form-success-box[hidden] {
  display: none;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.office-details-card {
  background: var(--cloud-white);
  border: 1px solid var(--pool-glass);
  border-radius: var(--radius-md);
  padding: var(--space-24);
  box-shadow: 0 4px 14px rgba(23, 48, 51, 0.04);
}

.info-card-title {
  margin-bottom: var(--space-16);
}

.office-details-card p {
  font-size: 0.95rem;
  margin-bottom: var(--space-8);
}

.contact-email-line {
  margin-top: var(--space-16);
  font-weight: 600;
}

.hours-note {
  font-size: 0.85rem;
  color: var(--muted-slate);
  margin-top: var(--space-8);
}

/* Styled Static Map Block */
.static-map-shell {
  background: var(--cloud-white);
  border: 1px solid var(--pool-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(23, 48, 51, 0.04);
}

.map-header {
  padding: 12px 16px;
  background-color: var(--resort-white);
  border-bottom: 1px solid var(--pool-glass);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--coastal-night);
}

.static-map-graphic {
  position: relative;
  width: 100%;
  aspect-ratio: 400 / 260;
  background-color: var(--pool-glass);
}

.map-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.map-caption {
  padding: 8px 16px;
  background-color: var(--resort-white);
  font-size: 0.78rem;
  color: var(--muted-slate);
  border-top: 1px solid var(--pool-glass);
}

/* ==========================================================================
   FOOTER COMPONENT
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background-color: var(--coastal-night);
  color: var(--light-resort-text);
  border-top: 3px solid var(--coral-sun);
}

.footer-top-wrapper {
  padding-top: var(--space-64);
  padding-bottom: var(--space-40);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-40);
}

@media (min-width: 860px) {
  .footer-top-wrapper {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cloud-white);
  margin-bottom: var(--space-16);
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--sea-mist);
  line-height: 1.6;
  margin-bottom: var(--space-24);
}

.footer-meta-block p {
  font-size: 0.85rem;
  color: #B5C4C3;
  margin-bottom: 6px;
}

.footer-meta-block a {
  color: var(--pool-aqua);
}

.footer-meta-block a:hover {
  color: var(--coral-sun);
}

.footer-heading {
  color: var(--cloud-white);
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-16);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.footer-links-list a {
  text-decoration: none;
  color: var(--sea-mist);
  font-size: 0.92rem;
  transition: color 0.2s ease, transform 0.15s ease;
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--coral-sun);
  transform: translateX(3px);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(221, 234, 229, 0.12);
  padding-top: var(--space-16);
  padding-bottom: var(--space-24);
  font-size: 0.82rem;
  color: #8E9F9E;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.disclaimer-note {
  font-size: 0.8rem;
  color: #8E9F9E;
  margin-bottom: 0;
}

/* ==========================================================================
   COOKIE BANNER (Fixed Bottom, localStorage managed)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--coastal-night);
  color: var(--light-resort-text);
  border-top: 2px solid var(--pool-aqua);
  padding: var(--space-16);
  z-index: 100;
  box-shadow: 0 -8px 24px rgba(23, 48, 51, 0.2);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-content {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  align-items: flex-start;
}

@media (min-width: 768px) {
  .cookie-banner-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie-banner-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--sea-mist);
  margin-bottom: 0;
  max-width: 720px;
}

.cookie-banner-text a {
  color: var(--citrus-leaf);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cookie-btn-accept {
  background-color: var(--coral-sun);
  color: var(--cloud-white);
}

.cookie-btn-accept:hover {
  background-color: #BD6E57;
}

.cookie-btn-reject {
  background-color: rgba(221, 234, 229, 0.15);
  color: var(--sea-mist);
  border-color: rgba(221, 234, 229, 0.3);
}

.cookie-btn-reject:hover {
  background-color: rgba(221, 234, 229, 0.25);
  color: var(--cloud-white);
}

.cookie-btn-pref {
  background-color: transparent;
  color: var(--pool-aqua);
  border-color: var(--pool-aqua);
}

.cookie-btn-pref:hover {
  background-color: var(--pool-aqua);
  color: var(--cloud-white);
  text-decoration: none;
}

/* ==========================================================================
   BREAKPOINTS DOWN TO 320PX & ACCESSIBILITY GUARDS
   ========================================================================== */
@media (max-width: 400px) {
  :root {
    --space-40: 24px;
    --space-64: 40px;
  }

  .glass-content-panel {
    padding: var(--space-16);
  }

  .resort-photo {
    height: 240px;
  }

  .hero-quick-stats {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }

  .cookie-banner-actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    text-align: center;
    width: 100%;
  }
}