/* ==========================================================================
   saintpeter.bg — Luxury Boutique Hospitality Stylesheet
   Къща за гости „Свети Петър“ (с. Чернево) & Вила „Свети Петър“ (с. Изгрев)
   ========================================================================== */

:root {
  /* Color Palette — Stone, Cypress, Warm Gold */
  --bg-body: #F7F3EC;
  --bg-sand: #EFE9DF;
  --bg-surface: #FFFFFF;
  --bg-dark: #17241E;
  --bg-dark-elev: #203129;
  --bg-dark-soft: #263B31;

  --ink-primary: #1A231E;
  --ink-secondary: #4D5852;
  --ink-muted: #727D76;
  --ink-on-dark: #F4EFE6;
  --ink-on-dark-muted: rgba(244, 239, 230, 0.74);

  --gold: #B68945;
  --gold-light: #D4AE6E;
  --gold-soft: rgba(182, 137, 69, 0.14);
  --terracotta: #8F5A38;

  --border-light: rgba(26, 35, 30, 0.10);
  --border-medium: rgba(26, 35, 30, 0.18);
  --border-dark: rgba(244, 239, 230, 0.16);

  --whatsapp: #25D366;
  --whatsapp-dark: #1EBE5B;
  --viber: #7360F2;
  --viber-dark: #5F4CE0;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing & Layout */
  --container-max: 1260px;
  --container-narrow: 880px;
  --nav-height: 82px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(23, 36, 30, 0.06);
  --shadow-md: 0 14px 40px rgba(23, 36, 30, 0.10);
  --shadow-lg: 0 24px 64px rgba(15, 24, 20, 0.18);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.68;
  color: var(--ink-primary);
  background-color: var(--bg-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* Container */
.container {
  width: min(100% - 2.5rem, var(--container-max));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2.5rem, var(--container-narrow));
  margin-inline: auto;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.6em;
  color: var(--ink-primary);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5.2vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.15rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.95rem); }
h4 { font-size: 1.25rem; }

p {
  margin: 0 0 1.15em;
  color: var(--ink-secondary);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow--center::after {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.lead {
  font-size: clamp(1.04rem, 1.4vw, 1.18rem);
  line-height: 1.75;
  color: var(--ink-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  transition: transform 0.28s var(--ease), background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.28s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--gold);
  color: #FFFFFF;
  box-shadow: 0 10px 26px rgba(182, 137, 69, 0.28);
}

.btn--primary:hover {
  background: #A27636;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(182, 137, 69, 0.36);
}

.btn--dark {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
}

.btn--dark:hover {
  background: var(--bg-dark-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  border-color: var(--border-medium);
  color: var(--ink-primary);
}

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

.btn--outline-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: #FFFFFF;
}

.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
}

.btn--viber {
  background: var(--viber);
  color: #FFFFFF;
}

.btn--viber:hover {
  background: var(--viber-dark);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 900;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header--transparent {
  background: linear-gradient(180deg, rgba(16, 26, 21, 0.72) 0%, rgba(16, 26, 21, 0) 100%);
  color: #FFFFFF;
}

.site-header--solid,
.site-header.is-scrolled {
  background: rgba(247, 243, 236, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink-primary);
  border-bottom-color: var(--border-light);
  box-shadow: 0 6px 24px rgba(23, 36, 30, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-dark);
  border: 1px solid rgba(204, 160, 88, 0.55);
  display: grid;
  place-items: center;
  color: var(--gold-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  flex-shrink: 0;
}

.brand-mark svg {
  width: 24px;
  height: 24px;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.78;
  margin-top: 2px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.91rem;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.28s var(--ease);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-link.is-active {
  color: var(--gold);
}

.site-header--transparent:not(.is-scrolled) .nav-link.is-active {
  color: var(--gold-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(182, 137, 69, 0.45);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.lang-switch a,
.lang-switch span {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-switch .is-current {
  background: var(--gold);
  color: #FFFFFF;
}

.lang-switch a:hover {
  color: var(--gold);
}

.site-header--transparent:not(.is-scrolled) .lang-switch a:hover {
  color: var(--gold-light);
}

.mobile-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.mobile-lang-switch a,
.mobile-lang-switch span {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid var(--border-dark);
}

.mobile-lang-switch .is-current {
  background: var(--gold);
  border-color: var(--gold);
  color: #FFFFFF;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid currentColor;
  border-color: rgba(182, 137, 69, 0.45);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.header-phone:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #FFFFFF;
}

.header-phone svg {
  width: 16px;
  height: 16px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(182, 137, 69, 0.4);
  background: transparent;
  color: inherit;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}

/* Mobile Drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  padding: 28px 24px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.38s var(--ease);
  visibility: hidden;
}

.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-dark);
}

.mobile-nav-close {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border-dark);
  background: transparent;
  color: var(--ink-on-dark);
  display: grid;
  place-items: center;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 28px 0;
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.is-active {
  color: var(--gold-light);
  padding-left: 8px;
}

.mobile-nav-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   Hero — Home Page Full-Bleed Dual Showcase
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 66px;
  color: #FFFFFF;
  overflow: hidden;
  background: var(--bg-dark);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.3s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}

.hero-slide.is-active img {
  transform: scale(1.0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(16, 26, 21, 0.52) 0%, rgba(16, 26, 21, 0.34) 42%, rgba(16, 26, 21, 0.88) 100%),
    radial-gradient(circle at 20% 50%, rgba(16, 26, 21, 0.45), transparent 65%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 36px;
}

.hero-main {
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.hero h1 {
  color: #FFFFFF;
  margin-bottom: 18px;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.32);
}

.hero-lead {
  color: rgba(244, 239, 230, 0.9);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  max-width: 640px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Hero Dual Property Switcher Cards */
.hero-properties {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.hero-prop-card {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 18px 14px 14px;
  border-radius: var(--radius-md);
  background: rgba(23, 36, 30, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #FFFFFF;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, background-color 0.3s ease;
}

.hero-prop-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-light);
  background: rgba(23, 36, 30, 0.88);
}

.hero-prop-thumb {
  width: 112px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
}

.hero-prop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.hero-prop-card:hover .hero-prop-thumb img {
  transform: scale(1.08);
}

.hero-prop-meta {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.hero-prop-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.hero-prop-desc {
  font-size: 0.84rem;
  color: rgba(244, 239, 230, 0.78);
}

.hero-prop-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hero-prop-card:hover .hero-prop-arrow {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateX(3px);
}

.hero-slide-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(16, 26, 21, 0.42);
  backdrop-filter: blur(8px);
}

.hero-dot {
  width: 28px;
  height: 5px;
  border-radius: 5px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.36);
  transition: background-color 0.3s ease, width 0.3s ease;
}

.hero-dot.is-active {
  width: 48px;
  background: var(--gold-light);
}

/* ==========================================================================
   Subpage Hero (Property Pages, Gallery, Contacts, Legal)
   ========================================================================== */
.page-hero {
  position: relative;
  min-height: 54vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 52px;
  color: #FFFFFF;
  background: var(--bg-dark);
  overflow: hidden;
}

.page-hero--compact {
  min-height: 300px;
  padding-bottom: 44px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 26, 21, 0.62) 0%, rgba(16, 26, 21, 0.45) 45%, rgba(16, 26, 21, 0.90) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.page-hero h1 {
  color: #FFFFFF;
  margin-bottom: 14px;
}

.page-hero .lead {
  color: rgba(244, 239, 230, 0.88);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: rgba(244, 239, 230, 0.72);
  margin-bottom: 18px;
}

.breadcrumbs a:hover {
  color: var(--gold-light);
}

.breadcrumbs span[aria-current="page"] {
  color: var(--gold-light);
  font-weight: 600;
}

/* ==========================================================================
   Sections & Layout Primitives
   ========================================================================== */
.section {
  padding: clamp(64px, 8vw, 112px) 0;
}

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

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

.section--dark {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--ink-on-dark);
}

.section--dark p {
  color: var(--ink-on-dark-muted);
}

.section-header {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 58px);
}

.section-header--center {
  text-align: center;
  margin-inline: auto;
}

.section-header--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-header--split > div {
  max-width: 640px;
}

/* Stats Strip */
.stats-strip {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 28px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink-primary);
}

.stat-label {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Property Showcase Cards (Home)
   ========================================================================== */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.property-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.property-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.property-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.property-card:hover .property-card-media img {
  transform: scale(1.05);
}

.property-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pill--glass {
  background: rgba(23, 36, 30, 0.78);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}

.pill--gold {
  background: var(--gold);
  color: #FFFFFF;
}

.pill--soft {
  background: var(--gold-soft);
  color: #8B6428;
}

.property-card-body {
  padding: 30px 30px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.property-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}

.property-card h3 {
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  margin-bottom: 12px;
}

.property-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 18px 0 24px;
  padding: 16px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.spec-item svg {
  width: 17px;
  height: 17px;
  color: var(--gold);
  flex-shrink: 0;
}

.property-card-footer {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ==========================================================================
   Priority Photo Editorial Mosaic (Bento)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.bento-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-dark);
}

.bento-item--lg { grid-column: span 6; grid-row: span 2; }
.bento-item--wide { grid-column: span 6; grid-row: span 1; }
.bento-item--sm { grid-column: span 3; grid-row: span 1; }
.bento-item--md { grid-column: span 4; grid-row: span 1; }

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.bento-item:hover img {
  transform: scale(1.06);
}

.bento-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 36px 18px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(16, 26, 21, 0.85) 100%);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bento-caption span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  font-weight: 700;
}

.bento-caption strong {
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ==========================================================================
   Comparison Table
   ========================================================================== */
.compare-wrap {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.94rem;
}

.compare-table thead th {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  padding: 22px 24px;
}

.compare-table thead th:first-child {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-light);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody td:first-child {
  font-weight: 700;
  color: var(--ink-primary);
  width: 24%;
}

.compare-table tbody tr:nth-child(even) td {
  background: rgba(239, 233, 223, 0.35);
}

/* ==========================================================================
   Features & Amenities Grids
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(182, 137, 69, 0.4);
}

.section--dark .feature-card {
  background: var(--bg-dark-elev);
  border-color: var(--border-dark);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.section--dark .feature-icon {
  background: rgba(212, 174, 110, 0.14);
  color: var(--gold-light);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.93rem;
}

/* Split Editorial Story */
.split-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.split-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.split-media-main {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.split-media-sub {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.split-media [data-lightbox-src] {
  cursor: pointer;
}

.split-media [data-lightbox-src]:hover img {
  transform: scale(1.05);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 22px 0 28px;
  display: grid;
  gap: 12px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--ink-primary);
}

.checklist svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Photo Galleries & Lightbox
   ========================================================================== */
.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-tab {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-medium);
  background: var(--bg-surface);
  color: var(--ink-primary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.gallery-tab:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.gallery-tab.is-active {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: #FFFFFF;
}

.gallery-count {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #E4DDD2;
  border: none;
  padding: 0;
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.gallery-item.is-featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 36, 30, 0) 45%, rgba(23, 36, 30, 0.82) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #FFFFFF;
}

.gallery-item:hover .gallery-item-overlay,
.gallery-item:focus-visible .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(23, 36, 30, 0.72);
  backdrop-filter: blur(6px);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery-item-caption {
  font-size: 0.83rem;
  font-weight: 500;
  line-height: 1.35;
}

.gallery-more-wrap {
  margin-top: 32px;
  text-align: center;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(12, 19, 16, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

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

.lightbox-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFFFF;
  z-index: 5;
}

.lightbox-counter {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-light);
}

.lightbox-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease;
}

.lightbox-close:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.lightbox-stage {
  position: relative;
  max-width: min(92vw, 1280px);
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(23, 36, 30, 0.72);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  z-index: 6;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.lightbox-nav--prev { left: 20px; }
.lightbox-nav--next { right: 20px; }

.lightbox-caption {
  margin-top: 16px;
  text-align: center;
  color: rgba(244, 239, 230, 0.92);
  max-width: 720px;
}

.lightbox-caption small {
  display: block;
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Contact & Booking Section / Form
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: start;
}

.contact-panel {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
}

.contact-panel h2,
.contact-panel h3 {
  color: #FFFFFF;
}

.contact-panel p {
  color: var(--ink-on-dark-muted);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 26px 0 30px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-row-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212, 174, 110, 0.16);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-row-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  font-weight: 700;
}

.contact-row-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
}

.contact-row-value a:hover {
  color: var(--gold-light);
}

.quick-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field--full {
  grid-column: span 2;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--border-medium);
  border-radius: 10px;
  background: var(--bg-body);
  color: var(--ink-primary);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(182, 137, 69, 0.14);
}

.form-field textarea {
  min-height: 112px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--ink-secondary);
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.form-checkbox a {
  color: var(--gold);
  text-decoration: underline;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
}

.form-status.is-success {
  display: block;
  background: #E8F6EE;
  color: #165B33;
  border: 1px solid #B8E2C8;
}

.form-status.is-error {
  display: block;
  background: #FDF0EE;
  color: #8E2B20;
  border: 1px solid #F2C5BE;
}

/* Map Cards */
.maps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.map-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-embed {
  width: 100%;
  height: 310px;
  border: 0;
  display: block;
  background: var(--bg-sand);
}

.map-card-body {
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(44px, 6vw, 72px) clamp(26px, 5vw, 60px);
  background: var(--bg-dark);
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 28px;
  align-items: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(204, 160, 88, 0.24), transparent 55%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #FFFFFF;
  margin-bottom: 10px;
}

.cta-banner p {
  color: var(--ink-on-dark-muted);
  max-width: 580px;
}

.cta-banner-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Legal Document Prose
   ========================================================================== */
.legal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-sm);
}

.legal-card h2 {
  font-size: 1.85rem;
  margin-top: 34px;
  margin-bottom: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--border-light);
}

.legal-card h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-card ul,
.legal-card ol {
  color: var(--ink-secondary);
  padding-left: 22px;
  margin: 0 0 18px;
}

.legal-card li {
  margin-bottom: 8px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  text-align: left;
}

.legal-table th {
  background: var(--bg-sand);
  color: var(--ink-primary);
  font-weight: 700;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  padding: 72px 0 32px;
  border-top: 1px solid rgba(204, 160, 88, 0.25);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-links button {
  font-size: 0.92rem;
  color: var(--ink-on-dark-muted);
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--gold-light);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-dark);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-on-dark);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.social-pill:hover {
  border-color: var(--gold-light);
  background: rgba(212, 174, 110, 0.12);
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--ink-on-dark-muted);
}

.footer-legal-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal-inline a:hover,
.footer-legal-inline button:hover {
  color: var(--gold-light);
}

.footer-legal-inline button {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(244, 239, 230, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  color: var(--ink-on-dark-muted);
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.footer-credit:hover {
  border-color: rgba(212, 174, 110, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-on-dark);
}

.footer-credit strong {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-credit-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.94);
  line-height: 0;
}

.footer-credit-logo img {
  width: 17px;
  height: 14px;
  display: block;
}

/* ==========================================================================
   Floating WhatsApp & Viber Bubble
   ========================================================================== */
.chat-bubble {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.chat-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  opacity: 0;
  transform: translateY(14px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.chat-bubble.is-open .chat-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, filter 0.22s ease;
}

.chat-action:hover {
  transform: translateX(-4px);
  filter: brightness(1.06);
}

.chat-action--whatsapp { background: var(--whatsapp); }
.chat-action--viber { background: var(--viber); }
.chat-action--phone { background: var(--bg-dark); border: 1px solid rgba(204, 160, 88, 0.5); }

.chat-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #25D366 0%, #1EB95C 52%, #7360F2 100%);
  color: #FFFFFF;
  box-shadow: 0 12px 32px rgba(23, 36, 30, 0.30);
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.chat-trigger:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 38px rgba(23, 36, 30, 0.38);
}

.chat-trigger .icon-close {
  display: none;
}

.chat-bubble.is-open .chat-trigger .icon-open {
  display: none;
}

.chat-bubble.is-open .chat-trigger .icon-close {
  display: block;
}

.chat-trigger::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(37, 211, 102, 0.45);
  animation: chatPulse 2.6s infinite;
  pointer-events: none;
}

.chat-bubble.is-open .chat-trigger::before {
  animation: none;
  opacity: 0;
}

@keyframes chatPulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.08); opacity: 0; }
  100% { transform: scale(1.08); opacity: 0; }
}

/* ==========================================================================
   GDPR Cookie Consent Banner & Preferences Modal
   ========================================================================== */
.gdpr-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  max-width: 470px;
  z-index: 1500;
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  border: 1px solid rgba(204, 160, 88, 0.38);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  display: none;
}

.gdpr-banner.is-visible {
  display: block;
  animation: slideUp 0.35s var(--ease);
}

.gdpr-banner h3 {
  color: #FFFFFF;
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.gdpr-banner p {
  font-size: 0.86rem;
  color: var(--ink-on-dark-muted);
  margin-bottom: 18px;
}

.gdpr-banner p a {
  color: var(--gold-light);
  text-decoration: underline;
}

.gdpr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gdpr-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1800;
  background: rgba(12, 19, 16, 0.76);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gdpr-modal-backdrop.is-open {
  display: flex;
}

.gdpr-modal {
  background: var(--bg-surface);
  color: var(--ink-primary);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.gdpr-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.gdpr-modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  background: transparent;
  color: var(--ink-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.gdpr-category {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 12px;
  background: var(--bg-body);
}

.gdpr-category-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.gdpr-category-title {
  font-weight: 700;
  font-size: 0.96rem;
}

.gdpr-category p {
  font-size: 0.85rem;
  margin: 0;
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  inset: 0;
  background: #C5CBC7;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.switch-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #FFFFFF;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.switch input:checked + .switch-slider {
  background: var(--gold);
}

.switch input:checked + .switch-slider::before {
  transform: translateX(20px);
}

.switch input:disabled + .switch-slider {
  opacity: 0.65;
  cursor: not-allowed;
}

.gdpr-modal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-slide img,
  .chat-trigger::before {
    transition: none;
    animation: none;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-desktop,
  .header-phone {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .split-section,
  .contact-grid,
  .cta-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .hero-properties,
  .properties-grid,
  .maps-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
  }
  .bento-item--lg,
  .bento-item--wide,
  .bento-item--sm,
  .bento-item--md {
    grid-column: span 1;
    grid-row: span 1;
  }
  .bento-item--lg {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-item.is-featured {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16 / 10;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-field--full {
    grid-column: span 1;
  }
}

@media (max-width: 560px) {
  :root {
    --nav-height: 72px;
  }
  .container {
    width: min(100% - 1.75rem, var(--container-max));
  }
  .hero-prop-card {
    grid-template-columns: 84px 1fr auto;
    gap: 12px;
    padding: 12px;
  }
  .hero-prop-thumb {
    width: 84px;
    height: 68px;
  }
  .stats-grid,
  .features-grid,
  .footer-grid,
  .property-specs {
    grid-template-columns: 1fr;
  }
  .chat-trigger-label {
    display: none;
  }
  .chat-trigger {
    padding: 0 14px;
    height: 54px;
  }
  .gdpr-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
  .lightbox-nav {
    width: 42px;
    height: 42px;
  }
  .lightbox-nav--prev { left: 10px; }
  .lightbox-nav--next { right: 10px; }
}
