
/* ============================================================
   VILLA AUREA — CSS Theme
   Warm Mediterranean Luxury Editorial
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --primary: #8d6c58;
  --primary-strong: #6f5444;
  --background: #f6f1ec;
  --text: #1f1713;
  --muted: #6c5b51;
  --card: #ffffff;
  --border: #e4d9d0;
  --shadow: 0 1rem 3.75rem rgba(0, 0, 0, 0.08);
  --radius: 1.125rem;
  --header-height: 5.5rem;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 75rem;
  --section-spacing: 6rem;

  --primary-light: color-mix(in srgb, var(--primary) 15%, var(--background));
  --primary-subtle: color-mix(in srgb, var(--primary) 8%, var(--background));
  --text-light: color-mix(in srgb, var(--text) 70%, var(--background));
  --border-light: color-mix(in srgb, var(--border) 60%, var(--background));
  --shadow-lg: 0 1.5rem 3rem -0.75rem var(--shadow), 0 0.5rem 1rem -0.5rem var(--shadow);
  --shadow-sm: 0 0.25rem 0.75rem -0.25rem var(--shadow);
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* ============================================================
   RESET & NORMALIZE
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--background);
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem);
  font-weight: 500;
}

h3 {
  font-size: clamp(1.25rem, 2vw + 0.25rem, 1.75rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.05rem, 1.5vw + 0.25rem, 1.25rem);
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  font-weight: 300;
}

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

strong {
  font-weight: 600;
}

small {
  font-size: 0.85rem;
}

blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--muted);
  border-left: 3px solid var(--primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
}


/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.section {
  padding-block: var(--section-spacing);
  position: relative;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--background);
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-strong);
  border-color: var(--primary-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background-color: transparent;
  color: var(--card);
  border: 2px solid var(--card);
}

.btn-outline:hover {
  background-color: var(--card);
  color: var(--text);
  transform: translateY(-1px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid transparent;
  padding: 0.75rem 1.25rem;
}

.btn-ghost:hover {
  background-color: var(--primary-subtle);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 0.9375rem;
}


/* ============================================================
   ESPA / GRANT BANNER
   ============================================================ */

.grant-banner {
  background-color: var(--primary-strong);
  color: color-mix(in srgb, var(--background) 90%, var(--primary));
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.5rem 1rem;
  position: relative;
  z-index: 1001;
}

.grant-banner a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.grant-banner a:hover {
  color: var(--card);
}

.grant-banner-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: inherit;
  font-size: 1.125rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition);
  padding: 0.25rem;
  line-height: 1;
}

.grant-banner-close:hover {
  opacity: 1;
}

.grant-banner.hidden {
  display: none;
}


/* ============================================================
   HEADER
   ============================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1100;
  transition: all var(--transition-slow);
  background-color: transparent;
}

.grant-banner + .header,
.grant-banner:not(.hidden) ~ .header {
  top: auto;
}

.header-scrolled {
  background-color: color-mix(in srgb, var(--background) 95%, transparent);
  backdrop-filter: blur(1.25rem) saturate(1.2);
  -webkit-backdrop-filter: blur(1.25rem) saturate(1.2);
  box-shadow: 0 1px 0 var(--border-light);
}

/* Solid header for inner pages without hero images */
.header-solid {
  background-color: var(--background);
  box-shadow: 0 1px 0 var(--border-light);
}
.header-solid .header-brand-name { color: var(--text); }
.header-solid .header-nav-link { color: var(--muted); }
.header-solid .header-nav-link:hover,
.header-solid .header-nav-link.active { color: var(--text); }
.header-solid .language-switcher-toggle { color: var(--muted); }
.header-solid .language-switcher-toggle:hover { color: var(--text); }
.header-solid .hamburger-line { background-color: var(--text); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1002;
  flex-shrink: 0;
}

.header-brand-logo {
  height: 2.25rem;
  width: auto;
}

.header-brand-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--card);
  transition: color var(--transition);
}

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

/* Desktop Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header-nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--card) 85%, transparent);
  transition: color var(--transition);
  position: relative;
  padding: 0.25rem 0;
}

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

.header-nav-link:hover,
.header-nav-link.active {
  color: var(--card);
}

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

.header-scrolled .header-nav-link {
  color: var(--muted);
}

.header-scrolled .header-nav-link:hover,
.header-scrolled .header-nav-link.active {
  color: var(--text);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1002;
  flex-shrink: 0;
}

.header-cta {
  font-size: 0.75rem;
  padding: 0.5rem 1.25rem;
  background-color: var(--primary);
  color: var(--background);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.header-cta:hover {
  background-color: var(--primary-strong);
  border-color: var(--primary-strong);
}


/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */

.language-switcher {
  position: relative;
}

.language-switcher-toggle {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--card) 85%, transparent);
  cursor: pointer;
  padding: 0.375rem 0.5rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.header-scrolled .language-switcher-toggle {
  color: var(--muted);
}

.language-switcher-toggle:hover {
  color: var(--card);
}

.header-scrolled .language-switcher-toggle:hover {
  color: var(--text);
}

.language-switcher-toggle svg {
  width: 0.75rem;
  height: 0.75rem;
  transition: transform var(--transition);
}

.language-switcher.open .language-switcher-toggle svg {
  transform: rotate(180deg);
}

.language-switcher-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 8rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition: all var(--transition);
  z-index: 1010;
  overflow: hidden;
}

.language-switcher.open .language-switcher-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-switcher-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text);
  text-align: left;
  transition: background-color var(--transition);
}

.language-switcher-option:hover {
  background-color: var(--primary-subtle);
}

.language-switcher-option.active {
  font-weight: 600;
  color: var(--primary);
}


/* ============================================================
   MOBILE NAVIGATION
   ============================================================ */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  z-index: 1002;
  padding: 0.5rem;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--card);
  transition: all var(--transition);
  transform-origin: center;
}

.header-scrolled .hamburger-line {
  background-color: var(--text);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--text);
}

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

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--text);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--background);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}

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

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(1.5rem);
  transition: all var(--transition);
}

.mobile-nav-overlay.active .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-overlay.active .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(6) { transition-delay: 0.35s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(7) { transition-delay: 0.4s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(8) { transition-delay: 0.45s; }

.mobile-nav-link:hover {
  color: var(--primary);
}

.mobile-nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background-color: var(--primary);
  transition: width var(--transition);
  margin-top: 0.25rem;
}

.mobile-nav-link:hover::after {
  width: 100%;
}


/* ============================================================
   HERO SECTION
   ============================================================ */

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

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

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

.hero-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.05) 40%,
    rgba(0, 0, 0, 0.25) 70%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.hero-content {
  text-align: center;
  color: var(--card);
  max-width: 52rem;
  padding-inline: 1.5rem;
  padding-top: var(--header-height);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--card) 80%, transparent);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw + 1rem, 5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--card);
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  font-weight: 300;
  line-height: 1.7;
  color: color-mix(in srgb, var(--card) 85%, transparent);
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: color-mix(in srgb, var(--card) 60%, transparent);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: gentleBounce 2.5s ease-in-out infinite;
}

@keyframes gentleBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}


/* ============================================================
   SECTION — INTRO
   ============================================================ */

.section-intro {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
}

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

.section-intro .section-heading {
  margin-bottom: 2rem;
}

.section-intro .intro-text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  color: var(--muted);
}

.section-divider {
  width: 3rem;
  height: 1px;
  background-color: var(--primary);
  margin: 2.5rem auto;
}


/* ============================================================
   SECTION — ABOUT
   ============================================================ */

.section-about .about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.section-about .about-content {
  order: 1;
}

.section-about .about-image-wrap {
  order: 2;
  position: relative;
}

.section-about .about-image-wrap::before {
  content: '';
  position: absolute;
  inset: -0.75rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 0.25rem);
  z-index: -1;
}

.section-about .about-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

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

.section-about .about-heading {
  margin-bottom: 1.5rem;
}

.section-about .about-text {
  color: var(--muted);
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.8;
}

.section-about.reverse .about-content {
  order: 2;
}

.section-about.reverse .about-image-wrap {
  order: 1;
}


/* ============================================================
   SECTION — AT A GLANCE
   ============================================================ */

.section-at-a-glance {
  background-color: color-mix(in srgb, var(--primary) 4%, var(--background));
}

.glance-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

.glance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 2rem;
}

.glance-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

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

.glance-item-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-inline: auto;
  margin-bottom: 1rem;
  color: var(--primary);
}

.glance-item-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.375rem;
}

.glance-item-label {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.03em;
}


/* ============================================================
   SECTION — UNITS (Rooms / Suites)
   ============================================================ */

.units-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

.units-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 2rem;
}

.single-unit-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 48rem) {
  .single-unit-layout {
    grid-template-columns: 1fr;
  }
}

.unit-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--card);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  cursor: pointer;
}

.highlight-card { background: color-mix(in srgb, var(--primary) 12%, white); border: 2px solid var(--primary); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.10), 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent); }

.unit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.unit-card-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.unit-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.unit-card:hover .unit-card-image {
  transform: scale(1.04);
}

.unit-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0) 50%
  );
  opacity: 0;
  transition: opacity var(--transition);
}

.unit-card:hover .unit-card-overlay {
  opacity: 1;
}

.unit-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--primary);
  color: var(--background);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius);
}

.unit-card-content {
  padding: 1.5rem;
}

.unit-card-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.unit-card-description {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.unit-card-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.unit-card-meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.unit-card-meta-item svg {
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
}

.unit-card-price {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
}

.unit-card-price span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
}


/* ============================================================
   SECTION — AMENITIES
   ============================================================ */

.amenities-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

.amenities-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 2.5rem;
}

.amenity-group {
  padding: 2rem;
  background-color: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.amenity-group-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.amenity-group-title svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}

.amenity-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-light);
}

.amenity-item::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--primary);
  flex-shrink: 0;
}


/* ============================================================
   SECTION — GALLERY
   ============================================================ */

.gallery-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 13rem;
  gap: 0.75rem;
}

.gallery-grid-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}

.gallery-grid-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

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

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

.gallery-grid-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.3) 0%,
    transparent 40%
  );
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.gallery-grid-item:hover::after {
  opacity: 1;
}

.gallery-grid-item-caption {
  position: absolute;
  bottom: 0.75rem;
  left: 1rem;
  right: 1rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--card);
  opacity: 0;
  transform: translateY(0.5rem);
  transition: all var(--transition);
  z-index: 1;
  pointer-events: none;
}

.gallery-grid-item:hover .gallery-grid-item-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-more {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
}

/* Gallery Unit Sections */
.gallery-unit-section { padding: 48px 0; border-bottom: 1px solid var(--border); }
.gallery-unit-section:last-child { border-bottom: none; }
.gallery-unit-title { font-family: var(--font-display); font-size: 28px; font-weight: 700; margin-bottom: 24px; text-align: center; color: var(--text); }
.gallery-unit-link { text-align: center; margin-top: 24px; }
.gallery-unit-link a { font-size: 15px; font-weight: 600; color: var(--primary); transition: color 0.3s ease; }
.gallery-unit-link a:hover { color: var(--primary-strong); }


/* ============================================================
   SECTION — SERVICES
   ============================================================ */

.services-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.services-column {
  padding: 2.5rem;
  background-color: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.services-column-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.services-column-subtitle {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
  font-weight: 300;
}

.services-items-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}

.service-item:last-child {
  border-bottom: none;
}

.service-item-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-subtle);
  color: var(--primary);
  border-radius: var(--radius);
}

.service-item-icon svg {
  width: 1rem;
  height: 1rem;
}

.service-item-content {
  flex: 1;
}

.service-item-name {
  font-weight: 500;
  font-size: 0.9375rem;
  margin-bottom: 0.125rem;
}

.service-item-desc {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
}

.service-item-price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
}

.servicesSection { padding: 48px 0; background: var(--bg-alt, #f9fafb) }
.servicesSection h2 { margin: 0 0 28px; font-size: 26px; font-weight: 800; letter-spacing: -0.03em }
.servicesGrid { display: grid; grid-template-columns: 1fr; gap: 24px }
.servicesGroup { background: #fff; border: 1px solid var(--border); border-radius: var(--radius, 12px); padding: 28px }
.servicesGroup h3 { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; margin: 0 0 16px }
.servicesFree h3 { color: #16a34a }
.servicesPaid h3 { color: var(--primary, var(--accent)) }
.serviceIcon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px }
.servicesList { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px }
.serviceItem { border-bottom: 1px solid var(--border) }
.serviceHeader { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 0; background: none; border: 0; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--fg); text-align: left; gap: 12px }
.serviceHeader:hover { color: var(--accent2) }
.serviceHeader span { display: flex; align-items: center; gap: 10px }
.serviceChevron { width: 16px; height: 16px; flex-shrink: 0; transition: transform .25s ease; color: var(--muted) }
.serviceHeader[aria-expanded="true"] .serviceChevron { transform: rotate(90deg); color: var(--accent2) }
.serviceAnswer { max-height: 0; overflow: hidden; transition: max-height .3s ease }
.serviceAnswerInner { padding: 0 0 14px; font-size: 13px; color: var(--muted); line-height: 1.6 }
.servicePrice { font-weight: 600; color: var(--accent2) }


/* ============================================================
   SECTION — BOOKING CTA
   ============================================================ */

.section-booking {
  background-color: var(--primary);
  color: var(--background);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-booking::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--primary-strong) 50%, transparent) 0%,
    transparent 60%
  );
}

.section-booking .booking-content {
  position: relative;
  max-width: 40rem;
  margin-inline: auto;
}

.section-booking .booking-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--background) 70%, transparent);
  margin-bottom: 1.25rem;
  display: block;
}

.section-booking .booking-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--background);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-booking .booking-text {
  font-weight: 300;
  color: color-mix(in srgb, var(--background) 80%, transparent);
  margin-bottom: 2rem;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.section-booking .btn-outline {
  border-color: var(--background);
  color: var(--background);
}

.section-booking .btn-outline:hover {
  background-color: var(--background);
  color: var(--primary);
}


/* ============================================================
   SECTION — FAQ
   ============================================================ */

.faq-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

.faq-list {
  max-width: 48rem;
  margin-inline: auto;
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: color var(--transition);
  gap: 1.5rem;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  position: relative;
}

.faq-question-icon::before,
.faq-question-icon::after {
  content: '';
  position: absolute;
  background-color: var(--muted);
  transition: transform var(--transition);
}

.faq-question-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq-question-icon::after {
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.active .faq-question-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 25rem;
}

.faq-answer-inner {
  padding-bottom: 1.5rem;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
}


/* ============================================================
   SECTION — CONTACT
   ============================================================ */

.contact-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

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

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

.contact-info-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-subtle);
  color: var(--primary);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.contact-info-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.5;
}

.contact-info-value a:hover {
  color: var(--primary);
}

.contact-map {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


/* ============================================================
   FORMS
   ============================================================ */

.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 0;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text);
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  transition: border-color var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  border-bottom-color: var(--primary);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 60%, var(--background));
}

.form-textarea {
  resize: vertical;
  min-height: 6rem;
}

.form-submit {
  align-self: flex-start;
  margin-top: 0.5rem;
}


/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background-color: color-mix(in srgb, var(--text) 95%, var(--primary));
  color: color-mix(in srgb, var(--background) 65%, var(--text));
  padding-top: 5rem;
  padding-bottom: 0;
}

.footer a {
  transition: color var(--transition);
}

.footer a:hover {
  color: var(--background);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.25fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer-brand-description {
  font-size: 0.875rem;
  line-height: 1.7;
  font-weight: 300;
  margin-top: 1.25rem;
  max-width: 22rem;
}

.footer-brand-logo {
  height: 2rem;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--background) 45%, var(--text));
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.875rem;
  font-weight: 300;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.footer-contact-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
  opacity: 0.5;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social-link {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--background) 15%, var(--text));
  border-radius: 50%;
  transition: all var(--transition);
}

.footer-social-link:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--background);
}

.footer-social-link svg {
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  border-top: 1px solid color-mix(in srgb, var(--background) 10%, var(--text));
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-text {
  font-size: 0.8125rem;
  font-weight: 300;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.8125rem;
  font-weight: 300;
}


/* ============================================================
   INNER PAGE LAYOUT
   ============================================================ */

main {
  padding-top: var(--header-height);
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--muted);
}

.breadcrumb-separator {
  opacity: 0.4;
  font-size: 0.75rem;
}

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

.breadcrumb-current {
  color: var(--text);
  font-weight: 500;
}


/* ============================================================
   BADGES & TAGS
   ============================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 10rem;
  background-color: var(--primary-subtle);
  color: var(--primary);
}

.badge-outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}

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

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius);
  background-color: var(--primary-subtle);
  color: var(--primary);
  transition: all var(--transition);
}

.tag:hover {
  background-color: var(--primary-light);
}


/* ============================================================
   UNIT DETAIL PAGE
   ============================================================ */

.unit-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.unit-detail-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  align-self: start;
}

.unit-detail-card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2rem);
  margin-bottom: 1.5rem;
}

.unit-detail-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}

.unit-detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.75rem;
}

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

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

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

.unit-detail-ataglance-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.unit-detail-layout-box {
  padding: 1rem;
  background: color-mix(in srgb, var(--primary) 4%, var(--background));
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.unit-detail-layout-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}


/* ============================================================
   LIGHTBOX
   ============================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  backdrop-filter: blur(0.5rem);
  -webkit-backdrop-filter: blur(0.5rem);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  transform: scale(0.95);
  transition: transform var(--transition-slow);
}

.lightbox.active .lightbox-image {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background-color var(--transition);
  z-index: 10001;
}

.lightbox-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  color: white;
  border-radius: 50%;
  font-size: 1.125rem;
  cursor: pointer;
  transition: background-color var(--transition);
}

.lightbox-nav:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  font-weight: 300;
  text-align: center;
  max-width: 32rem;
}

.lightbox-counter {
  position: absolute;
  top: 1.75rem;
  left: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
  font-weight: 400;
}


/* ============================================================
   SCROLL TO TOP
   ============================================================ */

.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--background);
  border-radius: 50%;
  font-size: 1.125rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-sm);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: var(--primary-strong);
  transform: translateY(-2px);
}


/* ============================================================
   LOADING SKELETON
   ============================================================ */

.skeleton {
  position: relative;
  overflow: hidden;
  background-color: var(--border-light);
  border-radius: var(--radius);
}

.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--card) 50%, transparent) 50%,
    transparent 100%
  );
  animation: skeletonShimmer 1.8s ease-in-out infinite;
}

@keyframes skeletonShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.skeleton-image {
  aspect-ratio: 4 / 3;
}

.skeleton-text {
  height: 0.875rem;
  margin-bottom: 0.75rem;
  border-radius: 0.25rem;
}

.skeleton-text:last-child {
  width: 60%;
}

.skeleton-heading {
  height: 1.5rem;
  margin-bottom: 1rem;
  width: 70%;
  border-radius: 0.25rem;
}


/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-2rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(2rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll[data-delay="1"] { transition-delay: 0.1s; }
.animate-on-scroll[data-delay="2"] { transition-delay: 0.2s; }
.animate-on-scroll[data-delay="3"] { transition-delay: 0.3s; }
.animate-on-scroll[data-delay="4"] { transition-delay: 0.4s; }
.animate-on-scroll[data-delay="5"] { transition-delay: 0.5s; }
.animate-on-scroll[data-delay="6"] { transition-delay: 0.6s; }

.animate-on-scroll.slide-left {
  transform: translateX(-2rem);
}

.animate-on-scroll.slide-left.visible {
  transform: translateX(0);
}

.animate-on-scroll.slide-right {
  transform: translateX(2rem);
}

.animate-on-scroll.slide-right.visible {
  transform: translateX(0);
}


/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-muted { color: var(--muted); }
.text-primary { color: var(--primary); }

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

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }


/* ============================================================
   RESPONSIVE — 56.25rem (900px)
   ============================================================ */

@media (max-width: 56.25rem) {
  :root {
    --section-spacing: 4.5rem;
  }

  .header-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .section-about .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .section-about .about-content,
  .section-about .about-image-wrap,
  .section-about.reverse .about-content,
  .section-about.reverse .about-image-wrap {
    order: unset;
  }

  .section-about .about-image-wrap {
    display: none;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 12rem;
  }

  .gallery-grid-item:nth-child(1) {
    grid-column: span 1;
    grid-row: span 1;
  }
}


/* ============================================================
   RESPONSIVE — 48rem (768px)
   ============================================================ */

@media (max-width: 48rem) {
  :root {
    --section-spacing: 3.5rem;
  }

  .hero-content {
    padding-inline: 1rem;
  }

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

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

  .amenities-groups {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .lightbox-nav {
    width: 2.5rem;
    height: 2.5rem;
  }

  .lightbox-prev {
    left: 0.75rem;
  }

  .lightbox-next {
    right: 0.75rem;
  }

  .unit-detail-grid {
    grid-template-columns: 1fr;
  }

  .unit-detail-sidebar {
    position: static;
  }

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


/* ============================================================
   RESPONSIVE — 37.5rem (600px)
   ============================================================ */

@media (max-width: 37.5rem) {
  :root {
    --section-spacing: 3rem;
    --header-height: 3.5rem;
  }

  body {
    font-size: 0.9375rem;
  }

  .hero {
    min-height: calc(100svh - var(--header-height));
  }

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

  .hero-actions .btn {
    width: 100%;
    max-width: 18rem;
  }

  .glance-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .glance-item {
    padding: 1.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
  }

  .glance-item-icon {
    margin: 0;
  }

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

  .gallery-grid-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .services-column {
    padding: 1.5rem;
  }

  .services-items-grid { grid-template-columns: 1fr; }
  .servicesGrid { grid-template-columns: 1fr }
  .servicesList { grid-template-columns: 1fr }

  .faq-question {
    font-size: 1rem;
    padding: 1.25rem 0;
  }

  .scroll-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .breadcrumb {
    font-size: 0.75rem;
    flex-wrap: wrap;
  }

  .grant-banner {
    font-size: 0.6875rem;
    padding: 0.375rem 2.5rem 0.375rem 0.75rem;
    text-align: left;
  }

  .grant-banner-close {
    padding: 0.5rem;
  }

  .gallery-filters {
    flex-wrap: wrap;
    justify-content: center;
  }

  .form-input,
  .form-textarea,
  select {
    font-size: 1rem;
  }

  .faq-item.active .faq-answer {
    max-height: 50rem;
  }
}


/* ============================================================
   PRINT STYLES
   ============================================================ */

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .header,
  .footer,
  .hamburger,
  .mobile-nav-overlay,
  .scroll-to-top,
  .lightbox,
  .grant-banner,
  .section-booking,
  .hero-scroll-indicator {
    display: none !important;
  }

  .hero {
    min-height: auto;
    page-break-after: avoid;
  }

  .hero-background {
    display: none;
  }

  .hero-content {
    color: #000;
    padding: 2rem 0;
  }

  .hero-title,
  .hero-subtitle,
  .hero-description {
    color: #000 !important;
  }

  .section {
    padding: 1.5rem 0;
    page-break-inside: avoid;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  a {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    font-weight: normal;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  h1, h2, h3, h4 {
    page-break-after: avoid;
    color: #000;
  }

  .unit-card {
    page-break-inside: avoid;
    border: 1px solid #ccc;
  }

  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   PROMO MODAL & CORNER BANNERS
   ============================================================ */

/* Corner Banners */
.corner-banner {
    position: fixed;
    z-index: 9000;
    transition: opacity 0.3s, transform 0.3s;
}
.corner-banner--top-left { top: 1rem; left: 1rem; }
.corner-banner--top-right { top: 1rem; right: 1rem; }
.corner-banner--bottom-left { bottom: 1rem; left: 1rem; }
.corner-banner--bottom-right { bottom: 1rem; right: 1rem; }
.corner-banner img {
    display: block;
    max-width: 120px;
    max-height: 100px;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s;
}
.corner-banner img:hover {
    transform: scale(1.05);
}
.corner-banner__close {
    position: absolute;
    top: -0.4rem;
    right: -0.4rem;
    z-index: 2;
    background: var(--card, #fff);
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    font-size: 0.85rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text, #333);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: background 0.2s;
}
.corner-banner__close:hover {
    background: rgba(0, 0, 0, 0.08);
}
 (max-width: 600px) {
    .corner-banner img { max-width: 84px; max-height: 70px; }
    .corner-banner--top-left, .corner-banner--bottom-left { left: 0.5rem; }
    .corner-banner--top-right, .corner-banner--bottom-right { right: 0.5rem; }
}

.promo-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    padding: 1rem;
}
.promo-overlay.active {
    opacity: 1;
    visibility: visible;
}
.promo-modal {
    background: var(--card, #fff);
    border-radius: var(--radius, 1rem);
    max-width: 640px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.2);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: row;
}
.promo-overlay.active .promo-modal {
    transform: translateY(0) scale(1);
}
.promo-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text, #1a1a1a);
    transition: background 0.2s;
}
.promo-close:hover { background: rgba(0, 0, 0, 0.12); }
.promo-image {
    flex: 0 0 45%;
    min-height: 100%;
}
.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.promo-body {
    flex: 1;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 600px) {
    .promo-modal { flex-direction: column; max-width: 92vw; }
    .promo-image { flex: none; max-height: 200px; overflow: hidden; }
}
.promo-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--heading, var(--text, #1a1a1a));
}
.promo-subtitle {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    margin: 0 0 1rem;
}
.promo-desc {
    font-size: 0.95rem;
    color: var(--muted, #666);
    line-height: 1.6;
    margin: 0 0 1.5rem;
}
.promo-cta {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--primary);
    color: #fff;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.promo-cta:hover { opacity: 0.88; }
