/* ==========================================================================
   SVATEJ - PURITY MADE MATTER
   Luxury Real Estate Homepage Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Montserrat:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

@font-face {
  font-family: 'Montserrat Local';
  src: url('../fonts/Montserrat-VariableFont_wght 2.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}


:root {
  --color-primary-dark: #322523;
  --color-primary-brown: #44230C;
  --color-brand-gold: #D8A44A;
  --color-brand-gold-light: #F4C36C;
  --color-brand-gold-pale: #F9D387;
  --color-brand-accent: #E5BF77;
  --color-cream-bg: #FAF7F2;
  --color-light-bg: #FFFFFF;
  --color-text-main: #2A211F;
  --color-text-muted: #6B625E;
  --color-border-gold: #D8A44A;
  --color-border-subtle: #E8E2D9;
  
  --font-heading: 'Montserrat', 'Montserrat Local', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --site-max-width: 1920px;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

button {
  cursor: pointer;
  border: none;
  background: transparent;
  transition: var(--transition-smooth);
}
h1,h2{
  letter-spacing: -2px!important;
}
/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-narrow {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Buttons */
.btn-gold-filled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-brand-gold-light);
  color: #261B16;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.125rem;
  padding: 14px 28px;
  border-radius: 2px;
  letter-spacing: 0.02em;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 14px rgba(216, 164, 74, 0.25);
}

.btn-gold-filled:hover {
  background-color: #e5b356;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 164, 74, 0.35);
}

.btn-gold-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--color-primary-dark);
  border: 1.5px solid var(--color-border-gold);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 28px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

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

/* Header & Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #FFFFFF;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 8px 0;
}

/* WordPress Admin Bar Alignment */
.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
@media screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed;
  }
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  transition: var(--transition-smooth);
}

.site-header.scrolled .nav-wrapper {
  height: 72px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.site-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-box {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #222222;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-enquire {
  border: 1.2px solid var(--color-brand-gold);
  color: #222222;
  font-family: var(--font-body);
  font-size: 014px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  text-transform: uppercase;
  border-radius: 2px;
  background: transparent;
  transition: var(--transition-smooth);
}

.btn-enquire:hover {
  background-color: var(--color-brand-gold);
  color: #FFFFFF;
}

.btn-search {
  border: 1.2px solid var(--color-brand-gold);
  color: #222222;
  font-family: var(--font-body);
  font-size: 014px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  text-transform: uppercase;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  transition: var(--transition-smooth);
}

.btn-search svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-brand-gold);
  stroke-width: 2.2;
}

.btn-search:hover {
  background-color: var(--color-brand-gold);
  color: #FFFFFF;
}

.btn-search:hover svg {
  stroke: #FFFFFF;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--color-primary-dark);
  margin: 6px 0;
  transition: var(--transition-smooth);
}

/* Hero Section */
@keyframes heroFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(32px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-section {
  position: relative;
  min-height: 900px;
  margin-top: 86px;
  display: flex;
  align-items: center;
  background-image: url('../images/hero-bg.webp');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  color: #FFFFFF;
  padding: 80px 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.05) 40%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  /* padding-left: 80px; */
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 3.2vw, 4.2rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
  animation: heroFadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero-title .highlight-gold {
  color: var(--color-brand-gold-pale);
  font-weight: 300;
  display: block;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1vw, 1.4rem);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  max-width: 650px;
  margin-bottom: 30px;
  letter-spacing: 0.01em;
  animation: heroFadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero-content .btn-gold-filled {
  background-color: #E8C582;
  color: #2B1D15;
  font-weight: 500;
  padding: 6px 20px;
  font-size: 1.25rem;
  animation: heroFadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

/* About Philosophy Section */
.philosophy-section {
  padding: 120px 0 90px;
  background-color: #FFFFFF;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.philosophy-left h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.3vw, 2.45rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.03em;
  color: #1A1A1A;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.philosophy-left .gold-text {
  color: #E0A638;
  font-weight: 400;
}

.philosophy-left .desc-text {
  font-family: var(--font-body);
  font-size: 1.18rem;
  font-weight: 300;
  line-height: 1.75;
  color: #4A4441;
  max-width: 780px;
}

.philosophy-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 40px;
  padding-top: 10px;
}

.philosophy-right h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.1vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #1A1A1A;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.philosophy-right p {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 300;
  color: #6E6561;
}
.stats-section {
    position: relative;
    isolation: isolate;
    background: #fff;
    overflow: hidden;
    margin-bottom: 50px;
  position: relative;
  background-color: #FFFFFF;
  padding: 60px 0;
}

.stats-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../images/asset.svg');
    background-repeat: repeat;
    background-size: 50px 55px;
    opacity: 01; /* Adjust opacity here */
    z-index: -1;
    pointer-events: none;
}
/* Key Metrics / Stats Section */
/* .stats-section {
  margin-bottom: 50px;
  position: relative;
  background-color: #FFFFFF;
  padding: 54px 0;
  /* border-top: 1px solid rgba(216, 164, 74, 0.15);
  border-bottom: 1px solid rgba(216, 164, 74, 0.15); */
  /* overflow: hidden;

  background-image: url('../images/Pale.png');
  background-repeat: repeat;
  background-size: 44px 44px;
  background-position: top left;
} */ 
/* 
.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
 
  background-image: url('../images/Pale.png');
  background-size: cover;
  background-repeat: repeat;
  background-position: center center;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
} */

.stats-section .stats-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: 26.8% 26.0% 14.7% 32.5%;
  max-width: 1440px;
  margin: 0 auto;
  border-left: 2px solid rgba(68, 35, 12, 0.35);
  position: relative;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 30px;
  border-right: 2px solid rgba(68, 35, 12, 0.35);
  position: relative;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 3.8vw, 4.6rem);
  font-weight: 600;
  color: var(--color-primary-brown);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.6vw, 1.40rem);
  font-weight: 500;
  color: var(--color-primary-brown);
  line-height: 1.25;
  letter-spacing: -1px;
}

/* SVATEJ SPACE Feature Section */
.svatej-space-section {
  background-color: #F8F5EE;
  padding: 0;
  overflow: hidden;
}

.svatej-space-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 680px;
  align-items: stretch;
}

.space-content-side {
  padding: clamp(60px, 8vw, 140px) clamp(28px, 4.5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.space-category {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 1.9vw, 2.1rem);
  font-weight: 300;
  color: var(--color-primary-brown);
  letter-spacing: -2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.space-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 2.7vw, 2.85rem);
  font-weight: 300;
  line-height: 1.2;
  color: #D8A44A;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 45px;
}

.space-features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.space-feature-item {
  padding-left: 0;
  transition: var(--transition-smooth);
}

.space-feature-item.active .feature-title {
  color: var(--color-primary-brown);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--color-primary-brown);
  margin-bottom: 8px;
  letter-spacing: -2.2px;
}

.feature-desc {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #333333;
  max-width: 350px;
}

.space-nav-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.space-arrow-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid #D8A44A;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-brown);
  transition: var(--transition-smooth);
}

.space-arrow-btn:hover {
  background-color: #D8A44A;
  color: #FFFFFF;
}

.space-arrow-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.space-image-side {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}
.space-slider-img {
  width: 100%;
  height: 680px;
  object-fit: cover;
  display: block;
  transform: translateX(0);
  opacity: 1;
  will-change: transform, opacity;
}
.slider-floating-arrow {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 20;
}

.slider-floating-arrow:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-primary-brown);
}

.slider-floating-arrow svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* PROJECTS Section */
.projects-section {
  padding: 120px 0 120px;
  background-color: #FFFFFF;
}

.section-header-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 300;
  color: var(--color-primary-brown);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-card {
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-image-box {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 24px;
}

.project-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-card:hover .project-image-box img {
  transform: scale(1.05);
}

.project-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.project-title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0px;
  text-transform: uppercase;
  color: #1A1A1A;
  margin-bottom: 12px;
}

.project-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
  color: #555555;
  margin-bottom: 24px;
  max-width: 420px;
}

.project-download-btn {
  border: 1.2px solid var(--color-brand-gold);
  color: #222222;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 10px 36px;
  text-transform: uppercase;
  border-radius: 2px;
  background: transparent;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.project-download-btn:hover {
  background-color: var(--color-brand-gold);
  color: #FFFFFF;
}

/* Architecture Showcase Banner & Site Visit */
/* .architecture-showcase-section {
  padding-bottom: 90px;
} */
.architecture-showcase-section{
  min-height: 740px;
  object-fit: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.showcase-banner-img {
  width: 100%;
  max-height: 740px;
  object-fit: cover;
  display: block;
}

.showcase-action-box {
  text-align: center;
  padding: 50px 20px 20px;
  max-width: 650px;
  margin: 0 auto;
}

.showcase-subtext {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 30px;
}

.btn-schedule-visit {
  border: 1.5px solid var(--color-brand-gold);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6px 68px;
  border-radius: 3px;
  background: transparent;
  transition: var(--transition-smooth);
  display: inline-block;
}

.btn-schedule-visit:hover {
  background-color: var(--color-brand-gold);
  color: #FFFFFF;
}

/* NEWS & UPDATES Section - Interactive Expanding Cards */
.news-section {
  padding: 70px 0 0px;
  background-color: #FFFFFF;
}

.news-cards-accordion {
  display: flex;
  gap: 28px;
  align-items: stretch;
  min-height: 540px;
  width: 100%;
}

.news-accordion-card {
  position: relative;
  flex: 0.85;
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: flex 0.65s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.news-accordion-card.active {
  flex: 3.2;
  cursor: default;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.16);
}

.news-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.news-accordion-card:hover .news-card-bg {
  transform: scale(1.03);
}

.news-accordion-card .news-floating-card {
  position: relative;
  z-index: 10;
  margin-left: 45px;
  width: 420px;
  max-width: 90%;
  background: #FFFFFF;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
  
  /* Hidden until active */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(24px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.news-accordion-card.active .news-floating-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.45s ease 0.22s, transform 0.45s cubic-bezier(0.25, 1, 0.5, 1) 0.22s;
}

.floating-card-body {
  padding: 30px 24px 22px;
}

.news-meta-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.tag-badge {
  background-color: #F0EDE8;
  color: #4A4441;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 3px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.date-text {
  font-size: 0.85rem;
  color: #666666;
  display: flex;
  align-items: center;
  gap: 6px;
}

.date-text svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.floating-card-title {
  font-family: var(--font-body);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.3;
  color: #1A1A1A;
  margin-bottom: 12px;
}

.floating-card-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.5;
  color: #666666;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  border: 1.2px solid var(--color-brand-gold);
  border-radius: 2px;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-read-more svg {
  width: 14px;
  height: 14px;
  stroke: var(--color-brand-gold);
  transition: transform 0.3s ease, stroke 0.3s ease;
}

.btn-read-more:hover {
  background-color: var(--color-brand-gold);
  color: #FFFFFF;
  border-color: var(--color-brand-gold);
}

.btn-read-more:hover svg {
  transform: translateX(4px);
  stroke: #FFFFFF;
}

.floating-card-footer-pattern {
  height: 80px;
  background-color: #262423;
  background-image: url('../images/stats-pattern-clean.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* QUESTIONS & ANSWERS (FAQ) Section */
.faq-section {
  padding: 100px 0 40px;
  background-color: #FFFFFF;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-item {
  border-bottom: 1px solid #ECE7E1;
  padding-bottom: 20px;
  transition: var(--transition-smooth);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  /* padding: 12px 0; */
  background: transparent;
  border: none;
}

.faq-q-text {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.15vw, 1.45rem);
  font-weight: 400;
  color: #1A1A1A;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.faq-icon-box {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background-color: #F5EFEB;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2A211F;
  font-size: 1.5rem;
  font-weight: 300;
  transition: var(--transition-smooth);
}

.faq-item.active .faq-icon-box {
  background-color: var(--color-brand-gold);
  color: #FFFFFF;
  transform: rotate(45deg);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer-panel {
  max-height: 300px;
  padding-top: 16px;
  padding-bottom: 10px;
}

.faq-answer-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: #554E4B;
}

.faq-image-box {
  border-radius: 4px;
  overflow: hidden;
}

.faq-image-box img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: 4px;
}

/* GET IN TOUCH Section */
.contact-section {
  position: relative;
  min-height: 700px;
  background-image: url('../images/contact-balcony.webp');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 80px 0;
}

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(20, 15, 12, 0.5) 50%,
    rgba(20, 15, 12, 0.75) 100%
  );
  pointer-events: none;
}

.contact-card-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 400px;
  margin-right: 190px;
}

.contact-card-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 300;
  color: #F9D387;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(160, 152, 146, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 16px 20px;
  color: #1A1A1A;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: var(--transition-smooth);
  text-align: center;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #332B27;
  opacity: 0.85;
}

.form-group input:focus,
.form-group textarea:focus {
  background: rgba(255, 255, 255, 0.95);
  border-color: #F9D387;
  box-shadow: 0 0 15px rgba(249, 211, 135, 0.3);
}

.form-group textarea {
  resize: vertical;
  height: 50px;
}

.btn-send-message {
  background-color: #F4C36C;
  color: #241A15;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  padding: 16px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: var(--transition-smooth);
  margin-top: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.btn-send-message:hover {
  background-color: #E2B258;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Footer Section */
.site-footer {
  background-color: #FFFFFF;
  padding-top: 90px;
}

.footer-top-grid {
  /* display: grid;
  grid-template-columns: 1.2fr 0.8fr; */
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 70px;
}
.footer-left-col.reveal.revealed{
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.footer-logo {
  height: 54px;
  width: auto;
  margin-bottom: 24px;
}

.footer-address {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #222222;
  margin-bottom: 16px;
  max-width: 480px;
  text-align: center;
}

.footer-email {
  display: block;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: #222222;
  margin-bottom: 26px;
  transition: var(--transition-smooth);
}

.footer-email:hover {
  color: var(--color-brand-gold);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #1A1A1A;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-icon-btn:hover {
  background-color: var(--color-brand-gold);
  transform: translateY(-3px);
}

.social-icon-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-right-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: right;
  justify-content: center;
}

.footer-careers-text {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 1.9vw, 1.95rem);
  font-weight: 600;
  color: #322523;
  margin-bottom: 10px;
  line-height: 1.3;
}

.btn-open-positions {
  background-color: #F4C36C;
  color: #261B16;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  padding: 14px 94px;
  border-radius: 16px;
  letter-spacing: -1px;
  transition: var(--transition-smooth);
  margin-bottom: 30px;
  box-shadow: 0 4px 14px rgba(244, 195, 108, 0.3);
}

.btn-open-positions:hover {
  background-color: #E2B258;
  transform: translateY(-2px);
}

.footer-phone {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 1.8vw, 1.85rem);
  font-weight: 600;
  color: #1A1A1A;
  letter-spacing: 0.02em;
  transition: var(--transition-smooth);
}

.footer-phone:hover {
  color: var(--color-brand-gold);
}

.footer-bottom-pattern-bar {
  height: 100px;
  width: 100%;
  background-color: #272524;
  background-image: url('../images/stats-pattern-clean.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.footer-legal-bar {
  background-color: #1A1817;
  color: #8C8480;
  padding: 18px 40px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 300;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

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

.modal-card {
  background: #FFFFFF;
  border-radius: 8px;
  max-width: 560px;
  width: 100%;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.8rem;
  line-height: 1;
  color: #777;
  cursor: pointer;
  background: none;
  border: none;
}

.modal-close-btn:hover {
  color: #000;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--color-primary-brown);
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 24px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #D8D2C9;
  border-radius: 4px;
  font-size: 1rem;
  outline: none;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  border-color: var(--color-brand-gold);
}

/* Toast Feedback */
.toast-notice {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #2E2523;
  color: #FFFFFF;
  border-left: 4px solid var(--color-brand-gold);
  padding: 16px 24px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   PAGE 1: PROJECTS & SVATEJ LIFE DETAIL
   ========================================================================== */

/* Project Hero */
.project-hero-section {
  position: relative;
  min-height: 800px;
  margin-top: 86px;
  display: flex;
  align-items: center;
  background-image: url('../images/project-hero-bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #FFFFFF;
  padding: 100px 0;
  overflow: hidden;
}

.project-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  pointer-events: none;
}

.project-hero-content {
  position: relative;
  z-index: 10;
  max-width: 960px;
}

.project-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 3.2vw, 4.2rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.project-hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.05vw, 1.35rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  max-width: 750px;
}

/* SVATEJ LIFE Showcase Section (Page 1) */
.svatej-life-showcase-section {
  position: relative;
  min-height: 720px;
  background-image: url('../images/svatej-life-showcase.png');
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 80px 0;
}

.svatej-life-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 360px;
  background-color: var(--color-brand-gold-pale);
  padding: 44px 38px 40px;
  border-radius: 2px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  /* margin-right: 80px; */
}

.svatej-life-card-tag {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: #1A1A1A;
  margin-bottom: 8px;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}

.svatej-life-card-heading {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 18px;
  line-height: 1.25;
}

.svatej-life-card-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.6;
  color: #2A211F;
  margin-bottom: 28px;
}

.btn-download-white {
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #FFFFFF;
  color: #000;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 8px 36px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.btn-download-white:hover {
  background-color: #FFFFFF;
  color: var(--color-primary-brown);
}

/* Upcoming Projects Grid (Page 1) */
.upcoming-projects-section {
  padding: 110px 0;
  background-color: #FFFFFF;
}

.upcoming-section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 2.6vw, 2.6rem);
  font-weight: 300;
  color: var(--color-primary-brown);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 50px;
}

.upcoming-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.upcoming-project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.upcoming-project-card:hover {
  transform: translateY(-6px);
}

.upcoming-project-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 24px;
}

.upcoming-project-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.upcoming-project-card:hover .upcoming-project-img-box img {
  transform: scale(1.05);
}

.upcoming-project-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #1A1A1A;
  margin-bottom: 12px;
}

.upcoming-project-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 24px;
  max-width: 420px;
}

/* Page 1 Contact Section with Left Headline & Floating Form */
.project-contact-section {
  position: relative;
  min-height: 500px;
  background-image: url('../images/project-contact-bg.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 100px 0 100px;
}

.project-contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(20, 15, 12, 0.25) 0%,
    rgba(20, 15, 12, 0.45) 50%,
    rgba(20, 15, 12, 0.7) 100%
  );
  z-index: 1;
}

.project-contact-section .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.project-contact-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
}

.project-contact-left-col {
  flex: 1;
  max-width: 580px;
  padding-bottom: 6px;
}

.project-contact-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 2.2vw, 3.3rem);
  font-weight: 200;
  line-height: 1;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

/* Floating Form (Directly on balcony background - NO white card) */
.project-contact-form-col {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 100px;
}

.project-contact-form-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.2vw, 1.85rem);
  font-weight: 200;
  color: #F9D387;
  text-transform: uppercase;
  /* letter-spacing: 0.08em; */
  text-align: center;
  margin: 0 0 16px 0;
}

.project-contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.p1-form-group {
  width: 100%;
}

.p1-input-field {
  width: 100%;
  height: 44px;
  background-color: #9F9A97;
  border: none;
  border-radius: 10px;
  padding: 0 24px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 300;
  color: #000000;
  text-align: center;
  outline: none;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.p1-input-field::placeholder {
  color: #000000;
  opacity: 0.85;
  font-family: var(--font-heading);
  font-weight: 300;
  text-align: center;
}

.p1-input-field:focus {
  background-color: #B2ADA9;
  box-shadow: 0 0 0 2px #F9D387;
}

.p1-form-submit-group {
  margin-top: 20px;
}

.p1-btn-send {
  width: 100%;
  height: 44px;
  background-color: #F8D286;
  border: none;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 300;
  color: #000000;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.p1-btn-send:hover {
  background-color: #E8BF6C;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(248, 210, 134, 0.45);
}

.p1-btn-send:active {
  transform: translateY(0);
}

/* 2. Lower White Section: Left Logo & Social Icons + Right Contact Details */
.project-contact-info-section {
  padding: 95px 0 85px;
  background-color: #FFFFFF;
}

.project-info-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
}

.project-info-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  max-width: 380px;
}

.project-info-logo-link {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.project-info-logo-link:hover {
  opacity: 0.85;
}

.project-info-logo {
  height: 54px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  display: block;
}

.project-info-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.p1-social-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #181716;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.p1-social-circle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.p1-social-circle:hover {
  background-color: var(--color-brand-gold);
  transform: translateY(-2px);
  color: #FFFFFF;
}

/* Right Details Column */
.project-info-details-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 580px;
}

.project-info-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 2.3vw, 3.2rem);
  font-weight: 200;
  color: var(--color-primary-brown);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 22px 0;
  line-height: 1.1;
}

.project-info-address {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.45;
  color: #000000;
  margin: 0 0 20px 0;
}

.project-info-email {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: #000000;
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.project-info-email:hover {
  color: var(--color-brand-gold);
}

.project-info-phone {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  color: #000000;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.project-info-phone:hover {
  color: var(--color-brand-gold);
}

/* ==========================================================================
   PAGE 2: ABOUT / BRAND VISION HERO PANELS
   ========================================================================== */

.vision-hero-banner {
  position: relative;
  min-height: calc(100vh - 86px);
  min-height: 700px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #FFFFFF;
  padding: 100px 0;
  overflow: hidden;
}

.vision-hero-banner-1 {
  background-image: url('../images/about-vision-bg-2.png');
  margin-top: 86px;
}

.vision-hero-banner-2 {
  background-image: url('../images/about-vision-bg-1.png');
  min-height: 100vh;
}

.vision-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(18, 14, 12, 0.72) 0%,
    rgba(18, 14, 12, 0.48) 45%,
    rgba(18, 14, 12, 0.15) 75%,
    rgba(18, 14, 12, 0.35) 100%
  );
  pointer-events: none;
}

.vision-content {
  position: relative;
  z-index: 10;
  max-width: 820px;
}

.vision-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 3.6vw, 4.1rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -1.2px !important;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.vision-title .gold-part {
  color: var(--color-brand-gold-pale);
  display: block;
  margin-bottom: 4px;
}

.vision-title .white-part {
  color: #FFFFFF;
  display: block;
}

.vision-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.1vw, 1.25rem);
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
  max-width: 480px;
  margin-bottom: 32px;
}

.btn-vision-gold,
.btn-vision-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #F8D286;
  color: #1A1A1A;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
  padding: 13px 36px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.btn-vision-gold:hover,
.btn-vision-pill:hover {
  background-color: #FFE6AA;
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(248, 210, 134, 0.4);
  color: #000000;
}

.btn-vision-gold:active,
.btn-vision-pill:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   PAGE 3: SVATEJ SPACE PHILOSOPHY PILLARS (Full Bleed 3 Rows)
   ========================================================================== */

.space-pillars-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 86px;
}

.space-pillar-row {
  display: flex;
  width: 100%;
  min-height: clamp(650px, 50vw, 876px);
  align-items: stretch;
}

.space-pillar-text-side {
  flex: 0 0 47.2%;
  width: 47.2%;
  background-color: #F8F4EC;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-left: clamp(40px, 6.2vw, 120px);
  padding-right: clamp(24px, 3.5vw, 60px);
  padding-top: clamp(80px, 8vw, 140px);
  padding-bottom: clamp(120px, 11vw, 200px);
  box-sizing: border-box;
}

.space-pillar-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 1.3vw, 2.45rem);
  font-weight: 300;
  color: var(--color-primary-brown);
  letter-spacing: -0.5px;
  margin: 0 0 10px 0;
  line-height: 1.15;
}

.space-pillar-desc {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.15vw, 1.45rem);
  font-weight: 300;
  line-height: 1.15;
  color: #1A1A1A;
  max-width: 500px;
  margin: 0;
}

.space-pillar-image-side {
  flex: 0 0 52.8%;
  width: 52.8%;
  position: relative;
  overflow: hidden;
  background-color: #EFEBE5;
}

.space-pillar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.space-pillar-image-side:hover .space-pillar-img {
  transform: scale(1.02);
}

/* Pillar Interactive Image Slider (svatej-space.html) */
.pillar-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.pillar-slider-arrow svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  transition: transform 0.25s ease;
  pointer-events: none;
}

.pillar-slider-arrow:hover {
  background: #F8D286;
  border-color: #F8D286;
  color: #322523;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

.pillar-slider-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.pillar-slider-next {
  right: clamp(24px, 4.5vw, 68px);
}

.pillar-slider-next:hover svg {
  transform: translateX(2px);
}

.pillar-slider-prev {
  left: clamp(20px, 3.5vw, 44px);
  opacity: 0.85;
}

.pillar-slider-prev:hover svg {
  transform: translateX(-2px);
}

.pillar-slider-dots {
  position: absolute;
  bottom: 24px;
  right: clamp(24px, 4.5vw, 68px);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 25;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.pillar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pillar-dot:hover {
  background: #FFFFFF;
}

.pillar-dot.active {
  width: 22px;
  border-radius: 10px;
  background: #F8D286;
}

/* ==================== SMOOTH SCROLL REVEAL ANIMATIONS ==================== */
html {
  scroll-behavior: smooth;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }
.delay-5 { transition-delay: 0.60s; }

/* Micro-interactions and Hover Polish */
.project-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  padding-bottom:20px; 
}

.project-image-box {
  overflow: hidden;
}

.project-image-box img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-image-box img {
  transform: scale(1.05);
}

.btn-gold-filled,
.btn-gold-outline,
.btn-schedule-visit,
.project-download-btn,
.btn-enquire,
.btn-search {
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gold-filled:hover,
.btn-schedule-visit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(216, 164, 74, 0.3);
}

.space-arrow-btn,
.slider-floating-arrow {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}



.social-icon-btn {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease;
}

.social-icon-btn:hover {
  transform: translateY(-3px);
  background-color: var(--color-brand-gold);
  border-color: var(--color-brand-gold);
}

.social-icon-btn:hover svg {
  fill: #FFFFFF;
}

/* Mobile Drawer & Backdrop */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 1400;
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 380px;
  height: 100%;
  background: #FFFFFF;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 1500;
  transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #333;
  margin-bottom: 30px;
  cursor: pointer;
  line-height: 1;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.mobile-nav-links a {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 500;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.mobile-nav-links a:hover {
  color: var(--color-brand-gold);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Responsive Media Queries */

/* 1. Large Laptops & Desktops (max-width: 1400px) */
@media (max-width: 1400px) {
  .container {
    padding: 0 32px;
  }
  .nav-wrapper {
    padding: 0 32px;
  }
  .nav-box {
    gap: 40px;
  }
  .nav-menu {
    gap: 24px;
  }
  .philosophy-grid {
    gap: 50px;
  }
  .stats-grid {
    max-width: 100%;
  }
  .contact-card-wrapper {
    margin-right: 80px;
  }
}

/* 2. Medium Laptops & Tablets Landscape (max-width: 1200px) */
@media (max-width: 1200px) {
  .container {
    padding: 0 24px;
  }
  .nav-wrapper {
    padding: 0 24px;
  }
  .nav-box {
    gap: 24px;
  }
  .nav-menu {
    gap: 18px;
  }
  .nav-link {
    font-size: 13px;
  }
  .btn-enquire, .btn-search {
    padding: 7px 16px;
    font-size: 0.82rem;
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .philosophy-right {
    padding-left: 0;
    border-left: 3px solid var(--color-brand-gold);
    padding-left: 20px;
  }
  .svatej-space-grid {
    grid-template-columns: 1fr 1fr;
  }
  .news-cards-accordion {
    gap: 18px;
  }
  .news-accordion-card .news-floating-card {
    width: 380px;
    margin-left: 28px;
  }
  .contact-section {
    padding: 70px 0;
  }
  .contact-card-wrapper {
    margin-right: 40px;
  }
}

/* 3. Tablets & iPad Pro/Air (max-width: 1024px) */
@media (max-width: 1024px) {
  .nav-box, .nav-menu, .nav-actions {
    display: none !important;
  }
  .mobile-toggle {
    display: block !important;
  }
  .hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    border-left: 2px solid rgba(68, 35, 12, 0.3);
  }
  .stat-item {
    border-right: 2px solid rgba(68, 35, 12, 0.3);
    border-bottom: 2px solid rgba(68, 35, 12, 0.3);
    padding: 24px 20px;
  }
  .stat-item:nth-child(2n) {
    border-right: none;
  }
  .stat-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .svatej-space-grid {
    grid-template-columns: 1fr;
  }
  .space-content-side {
    padding: 50px 30px;
  }
  .space-image-side {
    min-height: 420px;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .projects-grid .project-card:last-child {
    grid-column: span 2;
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-image-box img {
    height: 380px;
  }
  .contact-section {
    justify-content: center;
    padding: 60px 24px;
  }
  .contact-card-wrapper {
    margin-right: 0;
    max-width: 480px;
    width: 100%;
  }
  .footer-top-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }
  .footer-left-col {
    align-items: center;
    text-align: center;
  }
  .footer-right-col {
    align-items: center;
    text-align: center;
  }
  .project-hero-section,
  .vision-hero-banner-1,
  .space-pillars-container,
  .space-page-header {
    margin-top: 72px;
  }
  .vision-hero-banner {
    min-height: 70vh;
    min-height: 580px;
    padding: 80px 0;
  }
  .vision-hero-banner-1 {
    background-position: 70% center;
  }
  .vision-hero-banner-2 {
    background-position: 50% center;
    min-height: 75vh;
  }
  .vision-title {
    font-size: clamp(2rem, 4.2vw, 3rem);
  }
  .vision-subtitle {
    font-size: 1.05rem;
    max-width: 440px;
    margin-bottom: 28px;
  }
  .btn-vision-gold,
  .btn-vision-pill {
    padding: 12px 34px;
    font-size: 1.05rem;
  }
  .svatej-life-showcase-section {
    justify-content: center;
    padding: 60px 24px;
    background-position: center center;
    min-height: 520px;
  }
  .svatej-life-card {
    margin-right: 0;
    max-width: 540px;
  }
  .upcoming-projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .project-contact-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 48px;
  }
  .project-contact-left-col {
    max-width: 100%;
    text-align: center;
  }
  .project-contact-headline {
    text-align: center;
  }
  .project-info-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 48px;
  }
  .project-info-brand-col {
    align-items: center;
    text-align: center;
  }
  .space-pillar-row {
    flex-direction: column;
    min-height: auto;
  }
  .space-pillar-text-side {
    flex: 0 0 100%;
    width: 100%;
    padding: 60px 30px;
    justify-content: center;
  }
  .space-pillar-image-side {
    flex: 0 0 100%;
    width: 100%;
    min-height: 400px;
  }
  .project-contact-form-col{
    margin-right: 0;
  }
}

/* 4. Small Tablets & Large Phones (max-width: 860px) */
@media (max-width: 860px) {
  .news-cards-accordion {
    flex-direction: column;
    min-height: auto;
    gap: 24px;
  }
  .news-accordion-card {
    flex: none;
    width: 100%;
    min-height: 420px;
  }
  .news-accordion-card .news-floating-card {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    margin: 20px;
    width: calc(100% - 40px);
    max-width: 440px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 32px;
  }
  .projects-grid .project-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }
}

/* 5. Mobile Phones (max-width: 600px) */
@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
  .nav-wrapper {
    height: 68px;
    padding: 0 16px;
  }
  .site-header.scrolled .nav-wrapper {
    height: 60px;
  }
  .site-logo {
    height: 36px;
  }
  .hero-section {
    min-height: 80vh;
    padding: 45px 0;
    margin-top: 68px;
  }
  .hero-content {
    padding-left: 0;
    padding-right: 0;
  }
  .hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.5rem);
    letter-spacing: -1px;
    margin-bottom: 12px;
  }
  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.45;
    margin-bottom: 24px;
  }
  .hero-content .btn-gold-filled {
    padding: 8px 24px;
    font-size: 1.05rem;
  }
  .philosophy-section {
    padding: 50px 0;
  }
  .philosophy-left h2 {
    font-size: clamp(1.25rem, 4.8vw, 1.65rem);
    letter-spacing: -1px !important;
  }
  .philosophy-left .desc-text {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .philosophy-right h3 {
    font-size: 1.25rem;
  }
  .philosophy-right p {
    font-size: 0.98rem;
  }
  .stats-section {
    padding: 28px 0;
    margin-bottom: 30px;
  }
  .stats-grid {
    grid-template-columns: 1fr!important;
    border-left: none!important;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(68, 35, 12, 0.2);
    padding: 16px 0;
  }
  .stat-item:last-child {
    border-bottom: none;
  }
  .stat-number {
    font-size: 2.6rem;
    margin-bottom: 4px;
  }
  .stat-label {
    font-size: 0.95rem;
  }
  .svatej-space-grid {
    min-height: auto;
  }
  .space-content-side {
    padding: 36px 16px;
  }
  .space-category {
    font-size: 1.2rem;
    margin-bottom: 14px;
  }
  .space-heading {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    margin-bottom: 22px;
  }
  .feature-title {
    font-size: 1.35rem;
  }
  .feature-desc {
    font-size: 0.95rem;
    max-width: 100%;
  }
  .space-image-side {
    min-height: 280px;
  }
  .slider-floating-arrow {
    width: 44px;
    height: 44px;
    right: 16px;
  }
  .slider-floating-arrow svg {
    width: 20px;
    height: 20px;
  }
  .projects-section {
    padding: 60px 0;
  }
  .section-header-title {
    font-size: 1.85rem;
    margin-bottom: 28px;
  }
  .project-desc {
    font-size: 0.95rem;
  }
  .project-download-btn {
    padding: 10px 28px;
    font-size: 0.88rem;
  }
  .showcase-banner-img {
    max-height: 320px;
  }
  .showcase-action-box {
    padding: 30px 16px 10px;
  }
  .showcase-subtext {
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 20px;
  }
  .btn-schedule-visit {
    width: 100%;
    max-width: 320px;
    padding: 10px 24px;
    font-size: 1rem;
  }
  .news-section {
    padding: 50px 0 0;
  }
  .news-accordion-card {
    min-height: 400px;
    border-radius: 18px;
  }
  .news-accordion-card .news-floating-card {
    margin: 14px;
    width: calc(100% - 28px);
    max-width: 100%;
  }
  .floating-card-body {
    padding: 20px 16px 16px;
  }
  .floating-card-title {
    font-size: 1.18rem;
    margin-bottom: 8px;
  }
  .floating-card-desc {
    font-size: 0.88rem;
  }
  .btn-read-more {
    margin-top: 14px;
    padding: 6px 14px;
    font-size: 0.75rem;
  }
  .floating-card-footer-pattern {
    height: 54px;
  }
  .faq-section {
    padding: 50px 0 30px;
  }
  .faq-q-text {
    font-size: 1rem;
  }
  .faq-icon-box {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
  .faq-answer-text {
    font-size: 0.92rem;
    line-height: 1.6;
  }
  .faq-image-box img {
    height: 260px;
  }
  .contact-section {
    min-height: auto;
    padding: 40px 16px;
  }
  .contact-card-wrapper {
    padding: 28px 18px;
    max-width: 100%;
    margin: 0;
  }
  .contact-card-title {
    font-size: 1.4rem;
  }
  .form-group input,
  .form-group textarea {
    font-size: 16px;
    padding: 14px 16px;
  }
  .btn-send-message {
    padding: 14px;
    font-size: 1rem;
    width: 100%;
  }
  .site-footer {
    padding-top: 50px;
  }
  .footer-top-grid {
    gap: 30px;
    padding-bottom: 40px;
  }
  .footer-logo {
    height: 42px;
    margin-bottom: 16px;
  }
  .footer-address {
    font-size: 14px;
    line-height: 1.4;
  }
  .footer-email {
    font-size: 1rem;
    margin-bottom: 18px;
  }
  .footer-careers-text {
    font-size: 1.25rem;
  }
  .btn-open-positions {
    padding: 12px 32px;
    font-size: 14px;
    width: 100%;
    max-width: 280px;
    margin-bottom: 20px;
  }
  .footer-phone {
    font-size: 1.35rem;
  }
  .footer-bottom-pattern-bar {
    height: 50px;
  }
  .footer-legal-bar {
    padding: 14px 16px;
    font-size: 0.8rem;
  }
  .modal-overlay {
    padding: 14px;
  }
  .modal-card {
    padding: 24px 16px;
    width: 100%;
    border-radius: 6px;
  }
  .modal-title {
    font-size: 1.4rem;
  }
  .modal-subtitle {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }
  .mobile-nav-drawer {
    width: 85%;
    max-width: 320px;
    padding: 30px 20px;
  }
  .project-hero-section {
    min-height: 75vh;
    padding: 45px 0;
    margin-top: 68px;
  }
  .project-hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.5rem);
    letter-spacing: -1px;
    margin-bottom: 14px;
  }
  .project-hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.5;
  }
  .svatej-life-card {
    padding: 28px 20px;
    max-width: 100%;
  }
  .svatej-life-card-tag {
    font-size: 1.7rem;
  }
  .svatej-life-card-heading {
    font-size: 1.3rem;
  }
  .upcoming-projects-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .upcoming-projects-grid .upcoming-project-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }
  .project-contact-section {
    padding: 70px 0 50px;
    min-height: auto;
  }
  .project-contact-headline {
    font-size: clamp(1.8rem, 6.5vw, 2.3rem);
  }
  .project-contact-form-title {
    font-size: 1.35rem;
    margin-bottom: 14px;
  }
  .p1-input-field,
  .p1-btn-send {
    height: 50px;
    font-size: 1rem;
    border-radius: 12px;
  }
  .project-contact-info-section {
    padding: 60px 0 50px;
  }
  .project-info-logo {
    height: 42px;
  }
  .p1-social-circle {
    width: 40px;
    height: 40px;
  }
  .project-info-heading {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  .project-info-address {
    font-size: 0.98rem;
    margin-bottom: 16px;
  }
  .project-info-email {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  .project-info-phone {
    font-size: 1.35rem;
  }
  .vision-hero-banner {
    min-height: calc(100vh - 68px);
    min-height: 540px;
    padding: 56px 0;
    display: flex;
    align-items: center;
  }
  .vision-hero-banner-1 {
    margin-top: 68px;
    background-position: 68% center;
  }
  .vision-hero-banner-2 {
    min-height: 100vh;
    min-height: 540px;
    background-position: 45% center;
  }
  .vision-overlay {
    background: linear-gradient(
      180deg,
      rgba(18, 14, 12, 0.6) 0%,
      rgba(18, 14, 12, 0.52) 40%,
      rgba(18, 14, 12, 0.78) 100%
    );
  }
  .vision-content {
    max-width: 100%;
  }
  .vision-title {
    font-size: clamp(1.75rem, 6.8vw, 2.35rem);
    line-height: 1.18;
    letter-spacing: -0.5px !important;
    margin-bottom: 18px;
  }
  .vision-subtitle {
    font-size: clamp(0.95rem, 3.2vw, 1.05rem);
    line-height: 1.5;
    max-width: 100%;
    margin-bottom: 26px;
  }
  .btn-vision-gold,
  .btn-vision-pill {
    font-size: 1rem;
    padding: 12px 30px;
    width: auto;
  }
  .space-pillars-container {
    margin-top: 68px;
  }
  .space-page-header {
    padding: 50px 16px 36px;
    margin-top: 68px;
  }
  .space-page-title {
    font-size: 1.75rem;
  }
  .space-pillar-text-side {
    padding: 36px 18px;
  }
  .space-pillar-title {
    font-size: 1.4rem;
  }
  .space-pillar-image-side {
    min-height: 280px;
  }
  .pillar-slider-arrow {
    width: 44px;
    height: 44px;
  }
  .pillar-slider-arrow svg {
    width: 20px;
    height: 20px;
  }
  .pillar-slider-next {
    right: 16px;
  }
  .pillar-slider-prev {
    left: 16px;
  }
  .pillar-slider-dots {
    bottom: 16px;
    right: 16px;
    padding: 4px 8px;
  }
}

/* 6. Extra Small Screens (max-width: 380px) */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.65rem;
  }
  .stat-number {
    font-size: 2.2rem;
  }
  .stat-label {
    font-size: 0.85rem;
  }
  .btn-gold-filled,
  .hero-content .btn-gold-filled {
    padding: 8px 18px;
    font-size: 0.95rem;
  }
  .btn-read-more {
    padding: 5px 12px;
    font-size: 0.72rem;
  }
}

/* 7. Mobile Landscape Height (max-height: 550px) */
@media (max-height: 550px) {
  .hero-section {
    min-height: auto;
    padding: 80px 0 40px;
  }
  .mobile-nav-drawer {
    overflow-y: auto;
  }
  .mobile-nav-links {
    gap: 14px;
    margin-bottom: 20px;
  }
  .modal-card {
    max-height: 88vh;
    padding: 20px;
  }
}

/* ==========================================================================
   SVATEJ - BREADCRUMB & SUBPAGE HERO COMPONENTS
   ========================================================================== */

.subpage-hero {
  position: relative;
  min-height: 420px;
  margin-top: 86px;
  display: flex;
  align-items: center;
  background-color: var(--color-primary-dark);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #FFFFFF;
  padding: 80px 0 60px;
  overflow: hidden;
}

.subpage-hero.blog-hero {
  background-image: url('../images/architecture-showcase.webp');
}

.subpage-hero.contact-hero {
  background-image: url('../images/contact-balcony.webp');
}

.subpage-hero.blog-detail-hero-banner {
  background-image: url('../images/hero-bg.webp');
  min-height: 380px;
}

.subpage-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(38, 27, 22, 0.92) 0%,
    rgba(50, 37, 35, 0.82) 50%,
    rgba(20, 15, 12, 0.90) 100%
  );
  z-index: 1;
}

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

.subpage-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand-gold-pale);
  margin-bottom: 18px;
}

.subpage-breadcrumb a {
  color: #FFFFFF;
  opacity: 0.75;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.subpage-breadcrumb a:hover {
  opacity: 1;
  color: var(--color-brand-gold);
}

.subpage-breadcrumb .crumb-separator {
  opacity: 0.45;
}

.subpage-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-brand-gold);
  background: rgba(216, 164, 74, 0.12);
  border: 1px solid rgba(216, 164, 74, 0.35);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.subpage-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  color: #FFFFFF;
  letter-spacing: -1.5px !important;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.subpage-title .gold-accent {
  color: var(--color-brand-gold-pale);
  font-weight: 400;
}

.subpage-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 300;
  line-height: 1.65;
  color: #ECE7E1;
  max-width: 760px;
}

/* ==========================================================================
   SVATEJ - BLOG LISTING PAGE STYLES
   ========================================================================== */

.blog-listing-section {
  padding: 80px 0 100px;
  background-color: #FAF7F2;
}

/* Featured Spotlight Article Card */
.featured-spotlight-wrapper {
  margin-bottom: 60px;
}

.featured-article-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(50, 37, 35, 0.08);
  border: 1px solid #ECE7E1;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}

.featured-article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(50, 37, 35, 0.14);
}

.featured-img-box {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.featured-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-article-card:hover .featured-img-box img {
  transform: scale(1.05);
}

.featured-badge-pill {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--color-brand-gold);
  color: #241A15;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.featured-content-box {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.featured-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.featured-meta svg {
  width: 15px;
  height: 15px;
  stroke: var(--color-brand-gold);
}

.featured-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  font-weight: 400;
  color: var(--color-primary-dark);
  line-height: 1.25;
  letter-spacing: -0.5px !important;
  margin-bottom: 18px;
  transition: color 0.3s ease;
}

.featured-article-card:hover .featured-title {
  color: var(--color-primary-brown);
}

.featured-excerpt {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: #554E4B;
  margin-bottom: 28px;
}

/* Category Filter Bar */
.blog-filter-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid #E8E2D9;
}

.blog-category-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-cat-btn {
  background: transparent;
  color: #554E4B;
  border: 1px solid #DDD6CE;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 9px 20px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-cat-btn:hover {
  border-color: var(--color-brand-gold);
  color: var(--color-primary-dark);
  background: rgba(216, 164, 74, 0.08);
}

.blog-cat-btn.active {
  background: var(--color-primary-dark);
  color: #FFFFFF;
  border-color: var(--color-primary-dark);
  box-shadow: 0 4px 14px rgba(50, 37, 35, 0.2);
}

.blog-search-wrapper {
  position: relative;
  min-width: 280px;
}

.blog-search-input {
  width: 100%;
  padding: 10px 42px 10px 18px;
  border: 1px solid #DDD6CE;
  border-radius: 24px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-text-main);
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-search-input:focus {
  border-color: var(--color-brand-gold);
  box-shadow: 0 0 0 3px rgba(216, 164, 74, 0.18);
}

.blog-search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  stroke: #888;
  pointer-events: none;
}

/* Blog Cards Grid */
.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.blog-card {
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ECE7E1;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(50, 37, 35, 0.1);
  border-color: rgba(216, 164, 74, 0.4);
}

.blog-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #ECE7E1;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.08);
}

.blog-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  color: var(--color-primary-brown);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  border-left: 3px solid var(--color-brand-gold);
}

.blog-card-body {
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.blog-card-meta svg {
  width: 14px;
  height: 14px;
  stroke: var(--color-brand-gold);
  vertical-align: -2px;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
  letter-spacing: -0.3px !important;
  transition: color 0.25s ease;
}

.blog-card:hover .blog-card-title {
  color: var(--color-brand-gold);
}

.blog-card-excerpt {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.65;
  color: #665F5C;
  margin-bottom: 22px;
  flex-grow: 1;
}

.blog-card-footer {
  padding-top: 16px;
  border-top: 1px solid #F0EAE1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-story-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary-dark);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-story-link svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-brand-gold);
  stroke-width: 2.2;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .btn-story-link {
  color: var(--color-brand-gold);
}

.blog-card:hover .btn-story-link svg {
  transform: translateX(6px);
}

/* Empty search state */
.blog-empty-state {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
  display: none;
}

.blog-empty-state h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.blog-empty-state p {
  color: var(--color-text-muted);
}

/* Blog Newsletter Dispatch Section */
.blog-newsletter-section {
  background: var(--color-primary-dark);
  border-radius: 8px;
  padding: 56px 60px;
  color: #FFFFFF;
  margin: 60px 0 30px;
  border: 1px solid rgba(216, 164, 74, 0.35);
  box-shadow: 0 16px 40px rgba(20, 15, 12, 0.25);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.newsletter-info h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 300;
  color: #FFFFFF;
  line-height: 1.25;
  letter-spacing: -0.5px !important;
  margin-bottom: 12px;
}

.newsletter-info p {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: #DDD6CE;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-direction: column;
}

.newsletter-input-group {
  display: flex;
  gap: 10px;
}

.newsletter-input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 14px 20px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #FFFFFF;
  outline: none;
  transition: all 0.3s ease;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--color-brand-gold);
  box-shadow: 0 0 12px rgba(216, 164, 74, 0.3);
}

.newsletter-note {
  font-size: 0.78rem;
  color: #A9A29D;
  margin-top: 4px;
}

/* Pagination */
.blog-pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.page-num-btn {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  border: 1px solid #DDD6CE;
  background: #FFFFFF;
  color: var(--color-primary-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.page-num-btn:hover {
  border-color: var(--color-brand-gold);
  color: var(--color-brand-gold);
}

.page-num-btn.active {
  background: var(--color-brand-gold);
  color: #241A15;
  border-color: var(--color-brand-gold);
  font-weight: 600;
}

/* ==========================================================================
   SVATEJ - BLOG DETAIL PAGE STYLES (SINGLE PAGE FOR ALL)
   ========================================================================== */

/* Reading progress bar at very top */
#readingProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #D8A44A, #F4C36C, #F9D387);
  z-index: 9999;
  transition: width 0.1s ease-out;
}

.blog-detail-section {
  padding: 60px 0 100px;
  background-color: #FFFFFF;
}

/* Article Hero Header */
.article-header-wrapper {
  max-width: 960px;
  margin: 0 auto 40px;
  text-align: center;
}

.article-hero-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.article-cat-pill {
  background: rgba(216, 164, 74, 0.15);
  color: #D8A44A;
  border: 1px solid var(--color-brand-gold);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
}

.article-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-primary-dark);
  letter-spacing: -1.2px !important;
  margin-bottom: 22px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}

.article-meta-bar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.article-meta-bar svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-brand-gold);
}

/* Article Hero Featured Image */
.article-featured-media-box {
  max-width: 1200px;
  margin: 0 auto 60px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(50, 37, 35, 0.12);
}

.article-featured-media-box img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  display: block;
}

.article-media-caption {
  background: #FAF7F2;
  padding: 14px 24px;
  font-size: 0.85rem;
  color: #776F6C;
  font-style: italic;
  border-left: 3px solid var(--color-brand-gold);
}

/* Two-column Article Layout: Content (Left) + Sidebar (Right) */
.article-grid-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* Sticky Right Sidebar */
.article-sidebar-col {
  position: relative;
}

.sticky-sidebar-inner {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-widget {
  background: #FAF7F2;
  border-radius: 6px;
  padding: 24px;
  border: 1px solid #ECE7E1;
}

.sidebar-widget-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-brand-gold);
}

.toc-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toc-nav-list a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #665F5C;
  line-height: 1.45;
  display: block;
  transition: all 0.25s ease;
  padding-left: 8px;
  border-left: 2px solid transparent;
}

.toc-nav-list a:hover {
  color: var(--color-brand-gold);
  border-left-color: var(--color-brand-gold);
  transform: translateX(4px);
}

/* Share icons */
.share-buttons-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #DDD6CE;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.share-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.share-btn:hover {
  background: var(--color-brand-gold);
  color: #241A15;
  border-color: var(--color-brand-gold);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(216, 164, 74, 0.3);
}

/* ==========================================================================
   SVATEJ RECENT POSTS & WORDPRESS SIDEBAR WIDGETS
   ========================================================================== */
.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recent-post-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ECE7E1;
  transition: transform 0.25s ease;
}

.recent-post-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.recent-post-item:hover {
  transform: translateX(4px);
}

.recent-post-thumb {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 4px;
  overflow: hidden;
  background: #E8E2D9;
  display: block;
}

.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.recent-post-item:hover .recent-post-thumb img {
  transform: scale(1.08);
}

.recent-post-info {
  flex: 1;
  min-width: 0;
}

.recent-post-date {
  display: block;
  font-size: 0.78rem;
  color: #8C827A;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  font-weight: 500;
}

.recent-post-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.38;
  margin: 0;
}

.recent-post-title a {
  color: #322523;
  text-decoration: none;
  transition: color 0.25s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recent-post-title a:hover {
  color: var(--color-brand-gold);
}

/* Standard WordPress Widgets Styling in SVATEJ Sidebar */
.sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-widget ul li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #665F5C;
  line-height: 1.45;
  padding-bottom: 8px;
  border-bottom: 1px dashed #ECE7E1;
  transition: all 0.2s ease;
}

.sidebar-widget ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-widget ul li a {
  color: #322523;
  text-decoration: none;
  transition: color 0.2s ease, padding 0.2s ease;
}

.sidebar-widget ul li a:hover {
  color: var(--color-brand-gold);
  padding-left: 4px;
}

.sidebar-widget .wp-block-search__input,
.sidebar-widget input[type="search"],
.sidebar-widget input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  background: #FFFFFF;
  border: 1px solid #DDD6CE;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #322523;
  outline: none;
  transition: border-color 0.25s ease;
}

.sidebar-widget .wp-block-search__input:focus,
.sidebar-widget input[type="search"]:focus,
.sidebar-widget input[type="text"]:focus {
  border-color: var(--color-brand-gold);
}

.sidebar-widget .wp-block-search__button,
.sidebar-widget button[type="submit"],
.sidebar-widget input[type="submit"] {
  margin-top: 8px;
  width: 100%;
  padding: 10px 16px;
  background: var(--color-primary-dark);
  color: #FFFFFF;
  border: 1px solid var(--color-brand-gold);
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sidebar-widget .wp-block-search__button:hover,
.sidebar-widget button[type="submit"]:hover {
  background: var(--color-brand-gold);
  color: #241A15;
}

.sidebar-widget .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-widget .tagcloud a {
  display: inline-block;
  padding: 4px 12px;
  background: #FFFFFF;
  border: 1px solid #DDD6CE;
  border-radius: 20px;
  font-size: 0.78rem !important;
  color: #554C48;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sidebar-widget .tagcloud a:hover {
  background: var(--color-brand-gold);
  color: #241A15;
  border-color: var(--color-brand-gold);
}

/* Main Prose Body */
.article-prose-body {
  font-family: var(--font-body);
  font-size: 1.12rem;
  line-height: 1.85;
  color: #38312E;
}

.article-lead-p {
  font-size: 1.32rem;
  font-weight: 300;
  line-height: 1.7;
  color: #221B19;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid #ECE7E1;
}

.article-prose-body p {
  margin-bottom: 24px;
}

.article-prose-body h2 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-primary-dark);
  letter-spacing: -0.6px !important;
  margin: 44px 0 18px;
  position: relative;
  padding-bottom: 10px;
}

.article-prose-body h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background-color: var(--color-brand-gold);
}

.article-prose-body h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-primary-brown);
  margin: 32px 0 14px;
}

/* Pullquote */
.article-pullquote {
  margin: 38px 0;
  padding: 30px 36px;
  background: #FAF7F2;
  border-left: 4px solid var(--color-brand-gold);
  border-radius: 0 6px 6px 0;
  position: relative;
}

.pullquote-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--color-primary-dark);
  font-style: italic;
  margin-bottom: 12px;
}

.pullquote-author {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-brand-gold);
}

/* Inline images in article */
.article-inline-image {
  margin: 36px 0;
  border-radius: 6px;
  overflow: hidden;
}

.article-inline-image img {
  width: 100%;
  border-radius: 6px;
}

/* Dual image side by side */
.article-image-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 36px 0;
}

.article-image-grid-2 img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 6px;
}

/* The SVATEJ Perspective / Key Takeaways Callout */
.article-takeaways-box {
  background: linear-gradient(135deg, #FAF7F2 0%, #F5EFE6 100%);
  border: 1.5px solid var(--color-brand-gold);
  border-radius: 8px;
  padding: 36px;
  margin: 44px 0;
  box-shadow: 0 8px 24px rgba(216, 164, 74, 0.1);
}

.takeaways-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary-brown);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.takeaways-heading svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-brand-gold);
}

.takeaways-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.takeaways-list li {
  position: relative;
  padding-left: 28px;
  font-size: 1.05rem;
  color: #38312E;
}

.takeaways-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-brand-gold);
  font-weight: bold;
}

/* Author Bio Box */
.article-author-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  background: #FAF7F2;
  border-radius: 8px;
  border: 1px solid #ECE7E1;
  margin: 50px 0 40px;
}

.author-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--color-primary-dark);
  color: var(--color-brand-gold-pale);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--color-brand-gold);
}

.author-details h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}

.author-role {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-brand-gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.author-details p {
  font-size: 0.92rem;
  color: #665F5C;
  line-height: 1.55;
  margin-bottom: 0;
}

/* Article Prev/Next Navigation Pager */
.article-nav-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid #ECE7E1;
  border-bottom: 1px solid #ECE7E1;
  margin: 40px 0;
}

.pager-item {
  padding: 18px 22px;
  background: #FAF7F2;
  border-radius: 6px;
  border: 1px solid #ECE7E1;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.pager-item:hover {
  background: #FFFFFF;
  border-color: var(--color-brand-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(50, 37, 35, 0.08);
}

.pager-direction {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-gold);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pager-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary-dark);
  line-height: 1.35;
}

/* Article In-Page CTA */
.article-cta-box {
  background: var(--color-primary-dark);
  border-radius: 8px;
  padding: 44px;
  color: #FFFFFF;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.article-cta-text h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 300;
  color: #FFFFFF;
  letter-spacing: -0.5px !important;
  margin-bottom: 8px;
}

.article-cta-text p {
  color: #DDD6CE;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.article-cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

/* Related Articles Section */
.related-articles-section {
  padding: 80px 0 100px;
  background: #FAF7F2;
  border-top: 1px solid #ECE7E1;
}

.related-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.related-section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--color-primary-dark);
  letter-spacing: -1px !important;
  margin-bottom: 10px;
}

/* ==========================================================================
   SVATEJ - CONTACT US PAGE STYLES
   ========================================================================== */

.contact-page-section {
  padding: 70px 0 100px;
  background-color: #FAF7F2;
}

/* 4 Direct Contact Channels Cards */
.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.contact-channel-card {
  background: #FFFFFF;
  border: 1px solid #ECE7E1;
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 24px rgba(50, 37, 35, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.contact-channel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(50, 37, 35, 0.1);
  border-color: var(--color-brand-gold);
}

.channel-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(216, 164, 74, 0.12);
  border: 1px solid rgba(216, 164, 74, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--color-brand-gold);
  transition: all 0.3s ease;
}

.contact-channel-card:hover .channel-icon-circle {
  background: var(--color-brand-gold);
  color: #241A15;
  transform: scale(1.08);
}

.channel-icon-circle svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.channel-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.channel-card-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: #665F5C;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.channel-card-link {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-brand-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.channel-card-link:hover {
  color: var(--color-primary-brown);
}

/* Two-column Contact Main Split Section */
.contact-main-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  margin-bottom: 70px;
}

/* Left: Luxury Contact Form Card (Inspired by Home Page) */
.contact-form-card {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 48px;
  border: 1px solid #ECE7E1;
  box-shadow: 0 14px 40px rgba(50, 37, 35, 0.06);
}

.form-header-block {
  margin-bottom: 32px;
}

.form-header-badge {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-brand-gold);
  margin-bottom: 8px;
  display: block;
}

.form-header-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-primary-dark);
  letter-spacing: -0.8px !important;
  margin-bottom: 10px;
}

.form-header-desc {
  font-size: 0.98rem;
  color: #665F5C;
  line-height: 1.6;
}

.luxury-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary-dark);
  letter-spacing: 0.02em;
}

.contact-field-input,
.contact-field-select,
.contact-field-textarea {
  width: 100%;
  background: #FAF7F2;
  border: 1.5px solid #DDD6CE;
  border-radius: 4px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #2A211F;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.contact-field-input::placeholder,
.contact-field-textarea::placeholder {
  color: #8C847F;
}

.contact-field-input:focus,
.contact-field-select:focus,
.contact-field-textarea:focus {
  background: #FFFFFF;
  border-color: var(--color-brand-gold);
  box-shadow: 0 0 0 3px rgba(216, 164, 74, 0.2);
}

.contact-field-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #776F6C;
}

.form-checkbox-row input {
  margin-top: 3px;
  accent-color: var(--color-brand-gold);
}

.btn-contact-submit {
  background-color: var(--color-brand-gold-light);
  color: #241A15;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 18px rgba(216, 164, 74, 0.3);
  margin-top: 6px;
}

.btn-contact-submit:hover {
  background-color: var(--color-brand-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(216, 164, 74, 0.4);
}

.btn-contact-submit svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
}

/* Right: Map & Location Showcase Card */
.contact-location-card {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 36px;
  border: 1px solid #ECE7E1;
  box-shadow: 0 14px 40px rgba(50, 37, 35, 0.06);
  display: flex;
  flex-direction: column;
}

.location-card-header {
  margin-bottom: 24px;
}

.location-badge {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-brand-gold);
  margin-bottom: 6px;
  display: block;
}

.location-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-primary-dark);
  letter-spacing: -0.5px !important;
  margin-bottom: 8px;
}

.location-address {
  font-size: 0.95rem;
  color: #665F5C;
  line-height: 1.5;
}

.contact-map-frame-box {
  width: 100%;
  height: 280px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #E2DCD5;
  margin-bottom: 24px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.location-hours-box {
  background: #FAF7F2;
  border-radius: 6px;
  padding: 18px 20px;
  border-left: 3px solid var(--color-brand-gold);
  margin-bottom: 24px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #554E4B;
  padding: 10px 0;
}

.hours-row strong {
  color: var(--color-primary-dark);
}

.location-quick-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.btn-map-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.25s ease;
}

.btn-map-directions {
  background: var(--color-primary-dark);
  color: #FFFFFF;
}

.btn-map-directions:hover {
  background: var(--color-primary-brown);
  transform: translateY(-2px);
}

.btn-map-whatsapp {
  background: #25D366;
  color: #FFFFFF;
}

.btn-map-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
}

/* Site Visit Reassurance Banner */
.contact-visit-banner {
  background-image: url('../images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  padding: 60px 50px;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  margin-bottom: 60px;
  box-shadow: 0 16px 40px rgba(50, 37, 35, 0.15);
}

.visit-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(38, 27, 22, 0.94) 0%,
    rgba(50, 37, 35, 0.86) 60%,
    rgba(20, 15, 12, 0.75) 100%
  );
  z-index: 1;
}

.visit-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.visit-banner-text h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 300;
  color: #FFFFFF;
  letter-spacing: -0.8px !important;
  margin-bottom: 10px;
}

.visit-banner-text p {
  font-size: 1.05rem;
  color: #ECE7E1;
  max-width: 620px;
}

/* Contact FAQ Section */
.contact-faq-wrapper {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 50px 40px;
  border: 1px solid #ECE7E1;
}

.contact-faq-header {
  text-align: center;
  margin-bottom: 36px;
}

.contact-faq-header h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 300;
  color: var(--color-primary-dark);
  letter-spacing: -0.8px !important;
}

/* ==========================================================================
   RESPONSIVE ENHANCEMENTS FOR BLOG & CONTACT PAGES
   ========================================================================== */

@media (max-width: 1200px) {
  .featured-article-card {
    grid-template-columns: 1fr;
  }
  .featured-img-box {
    min-height: 320px;
  }
  .featured-content-box {
    padding: 36px 30px;
  }
  .blog-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .article-grid-layout {
    grid-template-columns: 1fr 300px;
    gap: 40px;
  }
  .contact-channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-main-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 1024px) {
  .project-hero-section{
    min-height: 520px;
  }
}

@media (max-width: 992px) {
  .article-grid-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .article-content-col {
    order: 1;
  }
  .article-sidebar-col {
    order: 2;
  }
  .sticky-sidebar-inner {
    position: static;
  }
  .blog-newsletter-section {
    grid-template-columns: 1fr;
    padding: 40px 30px;
    gap: 24px;
  }
  .visit-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .subpage-hero {
    min-height: 340px;
    padding: 60px 0 40px;
  }
  .blog-cards-grid {
    grid-template-columns: 1fr;
  }
  .blog-filter-section {
    flex-direction: column;
    align-items: stretch;
  }
  .blog-search-wrapper {
    min-width: 100%;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-form-card {
    padding: 30px 20px;
  }
  .contact-location-card {
    padding: 26px 20px;
  }
  .article-nav-pager {
    grid-template-columns: 1fr;
  }
  .article-cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
  }
  .article-cta-actions {
    width: 100%;
    flex-direction: column;
  }
  .article-cta-actions a,
  .article-cta-actions button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .contact-channels-grid {
    grid-template-columns: 1fr;
  }
  .article-author-card {
    flex-direction: column;
    text-align: center;
  }
  .newsletter-input-group {
    flex-direction: column;
  }
  .location-quick-actions {
    flex-direction: column;
  }
  .ab-intro-media .inset{
    position: unset!important;
    width: 100%!important;
    margin-top: 20px!important;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}

.nav-menu > li.has-submenu {
    position: relative;
}

.nav-menu .dropdown-arrow {
    display: inline-block;
    margin-left: 4px;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.nav-menu > li.has-submenu:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-menu .sub-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease,
                visibility 0.25s ease;
    z-index: 999;
}

.nav-menu > li.has-submenu:hover > .sub-menu,
.nav-menu > li.has-submenu:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li a {
    display: block;
    padding: 12px 18px;
    color: #222;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-menu .sub-menu li a:hover,
.nav-menu .sub-menu li a.active {
    background: #f5f5f5;
   
}

/* Slider Revolution Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.hero-section .rev_slider_wrapper,
.hero-section rs-module-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.hero-section rs-module {
    width: 100% !important;
}


.custom-search-btn {
    position:relative;
    padding: 6px 30px 6px 30px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    background: #fff;
    border: 1.2px solid var(--color-brand-gold);
    border-right: none!important;
    border-radius: 0;
    box-sizing: border-box;
    color: #333;    
    font-size: 14px;
    font-weight: 500;
    border-radius: 2px;
    transition: border-color 0.3s ease;
}

.custom-search-btn span {
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

.custom-search-btn svg {
    display: block;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    overflow: visible;
    position: absolute;
    right: -07px;
    top:-2px;
    transform: rotate(16deg);
}

.custom-search-btn svg circle {
    fill: none;
    stroke: #f5d28a;
    stroke-width: 2.5;
}

.custom-search-btn svg line {
    fill: none;
    stroke: #f5d28a;
    stroke-width: 3.5;
    stroke-linecap: round;
}

.custom-search-btn:hover {
    background: #fff;
    color: #333;
    border-color: #f5d28a;
}

/* ==========================================================================
   PROJECT DETAIL (INNER PROJECT PAGE)
   ========================================================================== */

.project-detail-page {
  --pd-dark: var(--color-primary-dark);
  --pd-heading: var(--color-primary-brown);
  --pd-chip: var(--color-brand-accent);
  --pd-soft: #F4EEE8;
  --pd-radius: 28px;
  background-color: var(--color-cream-bg);
}

.pd-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--pd-heading);
  margin-bottom: 20px;
}

.pd-heading-light {
  color: #FFFFFF;
}

.pd-body-text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-main);
}

.pd-body-text + .pd-body-text {
  margin-top: 16px;
}

.pd-body-light {
  color: rgba(255, 255, 255, 0.9);
}

/* Hero */
.pd-hero-section {
  position: relative;
  min-height: 780px;
  margin-top: 86px;
  display: flex;
  align-items: center;
  background-image: url('../images/project-hero-bg.png');
  background-size: cover;
  background-position: center center;
  border-radius: 0 0 var(--pd-radius) var(--pd-radius);
  overflow: hidden;
  color: #FFFFFF;
}

.pd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(20, 15, 12, 0.65) 0%,
    rgba(20, 15, 12, 0.3) 55%,
    rgba(20, 15, 12, 0.15) 100%
  );
  pointer-events: none;
}

.pd-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.pd-hero-content {
  max-width: 760px;
  padding: 100px 0;
}

.pd-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 3.4vw, 4.2rem);
  font-weight: 400;
  line-height: 1.12;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.pd-hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.3vw, 1.6rem);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

.pd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.pd-btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #FFFFFF;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.125rem;
  padding: 14px 44px;
  border-radius: 2px;
  letter-spacing: 0.02em;
}

.pd-btn-outline-light:hover {
  background-color: #FFFFFF;
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* Intro card */
.pd-intro-section {
  padding: 90px 0 45px;
}

.pd-intro-card {
  display: grid;
  grid-template-columns: minmax(0, 450px) 1fr;
  align-items: center;
  background-color: var(--pd-soft);
  border-radius: var(--pd-radius);
}

.pd-intro-img-box {
  aspect-ratio: 1 / 1;
  border-radius: var(--pd-radius);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.pd-intro-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-intro-text {
  padding: 50px 60px;
}

.pd-highlights {
  margin-top: 46px;
  text-align: center;
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.4vw, 1.6rem);
  line-height: 1.7;
  color: var(--pd-heading);
}


.pd-amenities-section {
  padding: 90px 0 50px;
}
/* Dark panels (stats + amenities) */
.pd-stats-section {
  padding: 45px 0;
}
.pd-dark-panel {
  position: relative;
  background-color: var(--pd-dark);
  border-radius: var(--pd-radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 64px;
}

.pd-dark-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/stats-pattern-clean.webp');
  background-size: cover;
  opacity: 0.06;
  pointer-events: none;
}

.pd-dark-panel > * {
  position: relative;
}

.pd-stats-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pd-stat-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background-color: var(--pd-chip);
  border-radius: 12px;
  padding: 12px 30px;
  color: var(--pd-dark);
}


.pd-stat-value {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
}

.pd-stat-label {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
}

/* Location */
.pd-location-section {
  padding: 45px 0;
}

.pd-location-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: center;
  gap: 70px;
}

.pd-location-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--pd-soft);
  color: var(--color-primary-dark);
  font-size: 30px;
  margin-bottom: 20px;
}

.pd-map-box {
  height: 560px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.pd-map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.pd-status-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.pd-status-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  border-radius: 14px;
  background-color: var(--pd-chip);
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--pd-dark);
  text-align: center;
  padding: 10px 20px;
}

/* Configurations */
.pd-config-section {
  padding: 45px 0;
}

.pd-soft-panel {
  background-color: var(--pd-soft);
  border-radius: var(--pd-radius);
  padding: 60px 64px 50px;
  width: 85%;
  margin: 0 auto;
}

.pd-config-list {
  list-style: none;
  margin-top: 30px;
}

.pd-config-row {
  display: grid;
  grid-template-columns: 460px 1fr;
  align-items: center;
  gap: 30px;
  padding: 18px 16px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.pd-config-row:last-child {
  border-bottom: none;
}

.pd-config-title {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.5vw, 1.7rem);
  color: var(--pd-heading);
  font-weight: 600;
}

.pd-config-desc {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--color-text-main);
}

/* Floor plans */
.pd-plans-section {
  padding: 45px 0 90px;
}

.pd-plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 16px;
}

.pd-plan-card {
  display: flex;
  flex-direction: column;
  background-color: #FFFFFF;
  border: 1px dashed #BDB3A8;
  border-radius: 20px;
  padding: 36px 40px 30px;
}

.pd-plans-grid .pd-plan-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.pd-plan-media {
  flex: 1;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-plan-media img {
  max-height: 340px;
  width: auto;
  object-fit: contain;
}

.pd-plan-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: 14px;
  background-color: var(--color-cream-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--color-brand-gold);
  font-size: 56px;
}

.pd-plan-request {
  border: 1.5px solid var(--color-brand-gold);
  border-radius: 2px;
  padding: 10px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-main);
}

.pd-plan-request:hover {
  background-color: var(--color-brand-gold);
  color: #FFFFFF;
}

.pd-plan-title {
  margin-top: 26px;
  text-align: right;
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.4vw, 1.5rem);
  font-weight: 400;
  color: var(--color-text-main);
}

/* Amenities */
.pd-amenities-section {
  background-color: #FFFFFF;
  padding: 90px 0 50px;
}

.pd-amenities-img-box {
  aspect-ratio: 6 / 5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.pd-amenities-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery */
.pd-gallery-section {
  background-color: #FFFFFF;
  padding: 60px 0 90px;
}

.pd-gallery-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.2vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.08em !important;
  color: var(--pd-heading);
  margin-bottom: 40px;
}

.pd-gallery-wrap {
  position: relative;
}

.pd-gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0 max(40px, calc((100% - 1440px) / 2 + 40px));
  scroll-padding: 0 max(40px, calc((100% - 1440px) / 2 + 40px));
}

.pd-gallery-track::-webkit-scrollbar {
  display: none;
}

.pd-gallery-item {
  flex: 0 0 clamp(260px, 26vw, 480px);
  aspect-ratio: 9 / 10;
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: start;
}

.pd-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.pd-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #FFFFFF;
  color: var(--color-primary-dark);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%);
  font-size: 16px;
}

.pd-gallery-arrow:hover {
  background-color: var(--color-brand-gold);
  color: #FFFFFF;
}

.pd-gallery-prev {
  left: 20px;
}

.pd-gallery-next {
  right: 20px;
}

.pd-tagline {
  margin-top: 60px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 1.8vw, 2.1rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--pd-heading);
}

/* Project Detail - Responsive */
@media (max-width: 1200px) {
  .pd-config-row {
    grid-template-columns: 340px 1fr;
  }
  .pd-dark-panel {
    padding: 50px;
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .pd-hero-section {
    margin-top: 72px;
  }
  .pd-hero-section {
    min-height: 620px;
  }
  .pd-hero-content {
    padding: 80px 0;
  }
  .pd-intro-card {
    grid-template-columns: 1fr;
  }
  .pd-intro-img-box {
    aspect-ratio: 16 / 10;
  }
  .pd-intro-text {
    padding: 40px;
  }
  .pd-dark-panel {
    grid-template-columns: 1fr;
  }
  .pd-location-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pd-map-box {
    height: 440px;
  }
  .pd-config-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 768px) {
  .pd-soft-panel{
width: 100%;
  }
  .pd-hero-section {
    min-height: 540px;
  }
  .pd-hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  .pd-hero-actions > * {
    width: 100%;
  }
  .pd-intro-section {
    padding-top: 60px;
  }
  .pd-dark-panel,
  .pd-soft-panel {
    padding: 36px 24px;
  }
  .pd-intro-text {
    padding: 30px 24px;
  }
  .pd-stat-chip {
    padding: 10px 20px;
  }
  .pd-status-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .pd-plans-grid {
    grid-template-columns: 1fr;
  }
  .pd-plan-card {
    padding: 24px 20px;
  }
  .pd-plan-media,
  .pd-plan-placeholder {
    min-height: 220px;
  }
  .pd-plan-title {
    text-align: center;
  }
  .pd-map-box {
    height: 340px;
  }
  .pd-gallery-track {
    padding: 0 20px;
    scroll-padding: 0 20px;
    gap: 14px;
  }
  .pd-gallery-item {
    flex-basis: 78vw;
  }
  .pd-gallery-arrow {
    width: 40px;
    height: 40px;
  }
  .pd-gallery-prev {
    left: 8px;
  }
  .pd-gallery-next {
    right: 8px;
  }
}
/* Buttons */
.pd-actions {
  margin-top: 32px;
}

.pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.2px solid var(--color-brand-gold);
  border-radius: 2px;
  background: transparent;
  color: #222222;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 36px;
  white-space: nowrap;
}

.pd-btn:hover {
  background-color: var(--color-brand-gold);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.pd-btn-light {
  color: #FFFFFF;
  border-color: var(--color-brand-gold-pale);
}

.pd-btn-light:hover {
  background-color: var(--color-brand-gold-pale);
  color: var(--pd-dark);
}

/* Key figures (Section 3) */
.pd-stats-lead {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 1.9vw, 2.2rem);
  font-weight: 400;
  line-height: 1.4;
  color: #FFFFFF;
}

/* Residences (Section 5) */
.pd-residence-panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 60px;
}

.pd-residence-callout {
  background-color: #FFFFFF;
  border-left: 4px solid var(--color-brand-gold);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.pd-residence-callout-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 1.6vw, 1.8rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--pd-heading);
  margin-bottom: 12px;
}

.pd-residence-callout-desc {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

/* Floor plans header (Section 6) */
.pd-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
}

.pd-section-head .pd-body-text {
  max-width: 720px;
}

/* Gallery button + lightbox (Section 8) */
.pd-gallery-item {
  cursor: zoom-in;
}

.pd-gallery-cta {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.pd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(20, 15, 12, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.pd-lightbox-img {
  max-width: min(1200px, 86vw);
  max-height: 82vh;
  border-radius: 12px;
  object-fit: contain;
}

.pd-lightbox-count {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
}

.pd-lightbox-close,
.pd-lightbox-nav {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 18px;
}

.pd-lightbox-close:hover,
.pd-lightbox-nav:hover {
  background-color: var(--color-brand-gold);
}

.pd-lightbox-close {
  top: 24px;
  right: 24px;
  font-size: 26px;
}

.pd-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.pd-lightbox-prev {
  left: 24px;
}

.pd-lightbox-next {
  right: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
  .pd-residence-panel {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pd-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .pd-residence-callout {
    padding: 30px 24px;
  }
  .pd-btn {
    white-space: normal;
    text-align: center;
  }
  .pd-lightbox-nav {
    top: auto;
    bottom: 16px;
    transform: none;
  }
  .pd-lightbox-count {
    bottom: 30px;
  }
}

/* ==========================================================================
   SVX — RESPONSIVE FIXES + NAVIGATION & MOTION ENHANCEMENTS
   Appended block. Overrides earlier rules only; no markup/content changes.
   Breakpoints follow the theme: 1200 / 1024 / 768 / 600 / 380.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FOUNDATION
   -------------------------------------------------------------------------- */
:root {
  --svx-header-h: 86px;
  --svx-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --svx-gold-deep: #B07F2C;
}

html {
  /* anchor links (#about, #pd-overview …) land below the fixed header */
  scroll-padding-top: calc(var(--svx-header-h) + 16px);
}

::selection {
  background: rgba(216, 164, 74, 0.28);
  color: #2A211F;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-brand-gold);
  outline-offset: 3px;
}

h1, h2, h3 {
  overflow-wrap: break-word;
}

iframe,
video,
embed,
object {
  max-width: 100%;
}

/* Slim gold scrollbar (desktop browsers) */
@media (hover: hover) and (pointer: fine) {
  html {
    scrollbar-width: thin;
    scrollbar-color: rgba(216, 164, 74, 0.55) #F4EFE8;
  }
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: #F4EFE8; }
  ::-webkit-scrollbar-thumb {
    background: rgba(216, 164, 74, 0.55);
    border-radius: 10px;
    border: 2px solid #F4EFE8;
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--color-brand-gold); }
}

/* Soft page entrance */
@keyframes svx-page-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

main,
.site-main {
  animation: svx-page-in 0.7s ease backwards;
}

/* --------------------------------------------------------------------------
   2. HEADER & DESKTOP NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  transition: background-color 0.4s ease, box-shadow 0.4s ease,
              border-color 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.scrolled {
  padding: 0;
  background-color: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: rgba(216, 164, 74, 0.22);
  box-shadow: 0 12px 30px -14px rgba(50, 37, 35, 0.22);
}

.site-logo {
  transition: height 0.4s var(--svx-ease), opacity 0.3s ease;
}

.logo-container a:hover .site-logo {
  opacity: 0.82;
}

@media (min-width: 601px) {
  .site-header.scrolled .site-logo {
    height: 42px;
  }
}

/* Gold scroll-progress hairline under the header (progressive enhancement) */
@keyframes svx-progress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .site-header::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -1px;
      width: 100%;
      height: 2px;
      background: linear-gradient(90deg, #D8A44A, #F4C36C 60%, #F9D387);
      transform-origin: 0 50%;
      transform: scaleX(0);
      animation: svx-progress linear both;
      animation-timeline: scroll(root block);
      pointer-events: none;
    }
    /* blog posts already have their own reading-progress bar */
    body.single-post .site-header::after {
      display: none;
    }
  }
}

/* Nav links: colour shift + underline */
.nav-link {
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-menu > li.has-submenu.active > .nav-link,
.nav-menu > li.has-submenu:hover > .nav-link {
  color: var(--svx-gold-deep);
}

.nav-link::after {
  transition: width 0.45s var(--svx-ease);
}

.nav-menu > li.has-submenu.active > .nav-link::after,
.nav-menu > li.has-submenu:hover > .nav-link::after {
  width: 100%;
}

/* Dropdown: gold accent, soft drop-in, sliding items */
.nav-menu .sub-menu {
  top: calc(100% + 14px);
  min-width: 220px;
  padding: 10px 0;
  border-top: 2px solid var(--color-brand-gold);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 18px 40px -12px rgba(50, 37, 35, 0.28);
  transform: translateY(12px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.3s ease, transform 0.35s var(--svx-ease), visibility 0.3s ease;
}

/* invisible bridge so the menu doesn't close while the pointer crosses the gap */
.nav-menu .sub-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}

.nav-menu > li.has-submenu:hover > .sub-menu,
.nav-menu > li.has-submenu:focus-within > .sub-menu {
  transform: translateY(0) scale(1);
}

.nav-menu .sub-menu li a {
  position: relative;
  padding: 11px 22px;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, color 0.25s ease, padding-left 0.3s var(--svx-ease);
}

.nav-menu .sub-menu li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--color-brand-gold);
  transform: translateY(-50%);
  transition: height 0.3s var(--svx-ease);
}

.nav-menu .sub-menu li a:hover,
.nav-menu .sub-menu li a.active {
  background: #FAF5EC;
  color: var(--svx-gold-deep);
  padding-left: 28px;
}

.nav-menu .sub-menu li a:hover::before,
.nav-menu .sub-menu li a.active::before {
  height: 60%;
}

/* Hamburger: stepped lines that settle on hover */
.mobile-toggle span {
  margin: 6px 0 6px auto;
  transition: width 0.35s var(--svx-ease), background-color 0.3s ease;
}

.mobile-toggle span:nth-child(2) {
  width: 18px;
}

.mobile-toggle:hover span {
  background-color: var(--svx-gold-deep);
}

.mobile-toggle:hover span:nth-child(2) {
  width: 26px;
}

/* --------------------------------------------------------------------------
   3. MOBILE DRAWER
   -------------------------------------------------------------------------- */
.mobile-nav-drawer {
  max-width: 400px;
  border-left: 3px solid var(--color-brand-gold);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.mobile-nav-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.4s var(--svx-ease), color 0.3s ease, background-color 0.3s ease;
}

.mobile-nav-close:hover {
  transform: rotate(90deg);
  color: var(--svx-gold-deep);
  background-color: #FAF5EC;
}

.mobile-nav-links {
  gap: 0;
}

.mobile-nav-links > li {
  border-bottom: 1px solid #EFE8DE;
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.45s ease, transform 0.55s var(--svx-ease);
}

.mobile-nav-links a {
  position: relative;
  display: block;
  padding: 15px 0;
  font-size: 1.1rem;
}

.mobile-nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--color-brand-gold);
  transition: width 0.45s var(--svx-ease);
}

.mobile-nav-links a:hover::after,
.mobile-nav-links a.active::after {
  width: 48px;
}

.mobile-nav-links a.active {
  color: var(--svx-gold-deep);
}

.mobile-nav-actions {
  margin-top: 28px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease 0.5s, transform 0.55s var(--svx-ease) 0.5s;
}

.mobile-nav-drawer.open .mobile-nav-links > li,
.mobile-nav-drawer.open .mobile-nav-actions {
  opacity: 1;
  transform: none;
}

.mobile-nav-drawer.open .mobile-nav-links > li:nth-child(1) { transition-delay: 0.12s; }
.mobile-nav-drawer.open .mobile-nav-links > li:nth-child(2) { transition-delay: 0.18s; }
.mobile-nav-drawer.open .mobile-nav-links > li:nth-child(3) { transition-delay: 0.24s; }
.mobile-nav-drawer.open .mobile-nav-links > li:nth-child(4) { transition-delay: 0.30s; }
.mobile-nav-drawer.open .mobile-nav-links > li:nth-child(5) { transition-delay: 0.36s; }
.mobile-nav-drawer.open .mobile-nav-links > li:nth-child(6) { transition-delay: 0.42s; }

/* --------------------------------------------------------------------------
   4. BUTTONS — gold light sweep on hover
   -------------------------------------------------------------------------- */
.btn-gold-filled,
.btn-gold-outline,
.btn-schedule-visit,
.project-download-btn,
.btn-enquire,
.btn-vision-gold,
.btn-vision-pill,
.btn-send-message,
.btn-download-white,
.btn-contact-submit,
.p1-btn-send,
.pd-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-gold-filled::after,
.btn-gold-outline::after,
.btn-schedule-visit::after,
.project-download-btn::after,
.btn-enquire::after,
.btn-vision-gold::after,
.btn-vision-pill::after,
.btn-send-message::after,
.btn-download-white::after,
.btn-contact-submit::after,
.p1-btn-send::after,
.pd-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
  transform: translateX(-160%) skewX(-18deg);
  pointer-events: none;
  z-index: 1;
}

@media (hover: hover) {
  .btn-gold-filled:hover::after,
  .btn-gold-outline:hover::after,
  .btn-schedule-visit:hover::after,
  .project-download-btn:hover::after,
  .btn-enquire:hover::after,
  .btn-vision-gold:hover::after,
  .btn-vision-pill:hover::after,
  .btn-send-message:hover::after,
  .btn-download-white:hover::after,
  .btn-contact-submit:hover::after,
  .p1-btn-send:hover::after,
  .pd-btn:hover::after {
    transform: translateX(260%) skewX(-18deg);
    transition: transform 0.9s var(--svx-ease);
  }
}

.btn-gold-filled:active,
.btn-gold-outline:active,
.btn-schedule-visit:active,
.project-download-btn:active,
.btn-enquire:active,
.btn-send-message:active,
.btn-contact-submit:active,
.pd-btn:active {
  transform: translateY(0) scale(0.98);
}

/* --------------------------------------------------------------------------
   5. SCROLL & HOVER MOTION
   -------------------------------------------------------------------------- */

/* 5a. Staggered entrance for hero / headline text blocks */
@keyframes svx-rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

.vision-content.revealed > *,
.subpage-hero-content.revealed > *,
.project-hero-content.revealed > *,
.pd-hero-content.revealed > *,
.space-content-side.revealed > *,
.philosophy-left.revealed > *,
.showcase-action-box.revealed > *,
.svatej-life-card.revealed > * {
  animation: svx-rise 0.9s var(--svx-ease) both;
}

.vision-content.revealed > *:nth-child(2),
.subpage-hero-content.revealed > *:nth-child(2),
.project-hero-content.revealed > *:nth-child(2),
.pd-hero-content.revealed > *:nth-child(2),
.space-content-side.revealed > *:nth-child(2),
.philosophy-left.revealed > *:nth-child(2),
.showcase-action-box.revealed > *:nth-child(2),
.svatej-life-card.revealed > *:nth-child(2) { animation-delay: 0.12s; }

.vision-content.revealed > *:nth-child(3),
.subpage-hero-content.revealed > *:nth-child(3),
.project-hero-content.revealed > *:nth-child(3),
.pd-hero-content.revealed > *:nth-child(3),
.space-content-side.revealed > *:nth-child(3),
.svatej-life-card.revealed > *:nth-child(3) { animation-delay: 0.24s; }

.vision-content.revealed > *:nth-child(4),
.subpage-hero-content.revealed > *:nth-child(4),
.pd-hero-content.revealed > *:nth-child(4),
.svatej-life-card.revealed > *:nth-child(4) { animation-delay: 0.36s; }

.subpage-hero-content.revealed > *:nth-child(5) { animation-delay: 0.48s; }

/* 5b. Image curtain-wipe reveal */
.space-image-side.reveal,
.faq-image-box.reveal {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1.25s cubic-bezier(0.77, 0, 0.18, 1);
}

.space-image-side.reveal.revealed,
.faq-image-box.reveal.revealed {
  clip-path: inset(0 0 0 0);
}

/* 5c. Section titles: gold rule draws in once revealed */
.section-header-title,
.upcoming-section-title {
  position: relative;
  padding-bottom: 14px;
}

.section-header-title::after,
.upcoming-section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-brand-gold), rgba(216, 164, 74, 0));
  transition: width 1.1s var(--svx-ease) 0.35s;
}

.section-header-title.revealed::after,
.revealed .section-header-title::after,
.upcoming-section-title.revealed::after {
  width: 84px;
}

/* 5d. Hover polish */
.stat-item .stat-number {
  transition: color 0.4s ease, transform 0.5s var(--svx-ease);
}

@media (hover: hover) {
  .stat-item:hover .stat-number {
    color: var(--svx-gold-deep);
    transform: translateY(-4px);
  }

  .space-image-side:hover .space-slider-img {
    filter: brightness(1.04);
  }

  .slider-floating-arrow:hover {
    transform: translateY(-50%) scale(1.08);
  }

  .faq-question-btn:hover .faq-q-text {
    color: var(--svx-gold-deep);
  }

  .faq-question-btn:hover .faq-icon-box {
    background-color: #EFE3CF;
  }

  .upcoming-project-card:hover .upcoming-project-title,
  .project-card:hover .project-title {
    color: var(--svx-gold-deep);
  }
}

.faq-q-text {
  transition: color 0.3s ease;
}

.faq-item.active .faq-q-text {
  color: var(--color-primary-brown);
}

.faq-item.active {
  border-bottom-color: rgba(216, 164, 74, 0.55);
}

.upcoming-project-title,
.project-title {
  transition: color 0.3s ease;
}

.space-slider-img {
  transition: filter 0.5s ease;
}

/* 5e. Desktop parallax on full-bleed photo sections */
/* @media (min-width: 1025px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .architecture-showcase-section,
  .contact-section,
  .project-contact-section,
  .svatej-life-showcase-section {
    background-attachment: fixed;
  }
} */

/* 5f. Scroll-linked image drift (Chrome/Edge/Safari 26+; ignored elsewhere) */
@keyframes svx-drift {
  from { translate: 0 -4%; }
  to   { translate: 0 4%; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .faq-image-box img,
    .pd-intro-img-box img,
    .pd-amenities-img-box img,
    .space-pillar-img {
      scale: 1.1;
      animation: svx-drift linear both;
      animation-timeline: view();
    }
  }
}

/* No sticky "lifted" cards after a tap on touch screens */
@media (hover: none) {
  .project-card:hover,
  .upcoming-project-card:hover,
  .blog-card:hover,
  .contact-channel-card:hover,
  .featured-article-card:hover,
  .pager-item:hover {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   6. RESPONSIVE FIXES
   -------------------------------------------------------------------------- */

/* 6a. Inner-page heroes always start exactly under the header
   (they kept 86px while the header shrinks to 72/68px → white strip) */
.project-hero-section,
.vision-hero-banner-1,
.space-pillars-container,
.space-page-header,
.subpage-hero,
.pd-hero-section,
body .ab-hero {
  margin-top: var(--svx-header-h);
}

/* 6b. Key-metrics row: equal columns for however many stats exist */
.stats-section .stats-container {
  padding: 0 24px;
}

@media (min-width: 1025px) {
  .stats-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
  }
}

/* 6c. Showcase banner: cover the frame + shade so the text reads on the photo */
.architecture-showcase-section {
  position: relative;
  isolation: isolate;
  background-size: cover;
  padding: 80px 24px;
}

.architecture-showcase-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at center,
    rgba(20, 15, 12, 0.55) 0%,
    rgba(20, 15, 12, 0.28) 55%,
    rgba(20, 15, 12, 0.12) 100%);
  pointer-events: none;
}

.showcase-subtext {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

/* 6d. Long-form content never breaks the column */
.article-prose-body img,
.article-prose-body video,
.article-prose-body iframe {
  max-width: 100%;
  height: auto;
}

.article-prose-body iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.article-prose-body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.article-prose-body pre {
  max-width: 100%;
  overflow-x: auto;
}

.article-prose-body figure,
.article-prose-body .wp-block-image {
  max-width: 100%;
}

/* 6e. Contact Form 7 fields stay inside their columns */
.wpcf7 form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.wpcf7 form select,
.wpcf7 form textarea {
  max-width: 100%;
}

/* 6f. Modals respect mobile browser toolbars */
@supports (height: 100dvh) {
  .modal-card {
    max-height: calc(100dvh - 40px);
  }
}

/* ---------- ≥ 1600px: large desktops ---------- */
@media (min-width: 1600px) {
  .hero-content,
  .project-hero-content,
  .vision-content {
    max-width: 1100px;
  }
}

/* ---------- 1025px – 1200px: small laptops ---------- */
@media (min-width: 1025px) and (max-width: 1200px) {
  .nav-menu {
    gap: 16px;
  }
  .nav-link {
    letter-spacing: 0.05em;
  }
  .btn-enquire {
    white-space: nowrap;
  }
  .contact-card-wrapper {
    margin-right: 40px;
  }
  .pd-location-grid {
    grid-template-columns: 300px 1fr;
    gap: 48px;
  }
}

/* ---------- ≤ 1024px: tablets ---------- */
@media (max-width: 1024px) {
  :root {
    --svx-header-h: 72px;
  }

  .nav-wrapper {
    height: 72px;
  }

  /* SVATEJ Space image: was a fixed 680px tall on every screen */
  .space-image-side {
    min-height: 0;
  }
  .space-slider-img {
    height: clamp(300px, 62vw, 560px);
  }

  .architecture-showcase-section {
    min-height: 560px;
  }

  /* Stats: 2 columns; an odd last stat spans the full row */
  .stats-grid > .stat-item {
    border-bottom: 2px solid rgba(68, 35, 12, 0.3);
  }
  .stats-grid > .stat-item:last-child,
  .stats-grid > .stat-item:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }
  .stats-grid > .stat-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: none;
  }

  .pd-soft-panel {
    width: 100%;
  }

  .contact-section {
    background-position: center;
  }
}

/* ---------- ≤ 768px: large phones / small tablets ---------- */
@media (max-width: 768px) {
  /* Breadcrumb flows as one line of text instead of squeezed columns */
  .subpage-breadcrumb {
    display: block;
    line-height: 1.8;
  }
  .subpage-breadcrumb .crumb-separator {
    margin: 0 8px;
  }
    

  .featured-content-box {
    padding: 28px 22px;
  }
  .featured-img-box {
    min-height: 240px;
  }

  .blog-newsletter-section {
    padding: 32px 22px;
  }

  .article-takeaways-box {
    padding: 26px 20px;
  }
  .article-pullquote {
    padding: 22px 20px;
  }
  .pullquote-text {
    font-size: 1.15rem;
  }
  .article-image-grid-2 {
    grid-template-columns: 1fr;
  }
  .article-image-grid-2 img {
    height: 220px;
  }

  .contact-faq-wrapper {
    padding: 32px 18px;
  }
  .contact-visit-banner {
    padding: 36px 22px;
  }

  .pd-location-grid {
    gap: 28px;
  }

  .contact-channel-card {
    padding: 26px 20px;
  }

  .hours-row {
    flex-wrap: wrap;
    gap: 2px 12px;
  }

  .blog-filter-section,
  .blog-filter-section > * {
    min-width: 0;
    max-width: 100%;
  }
  .blog-category-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .blog-category-nav::-webkit-scrollbar {
    display: none;
  }
  .blog-cat-btn {
    flex-shrink: 0;
  }
}

/* ---------- ≤ 600px: phones ---------- */
@media (max-width: 600px) {
  :root {
    --svx-header-h: 68px;
  }

  /* -2px tracking from the global h1/h2 rule is too tight at phone sizes */
  h1, h2 {
    letter-spacing: -1px !important;
  }

  .space-slider-img {
    height: clamp(260px, 78vw, 420px);
  }

  .architecture-showcase-section {
    min-height: 440px;
    padding: 56px 16px;
  }

  .faq-grid {
    gap: 28px;
  }

  .news-accordion-card {
    min-height: 360px;
  }

  .svatej-life-showcase-section {
    min-height: 0;
    padding: 56px 0;
  }

  .project-contact-form-col {
    max-width: 100%;
  }

  /* 16px inputs stop iOS from zooming into form fields */
  .wpcf7 form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
  .wpcf7 form select,
  .wpcf7 form textarea,
  .modal-form input,
  .modal-form select,
  .modal-form textarea,
  .contact-field-input,
  .contact-field-select,
  .contact-field-textarea,
  .blog-search-input,
  .newsletter-input {
    font-size: 16px;
  }

  .toast-notice {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .pd-lightbox-close {
    top: 14px;
    right: 14px;
  }
  .pd-lightbox-prev {
    left: 14px;
  }
  .pd-lightbox-next {
    right: 14px;
  }

  .mobile-nav-drawer {
    width: 86%;
  }
}

/* ---------- ≤ 380px: small phones ---------- */
@media (max-width: 380px) {
  .container,
  .nav-wrapper {
    padding-left: 14px;
    padding-right: 14px;
  }
  .site-logo {
    height: 32px;
  }
  .subpage-title,
  .vision-title,
  .project-hero-title,
  .pd-hero-title {
    font-size: 1.6rem;
  }
  .btn-schedule-visit {
    padding: 10px 18px;
  }
}

/* ---------- Phones in landscape ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  .vision-hero-banner,
  .vision-hero-banner-2,
  .project-hero-section,
  .pd-hero-section {
    min-height: 0;
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .mobile-nav-links a {
    padding: 9px 0;
  }
}

/* --------------------------------------------------------------------------
   7. REDUCED MOTION — honour the user's OS setting for all new effects
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  main,
  .site-main,
  .vision-content.revealed > *,
  .subpage-hero-content.revealed > *,
  .project-hero-content.revealed > *,
  .pd-hero-content.revealed > *,
  .space-content-side.revealed > *,
  .philosophy-left.revealed > *,
  .showcase-action-box.revealed > *,
  .svatej-life-card.revealed > * {
    animation: none !important;
  }
  .space-image-side.reveal,
  .faq-image-box.reveal {
    clip-path: none !important;
  }
  .mobile-nav-links > li,
  .mobile-nav-actions {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   SVX — HEADER REFINEMENT + MOBILE MENU LOGO
   ========================================================================== */

/* Fine gold hairline along the bottom of the header */
.site-header {
  border-bottom: none;
}

.site-header::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(216, 164, 74, 0) 0%,
    rgba(216, 164, 74, 0.55) 50%,
    rgba(216, 164, 74, 0) 100%);
  pointer-events: none;
}

/* Menu typography + underline that grows from the centre */
.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #3A2E2A;
  padding: 10px 0;
}

.nav-link::after {
  left: 50%;
  bottom: 2px;
  height: 1.5px;
  transform: translateX(-50%);
}

.nav-menu .dropdown-arrow {
  font-size: 10px;
  margin-left: 6px;
  vertical-align: 1px;
  color: var(--color-brand-gold);
}

/* Thin gold divider between the menu and the CTA */
.nav-actions {
  position: relative;
  padding-left: clamp(20px, 2.4vw, 36px);
}

.nav-actions::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 26px;
  background: rgba(216, 164, 74, 0.5);
  transform: translateY(-50%);
}

.nav-box {
  gap: clamp(20px, 2.6vw, 40px);
}

/* CTA: deep brown with gold lettering, fills gold on hover */
.btn-enquire {
  background: var(--color-primary-dark);
  border: 1px solid var(--color-primary-dark);
  color: var(--color-brand-gold-pale);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  padding: 11px 24px;
  border-radius: 2px;
  white-space: nowrap;
  box-shadow: 0 6px 18px -8px rgba(50, 37, 35, 0.55);
}

.btn-enquire:hover {
  background: var(--color-brand-gold);
  border-color: var(--color-brand-gold);
  color: #241A15;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -8px rgba(216, 164, 74, 0.6);
}

@media (max-width: 1200px) {
  .nav-link {
    font-size: 12.5px;
    letter-spacing: 0.1em;
  }
  .btn-enquire {
    padding: 10px 18px;
    font-size: 12px;
    letter-spacing: 0.12em;
  }
}

/* Hamburger: framed square button */
.mobile-toggle {
  width: 46px;
  height: 46px;
  padding: 0 11px;
  border: 1px solid rgba(216, 164, 74, 0.55);
  border-radius: 2px;
  flex-direction: column;
  justify-content: center;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.mobile-toggle span {
  width: 22px;
  height: 1.5px;
  margin: 3px 0 3px auto;
}

.mobile-toggle span:nth-child(2) {
  width: 15px;
}

.mobile-toggle:hover {
  background-color: #FAF5EC;
  border-color: var(--color-brand-gold);
}

.mobile-toggle:hover span:nth-child(2) {
  width: 22px;
}

@media (max-width: 1024px) {
  .mobile-toggle {
    display: flex !important;
  }
}

@media (max-width: 600px) {
  .mobile-toggle {
    width: 42px;
    height: 42px;
    padding: 0 10px;
  }
}

/* ---------- Mobile drawer header: logo left, close right ---------- */
.mobile-nav-drawer {
  padding-top: 20px;
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 14px;
  border-bottom: 1px solid #EFE8DE;
}

.mobile-nav-logo a {
  display: inline-flex;
  align-items: center;
}

.mobile-nav-logo img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.mobile-nav-head .mobile-nav-close {
  align-self: center;
  margin-bottom: 0;
  flex-shrink: 0;
  font-size: 2rem;
  border: 1px solid rgba(216, 164, 74, 0.45);
}

@media (max-width: 380px) {
  .mobile-nav-logo img {
    height: 34px;
  }
}

/* Fix: keep the observed box unclipped so IntersectionObserver can see it; clip the image inside instead */
.space-image-side.reveal,
.faq-image-box.reveal {
  clip-path: none;
  transition: none;
}
.space-image-side.reveal > img,
.faq-image-box.reveal > img {
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1.25s cubic-bezier(0.77, 0, 0.18, 1);
}
.space-image-side.reveal.revealed > img,
.faq-image-box.reveal.revealed > img {
  clip-path: inset(0);
}
@media (prefers-reduced-motion: reduce) {
  .space-image-side.reveal > img,
  .faq-image-box.reveal > img { clip-path: none !important; }
}
