/* ========================================================================
   P2.GE - Ultra Premium Design System v3.0
   Award-Winning Real Estate Experience
   Inspired by: cityzen.ge, Apple, Linear, Stripe
   ======================================================================== */

/* ========== CSS Custom Properties ========== */
:root {
  /* Premium Color Palette - Refined & Sophisticated */
  --c-primary: #1a2b4a;
  --c-primary-light: #2d4a7c;
  --c-secondary: #64748b;
  --c-accent: #d4a853;
  --c-accent-hover: #e8bc5f;
  --c-success: #059669;
  --c-surface: #ffffff;
  --c-surface-elevated: #ffffff;
  --c-background: #f8fafc;
  --c-background-alt: #f1f5f9;
  --c-text: #0f172a;
  --c-text-secondary: #475569;
  --c-text-muted: #94a3b8;
  --c-border: #e2e8f0;
  --c-border-light: #f1f5f9;

  /* Shadows - Subtle & Refined */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.02);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.03);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 60px rgba(212,168,83,0.15);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 8px 30px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.03);

  /* Radius - Modern & Clean */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Motion - Smooth & Intentional */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-slower: 800ms;

  /* Typography Scale - Fluid & Organic */
  --font-sans: 'Mersad', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Mersad', Georgia, 'Times New Roman', serif;

  /* Fluid Typography using clamp() - organic scaling */
  --text-xs: clamp(0.625rem, 0.5rem + 0.3vw, 0.75rem);
  --text-sm: clamp(0.75rem, 0.65rem + 0.4vw, 0.875rem);
  --text-base: clamp(0.875rem, 0.75rem + 0.5vw, 1rem);
  --text-lg: clamp(1rem, 0.85rem + 0.6vw, 1.25rem);
  --text-xl: clamp(1.125rem, 0.9rem + 0.8vw, 1.5rem);
  --text-2xl: clamp(1.25rem, 0.9rem + 1.2vw, 1.875rem);
  --text-3xl: clamp(1.5rem, 1rem + 1.8vw, 2.5rem);
  --text-4xl: clamp(1.875rem, 1rem + 2.5vw, 3.5rem);
  --text-5xl: clamp(2.25rem, 1rem + 4vw, 5rem);
  --text-6xl: clamp(2.75rem, 0.5rem + 6vw, 7rem);
  --text-7xl: clamp(3.5rem, 0rem + 8vw, 10rem);
  --text-hero: clamp(3rem, -1rem + 12vw, 12rem);

  /* Display sizes for impactful headlines */
  --text-display-sm: clamp(2rem, 1rem + 3vw, 4rem);
  --text-display-md: clamp(2.5rem, 0.5rem + 5vw, 6rem);
  --text-display-lg: clamp(3rem, 0rem + 8vw, 9rem);
  --text-display-xl: clamp(4rem, -1rem + 12vw, 14rem);

  /* Spacing Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Layout */
  --container-max: 1400px;
  --container-narrow: 1000px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--c-text);
  overflow-x: hidden;
  min-height: 100vh;
}

body.no-scroll {
  overflow: hidden;
}

/* Main content - fullwidth, blocks handle their own containers */
.p2-main {
  width: 100%;
  padding: 0;
  margin: 0;
  /* Branded P2 bottom-right corner cut */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

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

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

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

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-text);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, var(--text-6xl)); }
h2 { font-size: clamp(2rem, 4vw, var(--text-4xl)); }
h3 { font-size: clamp(1.5rem, 3vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }

.text-gradient {
  background: linear-gradient(135deg, var(--c-accent) 0%, #e8bc5f 50%, var(--c-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== Animation Utilities ========== */

/* Reveal animations - initial states */
[data-reveal] {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

[data-reveal="fade"] {
  transform: none;
}

[data-reveal="slide-up"] {
  transform: translateY(80px);
}

[data-reveal="slide-left"] {
  transform: translateX(80px);
}

[data-reveal="slide-right"] {
  transform: translateX(-80px);
}

[data-reveal="scale"] {
  transform: scale(0.9);
}

[data-reveal="clip"] {
  clip-path: inset(100% 0 0 0);
  transform: none;
}

[data-reveal="clip"].is-visible {
  clip-path: inset(0 0 0 0);
}

/* Stagger delays for children */
[data-stagger] > *:nth-child(1) { transition-delay: 0s; }
[data-stagger] > *:nth-child(2) { transition-delay: 0.08s; }
[data-stagger] > *:nth-child(3) { transition-delay: 0.16s; }
[data-stagger] > *:nth-child(4) { transition-delay: 0.24s; }
[data-stagger] > *:nth-child(5) { transition-delay: 0.32s; }
[data-stagger] > *:nth-child(6) { transition-delay: 0.4s; }
[data-stagger] > *:nth-child(7) { transition-delay: 0.48s; }
[data-stagger] > *:nth-child(8) { transition-delay: 0.56s; }
[data-stagger] > *:nth-child(9) { transition-delay: 0.64s; }

/* Parallax container */
.parallax-container {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: -20%;
  width: 140%;
  height: 140%;
  will-change: transform;
}

.parallax-bg img,
.parallax-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Noise Texture Overlay */
.noise-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 100;
  mix-blend-mode: overlay;
}

.noise-overlay--light::after {
  opacity: 0.015;
}

.noise-overlay--strong::after {
  opacity: 0.06;
}

/* Section Transitions */
.section-transition {
  position: relative;
}

.section-transition::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, var(--c-background) 0%, transparent 100%);
  pointer-events: none;
  z-index: 10;
}

.section-transition--dark::before {
  background: linear-gradient(to bottom, #111 0%, transparent 100%);
}

/* Text Split Animation Styles */
.split-text {
  overflow: hidden;
}

.split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-text.is-visible .split-char {
  opacity: 1;
  transform: translateY(0);
}

.split-word {
  display: inline-block;
  overflow: hidden;
}

.split-word-inner {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-text.is-visible .split-word-inner {
  transform: translateY(0);
}

/* Image Reveal - Clean & Simple */
.img-reveal {
  position: relative;
  overflow: hidden;
}

.img-reveal img,
.img-reveal video {
  will-change: transform;
}

/* Section Background Container */
.scroll-reveal-bg {
  position: relative;
  overflow: hidden;
}

.scroll-reveal-bg img,
.scroll-reveal-bg video {
  will-change: transform;
}

/* Magnetic Button Effect */
.magnetic-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.magnetic-btn__inner {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Gradient Text Animation */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.animated-gradient-text {
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent), var(--c-primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease infinite;
}

/* ========== Layout ========== */
.p2-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.p2-container--narrow {
  max-width: var(--container-narrow);
}

.p2-section {
  padding: 2rem 0;
}

/* Common padding for all P2 block sections */
.bento-section,
.features-grid,
.inspire-section,
.materials-section,
.home-projects,
.mk-stats,
.p2-news-block,
.p2-team-block,
.p2-contact-cards-block,
.p2-contact-map-block,
.p2-blocks-grid-block,
.p2-gallery-slider,
.p2-footer-form,
.cz-contact-section,
.cz-projects-page,
.trust-section,
.why-p2-section,
.timeline-section,
.history-section {
  padding: 2rem 0;
}

.p2-section--hero,
.mk-hero {
  padding: 0;
}

.p2-section.p2-contact-map-block,
.p2-contact-map-block,
.wp-block-p2-contact-form,
.p2-section.wp-block-p2-contact-form {
  padding: 0 !important;
}

/* 2rem horizontal padding for all block inner containers */
.bento-section > .p2-container,
.features-grid__container,
.inspire-section__container,
.materials-section__container,
.neighborhood__container,
.mk-stats__container,
.p2-news-block__container,
.p2-team-block__container,
.trust-section__container,
.why-p2-section__container,
.timeline-section__container {
  padding-left: 2rem;
  padding-right: 2rem;
}

.p2-section--dark {
  background: var(--c-primary);
  color: var(--c-surface);
}

.p2-section--dark h1,
.p2-section--dark h2,
.p2-section--dark h3 {
  color: var(--c-surface);
}

.p2-section--dark p {
  color: rgba(255,255,255,0.7);
}

/* ========== HEADER - Minimal & Floating ========== */
.p2-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: var(--space-5) 0;
  transition: all var(--duration-slow) var(--ease-out);
}

.p2-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--c-border-light);
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.p2-header.is-scrolled::before {
  opacity: 1;
}

.p2-header.is-hidden {
  transform: translateY(-100%);
}

.p2-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.p2-header__logo {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.p2-header__logo img {
  height: 44px;
  width: auto;
  transition: transform var(--duration-normal) var(--ease-out);
}

.p2-header__logo:hover img {
  transform: scale(1.02);
}

.p2-header__nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.p2-header__nav-link {
  position: relative;
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-text);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
}

.p2-header__nav-link:hover {
  color: var(--c-primary);
  background: var(--c-background-alt);
}

.p2-header__nav-link.is-active {
  color: var(--c-accent);
}

.p2-header__actions {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.p2-header__phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-surface);
  background: var(--c-primary);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
}

.p2-header__phone:hover {
  background: var(--c-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.p2-header__phone svg {
  width: 16px;
  height: 16px;
}

/* Mobile Menu Toggle */
.p2-header__toggle {
  display: none;
  position: relative;
  z-index: 10;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: background var(--duration-fast);
}

.p2-header__toggle:hover {
  background: var(--c-background-alt);
}

.p2-header__toggle-icon {
  position: relative;
  width: 20px;
  height: 14px;
}

.p2-header__toggle-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}

.p2-header__toggle-icon span:nth-child(1) { top: 0; }
.p2-header__toggle-icon span:nth-child(2) { top: 6px; }
.p2-header__toggle-icon span:nth-child(3) { top: 12px; }

.p2-header__toggle.is-active span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.p2-header__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.p2-header__toggle.is-active span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* ========== HERO - Cinematic & Immersive ========== */
.p2-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--c-primary);
}

.p2-hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.p2-hero__media img,
.p2-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s var(--ease-out);
}

.p2-hero.is-loaded .p2-hero__media img,
.p2-hero.is-loaded .p2-hero__media video {
  transform: scale(1);
}

.p2-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(15,23,42,0.4) 0%,
    rgba(15,23,42,0.2) 40%,
    rgba(15,23,42,0.6) 100%
  );
}

.p2-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: var(--space-20) var(--space-6);
  max-width: 900px;
}

.p2-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  background: rgba(212,168,83,0.15);
  border: 1px solid rgba(212,168,83,0.3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s var(--ease-out) 0.2s forwards;
}

.p2-hero__title {
  font-size: clamp(2.5rem, 8vw, var(--text-7xl));
  font-weight: 700;
  color: var(--c-surface);
  margin-bottom: var(--space-6);
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s var(--ease-out) 0.4s forwards;
}

.p2-hero__title span {
  display: block;
  color: var(--c-accent);
}

.p2-hero__description {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s var(--ease-out) 0.6s forwards;
}

.p2-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s var(--ease-out) 0.8s forwards;
}

.p2-hero__scroll {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255,255,255,0.6);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.2s forwards;
}

.p2-hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s var(--ease-in-out) infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(0.6); opacity: 1; }
}

/* ========== BUTTONS - Refined & Interactive ========== */
.p2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}

.p2-btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--duration-normal) var(--ease-out);
}

.p2-btn--primary {
  color: var(--c-text);
  background: var(--c-accent);
  box-shadow: 0 4px 14px rgba(212,168,83,0.3);
}

.p2-btn--primary:hover {
  background: var(--c-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212,168,83,0.4);
}

.p2-btn--primary:hover svg {
  transform: translateX(3px);
}

.p2-btn--secondary {
  color: var(--c-surface);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}

.p2-btn--secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.3);
}

.p2-btn--outline {
  color: var(--c-text);
  background: transparent;
  border: 1.5px solid var(--c-border);
}

.p2-btn--outline:hover {
  border-color: var(--c-text);
  background: var(--c-text);
  color: var(--c-surface);
}

.p2-btn--ghost {
  color: var(--c-text-secondary);
  background: transparent;
}

.p2-btn--ghost:hover {
  color: var(--c-text);
  background: var(--c-background-alt);
}

.p2-btn--lg {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-base);
}

.p2-btn--sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
}

/* ========== SECTION HEADERS ========== */
.p2-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-16);
}

.p2-section-header__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-accent);
  background: rgba(212,168,83,0.1);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.p2-section-header__title {
  margin-bottom: var(--space-4);
}

.p2-section-header__description {
  font-size: var(--text-lg);
  color: var(--c-text-secondary);
  margin: 0 auto;
}

/* ========== STATS - Elegant Counters ========== */
.p2-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-1);
  background: var(--c-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin: calc(var(--space-16) * -1) var(--space-6) var(--space-16);
  position: relative;
  z-index: 10;
}

.p2-stat {
  padding: var(--space-10) var(--space-6);
  text-align: center;
  position: relative;
}

.p2-stat::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--c-border);
}

.p2-stat:last-child::after {
  display: none;
}

.p2-stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.p2-stat__number span {
  color: var(--c-accent);
}

.p2-stat__label {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  letter-spacing: 0.05em;
}

/* ========== PROJECT CARDS - Premium Grid ========== */
.p2-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.p2-project-card {
  position: relative;
  background: var(--c-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-slow) var(--ease-out);
}

.p2-project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.p2-project-card__image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.p2-project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slower) var(--ease-out);
}

.p2-project-card:hover .p2-project-card__image img {
  transform: scale(1.08);
}

.p2-project-card__badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-surface);
  background: var(--c-primary);
  border-radius: var(--radius-md);
}

.p2-project-card__badge--sold {
  background: var(--c-text-muted);
}

.p2-project-card__badge--new {
  background: var(--c-success);
}

.p2-project-card__content {
  padding: var(--space-6);
}

.p2-project-card__location {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  margin-bottom: var(--space-2);
}

.p2-project-card__location svg {
  width: 14px;
  height: 14px;
}

.p2-project-card__title {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.p2-project-card__meta {
  display: flex;
  gap: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--c-border-light);
}

.p2-project-card__meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.p2-project-card__meta-value {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--c-primary);
}

.p2-project-card__meta-label {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
}

.p2-project-card__progress {
  margin-top: var(--space-4);
}

.p2-project-card__progress-bar {
  height: 4px;
  background: var(--c-background-alt);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.p2-project-card__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent-hover));
  border-radius: var(--radius-full);
  transition: width 1s var(--ease-out);
}

.p2-project-card__progress-text {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  color: var(--c-text-muted);
}

/* ========== FEATURE CARDS ========== */
.p2-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.p2-feature-card {
  padding: var(--space-8);
  background: var(--c-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--c-border-light);
  transition: all var(--duration-normal) var(--ease-out);
}

.p2-feature-card:hover {
  border-color: var(--c-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.p2-feature-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212,168,83,0.1), rgba(212,168,83,0.05));
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
}

.p2-feature-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--c-accent);
}

.p2-feature-card__title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.p2-feature-card__description {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* ========== NEWS CARDS ========== */
.p2-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.p2-news-card {
  background: var(--c-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-slow) var(--ease-out);
}

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

.p2-news-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.p2-news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slower) var(--ease-out);
}

.p2-news-card:hover .p2-news-card__image img {
  transform: scale(1.06);
}

.p2-news-card__content {
  padding: var(--space-6);
}

.p2-news-card__date {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  margin-bottom: var(--space-3);
}

.p2-news-card__date svg {
  width: 14px;
  height: 14px;
}

.p2-news-card__title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.p2-news-card__excerpt {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.p2-news-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-accent);
  transition: gap var(--duration-normal) var(--ease-out);
}

.p2-news-card__link:hover {
  gap: var(--space-3);
}

.p2-news-card__link svg {
  width: 16px;
  height: 16px;
}

/* ========== SPLIT LAYOUT ========== */
.p2-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.p2-split--reverse {
  direction: rtl;
}

.p2-split--reverse > * {
  direction: ltr;
}

.p2-split__content {
  max-width: 540px;
}

.p2-split__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-accent);
  background: rgba(212,168,83,0.1);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.p2-split__title {
  margin-bottom: var(--space-5);
}

.p2-split__description {
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
}

.p2-split__list {
  list-style: none;
  margin-bottom: var(--space-8);
}

.p2-split__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--c-border-light);
}

.p2-split__list li:last-child {
  border-bottom: none;
}

.p2-split__list svg {
  width: 24px;
  height: 24px;
  color: var(--c-success);
  flex-shrink: 0;
  margin-top: 2px;
}

.p2-split__media {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.p2-split__media img {
  width: 100%;
  height: auto;
}

.p2-split__media--float {
  box-shadow: var(--shadow-xl);
}

/* ========== CTA SECTION ========== */
.p2-cta {
  position: relative;
  padding: var(--space-24) 0;
  background: linear-gradient(135deg, var(--c-primary) 0%, #243b5c 100%);
  overflow: hidden;
}

.p2-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,168,83,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.p2-cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.p2-cta__title {
  font-size: var(--text-4xl);
  color: var(--c-surface);
  margin-bottom: var(--space-5);
}

.p2-cta__description {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-10);
  max-width: 100%;
}

.p2-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ========== CONTACT SECTION - Cityzen.ge Style ========== */
.cz-contact-section {
  background: #182F4D;
  min-height: 100vh;
}

.cz-contact-container {
  margin: 0 auto;
}

.cz-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* Left Side */
.cz-contact-left {
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  background: #182F4D;
}

.cz-contact-logo {
  display: inline-block;
  margin-bottom: 32px;
}

.cz-contact-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* Social Icons */
.cz-contact-social {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.cz-contact-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s ease;
}

.cz-contact-social a:hover {
  color: #fff;
}

.cz-contact-social svg {
  width: 20px;
  height: 20px;
}

.cz-contact-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 40px;
}

/* Contact Form */
.cz-contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  flex: 1;
}

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

.cz-form-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

.cz-form-input {
  width: 100%;
  padding: 16px 0;
  font-family: inherit;
  font-size: 0.9375rem;
  color: #fff;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  outline: none;
  transition: border-color 0.2s ease;
}

.cz-form-input::placeholder {
  color: rgba(255,255,255,0.3);
}

.cz-form-input:focus {
  border-color: var(--c-accent);
}

/* Radio Buttons */
.cz-form-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.cz-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.cz-radio input {
  display: none;
}

.cz-radio-mark {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  position: relative;
  transition: all 0.2s ease;
}

.cz-radio input:checked + .cz-radio-mark {
  border-color: var(--c-accent);
  background: var(--c-accent);
}

.cz-radio input:checked + .cz-radio-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: #0a0f1a;
  border-radius: 50%;
}

.cz-radio-text {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
}

.cz-radio input:checked ~ .cz-radio-text {
  color: #fff;
}

.cz-radio-sub {
  color: rgba(255,255,255,0.4);
}

/* Phone Input */
.cz-phone-input {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.cz-phone-prefix {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 16px 16px 0;
  border-right: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}

.cz-phone-prefix svg {
  width: 14px;
  height: 14px;
}

.cz-phone-input .cz-form-input {
  border-bottom: none;
  padding-left: 16px;
}

.cz-flag {
  font-size: 1rem;
}

/* Right Side - Image */
.cz-contact-right {
  position: relative;
}

.cz-contact-image {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.cz-contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cz-contact-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
  display: flex;
  flex-direction: column;
  padding: 40px;
}

.cz-contact-arrow {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.cz-contact-arrow:hover {
  background: #fff;
  color: #0a0f1a;
}

.cz-contact-arrow svg {
  width: 24px;
  height: 24px;
}

.cz-contact-image-content {
  margin-top: auto;
  margin-bottom: auto;
}

.cz-contact-image-title {
  font-size: 2.625rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 32px;
}

.cz-contact-image-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cz-contact-image-features li {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
}

.cz-contact-image-phone {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.cz-contact-image-phone:hover {
  opacity: 0.8;
}

.cz-contact-image-slogan {
  position: absolute;
  bottom: 40px;
  left: 40px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

/* ========== FOOTER - Ultra-thin ========== */
.cz-footer {
  background: #182F4D;
  color: #fff;
  padding: 40px 80px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.cz-footer-inner {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.cz-footer-grid {
  display: flex;
  gap: 80px;
}

.cz-footer-col {
  min-width: 160px;
}

.cz-footer-heading {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 12px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-accent);
}

.cz-footer-text {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

.cz-footer-text p {
  margin: 0;
}

.cz-footer-text a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cz-footer-text a:hover {
  color: #fff;
}

/* Credit */
.cz-footer-credit {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
}

.cz-footer-credit img {
  height: 24px;
  width: auto;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.cz-footer-credit a:hover img {
  opacity: 1;
}

/* Responsive */
@media (max-width: 1200px) {
  .cz-contact-left {
    padding: 40px;
  }

  .cz-footer {
    padding: 32px 40px;
  }

  .cz-footer-grid {
    gap: 48px;
  }
}

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

  .cz-contact-right {
    min-height: 500px;
  }

  .cz-contact-image-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .cz-contact-left {
    padding: 32px 24px;
  }

  .cz-footer {
    padding: 24px;
  }

  .cz-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .cz-footer-grid {
    flex-direction: column;
    gap: 24px;
  }

  .cz-form-radios {
    gap: 16px;
  }

  .cz-contact-image-overlay {
    padding: 24px;
  }

  .cz-contact-arrow {
    top: 24px;
    right: 24px;
  }

  .cz-contact-image-slogan {
    bottom: 24px;
    left: 24px;
  }
}

/* ========== P2 FOOTER FORM BLOCK ========== */
.p2-footer-form {
  background: var(--ff-bg, #182F4D);
  margin-bottom: 0;
  padding: 0;
}

.p2-footer-form--light {
  background: #f8fafc;
}

.p2-footer-form--light .p2-footer-form__left {
  background: #fff;
}

.p2-footer-form__links-bar {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 1rem;
  padding: var(--ff-pos, 2rem);
  background: var(--ff-socials-container-bg, transparent);
  transition: background 0.3s ease;
}

.p2-footer-form__links-bar:hover {
  background: var(--ff-socials-container-bg-hover, transparent);
}

.p2-footer-form__bar-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ff-socials-text, rgba(255,255,255,0.7));
  position: relative;
  transition: color 0.3s ease;
}

.p2-footer-form__bar-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ff-socials-border, rgba(255,255,255,0.25));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  pointer-events: none;
  transition: background 0.3s ease;
}

.p2-footer-form__bar-item::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--ff-socials-bg, transparent);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
  pointer-events: none;
  transition: background 0.3s ease;
}

.p2-footer-form__bar-item span,
.p2-footer-form__bar-item i {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.p2-footer-form__bar-item span {
  color: var(--ff-socials-text, #ffffff);
  font-weight: var(--ff-socials-text-weight, 500);
  font-size: var(--ff-socials-text-size, 0.875rem);
}

.p2-footer-form__bar-item i {
  font-size: var(--ff-socials-icon-size, 1.25rem);
  color: var(--ff-socials-icon, #ffffff);
  font-weight: var(--ff-socials-icon-weight, 400);
}

.p2-footer-form__bar-item:hover span {
  color: var(--ff-socials-text-hover, var(--ff-socials-text, #ffffff));
}

.p2-footer-form__bar-item:hover i {
  color: var(--ff-socials-icon-hover, var(--ff-socials-icon, #ffffff));
}

.p2-footer-form__bar-item:hover::before {
  background: var(--ff-socials-border-hover, var(--ff-socials-border, rgba(255,255,255,0.25)));
}

.p2-footer-form__bar-item:hover::after {
  background: var(--ff-socials-bg-hover, rgba(255,190,0,0.1));
}

.p2-footer-form--light .p2-footer-form__bar-item {
  color: var(--ff-ac1, #274B7A);
}

.p2-footer-form--light .p2-footer-form__bar-item::before {
  background: rgba(39, 75, 122, 0.25);
}

.p2-footer-form--light .p2-footer-form__bar-item::after {
  background: #f8fafc;
}

.p2-footer-form--light .p2-footer-form__bar-item:hover::after {
  background: rgba(39, 75, 122, 0.05);
}

.p2-footer-form__grid {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 50vh;
}

.p2-footer-form__left {
  padding: var(--ff-pos, 2rem);
  display: flex;
  flex-direction: column;
  gap: calc(var(--ff-pos, 2rem) * 3);
}

.p2-footer-form--light .p2-footer-form__left {
  background: #fff;
}

.p2-footer-form__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.p2-footer-form__logo {
  display: inline-block;
}

.p2-footer-form__logo img {
  max-width: 85px;
  width: auto;
}

.p2-footer-form__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.p2-footer-form__phone i {
  font-size: 1.25rem;
  color: var(--ff-ac4, #FFBE00);
}

.p2-footer-form__phone:hover {
  color: #fff;
}

.p2-footer-form--light .p2-footer-form__phone {
  color: var(--ff-ac1, #274B7A);
}

.p2-footer-form--light .p2-footer-form__phone:hover {
  color: var(--ff-ac2, #182F4D);
}

.p2-footer-form__socials {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.p2-footer-form__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s ease;
  font-size: 1.25rem;
}

.p2-footer-form--light .p2-footer-form__social {
  color: var(--ff-ac1, #274B7A);
  opacity: 0.6;
}

.p2-footer-form__social:hover {
  color: var(--ff-ac4, #FFBE00);
}

.p2-footer-form__nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  justify-content: center;
}

.p2-footer-form__nav-link {
  font-size: var(--ff-nav-size, 1.125rem);
  font-weight: var(--ff-nav-weight, 500);
  color: var(--ff-nav-color, rgba(255,255,255,0.7));
  transition: color 0.5s ease;
  width: max-content;
}

.p2-footer-form__nav-link:hover,
.p2-footer-form__nav-link.is-active {
  color: var(--ff-nav-hover, #fff);
}

.p2-footer-form__tagline {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 40px;
}

.p2-footer-form--light .p2-footer-form__tagline {
  color: var(--ff-ac1, #274B7A);
  opacity: 0.7;
}

.p2-footer-form__form-wrapper {
  flex: 1;
}

.p2-footer-form__form-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 24px 0;
}

.p2-footer-form--light .p2-footer-form__form-title {
  color: var(--ff-ac2, #182F4D);
}

.p2-footer-form__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.p2-footer-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p2-footer-form__label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

.p2-footer-form--light .p2-footer-form__label {
  color: var(--ff-ac1, #274B7A);
  opacity: 0.6;
}

.p2-footer-form__input {
  width: 100%;
  padding: 14px 0;
  font-family: inherit;
  font-size: 0.9375rem;
  color: #fff;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  outline: none;
  transition: border-color 0.2s ease;
}

.p2-footer-form--light .p2-footer-form__input {
  color: var(--ff-ac2, #182F4D);
  border-bottom-color: rgba(0,0,0,0.1);
}

.p2-footer-form__input:focus {
  border-color: var(--ff-ac4, #FFBE00);
}

.p2-footer-form__phone-input {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.p2-footer-form--light .p2-footer-form__phone-input {
  border-bottom-color: rgba(0,0,0,0.1);
}

.p2-footer-form__phone-prefix {
  padding-right: 12px;
  margin-right: 12px;
  border-right: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}

.p2-footer-form--light .p2-footer-form__phone-prefix {
  color: var(--ff-ac1, #274B7A);
  border-right-color: rgba(0,0,0,0.1);
}

.p2-footer-form__phone-input .p2-footer-form__input {
  border-bottom: none;
}

.p2-footer-form__submit {
  margin-top: 16px;
  padding: 16px 32px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ff-ac2, #182F4D);
  background: var(--ff-ac4, #FFBE00);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.p2-footer-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,190,0,0.3);
}

.p2-footer-form__contact-info {
  margin-top: 40px;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background-color: #ffffff05;
  border-radius: 10px;
}

.p2-footer-form__contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: color 0.5s ease;
}

.p2-footer-form__contact-item span {
  font-size: var(--ff-bottom-text-size, 0.875rem);
  font-weight: var(--ff-bottom-text-weight, 400);
  color: var(--ff-bottom-text-color, rgba(255,255,255,0.6));
  transition: color 0.5s ease;
}

.p2-footer-form__contact-item:hover span {
  color: var(--ff-bottom-text-hover, #fff);
}

.p2-footer-form__contact-item i {
  font-size: var(--ff-bottom-icons-size, 1.125rem);
  font-weight: var(--ff-bottom-icons-weight, 400);
  color: var(--ff-bottom-icons-color, rgba(255,255,255,0.6));
  transition: color 0.5s ease;
}

.p2-footer-form__contact-item:hover i {
  color: var(--ff-bottom-icons-hover, #fff);
}

/* Bottom Bar */
.p2-footer-form__bottom-bar {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  padding: var(--ff-pos, 2rem);
  border-radius: 25px;
  background-color: var(--ff-bottom-bg, #ffffff03);
}

.p2-footer-form__bottom-bar .p2-footer-form__contact-info {
  margin-top: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.p2-footer-form__bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 1rem;
}

.p2-footer-form--light .p2-footer-form__bottom-row {
  border-top-color: rgba(39, 75, 122, 0.1);
}

.p2-footer-form__bottom-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.p2-footer-form__bottom-link {
  font-size: var(--ff-bottom-nav-size, 0.875rem);
  font-weight: var(--ff-bottom-nav-weight, 400);
  color: var(--ff-bottom-nav-color, rgba(255,255,255,0.6));
  transition: color 0.5s ease;
}

.p2-footer-form__bottom-link:hover,
.p2-footer-form__bottom-link.is-active {
  color: var(--ff-bottom-nav-hover, #fff);
}

.p2-footer-form__bottom-right {
  display: flex;
  align-items: center;
}

.p2-footer-form__copyright {
  font-size: var(--ff-bottom-nav-size, 0.875rem);
  font-weight: var(--ff-bottom-nav-weight, 400);
  color: var(--ff-bottom-nav-color, rgba(255,255,255,0.5));
  cursor: default;
}

/* Right Side */
.p2-footer-form__right {
  position: relative;
  clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
  margin: var(--ff-pos, 2rem);
  display: flex;
  flex-direction: column;
}

.p2-footer-form__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.p2-footer-form__promo {
  flex: 1;
  position: relative;
  overflow: hidden;
  /* Branded cut - top left */
  clip-path: polygon(32px 0, 100% 0, 100% 100%, 0 100%, 0 32px);
  border-radius: 15px;
}

.p2-footer-form__promo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: promoBreathing 8s ease-in-out infinite;
}

.p2-footer-form__promo-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  z-index: 1;
}

.p2-footer-form__promo-title {
  display: block;
  font-family: 'Mersad', sans-serif;
  font-size: var(--ff-promo-title-size, 2rem);
  font-weight: var(--ff-promo-title-weight, 600);
  color: var(--ff-promo-title-color, #fff);
  margin-bottom: 24px;
  line-height: 1.3;
  cursor: default;
}

/* Slogan in header top area - uses promo slogan typography */
.p2-footer-form__slogan {
  font-family: 'Mersad', sans-serif;
  font-size: var(--ff-promo-slogan-size, 1rem);
  font-weight: var(--ff-promo-slogan-weight, 500);
  color: var(--ff-promo-slogan-color, rgba(255,255,255,0.7));
  line-height: 1.5;
  cursor: default;
}

/* Call button - yellow inner shape */
.p2-footer-form__call {
  display: block;
  position: relative;
  width: 20vh;
  height: 20vh;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-sizing: border-box;
}

.p2-footer-form__call::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ff-cta-border, #ffffff14);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%);
  transition: all 0.3s ease;
}

.p2-footer-form__call::after {
  content: '';
  position: absolute;
  inset: 8px;
  background: var(--ff-cta-bg, #FFBE00);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
  transition: all 0.3s ease;
}

.p2-footer-form__call i,
.p2-footer-form__call span {
  position: relative;
  z-index: 1;
}

.p2-footer-form__call i {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: var(--ff-cta-icon-size, 4rem);
  color: var(--ff-cta-icon-color, #192F4D);
  font-weight: var(--ff-cta-icon-weight, 400);
  transition: all 0.3s ease;
}

.p2-footer-form__call span {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  color: var(--ff-cta-text-color, #192F4D);
  font-weight: var(--ff-cta-text-weight, 600);
  font-size: var(--ff-cta-text-size, 1rem);
}

.p2-footer-form__call:hover::before {
  background: var(--ff-cta-border-hover, #ffffff14);
}

.p2-footer-form__call:hover::after {
  background: var(--ff-cta-bg-hover, #e6ab00);
}

.p2-footer-form__call:hover span {
  color: var(--ff-cta-text-hover, #182F4D);
}

.p2-footer-form__call:hover i {
  color: var(--ff-cta-icon-hover, #182F4D);
}

.p2-footer-form__image--placeholder,
.p2-footer-form__image--no-image {
  background: var(--ff-ac1, #274B7A);
}

.p2-footer-form__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,0.3);
  font-size: 0.875rem;
}

.p2-footer-form__placeholder i {
  font-size: 3rem;
}

.p2-footer-form__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
  display: flex;
  flex-direction: column;
  padding: 40px;
}

.p2-footer-form__arrow {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

.p2-footer-form__arrow:hover {
  background: #fff;
  color: var(--ff-ac2, #182F4D);
}

.p2-footer-form__image-content {
  margin-top: auto;
  margin-bottom: auto;
}

.p2-footer-form__image-title {
  font-size: 2.25rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 24px 0;
}

.p2-footer-form__image-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p2-footer-form__image-features li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}

.p2-footer-form__image-phone {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.p2-footer-form__image-phone:hover {
  opacity: 0.8;
}

.p2-footer-form__image-slogan {
  position: absolute;
  bottom: 40px;
  left: 40px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.p2-footer-form__image-arrow {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

.p2-footer-form__image-arrow:hover {
  background: #fff;
  color: var(--ff-ac2, #182F4D);
}

/* Social Boxes */
.p2-footer-form__socials {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  z-index: 3;
}

.p2-footer-form__social-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px 20px;
  background: transparent;
  border-right: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Remove right border from last column */
.p2-footer-form__social-box:nth-child(3n) {
  border-right: none;
}

/* Remove bottom border from last row */
.p2-footer-form__social-box:nth-child(n+4) {
  border-bottom: none;
}

.p2-footer-form__social-box i {
  font-size: 2rem;
  color: #fff;
  transition: transform 0.3s ease;
}

.p2-footer-form__social-box span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-transform: capitalize;
}

.p2-footer-form__social-box:hover {
  background: rgba(255,255,255,0.1);
}

.p2-footer-form__social-box:hover i {
  transform: translate(4px, -4px);
}

/* Responsive */

@media (max-width: 1600px) {
  .p2-footer-form__logo img {
    max-width: 70px;
  }

  .p2-footer-form__grid {
    grid-template-columns: 50% 50%;
  }

  .p2-footer-form__call {
    min-width: 200px;
    min-height: 200px;
  }

  .p2-footer-form__call::before {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  }

  .p2-footer-form__call::after {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 21px), calc(100% - 21px) 100%, 0 100%);
  }
}

@media (max-width: 1400px) {
  .p2-footer-form__logo img {
    max-width: 60px;
  }

  .p2-footer-form__grid {
    grid-template-columns: 60% 40%;
  }

  .p2-footer-form__bar-item {
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 1200px) {
  .p2-footer-form__logo img {
    max-width: 85px;
  }

  .p2-footer-form__links-bar {
    gap: 0.75rem;
  }

  .p2-footer-form__bar-item {
    flex: 0 0 calc(33.333% - 0.5rem);
    padding: 1rem;
    font-size: 0.875rem;
  }

  .p2-footer-form__contact-info {
    flex-wrap: wrap;
  }

  .p2-footer-form__contact-item:nth-child(2) {
    justify-content: flex-end;
  }

  .p2-footer-form__contact-item:last-child {
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .p2-footer-form__logo img {
    max-width: 70px;
  }

  .p2-footer-form__bar-item {
    flex: 0 0 calc(50% - 0.375rem);
  }

  .p2-footer-form__bar-item:last-child:nth-child(odd) {
    flex: 0 0 100%;
  }

  .p2-footer-form__contact-info {
    flex-wrap: nowrap;
    gap: 0;
  }

  .p2-footer-form__contact-item {
    flex: 1 1 0;
    min-width: 0;
  }

  .p2-footer-form__contact-item:nth-child(2) {
    justify-content: center;
    width: 100%;
  }

  .p2-footer-form__contact-item:last-child {
    justify-content: flex-end;
    width: 100%;
  }

  .p2-footer-form__grid {
    grid-template-columns: 1fr;
  }

  .p2-footer-form__promo {
    min-height: 500px;
  }

  .p2-footer-form__image-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .p2-footer-form__logo img {
    max-width: 60px;
  }

  .p2-footer-form__bottom-bar {
    padding: calc(var(--ff-pos, 2rem) * 2);
  }

  .p2-footer-form__contact-info {
    flex-wrap: wrap;
    gap: 24px;
  }

  .p2-footer-form__contact-item {
    flex: 0 0 100%;
  }

  .p2-footer-form__contact-item:nth-child(2),
  .p2-footer-form__contact-item:last-child {
    justify-content: flex-start;
    width: 100%;
  }

  .p2-footer-form__bottom-bar .p2-footer-form__contact-info {
    flex-wrap: wrap;
  }

  .p2-footer-form__bottom-bar .p2-footer-form__contact-item {
    flex: 1 1 0;
    min-width: 0;
  }

  .p2-footer-form__bottom-bar .p2-footer-form__contact-item:nth-child(2) {
    justify-content: flex-end;
  }

  .p2-footer-form__bottom-bar .p2-footer-form__contact-item:last-child {
    flex: 0 0 100%;
  }

  .p2-footer-form__image-overlay {
    padding: 24px;
  }

  .p2-footer-form__image-arrow {
    top: 24px;
    right: 24px;
  }

  .p2-footer-form__image-slogan {
    bottom: 24px;
    left: 24px;
  }

  .p2-footer-form__social-box {
    padding: 24px 12px;
    gap: 12px;
  }

  .p2-footer-form__social-box i {
    font-size: 1.5rem;
  }

  .p2-footer-form__social-box span {
    font-size: 0.6875rem;
  }

  .p2-footer-form__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

}

@media (max-width: 576px) {
  .p2-footer-form__contact-info {
    gap: 24px;
  }

  .p2-footer-form__bottom-bar .p2-footer-form__contact-info {
    flex-wrap: wrap;
  }

  .p2-footer-form__bottom-bar .p2-footer-form__contact-item {
    flex: 0 0 100%;
  }

  .p2-footer-form__bottom-bar .p2-footer-form__contact-item:nth-child(2) {
    justify-content: flex-start;
  }

  .p2-footer-form__slogan {
    text-align: right;
  }

  .p2-footer-form__bottom-row {
    flex-direction: column;
    align-items: start;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .p2-footer-form__links-bar {
    gap: 0.5rem;
  }

  .p2-footer-form__bar-item {
    padding: 0.875rem;
    font-size: 0.8125rem;
  }

  .p2-footer-form__bar-item i {
    font-size: 1rem;
  }
}

/* ========== PROJECTS PAGE - Cityzen.ge Style ========== */
.cz-projects-page {
  position: relative;
  background: #fff;
}

.cz-projects-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Header */
.cz-projects-header {
  text-align: center;
  margin-bottom: 48px;
}

.cz-projects-subtitle {
  display: block;
  font-size: 0.75rem;
  color: #999;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.cz-projects-title {
  font-size: 3rem;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0;
}

/* Tabs */
.cz-projects-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  border-bottom: 1px solid #e5e5e5;
}

.cz-projects-tab {
  padding: 16px 32px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 400;
  color: #666;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.cz-projects-tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.cz-projects-tab:hover {
  color: #1a1a1a;
}

.cz-projects-tab.is-active {
  color: #1a1a1a;
  font-weight: 500;
}

.cz-projects-tab.is-active::after {
  transform: scaleX(1);
}

@media (max-width: 1200px) {
  .cz-projects-tabs {
    flex-wrap: wrap;
  }
  .cz-projects-tab {
    width: 50%;
    text-align: center;
  }
}

/* Projects Grid V2 - Full height cards with sliders */
.cz-projects-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Grid column count is set dynamically via JS adjustGridLayout() */
/* It uses min(visibleItems, configuredColumns) per breakpoint */

/* Grid Layout (default) */
.cz-projects-grid-v2--grid {
  grid-template-columns: repeat(2, 1fr);
}

.cz-projects-grid-v2--grid .cz-project-card-v2 {
  aspect-ratio: 1/1;
}

/* Masonry Layout (MiniMasonry.js) */
.cz-projects-grid-v2--masonry {
  display: block;
  position: relative;
  width: 100%;
}

.cz-projects-grid-v2--masonry .cz-project-card-v2 {
  position: absolute;
  aspect-ratio: auto;
}

.cz-projects-grid-v2--masonry .cz-project-card-v2:nth-child(4n+1) {
  height: 650px;
}

.cz-projects-grid-v2--masonry .cz-project-card-v2:nth-child(4n+2) {
  height: 550px;
}

.cz-projects-grid-v2--masonry .cz-project-card-v2:nth-child(4n+3) {
  height: 600px;
}

.cz-projects-grid-v2--masonry .cz-project-card-v2:nth-child(4n+4) {
  height: 520px;
}

/* Staggered Layout - diagonal cascade effect */
.cz-projects-grid-v2--staggered {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.cz-projects-grid-v2--staggered .cz-project-card-v2 {
  aspect-ratio: 1/1;
}

/* Staggered vertical offsets - create diagonal cascade */
.cz-projects-grid-v2--staggered .cz-project-card-v2:nth-child(3n+1) {
  margin-top: 0;
}

.cz-projects-grid-v2--staggered .cz-project-card-v2:nth-child(3n+2) {
  margin-top: 35px;
}

.cz-projects-grid-v2--staggered .cz-project-card-v2:nth-child(3n+3) {
  margin-top: 70px;
}

/* Responsive staggered */
@media (max-width: 1024px) {
  .cz-projects-grid-v2--staggered {
    grid-template-columns: repeat(2, 1fr);
  }
  .cz-projects-grid-v2--staggered .cz-project-card-v2:nth-child(3n+1),
  .cz-projects-grid-v2--staggered .cz-project-card-v2:nth-child(3n+2),
  .cz-projects-grid-v2--staggered .cz-project-card-v2:nth-child(3n+3) {
    margin-top: 0;
  }
  .cz-projects-grid-v2--staggered .cz-project-card-v2:nth-child(2n+2) {
    margin-top: 80px;
  }
}

@media (max-width: 768px) {
  .cz-projects-grid-v2--staggered {
    grid-template-columns: 1fr;
  }
  .cz-projects-grid-v2--staggered .cz-project-card-v2,
  .cz-projects-grid-v2--staggered .cz-project-card-v2:nth-child(2n+2) {
    margin-top: 0;
  }
}

/* List Layout */
.cz-projects-grid-v2--list {
  grid-template-columns: 1fr;
  gap: 32px;
}

.cz-projects-grid-v2--list .cz-project-card-v2 {
  aspect-ratio: 21/9;
}

.cz-projects-grid-v2--list .cz-project-card-v2__content {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.cz-projects-grid-v2--list .cz-project-card-v2__header {
  flex: 1;
}

.cz-projects-grid-v2--list .cz-project-card-v2__btn {
  margin: 0;
}

.cz-projects-grid-v2--list .cz-project-card-v2__footer {
  margin-top: 0;
  margin-left: auto;
}

/* Animation styles */
.cz-project-card-v2--animate {
  will-change: transform, opacity, filter;
  transform-origin: center center;
  backface-visibility: hidden;
}

/* CSS animation */
.cz-projects-grid-v2--animated .cz-project-card-v2--animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cz-projects-grid-v2--animated .cz-project-card-v2--animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Project Card V2 */
.cz-project-card-v2 {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #1a2b4a;
}

.cz-project-swiper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cz-project-swiper .swiper-wrapper {
  height: 100%;
}

.cz-project-swiper .swiper-slide {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden;
}

.cz-project-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center center;
  will-change: transform;
  transition: transform 0.5s ease;
}

.cz-project-card-v2:hover .cz-project-swiper .swiper-slide img {
  transform: scale(1.15);
}

.cz-project-swiper .swiper-slide {
  background-size: cover;
  background-position: center;
}

/* Vertical Pagination on right */
.cz-project-pagination {
  position: absolute !important;
  right: 24px !important;
  left: auto !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  width: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  z-index: 10 !important;
}

.cz-project-pagination .swiper-pagination-bullet,
.cz-project-bullet {
  width: 10px !important;
  height: 10px !important;
  background: rgba(255,255,255,0.4) !important;
  border-radius: 50% !important;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 1 !important;
  margin: 0 !important;
}

.cz-project-pagination .swiper-pagination-bullet-active,
.cz-project-bullet.is-active {
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

/* Content Overlay */
.cz-project-card-v2__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  z-index: 5;
  pointer-events: none;
  background-color: transparent !important;
}

.cz-project-card-v2__content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--card-overlay, transparent) 0%, transparent 50%, transparent 60%, var(--card-overlay, transparent) 100%);
  transition: opacity 0.5s ease;
  pointer-events: none;
}



.cz-project-card-v2__content > * {
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

/* Header */
.cz-project-card-v2__header {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

/* Status badges */
.cz-project-card-v2__badges {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  width: 50%;
}

.cz-project-card-v2__badge {
  padding: 0.25rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
}

.cz-project-card-v2__badge--progress {
  background: #182F4D;
  color: #fff;
}

.cz-project-card-v2__badge--ongoing {
  background: #FFBE00;
  color: #182F4D;
}

.cz-project-card-v2__badge--completed {
  background: #22c55e;
  color: #fff;
}

.cz-project-card-v2__badge--sold {
  background: #e05050;
  color: #fff;
}

.cz-project-card-v2__badge--planned {
  background: #62b4eb;
  color: #fff;
}

/* Badge progress bar */
.cz-project-card-v2__badge--progress {
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
}

.cz-project-card-v2__badge-bar {
  display: block;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.cz-project-card-v2__badge-bar-fill {
  display: block;
  height: 100%;
  background: #fff;
  border-radius: 2px;
  transition: width 0.4s ease;
  top: 0;
  position: absolute;
}

.cz-project-card-v2__title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  width: 100%;
  order: 2;
}

.cz-project-card-v2__location {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.9);
  margin: 0 0 16px 0;
  width: 50%;
  order: 1;
}

.cz-project-card-v2__location--mobile {
  display: none;
}

@media (max-width: 768px) {
  .cz-project-card-v2__header {
    flex-direction: column;
  }
  .cz-project-card-v2__badges {
    width: 100%;
    margin-bottom: 1.25rem;
  }
  .cz-project-card-v2__location--header {
    display: none;
  }
  .cz-project-card-v2__location--mobile {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    margin: 0 0 8px 0;
  }
}

.cz-project-card-v2__location svg {
  width: 16px;
  height: 16px;
  color: #5ba3e0;
}

/* Button - square with branded corner cut (like footer call button) */
.cz-project-card-v2__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: 200px;
  height: 200px;
  padding: 0;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: #182F4D;
  background: transparent;
  border: none;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cz-project-card-v2__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.3);
  clip-path: polygon(
    0 0, 100% 0, 100% calc(100% - 16px),
    calc(100% - 16px) 100%, 0 100%
  );
  transition: background 0.3s ease;
}

.cz-project-card-v2__btn::after {
  content: '';
  position: absolute;
  inset: 8px;
  background: #FFBE00;
  clip-path: polygon(
    0 0, 100% 0, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 0 100%
  );
  transition: background 0.3s ease;
}

.cz-project-card-v2__btn i,
.cz-project-card-v2__btn span {
  position: relative;
  z-index: 1;
}

.cz-project-card-v2__btn i {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  font-size: 3rem;
  color: #182F4D;
  transition: all 0.3s ease;
}

.cz-project-card-v2__btn span {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  color: #182F4D;
  font-weight: 600;
}

.cz-project-card-v2__btn:hover::before {
  background: rgba(255,255,255,0.8);
}

.cz-project-card-v2__btn:hover::after {
  background: rgba(255,255,255,0.1);
}

/* Footer actions - button + tooltip side by side */
.cz-project-card-v2__footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Info icon with tooltip */
.cz-project-card-v2__info-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  line-height: 0rem;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.cz-project-card-v2__info-tooltip:hover {
  background: rgba(255,255,255,0.2);
}

.cz-project-card-v2__info-tooltip > i {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.cz-project-card-v2__info-tooltip:hover > i {
  color: #FFBE00;
}

.cz-project-card-v2__tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
  background: #182F4D;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 100;
  min-width: 200px;
  max-width: 320px;
  width: max-content;
}

.cz-project-card-v2__tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 16px;
  border: 6px solid transparent;
  border-top-color: #182F4D;
}

.cz-project-card-v2__tooltip-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cz-project-card-v2__tooltip-item i {
  font-size: 1.125rem;
  color: #FFBE00;
  flex-shrink: 0;
  margin-top: 2px;
}

.cz-project-card-v2__tooltip-item span {
  color: #fff;
  line-height: 1.4;
}

.cz-project-card-v2__info-tooltip:hover .cz-project-card-v2__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-4px);
}

/* Footer */
.cz-project-card-v2__footer {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.cz-project-card-v2__blocks {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
  order: 2;
}

.cz-project-card-v2__blocks:only-child {
  width: 100%;
}

.cz-project-card-v2__footer > .cz-project-card-v2__btn,
.cz-project-card-v2__footer > .cz-project-card-v2__info-tooltip {
  order: 1;
}

@media (max-width: 768px) {
  .cz-project-card-v2__footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .cz-project-card-v2__blocks {
    width: 100%;
    justify-content: flex-start;
  }
}

.cz-project-card-v2__block {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-accent);
  background: rgba(212, 168, 83, 0.15);
  border-radius: 0;
}

.cz-project-card-v2__block-pct {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #FFBE00;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
  padding: 3px 4px;
  min-width: 20px;
  text-align: center;
}

.cz-project-card-v2__block svg {
  width: 16px;
  height: 16px;
}

.cz-project-card-v2__separator {
  font-size: 1.25rem;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
}

/* Active block badge (sales open - clickable) */
.cz-project-card-v2__block--active {
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cz-project-card-v2__block--active:hover {
  background: rgba(212, 168, 83, 0.35);
  transform: translateY(-2px);
}

/* Disabled block badge (sales not open) */
.cz-project-card-v2__block--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 1200px) {
  .cz-projects-grid-v2 {
    gap: 20px;
  }

  .cz-project-card-v2__title {
    font-size: 1.75rem;
  }

  .cz-project-card-v2__content {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .cz-projects-grid-v2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cz-projects-grid-v2--masonry .cz-project-card-v2 {
    height: 500px !important;
  }

  .cz-projects-grid-v2--masonry .cz-project-card-v2:nth-child(even) {
    height: 420px !important;
  }

  .cz-projects-grid-v2--list .cz-project-card-v2 {
    aspect-ratio: 1/1;
  }

  .cz-projects-grid-v2--list .cz-project-card-v2__content {
    flex-direction: column;
    align-items: stretch;
  }

  .cz-projects-grid-v2--list .cz-project-card-v2__btn {
    margin: auto;
  }

  .cz-projects-grid-v2--list .cz-project-card-v2__footer {
    margin-top: auto;
    margin-left: 0;
  }

  .cz-project-card-v2 {
    aspect-ratio: auto;
    height: 70vh;
    width: 100%;
  }

  .cz-project-card-v2__title {
    font-size: 1.5rem;
  }

  .cz-project-card-v2__content {
    padding: 24px;
  }

  .cz-project-card-v2__block {
    padding: 6px 9px;
  }

  .cz-project-card-v2__btn {
    display: none !important;
  }

  .cz-project-pagination {
    right: 16px;
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .cz-projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .cz-projects-title {
    font-size: 2rem;
  }

  .cz-projects-tabs {
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  .cz-projects-tab {
    padding: 12px 20px;
    white-space: nowrap;
  }

  .cz-projects-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cz-project-card__image {
    aspect-ratio: 4/5;
  }
}

/* ========== Projects Separator (Section Head) ========== */
.cz-projects-separator {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 5rem 0 2rem 0;
  padding: 24px 32px;
  gap: 40px;
  flex-shrink: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease, height 0.4s ease, margin 0.4s ease;
  overflow: hidden;
}

/* Branded border - outer (border color) */
.cz-projects-separator::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--header-border, #FFBE00);
  clip-path: polygon(
    0 0, 100% 0,
    100% calc(100% - 20px), calc(100% - 20px) 100%,
    0 100%
  );
  pointer-events: none;
}

/* Branded border - inner (background) */
.cz-projects-separator::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: var(--header-bg, #f8f8f8);
  clip-path: polygon(
    0 0, 100% 0,
    100% calc(100% - 16px), calc(100% - 16px) 100%,
    0 100%
  );
  pointer-events: none;
}

.cz-projects-separator > * {
  position: relative;
  z-index: 1;
}

/* Left section */
.cz-projects-separator__left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

/* Right section */
.cz-projects-separator__right {
  display: flex;
  align-items: flex-start;
}

/* Title row */
.cz-projects-separator__title-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.cz-projects-separator__icon {
  display: flex;
  align-items: center;
}

.cz-projects-separator__icon i {
  font-size: 1.5rem;
  color: #FFBE00;
}

.cz-projects-separator__title {
  font-family: 'Mersad', sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 1px;
  margin: 0;
  color: #182F4D;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cz-projects-separator__description {
  font-family: 'Mersad', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #555;
  max-width: 650px;
}

/* Button - P2 branded corner cut style */
.cz-projects-separator__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Mersad', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #182F4D;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.cz-projects-separator__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #182F4D;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: background 0.3s ease;
}

.cz-projects-separator__btn::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: #FFBE00;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: background 0.3s ease;
}

.cz-projects-separator__btn span,
.cz-projects-separator__btn i {
  position: relative;
  z-index: 1;
}

.cz-projects-separator__btn:hover {
  color: #fff;
}

.cz-projects-separator__btn:hover::after {
  background: #182F4D;
}

/* Responsive */
@media (max-width: 992px) {
  .cz-projects-separator {
    flex-direction: column;
    gap: 20px;
    padding: 20px 24px;
  }

  .cz-projects-separator__right {
    width: 100%;
  }

  .cz-projects-separator__description {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .cz-projects-separator__title-row {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .cz-projects-separator {
    margin: 24px 0;
    padding: 16px 20px;
  }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll-triggered animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all var(--duration-slower) var(--ease-out);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all var(--duration-slower) var(--ease-out);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all var(--duration-slower) var(--ease-out);
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: all var(--duration-slower) var(--ease-out);
}

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

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--duration-slow) var(--ease-out);
}

.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: 100ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: 200ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(6) { transition-delay: 500ms; opacity: 1; transform: translateY(0); }

/* Image reveal effect */
.img-reveal {
  position: relative;
  overflow: hidden;
}

.img-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-primary);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform var(--duration-slower) var(--ease-out);
}

.img-reveal.is-visible::after {
  transform: scaleX(0);
}

/* Counter animation */
.counter {
  display: inline-block;
}

/* ========== CONTACT PAGE ========== */
.p2-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

.p2-contact-card {
  padding: var(--space-8);
  background: var(--c-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--c-border-light);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
}

.p2-contact-card:hover {
  border-color: var(--c-accent);
  box-shadow: var(--shadow-glow);
}

.p2-contact-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212,168,83,0.1), rgba(212,168,83,0.05));
  border-radius: var(--radius-xl);
}

.p2-contact-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--c-accent);
}

.p2-contact-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.p2-contact-card__value {
  font-size: var(--text-lg);
  color: var(--c-primary);
  font-weight: 600;
}

.p2-contact-card__value a {
  color: inherit;
  transition: color var(--duration-fast);
}

.p2-contact-card__value a:hover {
  color: var(--c-accent);
}

/* Contact Cards v2 - Branded Corner Cut Design */
.p2-contact-cards-block {
  position: relative;
}

.p2-contact-cards-block .p2-container {
  padding: 0;
}

.p2-contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.p2-contact-cards-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.p2-contact-card-v2 {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: row;
}

/* Bold branded border */
.p2-contact-card-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--card-border, #e0e0e0);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
  pointer-events: none;
}

.p2-contact-card-v2::after {
  content: '';
  position: absolute;
  inset: 6px;
  background: var(--card-bg, #fff);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  pointer-events: none;
}

.p2-contact-card-v2 > * {
  position: relative;
  z-index: 1;
}

.p2-contact-card-v2__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 16px;
}

.p2-contact-card-v2__icon {
  margin-bottom: 0;
}

.p2-contact-card-v2__icon i {
  font-size: 3rem;
  color: var(--card-icon-color, #274B7A);
  line-height: 1;
}

.p2-contact-card-v2__content {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 8px;
}


.p2-contact-card-v2__value {
  font-size: 1.375rem;
  color: #1a1a1a;
  font-weight: 500;
  line-height: 1.3;
}

.p2-contact-card-v2__btn {
  position: relative;
  width: 170px;
  height: 140px;
  background: transparent;
  border: none;
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #192F4D;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* Outer shape - border frame */
.p2-contact-card-v2__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--card-btn-border, #ffffff14);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: all 0.3s ease;
}

/* Inner fill */
.p2-contact-card-v2__btn::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--card-btn-bg, #FFBE00);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
  transition: all 0.3s ease;
}

.p2-contact-card-v2__btn:hover::before {
  background: var(--card-btn-border-hover, #ffffff24);
}

.p2-contact-card-v2__btn:hover::after {
  background: var(--card-btn-hover, #e6ab00);
}

.p2-contact-card-v2__btn i,
.p2-contact-card-v2__btn span {
  position: absolute;
  z-index: 1;
  transition: color 0.5s ease;
}

.p2-contact-card-v2__btn i {
  top: 1.25rem;
  left: 1.25rem;
  font-size: 2.5rem;
  color: #192F4D;
}

.p2-contact-card-v2__btn span {
  bottom: 1.25rem;
  color: #192F4D;
  left: 1.25rem;
  font-weight: 600;
}

/* Contact Section Layout - 1/3 + 2/3 */
.p2-contact-section-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  margin-top: 48px;
}

/* Working Hours Card */
.p2-contact-hours-card {
  position: relative;
  height: 100%;
}

.p2-contact-hours-card__inner {
  position: relative;
  background: var(--card-bg, #fff);
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.p2-contact-hours-card__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--card-border, #e0e0e0);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
  pointer-events: none;
}

.p2-contact-hours-card__inner::after {
  content: '';
  position: absolute;
  inset: 6px;
  background: var(--card-bg, #fff);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  pointer-events: none;
}

.p2-contact-hours-card__inner > * {
  position: relative;
  z-index: 1;
}

.p2-contact-hours-card__head {
  display: flex;
  align-items: start;
  gap: 12px;
  margin-bottom: 24px;
  flex-direction: column;
}

.p2-contact-hours-card__icon i {
  font-size: 3rem;
  color: var(--card-icon-color, #274B7A);
  line-height: 1;
}

.p2-contact-hours-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.p2-contact-hours-card__item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.875rem;
}

.p2-contact-hours-card__item:last-child {
  border-bottom: none;
}

.p2-contact-hours-card__day {
  color: #666;
}

.p2-contact-hours-card__time {
  font-weight: 500;
  color: #1a1a1a;
}

/* Request Call Card */
.p2-contact-request-card {
  position: relative;
  height: 100%;
}

.p2-contact-request-card__inner {
  position: relative;
  background: var(--card-bg-color, #182F4D);
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.p2-contact-request-card__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--card-border-color, #3F6696);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
  z-index: -1;
}

.p2-contact-request-card__inner::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--card-bg-color, #182F4D);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 23px), calc(100% - 23px) 100%, 0 100%);
  z-index: -1;
}

.p2-contact-request-card__title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
}

.p2-contact-request-card__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.p2-contact-request-card__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.p2-contact-request-card__field--full {
  grid-column: 1 / -1;
}

.p2-contact-request-card__label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.p2-contact-request-card__input {
  padding: 14px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  color: #fff;
  font-size: 0.9375rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.p2-contact-request-card__input::placeholder {
  color: rgba(255,255,255,0.5);
}

.p2-contact-request-card__input:focus {
  outline: none;
  border-color: var(--card-btn-color, #FFBE00);
  background: rgba(255,255,255,0.15);
}

.p2-contact-request-card__schedule {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: #fff;
  font-size: 0.875rem;
}

.p2-contact-request-card__schedule input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--card-btn-color, #FFBE00);
}

.p2-contact-request-card__datetime {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.p2-contact-request-card__submit {
  margin-top: 24px;
  padding: 16px 32px;
  background: var(--card-btn-color, #FFBE00);
  border: none;
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
}

.p2-contact-request-card__submit:hover {
  background: var(--card-btn-hover, #e6ab00);
}

.p2-contact-request-card__submit i {
  font-size: 1.25rem;
}

/* Bottom Row: Working Hours + Socials */
.p2-contact-bottom-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-top: 32px;
  align-items: stretch;
}

.p2-contact-bottom-row .p2-contact-hours-card {
  margin-top: 0;
  height: 100%;
}

.p2-contact-bottom-row .p2-contact-hours-card__inner {
  height: 100%;
}

/* Social Grid - single column */
.p2-contact-social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  height: 100%;
}

.p2-contact-social-card {
  position: relative;
  background: var(--card-bg, #fff);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  text-decoration: none;
  transition: all 0.3s ease;
  min-height: 60px;
}

.p2-contact-social-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--card-border, #e0e0e0);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  z-index: -1;
}

.p2-contact-social-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--card-bg, #fff);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
  z-index: -1;
  transition: background 0.3s ease;
}

.p2-contact-social-card:hover::after {
  background: #f8f8f8;
}

.p2-contact-social-card__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a1a;
}

.p2-contact-social-card__arrow {
  font-size: 1.125rem;
  color: var(--card-icon-color, #274B7A);
  transition: transform 0.3s ease;
}

.p2-contact-social-card:hover .p2-contact-social-card__arrow {
  transform: translateX(4px);
}

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

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

  .p2-contact-social-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

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

  .p2-contact-social-grid > :last-child:nth-child(3n+1) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .p2-contact-card-v2__value {
    font-size: 1.125rem;
  }

  .p2-contact-card-v2__icon i {
    font-size: 2.5rem;
  }

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

  .p2-contact-social-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* Contact Form */
.p2-form {
  background: var(--c-surface);
  padding: var(--space-10);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

.p2-form__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.p2-form__subtitle {
  color: var(--c-text-muted);
  margin-bottom: var(--space-8);
}

.p2-form__group {
  margin-bottom: var(--space-5);
}

.p2-form__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-2);
  color: var(--c-text);
}

.p2-form__input,
.p2-form__select,
.p2-form__textarea {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--c-text);
  background: var(--c-background);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-lg);
  transition: all var(--duration-fast);
  outline: none;
}

.p2-form__input:focus,
.p2-form__select:focus,
.p2-form__textarea:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(212,168,83,0.1);
}

.p2-form__textarea {
  min-height: 140px;
  resize: vertical;
}

.p2-form__submit {
  width: 100%;
  margin-top: var(--space-4);
}

/* Map Container */
.p2-map {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 500px;
}

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

/* ========== PAGE HEADER ========== */
.p2-page-header {
  padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-16);
  background: linear-gradient(135deg, var(--c-primary) 0%, #243b5c 100%);
  text-align: center;
}

.p2-page-header__title {
  font-size: var(--text-4xl);
  color: var(--c-surface);
  margin-bottom: var(--space-4);
}

.p2-page-header__breadcrumb {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
}

.p2-page-header__breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: color var(--duration-fast);
}

.p2-page-header__breadcrumb a:hover {
  color: var(--c-accent);
}

/* ========== EMPTY STATE ========== */
.p2-empty {
  text-align: center;
  padding: var(--space-20);
}

.p2-empty__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-background-alt);
  border-radius: var(--radius-xl);
}

.p2-empty__icon svg {
  width: 40px;
  height: 40px;
  color: var(--c-text-muted);
}

.p2-empty__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.p2-empty__description {
  color: var(--c-text-muted);
}

/* ========== PAGINATION ========== */
.p2-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-12);
}

.p2-pagination a,
.p2-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-text-secondary);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast);
}

.p2-pagination a:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.p2-pagination .current {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-surface);
}

/* ========== MODAL ========== */
.p2-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.p2-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.p2-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.8);
  backdrop-filter: blur(8px);
}

.p2-modal__content {
  position: relative;
  width: 100%;
  background: var(--c-surface);
  border-radius: var(--radius-2xl);
  transform: translateY(20px) scale(0.95);
  transition: transform var(--duration-normal) var(--ease-out);
}

.p2-modal.is-open .p2-modal__content {
  transform: translateY(0) scale(1);
}

.p2-modal__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-background-alt);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast);
}

.p2-modal__close:hover {
  background: var(--c-border);
}

.p2-modal__close svg {
  width: 20px;
  height: 20px;
}

/* ========== MOBILE MENU ========== */
.p2-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--c-surface);
  padding: calc(var(--header-height) + var(--space-8)) var(--space-6) var(--space-8);
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out);
  overflow-y: auto;
}

.p2-mobile-menu.is-open {
  transform: translateX(0);
}

.p2-mobile-menu__nav {
  margin-bottom: var(--space-8);
}

.p2-mobile-menu__link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border-light);
}

.p2-mobile-menu__link svg {
  width: 20px;
  height: 20px;
  color: var(--c-text-muted);
}

.p2-mobile-menu__link.is-active {
  color: var(--c-accent);
}

.p2-mobile-menu__cta {
  width: 100%;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .p2-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 992px) {
  .p2-header__nav {
    display: none;
  }

  .p2-header__toggle {
    display: flex;
  }

  .p2-split {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .p2-split--reverse {
    direction: ltr;
  }

  .p2-split__content {
    max-width: 100%;
  }

  .p2-stats {
    grid-template-columns: repeat(2, 1fr);
    margin: calc(var(--space-12) * -1) var(--space-4) var(--space-12);
  }

  .p2-stat::after {
    display: none;
  }

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

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

@media (max-width: 768px) {
  :root {
    --space-24: 64px;
    --space-20: 56px;
    --space-16: 48px;
  }

  .p2-hero__content {
    padding: var(--space-16) var(--space-5);
  }

  .p2-hero__title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .p2-projects-grid {
    grid-template-columns: 1fr;
  }

  .p2-features-grid {
    grid-template-columns: 1fr;
  }

  .p2-news-grid {
    grid-template-columns: 1fr;
  }

  .p2-stats {
    grid-template-columns: 1fr;
  }

  .p2-stat {
    padding: var(--space-6);
  }

  .p2-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .p2-footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .p2-form {
    padding: var(--space-6);
  }
}

/* ========== SWIPER CUSTOMIZATION ========== */
.swiper {
  width: 100%;
  padding-bottom: var(--space-12);
}

.swiper-pagination {
  bottom: 0 !important;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--c-border);
  opacity: 1;
  transition: all var(--duration-normal) var(--ease-out);
}

.swiper-pagination-bullet-active {
  background: var(--c-accent);
  width: 32px;
  border-radius: var(--radius-full);
}

.swiper-button-prev,
.swiper-button-next {
  width: 48px;
  height: 48px;
  background: var(--c-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--ease-out);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: var(--c-primary);
  box-shadow: var(--shadow-lg);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1rem;
  font-weight: bold;
  color: var(--c-text);
  transition: color var(--duration-normal);
}

.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
  color: var(--c-surface);
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

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

/* ========================================================================
   APARTMENT SEARCH PAGE - Modern Geometric Design
   ======================================================================== */

.p2-apartment-search-block {
  display: block;
  width: 100%;
  position: relative;
  background: #fff;
}

.apt-page {
  display: block;
  width: 100%;
  height: calc(100vh - var(--header-total-height));
  padding: 0;
  background: #ffffff;
}

.apt-page::after {
  content: "";
  display: table;
  clear: both;
}

/* ===== TOOLBAR - Filters + Header combined ===== */
.apt-toolbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #fff;
  margin: 0rem 0.5rem;
  border: 1px solid #e8e8e8;
  margin-bottom: 0;
}

/* ===== FILTER BAR - Modern clean design ===== */
.apt-filters {
  background: transparent;
  padding: 0;
  flex: 1;
  flex-shrink: 0;
}

.apt-filters__inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  width: 100%;
}

/* Back button - in sidebar */
.apt-filters__back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 24px;
  margin: 24px;
  margin-bottom: 0;
  width: calc(100% - 48px);
  color: #182F4D;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Mersad', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  position: relative;
}

/* Branded corner cut border */
.apt-filters__back::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #e8e8e8;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  pointer-events: none;
}

.apt-filters__back::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
  pointer-events: none;
}

.apt-filters__back span,
.apt-filters__back i {
  position: relative;
  z-index: 1;
}

.apt-filters__back:hover {
  color: #274B7A;
}

.apt-filters__back:hover::before {
  background: #274B7A;
}

/* Type Chips */
.apt-filters__types {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  padding: 0 24px;
  border-right: 1px solid #e8e8e8;
  height: 72px;
  align-items: center;
}

.apt-chip {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.apt-chip input {
  display: none;
}

.apt-chip span {
  display: block;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid #d0d0d0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #666;
  transition: all 0.2s ease;
  font-family: 'Mersad', sans-serif;
}

.apt-chip:hover span {
  border-color: #274B7A;
  color: #274B7A;
}

.apt-chip input:checked + span {
  background: #274B7A;
  border-color: #274B7A;
  color: #fff;
}

/* Accent chip (discounted) */
.apt-chip--accent span {
  border-color: #FFBE00;
  color: #996600;
  background: #FFFBF0;
}

.apt-chip--accent:hover span {
  background: #FFF5DC;
  border-color: #FFBE00;
  color: #996600;
}

.apt-chip--accent input:checked + span {
  background: #FFBE00;
  border-color: #FFBE00;
  color: #182F4D;
}

/* Divider - hidden in new design */
.apt-filters__divider {
  display: none;
}

/* Range Filters - horizontal with labels above */
.apt-filters__ranges {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}

.apt-range {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 2rem;
  border-right: 1px solid #e8e8e8;
  min-width: 0;
  flex: 1;
}

.apt-range:last-child {
  border-right: none;
}

.apt-range__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.apt-range__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  flex-shrink: 0;
  font-family: 'Mersad', sans-serif;
}

.apt-range__value {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #182F4D;
  font-family: 'Mersad', sans-serif;
  white-space: nowrap;
}

.apt-range__track {
  width: 100%;
  height: 2px;
}

.apt-range__track--wide {
  width: 100%;
}

.apt-range__track.noUi-target {
  background: #e5e5e5;
  border: none;
  box-shadow: none;
  height: 2px;
}

.apt-range__track .noUi-connect {
  background: #182F4D;
}

.noUi-horizontal .noUi-handle {
  width: 5px !important;
  height: 20px !important;
  right: 0px !important;
  top: -9px !important;
}

.apt-range__track .noUi-handle {
  width: 5px;
  height: 20px;
  border-radius: 0;
  background: #182F4D;
  border: none;
  box-shadow: none;
  cursor: grab;
  top: -9px;
  right: 0;
}

.apt-range__track .noUi-handle:before,
.apt-range__track .noUi-handle:after {
  display: none;
}

.apt-range__track .noUi-handle:focus {
  outline: none;
}

/* Reset Button */
.apt-filters__reset {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  color: #999;
  background: transparent;
  border: none;
  border-left: 1px solid #e8e8e8;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.apt-filters__reset:hover {
  color: #182F4D;
}

.apt-filters__reset i {
  font-size: 1rem;
}

/* Type chips bar - secondary */
.apt-filters--types {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}

.apt-filters--types .apt-filters__inner {
  justify-content: flex-start;
  padding: 12px 40px;
}

.apt-filters--types .apt-filters__types {
  border: none;
  height: auto;
  padding: 0;
}

/* ===== MAIN LAYOUT ===== */
.apt-layout {
  display: flex;
  width: 100%;
  height: calc(100vh - var(--header-total-height));
  overflow: hidden;
}

.apt-layout::after {
  content: "";
  display: table;
  clear: both;
}

/* ===== SIDEBAR - Modern design ===== */
.apt-sidebar {
  width: 20%;
  flex-shrink: 0;
  background: #fff;
  padding: 0;
  display: flex;
  flex-direction: row;
  height: 100%;
  z-index: 99;
  position: relative;
}

.apt-sidebar--hidden {
  width: auto;
}

.apt-sidebar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    #e8e8e8 25%,
    #e8e8e8 75%,
    transparent 100%
  );
  pointer-events: none;
}

.apt-sidebar__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  overflow-x: hidden;
  /* Invisible scrollbar - all browsers */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.apt-sidebar__content::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.apt-sidebar__top {
  display: flex;
  flex-direction: column;
}

.apt-sidebar__group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
}

.apt-sidebar__title {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #999;
  letter-spacing: 0.5px;
  font-family: 'Mersad', sans-serif;
}

/* Selected block preview */
.apt-sidebar__preview {
  padding: 24px;
  border-bottom: 1px solid #e8e8e8;
}

.apt-sidebar__preview-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #999;
  margin-bottom: 4px;
  font-family: 'Mersad', sans-serif;
}

.apt-sidebar__preview-title {
  font-size: 1rem;
  font-weight: 700;
  color: #182F4D;
  margin-bottom: 16px;
  font-family: 'Mersad', sans-serif;
}

.apt-sidebar__preview-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: #f5f5f5;
  margin-bottom: 16px;
  overflow: hidden;
}

.apt-sidebar__preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apt-sidebar__preview-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #666;
  margin-bottom: 20px;
  font-family: 'Mersad', sans-serif;
}

.apt-sidebar__all-blocks-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #182F4D;
  background: #fff;
  border: 1px solid #d0d0d0;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Mersad', sans-serif;
}

.apt-sidebar__all-blocks-btn:hover {
  border-color: #274B7A;
  color: #274B7A;
}

/* Select Dropdown */
.apt-select {
  width: 100%;
  padding: 12px 36px 12px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #182F4D;
  border: 1px solid #d0d0d0;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'%3E%3C/path%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  cursor: pointer;
  font-family: 'Mersad', sans-serif;
  transition: border-color 0.2s ease;
}

.apt-select:hover {
  border-color: #274B7A;
}

.apt-select:focus {
  outline: none;
  border-color: #274B7A;
}

.apt-select--sm {
  padding: 8px 28px 8px 12px;
  font-size: 0.8125rem;
  background-position: right 8px center;
  max-width: 250px;
}

/* Project Dropdown */
.apt-project-dropdown {
  position: relative;
  width: 100%;
}

.apt-project-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #d0d0d0;
  cursor: pointer;
  transition: border-color 0.2s ease;
  font-family: 'Mersad', sans-serif;
}

.apt-project-trigger:hover {
  border-color: #274B7A;
}

.apt-project-dropdown.is-open .apt-project-trigger {
  border-color: #274B7A;
}

.apt-project-trigger__img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: #f5f5f5;
  overflow: hidden;
}

.apt-project-trigger__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apt-project-trigger__img i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.375rem;
  color: #FFBE00;
  background: linear-gradient(135deg, #274B7A 0%, #182F4D 100%);
}

.apt-project-trigger__info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.apt-project-trigger__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #182F4D;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.apt-project-trigger__stats {
  display: flex;
  gap: 12px;
  margin-top: 4px;
  font-size: 0.75rem;
  color: #6E8FB8;
}

.apt-project-trigger__stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.apt-project-trigger__stats i {
  font-size: 0.75rem;
}

.apt-project-trigger__arrow {
  font-size: 1rem;
  color: #6E8FB8;
  transition: transform 0.2s ease;
}

.apt-project-dropdown.is-open .apt-project-trigger__arrow {
  transform: rotate(180deg);
}

/* Project List */
.apt-project-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d0d0d0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 100;
  max-height: 320px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

.apt-project-dropdown.is-open .apt-project-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.apt-project-list__title {
  padding: 12px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6E8FB8;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #eee;
}

/* Project Card */
.apt-project-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid #f5f5f5;
}

.apt-project-card:last-child {
  border-bottom: none;
}

.apt-project-card:hover {
  background: #f8f9fa;
}

.apt-project-card.is-active {
  background: #f0f4f8;
}

.apt-project-card__img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: #f5f5f5;
  overflow: hidden;
}

.apt-project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apt-project-card__img--all {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #274B7A 0%, #182F4D 100%);
}

.apt-project-card__img--all i {
  font-size: 1.5rem;
  color: #FFBE00;
}

.apt-project-card--all {
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 16px;
}

.apt-project-card__info {
  flex: 1;
  min-width: 0;
}

.apt-project-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #182F4D;
}

.apt-project-card__stats {
  display: flex;
  gap: 12px;
  margin-top: 4px;
  font-size: 0.75rem;
  color: #6E8FB8;
}

.apt-project-card__stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.apt-project-card__stats i {
  font-size: 0.75rem;
}

/* Blocks Grid */
.apt-blocks {
  min-width: 100%;
}

/* Block Card - compact */
.apt-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 20px;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.5;
  position: relative;
}

.apt-block:hover {
  opacity: 0.75;
}

.apt-block.is-active {
  opacity: 1;
}

/* Branded corner cut border for active state */
.apt-block.is-active::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #274B7A;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  pointer-events: none;
}

.apt-block.is-active::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 19px), calc(100% - 19px) 100%, 0 100%);
  pointer-events: none;
}

.apt-block.is-active > * {
  position: relative;
  z-index: 1;
}

.apt-block--disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.apt-block--disabled:hover {
  background: #fafafa;
  border-color: transparent;
}

.apt-block__img {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  position: relative;
  overflow: hidden;
}

.apt-block__img img {
  width: 100%;
  height: auto;
  display: block;
}

.apt-block__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #FFBE00;
  color: #182F4D;
  font-size: 0.5rem;
  font-weight: 700;
  padding: 2px 4px;
  font-family: 'Mersad', sans-serif;
}

.apt-block__info {
  flex: 1;
  min-width: 0;
}

.apt-block__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #182F4D;
  margin-bottom: 2px;
  font-family: 'Mersad', sans-serif;
}

.apt-block__meta {
  font-size: 0.75rem;
  color: #888;
  font-family: 'Mersad', sans-serif;
}

.apt-block__stats {
  display: flex;
  align-items: stretch;
  gap: 30px;
  margin-top: 4px;
}

.apt-block__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: 'Mersad', sans-serif;
}

.apt-block__stat-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.625rem;
  color: #999;
  letter-spacing: 0.3px;
}

.apt-block__stat-label i {
  font-size: 0.75rem;
  color: #FFBE00;
}

.apt-block__stat-value {
  font-size: 1rem;
  font-weight: 600;
  color: #182F4D;
}

/* Floors */
.apt-floors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.apt-floors__loading {
  font-size: 0.75rem;
  color: #999;
}

.apt-floor-btn {
  min-width: 36px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #d0d0d0;
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: 'Mersad', sans-serif;
}

.apt-floor-btn:hover:not(:disabled) {
  border-color: #274B7A;
  color: #274B7A;
}

.apt-floor-btn.is-active {
  background: #274B7A;
  border-color: #274B7A;
  color: #fff;
}

.apt-floor-btn.is-sold {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ===== PICKER CTA BLOCK ===== */
.apt-sidebar__group--picker-cta {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.apt-picker-cta {
  display: flex;
  flex-direction: column;
  padding: 20px;
  position: relative;
}

/* Branded corner cut border - same as block cards */
.apt-picker-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #274B7A;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  pointer-events: none;
}

.apt-picker-cta::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 19px), calc(100% - 19px) 100%, 0 100%);
  pointer-events: none;
}

.apt-picker-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.apt-picker-cta__icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.apt-picker-cta__title {
  font-size: 1rem;
  font-weight: 600;
  color: #182F4D;
  margin-bottom: 0.5rem;
}

.apt-picker-cta__desc {
  font-size: 0.875rem;
  color: #6E8FB8;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.apt-picker-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #274B7A;
  color: #fff;
  border: none;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.apt-picker-cta__btn:hover {
  background: #1F3D63;
}

.apt-picker-cta__btn i {
  font-size: 1.125rem;
}

/* ===== VERTICAL FLOOR BAR ===== */
.apt-floor-bar {
  width: 6rem;
  flex-shrink: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* Gradient borders - fade at top/bottom */
.apt-floor-bar::before,
.apt-floor-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    #e8e8e8 25%,
    #e8e8e8 75%,
    transparent 100%
  );
  pointer-events: none;
}

.apt-floor-bar::before {
  left: 0;
}

.apt-floor-bar::after {
  right: 0;
}

.apt-floor-bar__title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  margin-top: 20px;
}

.apt-floor-bar__title i {
  font-size: 1.25rem;
  color: #274B7A;
}

.apt-floor-bar__list {
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
  max-height: max-content;
  /* Invisible scrollbar - all browsers */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.apt-floor-bar__list::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.apt-floor-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 75px;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: 'Mersad', sans-serif;
  position: relative;
}

.apt-floor-bar__btn:hover {
  color: #182F4D;
}

.apt-floor-bar__btn.is-active {
  background: transparent;
  color: #182F4D;
  border: none;
  font-weight: 600;
  z-index: 1;
}

/* Branded corner cut border for active floor - yellow */
.apt-floor-bar__btn.is-active::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #FFBE00;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  pointer-events: none;
  z-index: -2;
}

.apt-floor-bar__btn.is-active::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  pointer-events: none;
  z-index: -1;
}

.apt-floor-bar__btn.is-active span,
.apt-floor-bar__btn.is-active i {
  position: relative;
  z-index: 1;
}

.apt-floor-bar__btn.is-sold {
  background: #f8d7da;
  color: #721c24;
  cursor: not-allowed;
  pointer-events: none;
}

.apt-floor-bar__btn.is-sold:hover {
  background: #f8d7da;
  color: #721c24;
}

/* Sold parking floors - yellow style */
.apt-floor-bar__btn.is-sold.is-parking {
  background: rgba(255, 190, 0, 0.15);
  color: #182F4D;
  gap: 4px;
}

.apt-floor-bar__btn.is-sold.is-parking i {
  color: #FFBE00;
  font-size: 1.125rem;
}

/* Parking floors */
.apt-floor-bar__btn.is-parking {
  gap: 10px;
}

.apt-floor-bar__btn.is-parking i {
  font-size: 0.875rem;
  color: #6E8FB8;
}

.apt-floor-bar__btn.is-parking.is-active i {
  color: #182F4D;
}

.apt-floor-bar__btn--all {
  font-size: 0.6875rem;
  color: #274B7A;
}

.apt-floor-bar__btn--all.is-active {
  background: #274B7A;
  color: #fff;
  border: none;
}

.apt-floor-bar__btn--all.is-active::before,
.apt-floor-bar__btn--all.is-active::after {
  display: none;
}

.apt-floor-bar__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  color: #999;
  font-size: 0.75rem;
}

/* ===== CONTENT AREA - Modern design ===== */
.apt-content {
  flex: 1;
  min-width: 0;
  padding: 0;
  height: 100%;
  overflow-y: auto;
}

/* No toolbar variant - results start from top */
.apt-content--no-toolbar .apt-results {
  padding-top: 20px;
}

/* Header Bar - horizontal toolbar */
.apt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0;
  margin: 0;
  background: transparent;
  min-height: 56px;
  border-top: 1px solid #e8e8e8;
  flex-shrink: 0;
}

/* Separator between types */
.apt-header__separator {
  width: 1px;
  height: 20px;
  background: #e8e8e8;
  margin: 0 8px;
}

/* Promo/Sale filters group */
.apt-header__promos {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.apt-header__tabs {
  display: flex;
  gap: 0;
  height: 56px;
}

.apt-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  height: 100%;
  background: none;
  border: none;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #999;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Mersad', sans-serif;
  min-width: max-content;
}

.apt-tab:hover {
  color: #666;
}

.apt-tab.is-active {
  color: #182F4D;
  background: none;
}

.apt-tab i {
  font-size: 1.125rem;
}

/* Header options - middle area */
.apt-header__options {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  flex: 1;
}

.apt-header__option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #666;
  cursor: pointer;
  font-family: 'Mersad', sans-serif;
  transition: color 0.2s ease;
}

.apt-header__option:hover {
  color: #182F4D;
}

.apt-header__option input[type="checkbox"] {
  display: none;
}

.apt-header__option-box {
  width: 16px;
  height: 16px;
  border: 1px solid #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.apt-header__option input:checked + .apt-header__option-box {
  background: #274B7A;
  border-color: #274B7A;
}

.apt-header__option input:checked + .apt-header__option-box i {
  color: #fff;
}

/* Legend */
.apt-header__legend {
  display: flex;
  gap: 20px;
  padding: 0 20px;
  border-left: 1px solid #e8e8e8;
  height: 56px;
  align-items: center;
}

.apt-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #666;
  font-family: 'Mersad', sans-serif;
}

.apt-legend span {
  width: 10px;
  height: 10px;
  border: 2px solid;
}

.apt-legend--free span {
  border-color: #274B7A;
  background: transparent;
}

.apt-legend--sold span {
  border-color: #ccc;
  background: #ccc;
}

/* Header Filters - checkbox style */
.apt-header__filters {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 24px;
  flex: 1;
}

.apt-filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  font-family: 'Mersad', sans-serif;
  transition: color 0.2s ease;
  user-select: none;
}

.apt-filter-check:hover {
  color: #182F4D;
}

.apt-filter-check input {
  display: none;
}

.apt-filter-check i {
  font-size: 1.125rem;
  color: #bbb;
  transition: color 0.2s ease;
}

.apt-filter-check input:checked ~ i {
  color: #274B7A;
}

.apt-filter-check input:checked ~ span {
  color: #182F4D;
}

/* Discount filter button */
.apt-filter-check--discount i {
  color: #FFBE00;
}

.apt-filter-check--discount input:checked ~ i {
  color: #FFBE00;
}

.apt-filter-check--discount input:checked ~ span {
  color: #FFBE00;
}

/* Sale filter button */
.apt-filter-check--sale i {
  color: #FFBE00;
}

.apt-filter-check--sale input:checked ~ i {
  color: #FFBE00;
}

.apt-filter-check--sale input:checked ~ span {
  color: #FFBE00;
}

/* Sort dropdown */
.apt-header__sort {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  height: 56px;
  width: 100%;
}

.apt-header__types {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex: 1;
}

.apt-header__sort-label {
  font-size: 0.75rem;
  color: #999;
  font-family: 'Mersad', sans-serif;
}

/* Results area */
.apt-results {
  width: 100%;
  padding: 0.5rem;
  background-color: white;
  box-sizing: border-box;
}

/* Loading */
.apt-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: #999;
}

.apt-loading i {
  font-size: 1.5rem;
  animation: apt-spin 1s linear infinite;
}

@keyframes apt-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Empty */
.apt-empty {
  text-align: center;
  padding: 80px 20px;
  color: #999;
  font-size: 0.875rem;
  font-family: 'Mersad', sans-serif;
}

/* ===== GRID - responsive columns ===== */
.apt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  width: 100%;
}

/* Tablet: 2 cards */
@media (min-width: 768px) {
  .apt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

/* Medium desktop: 3 cards */
@media (min-width: 993px) {
  .apt-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Large desktop: 4 cards */
@media (min-width: 1600px) {
  .apt-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ===== CARD - line-based design with notched corner ===== */
.apt-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
  border-radius: 0;
}

/* Outer shape - acts as border */
.apt-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #e8e8e8;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  pointer-events: none;
  transition: background-color 0.2s ease;
}

/* Inner shape - acts as fill */
.apt-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  pointer-events: none;
}

/* Card content above pseudo-elements */
.apt-card > * {
  position: relative;
  z-index: 1;
}

/* Clip the image to match border shape */
.apt-card__img {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}

.apt-card:hover::before {
  background: #274B7A;
}

/* Floor badge - top right */
.apt-card__floor {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Mersad', sans-serif;
  z-index: 5;
}

.apt-card__floor i {
  font-size: 0.875rem;
  color: #FFBE00;
}

/* Location badge (for ALL mode) */
.apt-card__location {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 0.6875rem;
  font-weight: 500;
  font-family: 'Mersad', sans-serif;
  background: rgba(39, 75, 122, 0.9);
  color: #fff;
  border-radius: 6px;
  z-index: 6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.apt-card__location i {
  font-size: 0.875rem;
  color: #FFBE00;
  flex-shrink: 0;
}

/* Status badge */
.apt-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  font-size: 0.625rem;
  font-weight: 600;
  z-index: 5;
  letter-spacing: 0.3px;
  font-family: 'Mersad', sans-serif;
}

.apt-card__badge--sold {
  background: #f0f0f0;
  color: #999;
}

.apt-card__badge--reserved {
  background: #fff3cd;
  color: #856404;
  top: 50%;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
}

/* Promo indicator */
.apt-card__promo {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: #FFBE00;
  color: #182F4D;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: 0 0 8px 8px;
  z-index: 6;
}

.apt-card__promo i {
  font-size: 0.75rem;
}

/* Image area */
.apt-card__img {
  position: relative;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  margin: 0 auto;
  padding: 1rem;
  padding-bottom: 0;
}

.apt-card__img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.apt-card__noimg {
  color: #ddd;
  font-size: 2.5rem;
}

/* Body - line-based rows */
.apt-card__body {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.apt-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  margin: 0 16px;
  border-bottom: 1px solid #f0f0f0;
  font-family: 'Mersad', sans-serif;
  font-weight: 600;
}

.apt-card__row:last-child {
  border-bottom: none;
}

/* Apartment number - top left badge */
.apt-card__num {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #274B7A;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #274B7A;
  font-family: 'Mersad', sans-serif;
  z-index: 5;
}

.apt-card__num i {
  font-size: 1rem;
  color: #274B7A;
}

/* Compass - below apartment number */
.apt-card__compass {
  position: absolute;
  top: 4rem;
  left: 12px;
  color: #374151;
  z-index: 5;
}

.apt-card__compass svg {
  display: block;
}

/* Price */
.apt-card__price {
  font-size: 1rem;
  font-weight: 600;
  color: #274B7A;
}

.apt-card__price--old {
  font-size: 0.75rem;
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
  margin-right: 8px;
}

/* Prices container */
.apt-card__prices {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  gap: 8px;
  font-family: 'Mersad', sans-serif;
}

/* 2-column grid for sqm price and total */
.apt-card__price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Single column - when only one price is shown */
.apt-card__price-grid--single {
  grid-template-columns: 1fr;
}

.apt-card__price-grid--single .apt-card__price-col {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-right: none;
  padding-right: 0;
}

.apt-card__price-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.apt-card__price-col:first-child {
  text-align: left;
  align-items: flex-start;
  border-right: 1px solid #f0f0f0;
  padding-right: 12px;
}

.apt-card__price-col:last-child {
  text-align: right;
  align-items: flex-end;
}


.apt-card__price-col .apt-card__price-label {
  font-size: 0.6875rem;
  color: #9ca3af;
  font-weight: 400;
}

.apt-card__price-col .apt-card__price-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #182F4D;
}

.apt-card__price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #182F4D;
}

.apt-card__price-label {
  color: #6b7280;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
}

.apt-card__price-label i {
  font-size: 0.8125rem;
}

.apt-card__price-value {
  font-weight: 600;
  color: #182F4D;
  font-size: 0.8125rem;
}

.apt-card__price-value--old {
  text-decoration: line-through;
  color: #9ca3af;
  font-weight: 400;
  font-size: 0.75rem;
}

.apt-card__price-row--sale {
  border-top: 1px solid #f0f0f0;
  padding-top: 8px;
  margin-top: 4px;
}

.apt-card__price-row--sale .apt-card__price-label {
  color: #FFBE00;
}

.apt-card__price-row--sale .apt-card__price-label i {
  color: #FFBE00;
}

.apt-card__price-row--promo {
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid #f0f0f0;
}

.apt-card__price-row--promo .apt-card__price-label {
  color: #FFBE00;
}

.apt-card__price-row--promo .apt-card__price-label i {
  color: #FFBE00;
}

.apt-card__price-row--promo .apt-card__price-label:only-child {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.apt-card__price-row--promo .apt-card__price-label:only-child i {
  vertical-align: middle;
  margin-right: 4px;
}

.apt-card__price-value--promo {
  color: #274B7A;
  font-weight: 600;
  font-size: 0.8125rem;
}

.apt-card__price--sold {
  color: #9ca3af;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 12px 16px;
  margin: 0 20px;
  border-bottom: 1px solid #f0f0f0;
  font-family: 'Mersad', sans-serif;
}

/* Details row */
.apt-card__row--details {
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* Detail items - unified style */
.apt-card__detail {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: #182F4D;
  font-family: 'Mersad', sans-serif;
}

.apt-card__detail i {
  font-size: 0.875rem;
  color: #274B7A;
}

/* View link */
.apt-card__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #182F4D;
  font-family: 'Mersad', sans-serif;
  transition: all 0.2s ease;
  margin-top: auto;
}

.apt-card__link i {
  font-size: 1rem;
  color: #274B7A;
}

/* Sold state */
.apt-card--sold {
  opacity: 0.6;
}

.apt-card--sold .apt-card__price {
  color: #999;
}

.apt-card--sold .apt-card__link {
  display: none;
}

/* ===== LIST VIEW ===== */
.apt-grid--list {
  grid-template-columns: 1fr;
  gap: 12px;
}

.apt-grid--list .apt-card {
  display: grid;
  grid-template-columns: 180px 1fr;
}

.apt-grid--list .apt-card__img {
  aspect-ratio: 4/3;
  padding: 12px;
  clip-path: none;
}

.apt-grid--list .apt-card__body {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  padding: 16px;
  gap: 8px 24px;
}

.apt-grid--list .apt-card__row {
  padding: 0;
  border: none;
  flex: 0 0 auto;
}

.apt-grid--list .apt-card__link {
  margin-left: auto;
  padding: 0;
}

.apt-grid--list .apt-card__floor {
  top: 8px;
  left: 8px;
}

.apt-grid--list .apt-card__badge {
  top: 8px;
  right: auto;
  left: 8px;
}

/* ===== LOADING & EMPTY ===== */
.apt-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: #999;
  font-size: 0.875rem;
  gap: 12px;
  grid-column: 1 / -1;
}

.apt-loading__spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.apt-empty {
  text-align: center;
  padding: 80px 20px;
  color: #999;
  font-size: 0.875rem;
  grid-column: 1 / -1;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1600px) {
  .apt-header__sort .apt-select {
    width: 36px;
    height: 36px;
    padding: 0;
    color: transparent;
    border: 1px solid #d0d0d0;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%23374151' viewBox='0 0 256 256'%3E%3Cpath d='M128,128a8,8,0,0,1-8,8H48a8,8,0,0,1,0-16h72A8,8,0,0,1,128,128Zm-8-56H48a8,8,0,0,0,0,16h72a8,8,0,0,0,0-16Zm0,112H48a8,8,0,0,0,0,16h72a8,8,0,0,0,0-16Zm112-56H208V104a8,8,0,0,0-16,0v24H168a8,8,0,0,0,0,16h24v24a8,8,0,0,0,16,0V144h24A8,8,0,0,0,232,128Z'%3E%3C/path%3E%3C/svg%3E") no-repeat center center;
    max-width: 36px;
    min-width: 36px;
    cursor: pointer;
  }
}

@media (max-width: 1600px) {
  .apt-range {
    padding: 1.35rem;
  }
}

/* Adjust filter bar at medium screens */
@media (max-width: 1400px) {
  .apt-filters {
    padding: 0;
  }

  .apt-range {
    padding: 1rem;
  }

  .apt-filters__types {
    padding: 0 16px;
  }
}

/* 2 columns (768px - 1200px) */
@media (max-width: 1200px) {
  .apt-filters__inner {
    flex-wrap: wrap;
  }

  .apt-filters__types {
    border-right: none;
    border-bottom: 1px solid #e8e8e8;
    width: 100%;
    height: auto;
    padding: 16px;
    justify-content: center;
  }

  .apt-filters__ranges {
    width: 100%;
  }

  .apt-header__options {
    display: none;
  }

  .apt-header__legend {
    display: none;
  }

  .apt-header__types {
    gap: 1rem;
  }
}

/* Tablet/Mobile layout */
@media (max-width: 1200px) {
  .apt-page {
    height: auto;
  }

  .apt-layout {
    flex-direction: column;
    height: auto;
    overflow: visible;
  }

  .apt-sidebar {
    width: 100%;
    height: auto;
    flex-direction: column;
    margin: 0 0.5rem;
  }

  .apt-sidebar::after {
    display: none;
  }

  .apt-content {
    height: auto;
    overflow: visible;
  }

  .apt-sidebar__content {
    flex-direction: column;
  }

  .apt-sidebar .apt-floor-bar {
    flex-direction: row;
    width: 100%;
    height: auto;
    border-left: none;
    border-top: 1px solid #e8e8e8;
  }

  .apt-sidebar .apt-floor-bar__list {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .apt-sidebar .apt-floor-bar__btn {
    min-width: 5rem;
    flex-shrink: 0;
    width: auto;
  }

  .apt-sidebar .apt-floor-bar__title {
    border-bottom: none;
    border-left: 1px solid #e8e8e8;
    padding: 12px;
    margin-top: 0 !important;
  }

  .apt-sidebar .apt-floor-bar::before,
  .apt-sidebar .apt-floor-bar::after {
    display: none;
  }

  .apt-sidebar__preview {
    display: none;
  }

  .apt-sidebar__group {
    padding: 16px 20px;
  }

  /* Project dropdown mobile */
  .apt-project-trigger__img {
    width: 40px;
    height: 40px;
  }

  .apt-project-trigger__stats {
    display: none;
  }

  .apt-project-list {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 70vh;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
  }

  .apt-project-dropdown.is-open .apt-project-list {
    transform: translateY(0);
  }

  .apt-blocks {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 calc(50% - 100px);
    padding: 0 calc(50% - 100px);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .apt-blocks::-webkit-scrollbar {
    display: none;
  }

  .apt-block {
    flex: 0 0 200px;
    width: 200px;
    scroll-snap-align: center;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .apt-block__img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
  }

  .apt-block__info {
    flex: 1;
    min-width: 0;
  }

  .apt-block__stats {
    flex-direction: column;
    gap: 2px;
  }

  .apt-block__stat {
    font-size: 0.6875rem;
  }

}

/* 1 column on mobile */
@media (max-width: 992px) {
  .apt-sidebar .apt-floor-bar {
    border-bottom: 1px solid #e8e8e8;
  }

  .apt-sidebar {
    margin: 0;
  }

  .apt-filters {
    padding: 0;
  }

  .apt-filters__inner {
    flex-direction: column;
  }

  .apt-filters__types {
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid #e8e8e8;
  }

  .apt-chip span {
    padding: 8px 14px;
    font-size: 0.75rem;
  }

  .apt-filters__ranges {
    flex-direction: column;
  }

  .apt-range {
    padding: 1.5rem;
    border-right: none;
    border-bottom: 1px solid #e8e8e8;
    width: 100%;
  }

  .apt-range:last-child {
    border-bottom: none;
  }

  .apt-filters__reset {
    width: 100%;
    height: 48px;
    border-left: none;
  }

  .apt-header__types {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    border-bottom: 1px solid #e8e8e8;
    padding: 1rem 0;
  }

  .apt-header__separator {
    width: 100%;
    height: 1px;
    background: #e8e8e8;
    padding: 0;
    margin: 0;
  }

  .apt-header__promos {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .apt-toolbar {
    margin: 0;
    display: flex;
    flex-direction: column;
    border-top: 0;
  }

  .apt-toolbar .apt-header {
    order: -1;
  }

  .apt-header__sort .apt-select {
    display: none;
  }

  .apt-floor-bar__title {
    margin-top: 0;
  }

  .apt-header {
    flex-wrap: wrap;
    border-top: 0;
    min-height: auto;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .apt-header__sort {
    width: 100%;
    justify-content: flex-end;
    border-left: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: auto;
    padding: 0;
    border-top: 1px solid #e8e8e8;
  }

  .bmd-floor-content {
    border: none;
  }
}

@media (max-width: 768px) {
  .apt-sidebar__group {
    width: 100%;
    padding: 12px 16px;
  }

  .apt-header__tabs {
    height: auto;
  }

  .apt-tab {
    padding: 12px 16px;
    font-size: 0.75rem;
  }

  .apt-results {
    padding: 12px;
  }

  .apt-card__img {
    aspect-ratio: 3/2;
    padding: 1rem;
    padding-bottom: 0.5rem;
  }

  .apt-card__prices {
    padding-top: 0;
  }
}


/* ========================================================================
   Timeline / News Page - Cityzen Style
   ======================================================================== */

.cz-timeline-page {
  min-height: 100vh;
  background: #fff;
  padding-top: 100px;
}

.cz-timeline-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Filter Bar */
.cz-timeline-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 60px;
  border-bottom: 1px solid #eee;
  margin-bottom: 60px;
  position: sticky;
  top: 80px;
  background: #fff;
  z-index: 50;
}

.cz-timeline-filters__blocks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cz-timeline-filter {
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: #999;
  background: none;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.cz-timeline-filter:hover {
  color: #333;
}

.cz-timeline-filter.is-active {
  color: #000;
  font-weight: 500;
}

.cz-timeline-filters__years {
  display: flex;
  gap: 24px;
}

.cz-timeline-year-link {
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
}

.cz-timeline-year-link:hover {
  color: #333;
}

.cz-timeline-year-link.is-active {
  color: #000;
  font-weight: 500;
}

/* Timeline */
.cz-timeline {
  position: relative;
  padding: 40px 0 100px;
}

/* Center Line */
.cz-timeline__line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e5e5e5;
  transform: translateX(-50%);
}

/* Year Marker */
.cz-timeline__year-marker {
  position: relative;
  text-align: center;
  padding: 40px 0;
  scroll-margin-top: 160px;
}

.cz-timeline__year-marker span {
  display: none;
}

/* Date Marker - centered on timeline */
.cz-timeline__date {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px 0;
  z-index: 2;
}

.cz-timeline__date::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e5e5e5;
  transform: translateX(-50%);
  z-index: -1;
}

.cz-timeline__day {
  font-family: 'Mersad', sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: #274B7A;
  line-height: 1;
}

.cz-timeline__month {
  font-family: 'Mersad', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  color: #666;
  letter-spacing: 0.05em;
}

.cz-timeline__date .cz-timeline__year {
  font-family: 'Mersad', sans-serif;
  font-size: 0.6875rem;
  font-weight: 400;
  color: #999;
  display: block;
}

/* Timeline Item */
.cz-timeline__item {
  position: relative;
  width: calc(50% - 60px);
  margin-bottom: 40px;
}

.cz-timeline__item--left {
  margin-right: auto;
  margin-left: 0;
}

.cz-timeline__item--right {
  margin-left: auto;
  margin-right: 0;
}

/* Card */
.cz-timeline__card {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.cz-timeline__card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f5f5f5;
}

.cz-timeline__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cz-timeline__card:hover img {
  transform: scale(1.05);
}

.cz-timeline__card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

/* Title Overlay */
.cz-timeline__card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 24px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.cz-timeline__card-title {
  font-family: 'Mersad', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.4;
}

/* Block Label */
.cz-timeline__card-block {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: 'Mersad', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  background: #000;
  padding: 8px 14px;
  z-index: 3;
}

/* Empty State */
.cz-timeline__empty {
  text-align: center;
  padding: 100px 20px;
  color: #999;
  font-family: 'Mersad', sans-serif;
}

/* Responsive */
@media (max-width: 1024px) {
  .cz-timeline-container {
    padding: 0 24px;
  }

  .cz-timeline__item {
    width: calc(50% - 40px);
  }
}

@media (max-width: 768px) {
  .cz-timeline-filters {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    top: 0;
    padding: 20px 0 40px;
  }

  .cz-timeline-filters__years {
    gap: 16px;
  }

  .cz-timeline__line {
    left: 20px;
  }

  .cz-timeline__item {
    width: calc(100% - 50px);
    margin-left: 50px !important;
    margin-right: 0 !important;
  }

  .cz-timeline__date {
    position: absolute;
    left: -50px;
    width: 40px;
    padding: 0;
    align-items: flex-start;
  }

  .cz-timeline__card-title {
    font-size: 1rem;
  }
}

/* ========================================================================
   Single Post / News Article
   ======================================================================== */

.p2-hero--post {
  min-height: 50vh;
}

.p2-hero--post .p2-hero__content {
  max-width: 800px;
}

.p2-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.p2-post-meta__date,
.p2-post-meta__project,
.p2-post-meta__block {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.p2-post-meta__project:hover,
.p2-post-meta__block:hover {
  color: var(--c-accent);
}

.p2-post-meta i {
  font-size: 1rem;
}

/* Post Content */
.p2-post {
  padding: 80px 0;
}

.p2-container--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.p2-post__content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--c-text);
}

.p2-post__content h2,
.p2-post__content h3,
.p2-post__content h4 {
  font-family: 'Mersad', sans-serif;
  margin: 2em 0 1em;
  color: var(--c-text);
}

.p2-post__content h2 {
  font-size: 1.75rem;
}

.p2-post__content h3 {
  font-size: 1.375rem;
}

.p2-post__content p {
  margin: 0 0 1.5em;
}

.p2-post__content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 2em 0;
}

.p2-post__content a {
  color: var(--c-primary);
  text-decoration: underline;
}

.p2-post__content a:hover {
  color: var(--c-accent);
}

.p2-post__content ul,
.p2-post__content ol {
  margin: 1.5em 0;
  padding-left: 1.5em;
}

.p2-post__content li {
  margin-bottom: 0.5em;
}

.p2-post__content blockquote {
  margin: 2em 0;
  padding: 24px 32px;
  background: var(--c-background-alt);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--radius-md);
  font-style: italic;
}

/* Post Navigation */
.p2-post-nav {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--c-border);
}

.p2-post-nav__link {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--c-background-alt);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-out);
}

.p2-post-nav__link:hover {
  background: var(--c-primary);
}

.p2-post-nav__link:hover .p2-post-nav__direction,
.p2-post-nav__link:hover .p2-post-nav__title {
  color: #fff;
}

.p2-post-nav__link--next {
  text-align: right;
}

.p2-post-nav__direction {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  letter-spacing: 0.05em;
}

.p2-post-nav__link--next .p2-post-nav__direction {
  justify-content: flex-end;
}

.p2-post-nav__title {
  font-family: 'Mersad', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--c-text);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.p2-post-nav__back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-text-secondary);
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-out);
}

.p2-post-nav__back:hover {
  color: var(--c-primary);
}

/* Empty State */
.p2-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  text-align: center;
}

.p2-empty i {
  font-size: 4rem;
  color: var(--c-text-muted);
  margin-bottom: 24px;
}

.p2-empty h3 {
  font-family: 'Mersad', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-text);
  margin: 0 0 12px;
}

.p2-empty p {
  font-size: 0.9375rem;
  color: var(--c-text-secondary);
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .p2-timeline-sidebar {
    position: fixed;
    left: auto;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    width: 100%;
    padding: 12px 16px;
    background: var(--c-surface);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 100;
  }

  .p2-timeline-years {
    flex-direction: row;
    justify-content: center;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .p2-timeline-year {
    padding: 10px 16px;
    font-size: 0.8125rem;
  }

  .p2-timeline-year::before {
    display: none;
  }

  .p2-timeline-year.is-active {
    background: var(--c-primary);
    color: #fff;
  }

  .p2-timeline-content {
    margin-left: 0;
    padding: 100px 20px 100px;
  }

  .p2-timeline-section__posts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .p2-timeline-header {
    margin-bottom: 40px;
  }

  .p2-timeline-section {
    margin-bottom: 60px;
  }

  .p2-timeline-card__content {
    padding: 20px;
  }

  .p2-timeline-card__arrow {
    display: none;
  }

  .p2-post {
    padding: 40px 0;
  }

  .p2-post__content {
    font-size: 1rem;
  }

  .p2-post-nav {
    flex-direction: column;
    gap: 16px;
  }

  .p2-post-nav__link--next {
    text-align: left;
  }

  .p2-post-nav__link--next .p2-post-nav__direction {
    justify-content: flex-start;
  }

  .p2-post-nav__back {
    order: -1;
  }
}

/* News page - non-sticky header */
.page-news .p2-header {
  position: absolute;
}

.page-news .cz-timeline-filters {
  position: relative;
  top: 0;
}

/* ========================================================================
   MAIKO STYLE - 1:1 Clone with Dark Blue Frame
   ======================================================================== */

/* ===== CONTENT SPACING BELOW HEADER ===== */
:root {
  --header-total-height: 120px; /* Default, updated by JS */
}

/* P2 Block Layout: Below Header toggle */
.p2-below-header {
  padding-top: var(--header-total-height) !important;
}

/* Hero with margin: subtract 1rem top margin from header height */
.mk-hero.has-stats-bar.has-margin.p2-below-header {
  padding-top: calc(var(--header-total-height) - 1rem) !important;
}

/* Horizontal scroll gallery: padding controlled by GSAP via CSS variable */
section.hscroll-gallery.p2-below-header {
  --hscroll-padding: 0px;
  padding-top: var(--hscroll-padding) !important;
}
@media (max-width: 992px) {
  section.hscroll-gallery.p2-below-header {
    padding-top: 0 !important;
  }
}


/* First Gutenberg block on page should have top padding */
.wp-site-blocks > *:first-child,
main > *:first-child,
.entry-content > *:first-child {
  padding-top: var(--header-total-height);
}

/* Homepage - no extra padding on first child */
body.home .wp-site-blocks > *:first-child,
body.home main > *:first-child,
body.home .entry-content > *:first-child {
  padding-top: 0;
}

/* For blocks that already have their own padding, use margin instead */
.wp-site-blocks > .mk-hero:first-child,
.wp-site-blocks > [class*="hero"]:first-child {
  padding-top: 0;
  margin-top: var(--header-total-height);
}

body.home .wp-site-blocks > .mk-hero:first-child,
body.home .wp-site-blocks > [class*="hero"]:first-child {
  margin-top: 0;
}

/* ===== MK HEADER ===== */
.mk-header {
  --header-top: 2rem;
  --header-left: 2rem;
  --header-right: 2rem;
  position: fixed;
  top: var(--header-top);
  left: var(--header-left);
  right: var(--header-right);
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: rgba(39, 75, 122, 0.06);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

/* Left Section */
.mk-header__left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  position: relative;
}

/* Right Section */
.mk-header__right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: flex-end;
}

/* Logo - Centered */
.mk-header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  min-width: 200px;
  height: 52px;
}

.mk-header__logo-main,
.mk-header__logo-scroll {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mk-header__logo-main {
  height: 46px;
  width: auto;
  opacity: 1;
}

.mk-header__logo-scroll {
  height: 46px;
  width: auto;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
}

/* Scrolled state - swap logos */
.mk-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.mk-header.is-scrolled .mk-header__logo-main {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
}

.mk-header.is-scrolled .mk-header__logo-scroll {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Language Dropdown */
.mk-header__lang-dropdown {
  position: relative;
  border-radius: 100px;
}

.mk-header__lang-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid rgba(24, 47, 77, 0.2);
  border-radius: 100px;
  font-family: 'Mersad', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #182F4D;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}


.mk-header__lang-trigger i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.mk-header__lang-dropdown:hover .mk-header__lang-trigger,
.mk-header__lang-dropdown.is-open .mk-header__lang-trigger {
  border-color: rgba(24, 47, 77, 0.4);
  background: rgba(24, 47, 77, 0.05);
}

.mk-header__lang-dropdown:hover .mk-header__lang-trigger i,
.mk-header__lang-dropdown.is-open .mk-header__lang-trigger i {
  transform: rotate(180deg);
}

.mk-header__lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 100%;
  background: #fff;
  border: 1px solid rgba(24, 47, 77, 0.1);
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  overflow: hidden;
}

.mk-header__lang-dropdown:hover .mk-header__lang-menu,
.mk-header__lang-dropdown.is-open .mk-header__lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mk-header__lang-item {
  display: block;
  padding: 10px 16px;
  font-family: 'Mersad', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #182F4D;
  text-decoration: none;
  transition: background 0.2s ease;
}

.mk-header__lang-item:hover {
  background: rgba(24, 47, 77, 0.05);
}

.mk-header__lang-item.is-active {
  font-weight: 600;
  background: rgba(24, 47, 77, 0.08);
}

/* Scrolled state */
.mk-header.is-scrolled .mk-header__lang-trigger {
  color: #182F4D;
  border-color: rgba(24, 47, 77, 0.2);
}

.mk-header.is-scrolled .mk-header__lang-dropdown:hover .mk-header__lang-trigger,
.mk-header.is-scrolled .mk-header__lang-dropdown.is-open .mk-header__lang-trigger {
  border-color: rgba(24, 47, 77, 0.4);
  background: rgba(24, 47, 77, 0.05);
}


/* Navigation - hidden, using burger menu instead */
.mk-header__nav {
  display: none;
}

/* CTA Button - Pill style with yellow border */
.mk-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 33px;
  border: 2px solid #FFBE00;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: #182F4D;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.mk-header__cta i {
  font-size: 1rem;
  color: #182F4D;
  transition: all 0.3s ease;
}

.mk-header__cta:hover {
  background: #FFBE00;
  border-color: #FFBE00;
  color: #182F4D;
}

/* Burger Toggle - visible on all screens */
.mk-header__toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--toggle-bg, transparent);
  border: 1px solid rgba(24, 47, 77, 0.2);
  border-radius: 100px;
  cursor: pointer;
  padding: 12px;
  transition: all 0.3s ease;
}

.mk-header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--toggle-icon, #182F4D);
  transition: all 0.3s ease;
}

.mk-header__toggle .toggle-icon {
  display: none;
  font-size: 18px;
  color: var(--toggle-icon-active, #fff);
}

.mk-header__toggle:hover {
  border-color: rgba(24, 47, 77, 0.4);
}

.mk-header__toggle.is-active {
  background: var(--toggle-bg-active, #274B7A);
  border-color: var(--toggle-bg-active, #274B7A);
}

.mk-header__toggle.is-active span {
  display: none;
}

.mk-header__toggle.is-active .toggle-icon {
  display: block;
}

/* Call Request Button */
.mk-header__call-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 16px 40px;
  background: transparent;
  border: 2px solid rgba(24, 47, 77, 0.2);
  border-radius: 100px;
  color: #182F4D;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  position: relative;
}

/* Hide mobile call button on desktop */
.mk-header__call-btn--mobile {
  display: none;
}


.mk-header__call-btn i {
  font-size: 1rem;
  order: 2;
}

.mk-header__call-btn span {
  order: 1;
}

.mk-header__call-btn:hover {
  border-color: #182F4D;
  background: #182F4D;
  color: #fff;
}

.mk-header.is-scrolled .mk-header__call-btn {
  color: #182F4D;
  border-color: rgba(24, 47, 77, 0.2);
}

.mk-header.is-scrolled .mk-header__call-btn:hover {
  background: rgba(24, 47, 77, 0.05);
  color: #182F4D;
  border-color: rgba(24, 47, 77, 0.4);
}

/* ===== P2 Modal - Call Request ===== */
.p2-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.p2-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.p2-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.p2-modal__container {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 1200px;
    height: auto;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
}

.p2-modal.is-open .p2-modal__container {
  transform: scale(1) translateY(0);
}

.p2-modal__image {
  flex: 0 0 50%;
  position: relative;
  display: none;
}

@media (min-width: 768px) {
  .p2-modal__image {
    display: block;
  }
}

.p2-modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p2-modal__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 47, 77, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10%;
}

.p2-modal__image-overlay #callModalImageTitle {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.p2-modal__image-overlay p {
  font-size: 0.875rem;
  opacity: 0.8;
}

.p2-modal__body {
    padding: 2rem;
    overflow-y: auto;
    align-items: center;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.p2-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  color: #666;
  transition: all 0.2s;
}

.p2-modal__close:hover {
  background: #e5e5e5;
  color: #333;
}

.p2-modal__header {
    margin-bottom: 2rem;
    width: 100%;
}

.p2-modal__header #callModalTitle {
  display: block;
}

.p2-modal__header p {
  color: #666;
  font-size: 0.875rem;
}

.p2-modal__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p2-modal__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p2-modal__field label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #333;
}

.p2-modal__field input,
.p2-modal__field textarea {
  padding: 14px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  font-size: 0.875rem;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  transition: border-color 0.2s;
}

.p2-modal__field input:focus,
.p2-modal__field textarea:focus {
  outline: none;
  border-color: #274B7A;
}

.p2-modal__field textarea {
  resize: vertical;
  min-height: 80px;
}

.p2-modal__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: #274B7A;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
}

.p2-modal__submit:hover {
  background: #1F3D63;
}

.p2-modal__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


.p2-modal__success i {
  font-size: 4rem;
  color: #22c55e;
  margin-bottom: 20px;
}

.p2-modal__success h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #182F4D;
  margin-bottom: 8px;
}

.p2-modal__success p {
  color: #666;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* Select field */
.p2-modal__field select {
  padding: 14px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  font-size: 0.875rem;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
}

.p2-modal__field select:focus {
  outline: none;
  border-color: #274B7A;
}



.p2-modal__checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  margin-bottom: 2rem;
}

.p2-modal__schedule-info {
  margin-top: 1rem;
  font-size: small;
}

.p2-modal__checkbox input {
  display: none;
}

.p2-modal__checkbox-box {
  width: 22px;
  height: 22px;
  border: 2px solid #d0d0d0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.p2-modal__checkbox input:checked + .p2-modal__checkbox-box {
  background: #274B7A;
  border-color: #274B7A;
}

.p2-modal__checkbox input:checked + .p2-modal__checkbox-box::after {
  content: '';
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.p2-modal__checkbox-label {
  font-size: 0.875rem;
  color: #333;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
}

.p2-modal__schedule-picker {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Visit mode - force scheduling elements visible */
.p2-modal.is-visit-mode #callScheduling {
  display: block !important;
}
.p2-modal.is-visit-mode #callSchedulePicker {
  display: block !important;
}
.p2-modal.is-visit-mode .p2-modal__checkbox {
  display: none !important;
}

.p2-modal__schedule-row {
  display: flex;
  gap: 20px;
}

.p2-modal__schedule-date {
  flex: 1;
}

.p2-modal__schedule-time {
  flex: 1;
}

.p2-modal__schedule-date > label,
.p2-modal__schedule-time > label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
}

.p2-modal__date-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.p2-modal__date-input:hover {
  border-color: #274B7A;
}

.p2-modal__date-value {
  font-size: 0.875rem;
  color: #333;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
}

.p2-modal__date-input i {
  color: #666;
  font-size: 1.125rem;
}

.p2-modal__date-dropdown {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  min-width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 -8px 48px rgba(0,0,0,0.15);
  z-index: 100;
  padding: 24px;
}

.p2-modal__schedule-date {
  position: relative;
  overflow: visible;
}

.p2-modal__date-dropdown.is-open {
  display: block;
}

.p2-modal__date-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.p2-modal__date-nav {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  color: #666;
  font-size: 1.25rem;
}

.p2-modal__date-nav:hover {
  opacity: 0.7;
}

.p2-modal__date-month {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  min-width: 160px;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
}

.p2-modal__date-month .month-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #182F4D;
}

.p2-modal__date-month .month-year {
  font-size: 1rem;
  font-weight: 500;
  color: #6E8FB8;
}

.p2-modal__date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.p2-modal__date-grid .day-name {
  font-size: 0.8125rem;
  color: #6E8FB8;
  text-align: center;
  padding: 8px 0 16px;
  font-weight: 500;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
}

.p2-modal__date-grid .day {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #182F4D;
}

.p2-modal__date-grid .day:hover:not(.disabled):not(.selected) {
  background: #f0f4f8;
}

.p2-modal__date-grid .day.disabled {
  color: #ccd5df;
  cursor: not-allowed;
}

.p2-modal__date-grid .day.selected {
  background: #3F6696;
  color: #fff;
  border-radius: 10px;
}

.p2-modal__date-grid .day.today:not(.selected) {
  background: #f0f4f8;
  color: #274B7A;
  font-weight: 600;
}

.p2-modal__date-grid .day.overflow {
  color: #ccd5df;
}

.p2-modal__schedule-info {
  margin-top: 1rem;
  font-size: small;
}

/* Time Picker Scroller */
.p2-modal__time-picker {
  display: flex;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.p2-modal__time-col {
  flex: 1;
  position: relative;
}

.p2-modal__time-col + .p2-modal__time-col {
  border-left: 1px solid #e5e5e5;
}

.p2-modal__time-scroll {
  height: 100px;
  overflow-y: auto;
  padding: 34px 0;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.p2-modal__time-scroll::-webkit-scrollbar {
  display: none;
}

.p2-modal__time-scroll .time-item {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: #b0b8c4;
  scroll-snap-align: center;
  transition: all 0.15s;
  cursor: pointer;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
}

.p2-modal__time-scroll .time-item:hover {
  color: #6E8FB8;
}

.p2-modal__time-scroll .time-item.is-selected {
  color: #182F4D;
  font-weight: 600;
  font-size: 0.9375rem;
}

.p2-modal__time-scroll .time-item.is-disabled {
  color: #dde3eb;
  pointer-events: none;
  cursor: default;
}

.p2-modal__time-col::before,
.p2-modal__time-col::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 34px;
  pointer-events: none;
  z-index: 1;
}

.p2-modal__time-col::before {
  top: 0;
  background: linear-gradient(to bottom, #fff 40%, transparent);
}

.p2-modal__time-col::after {
  bottom: 0;
  background: linear-gradient(to top, #fff 40%, transparent);
}

/* Selection highlight line */
.p2-modal__time-picker::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 8px;
  right: 8px;
  height: 32px;
  transform: translateY(-50%);
  background: #f8f9fa;
  border-radius: 8px;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 600px) {
  .p2-modal__schedule-row {
    flex-direction: column;
    gap: 16px;
  }

  .p2-modal__date-dropdown {
    left: 50%;
    transform: translateX(-50%);
    min-width: 290px;
    padding: 20px;
  }
}

/* Extra small screens - full screen modal */
@media (max-width: 480px) {
  .p2-modal {
    padding: 0;
  }

  .p2-modal__overlay {
    background: #fff;
  }

  .p2-modal__container {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
  }

  .p2-modal__body {
    padding: 1rem;
    justify-content: center;
    align-items: stretch;
    height: 100%;
    overflow-y: auto;
  }

  .p2-modal__header {
    text-align: left;
  }

  .p2-modal__close {
    top: 0.75rem;
    right: 0.75rem;
  }
}

/* Apartment preview */
.p2-modal__apt-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
  border: 1px solid #e0e4e8;
  border-radius: 12px;
  margin-bottom: 24px;
}

.p2-modal__apt-image {
  width: 100px;
  height: 75px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e0e4e8;
}

.p2-modal__apt-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #182F4D;
}

.p2-modal__apt-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #FFBE00;
}



.p2-modal__apt-preview {
  margin: 0 40px 24px;
}

/* Apartment Header (for reservation modal) */
.p2-modal__apt-header {
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.p2-modal__apt-header .p2-modal__apt-image {
  max-width: 100px;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  padding: 10px;
}

.p2-modal__apt-header .p2-modal__apt-info {
  display: flex;
  flex-direction: column;
}


.p2-modal__apt-header .p2-modal__apt-desc {
  font-size: 0.9375rem;
  font-weight: 400;
  color: #6E8FB8;
  margin: 0;
  line-height: 1.4;
}

.p2-modal__success {
    padding: 2rem;
    background-color: #fafafa;
    border-radius: 25px;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
      text-align: center;
      width: 100%;
}

/* ===== MK HERO - Maiko Style with Frame Lines ===== */
.mk-hero {
  background: #0a0a0a;
  min-height: 60vh;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.mk-hero__frame {
  overflow: hidden;
}

.mk-hero.no-margin {
  margin: 0;
  border-radius: 0;
  height: 100vh;
}

.mk-hero__frame {
  position: relative;
  width: 100%;
  flex: 1;
  overflow: hidden;
}

/* Hero Bottom Stats Bar */
.mk-hero__stats {
  gap: 24px;
}

/* Location Link (Left) */
.mk-hero__location {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 200px;
  height: 100%;
}

/* Branded border for location */
.mk-hero__location::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  clip-path: polygon(
    4px 0, calc(100% - 4px) 0, 100% 4px,
    100% calc(100% - 20px), calc(100% - 20px) 100%,
    4px 100%, 0 calc(100% - 4px), 0 4px
  );
  pointer-events: none;
  transition: background 0.3s ease;
}

.mk-hero__location::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--stats-bg, #0a0a0a);
  clip-path: polygon(
    4px 0, calc(100% - 4px) 0, 100% 4px,
    100% calc(100% - 19px), calc(100% - 19px) 100%,
    4px 100%, 0 calc(100% - 4px), 0 4px
  );
  pointer-events: none;
}

.mk-hero__location:hover::before {
  background: rgba(255, 255, 255, 0.25);
}

.mk-hero__location-map {
  position: absolute;
  inset: 0;
  color: #fff;
  opacity: 0.5;
}

.mk-hero__location-map svg {
  width: 100%;
  height: 100%;
}

.mk-hero__location-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.mk-hero__location-content i {
  font-size: 1.25rem;
  color: #FFBE00;
}

.mk-hero__location-content span {
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Stats List (Center) */
.mk-hero__stats-list {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex: 1;
  height: 100%;
}

.mk-hero__stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  position: relative;
}

/* Outer shape - acts as border */
.mk-hero__stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  clip-path: polygon(
    4px 0, calc(100% - 4px) 0, 100% 4px,
    100% calc(100% - 20px), calc(100% - 20px) 100%,
    4px 100%, 0 calc(100% - 4px), 0 4px
  );
  pointer-events: none;
}

/* Inner shape - matches parent bg for border-only effect */
.mk-hero__stat::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--stats-bg, #0a0a0a);
  clip-path: polygon(
    4px 0, calc(100% - 4px) 0, 100% 4px,
    100% calc(100% - 19px), calc(100% - 19px) 100%,
    4px 100%, 0 calc(100% - 4px), 0 4px
  );
  pointer-events: none;
}

.mk-hero__stat > * {
  position: relative;
  z-index: 1;
}

.mk-hero__stat-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: #FFBE00;
  font-size: 1.125rem;
}

.mk-hero__stat-info {
  display: flex;
  flex-direction: column;
}

.mk-hero__stat-num {
  font-family: 'Mersad', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
}

.mk-hero__stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
}

/* Partner Block (Right) */
.mk-hero__partner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  position: relative;
  height: 100%;
  min-width: 500px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.mk-hero__partner-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.mk-hero__partner-text {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  text-align: left;
}

.mk-hero__partner-wrap {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
}

/* Partner in hero content (below block selector) */
.mk-hero__partner--content {
  position: relative;
  min-width: auto;
  min-height: 80px;
  height: auto;
  align-self: stretch;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: visible;
}

/* Logo wrapper */
.mk-hero__partner--content .mk-hero__partner-logo {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
}

.mk-hero__partner--content .mk-hero__partner-logo img {
  max-width: 150px;
  height: auto;
  width: auto;
}

/* Text area */
.mk-hero__partner--content .mk-hero__partner-text {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8125rem;
  line-height: 1.5;
  padding: 0;
  display: flex;
  align-items: center;
  border: none;
}


/* Hero Projects Tabs Bar */
.mk-hero__projects-bar {
  background: var(--prj-bg, #182F4D);
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
}

.cz-projects-tabs--hero {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 0;
}

.cz-projects-tabs--hero .cz-projects-tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 24px;
  margin: 0;
  color: var(--prj-text, #fff);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.cz-projects-tabs--hero .cz-projects-tab.is-active {
  border-bottom-width: 4px;
  border-bottom-color: var(--prj-active, #FFBE00);
}

/* Hero News Bar */
.mk-hero__news-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Override base timeline-filters styles for hero */
.cz-timeline-filters--hero {
  flex: 1;
  background: transparent !important;
  border: none !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  position: static !important;
}

.cz-timeline-filters--hero .cz-timeline-filters__blocks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cz-timeline-filters--hero .cz-timeline-filter {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 16px;
  color: var(--news-text, #fff);
  font-size: 0.8125rem;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.cz-timeline-filters--hero .cz-timeline-filter:hover {
  opacity: 1;
  border-color: rgba(255,255,255,0.4);
}

.cz-timeline-filters--hero .cz-timeline-filter.is-active {
  opacity: 1;
  background: var(--news-active, #FFBE00);
  border-color: var(--news-active, #FFBE00);
  color: #000;
}

.cz-timeline-type-switcher--hero {
  display: flex;
  gap: 24px;
  align-items: center;
}

.cz-timeline-type-switcher--hero .cz-timeline-type-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.cz-timeline-type-switcher--hero .cz-timeline-type-toggle__label {
  order: -1;
}

.cz-timeline-type-switcher--hero .cz-timeline-type-toggle__slider {
  width: 44px;
  height: 24px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  position: relative;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

.cz-timeline-type-switcher--hero .cz-timeline-type-toggle__slider::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.cz-timeline-type-switcher--hero input:checked + .cz-timeline-type-toggle__slider {
  background: var(--news-active, #FFBE00);
}

.cz-timeline-type-switcher--hero input:checked + .cz-timeline-type-toggle__slider::after {
  transform: translateX(20px);
}

.cz-timeline-type-switcher--hero input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Hero News Bar - filter rows scrollable */
.cz-timeline-filters--hero .cz-timeline-filters__projects,
.cz-timeline-filters--hero .cz-timeline-filters__blocks {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cz-timeline-filters--hero .cz-timeline-filters__projects::-webkit-scrollbar,
.cz-timeline-filters--hero .cz-timeline-filters__blocks::-webkit-scrollbar {
  display: none;
}
.cz-timeline-filters--hero .cz-timeline-filter {
  flex-shrink: 0;
}

/* Hero News Bar - toggles wrap if not fitting */
.cz-timeline-type-switcher--hero {
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cz-timeline-type-switcher--hero .cz-timeline-type-toggle {
  flex-shrink: 0;
}

/* Hero News Bar - Responsive */
@media (max-width: 1599px) {
  .mk-hero__news-bar {
    gap: 20px;
    padding: 1.25rem 1.5rem;
  }
  .cz-timeline-type-switcher--hero {
    gap: 16px;
  }
}

@media (max-width: 1399px) {
  .mk-hero__news-bar {
    gap: 16px;
    padding: 1.25rem;
  }
  .cz-timeline-filters--hero {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }
  .cz-timeline-type-switcher--hero {
    gap: 12px;
  }
  .cz-timeline-filters--hero .cz-timeline-filter {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}

@media (max-width: 1199px) {
  .mk-hero__news-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 1.5rem 1rem;
  }
  .cz-timeline-filters--hero {
    width: 100%;
    justify-content: center;
    gap: 5rem;
  }
  .cz-timeline-type-switcher--hero {
    justify-content: flex-start;
    gap: 16px;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
}

@media (max-width: 991px) {
  .mk-hero__news-bar {
    padding: 1.5rem 0.875rem;
    gap: 12px;
  }
  .cz-timeline-filters--hero .cz-timeline-filters__projects,
  .cz-timeline-filters--hero .cz-timeline-filters__blocks {
    gap: 6px;
  }
  .cz-timeline-filters--hero .cz-timeline-filter {
    padding: 5px 10px;
    font-size: 0.6875rem;
  }
  .cz-timeline-type-switcher--hero {
    gap: 12px;
    padding-top: 10px;
  }
  .cz-timeline-type-switcher--hero .cz-timeline-type-toggle {
    gap: 8px;
  }
  .cz-timeline-type-switcher--hero .cz-timeline-type-toggle__slider {
    width: 41px;
    height: 20px;
  }
  .cz-timeline-type-switcher--hero .cz-timeline-type-toggle__slider::after {
    width: 14px;
    height: 14px;
  }
  .cz-timeline-type-switcher--hero input:checked + .cz-timeline-type-toggle__slider::after {
    transform: translateX(16px);
  }
}

@media (max-width: 767px) {
  .mk-hero__news-bar {
    padding: 2rem 0.75rem;
    gap: 10px;
  }
  .cz-timeline-filters--hero {
    gap: 1rem;
    justify-content: flex-start;
    align-items: stretch;
  }
  .cz-timeline-filters--hero .cz-timeline-filters__projects,
  .cz-timeline-filters--hero .cz-timeline-filters__blocks {
    justify-content: flex-start;
    width: 100%;
  }
  .cz-timeline-filters {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    position: relative;
    top: 0;
    padding: 20px 0 40px;
  }
  .cz-timeline-filters--hero .cz-timeline-filters__projects,
  .cz-timeline-filters--hero .cz-timeline-filters__blocks {
    gap: 5px;
  }
  .cz-timeline-filters--hero .cz-timeline-filters__projects {
    justify-content: center;
  }
  .cz-timeline-filters--hero .cz-timeline-filters__blocks {
    justify-content: center;
  }
  .cz-timeline-filters--hero .cz-timeline-filter {
    padding: 4px 8px;
    font-size: 0.625rem;
    border-radius: 3px;
  }
  .cz-timeline-type-switcher--hero {
    gap: 10px;
    padding-top: 1rem;
  }
  .cz-timeline-type-switcher--hero .cz-timeline-type-toggle {
    gap: 6px;
  }
}

@media (max-width: 575px) {
  .mk-hero__news-bar {
    padding: 2.875rem 0.625rem;
  }
  .cz-timeline-type-switcher--hero {
    gap: 8px;
  }
}

@media (max-width: 500px) {
  .cz-timeline-filters--hero .cz-timeline-filters__projects {
    justify-content: flex-start;
  }
}

/* Hero Contact Bar */
.mk-hero__contact-bar {
  background: var(--contact-bg, #182F4D);
  padding: 16px 24px;
}

.mk-hero__contact-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.mk-hero__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--contact-text, #fff);
  text-decoration: none;
  font-size: 0.875rem;
  transition: opacity 0.3s ease;
}

.mk-hero__contact-item:hover {
  opacity: 0.8;
}

.mk-hero__contact-item i {
  font-size: 1.125rem;
  color: var(--contact-icon, #FFBE00);
}

.mk-hero__media {
  position: absolute;
  inset: 0;
}

.mk-hero__media video,
.mk-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mk-hero__overlay {
  position: absolute;
  inset: 0;
}

.mk-hero__bottom-gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 20vh;
  pointer-events: none;
  z-index: 5;
}

/* Frame Border with Branded Corner Cut (bottom-right) */
.mk-frame-border {
  position: absolute;
  inset: 1rem;
  pointer-events: none;
  z-index: 10;
  border: 1px solid rgb(255 255 255 / 7%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
  border-radius: 10px;
}

@keyframes frame-line-h {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes frame-line-v {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

/* Vertical Grid Lines */
.mk-hero__grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  padding: 0 10%;
}

.mk-hero__grid-lines span {
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 20%,
    rgba(255, 255, 255, 0.06) 80%,
    transparent 100%
  );
}

/* Main Content + Map Wrapper */
.mk-hero__main {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  max-width: 50%;
  width: 50%;
}

.mk-hero__main > * {
  pointer-events: auto;
}

/* Main Content */
.mk-hero__content {
  position: relative;
  width: 50%;
  max-width: 50%;
}

.mk-hero__title {
  margin: 0 0 1rem 0;
  font-family: 'Mersad', sans-serif;
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.mk-hero__subtitle {
  display: block;
  font-family: 'Mersad', sans-serif;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.mk-hero__desc {
  max-width: 700px;
  margin-bottom: 2rem;
  margin-top: 0.35rem;
  padding-bottom: 1rem;
}

/* Branded Yellow Button with Corner Cut + Rounded Angle */
.mk-frame-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  text-decoration: none;
  color: #182F4D;
  background: #FFBE00;
  border-radius: 4px;
  /* Corner cut with rounded effect at angle using multiple points */
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 24px),
    calc(100% - 4px) calc(100% - 20px),
    calc(100% - 8px) calc(100% - 16px),
    calc(100% - 12px) calc(100% - 12px),
    calc(100% - 16px) calc(100% - 8px),
    calc(100% - 20px) calc(100% - 4px),
    calc(100% - 24px) 100%,
    0 100%
  );
  transition: background 0.3s ease;
}

.mk-frame-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 24px),
    calc(100% - 4px) calc(100% - 20px),
    calc(100% - 8px) calc(100% - 16px),
    calc(100% - 12px) calc(100% - 12px),
    calc(100% - 16px) calc(100% - 8px),
    calc(100% - 20px) calc(100% - 4px),
    calc(100% - 24px) 100%,
    0 100%
  );
  transition: border-color 0.3s ease;
}

.mk-frame-btn:hover::before {
  border-color: #ffffff;
}

.mk-frame-btn:hover {
  background: #e6ab00;
}

.mk-frame-btn__text {
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.mk-frame-btn__icon {
  font-size: 1.125rem;
}

.mk-frame-btn__border {
  display: none;
}

/* Right Side Info */
.mk-hero__side {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 30px;
}

.mk-hero__side-item {
  text-align: right;
}

.mk-hero__side-num {
  display: block;
  font-family: 'Mersad', sans-serif;
  font-size: 3rem;
  font-weight: 300;
  color: #fff;
  line-height: 1;
}

.mk-hero__side-label {
  display: block;
  font-family: 'Mersad', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  margin-top: 8px;
}

.mk-hero__side-divider {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.mk-hero__cta-link {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

.mk-hero__cta-text {
  font-family: 'Mersad', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
  line-height: 1.6;
}

.mk-hero__cta-circle {
  position: relative;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.375rem;
}

.mk-hero__cta-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mk-hero__cta-svg circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 1;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: circle-draw 1.5s ease forwards 1s;
  transform: rotate(-90deg);
  transform-origin: center;
}

@keyframes circle-draw {
  to { stroke-dashoffset: 0; }
}

.mk-hero__cta-link:hover .mk-hero__cta-svg circle {
  stroke: #FFBE00;
  transition: stroke 0.3s ease;
}

.mk-hero__cta-link:hover .mk-hero__cta-circle {
  color: #FFBE00;
}

/* Scroll Indicator */
.mk-hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mk-hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, #FFBE00, transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.8); }
}

.mk-hero__scroll-text {
  font-family: 'Mersad', sans-serif;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* ===== MK MOBILE MENU - Split Layout Style ===== */
.mk-mobile-menu {
  position: fixed;
  top: var(--header-total-height, 100px);
  left: var(--header-pos, 2rem);
  right: var(--header-pos, 2rem);
  bottom: var(--header-pos, 2rem);
  z-index: 1500;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
  border-radius: 8px;
  overflow: hidden;
  padding-top: 2rem;
}

.mk-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mk-mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgb(25 47 77);
  z-index: 1499;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mk-mobile-menu__overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* Left Side - Dark Navigation */
.mk-mobile-menu__left {
  width: 40%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.4s ease, transform 0.4s ease;
  gap: 0rem !important;
  padding-right: 2rem;
}

.mk-mobile-menu.is-open .mk-mobile-menu__left {
  opacity: 1;
  transform: scale(1);
}

/* Right Side - Promo Image */
.mk-mobile-menu__right {
  width: 60%;
  display: flex;
  flex-direction: column;
  position: relative;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.4s ease 0.05s, transform 0.4s ease 0.05s;
}

.mk-mobile-menu.is-open .mk-mobile-menu__right {
  opacity: 1;
  transform: scale(1);
}


/* Top section - 50/50 split (logo + call button) */
.mk-mobile-menu__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.mk-mobile-menu__left-group {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  justify-content: space-between;
}

.mk-mobile-menu__left .mk-mobile-menu__logo-link {
  display: flex;
  align-items: start;
  gap: 1rem;
  flex-direction: column;
}

.mk-mobile-menu__left .mk-mobile-menu__logo {
  display: block;
  height: auto;
  width: auto;
  max-width: 75px;
}

/* Slogan in top row */
.mk-mobile-menu__slogan {
  margin: 0;
  color: #fff;
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: default;
}

/* Call button in mobile menu - yellow inner shape */
.mk-mobile-menu__call {
  position: relative;
  width: 20vh;
  height: 20vh;
  min-height: 250px;
  min-width: 250px;
  background: transparent;
  border: none;
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Outer shape */
.mk-mobile-menu__call::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #ffffff14;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%);
  transition: all 0.3s ease;
}

/* Inner yellow fill */
.mk-mobile-menu__call::after {
  content: '';
  position: absolute;
  inset: 8px;
  background: #FFBE00;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
  transition: all 0.3s ease;
}

.mk-mobile-menu__call i,
.mk-mobile-menu__call span {
  position: relative;
  z-index: 1;
}

.mk-mobile-menu__call i {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 4rem;
  color: #192F4D;
  transition: all 0.3s ease;
}

.mk-mobile-menu__call span {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  color: #192F4D;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.mk-mobile-menu__call:hover::after {
  background: #e6ab00;
}

.mk-mobile-menu__call:focus,
.mk-mobile-menu__call:active {
  outline: none;
}

/* Dashboard link in mobile menu */
.mk-mobile-menu__dashboard {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #274B7A;
  border-radius: 6px;
  font-family: 'Mersad', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mk-mobile-menu__dashboard i {
  font-size: 1rem;
  color: #FFBE00;
}

.mk-mobile-menu__dashboard:hover {
  background: #1F3D63;
}

/* Navigation */
.mk-mobile-menu__nav {
  flex: 1;
  padding: 2rem 0rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  align-items: start;
  justify-content: center;
}

.mk-mobile-menu__link {
  font-family: 'Mersad', sans-serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.5s ease;
  display: block;
  position: relative;
}

.mk-mobile-menu__link:hover {
  color: #fff;
}

/* CTA Button */
.mk-mobile-menu__cta {
  display: none;
  width: 100%;
  padding: 1.5rem;
  background: var(--ff-ac4, #FFBE00);
  border: none;
  cursor: pointer;
  position: relative;
  justify-content: space-between;
  align-items: center;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
  transition: all 0.5s ease;
}

.mk-mobile-menu__cta:hover {
  background: #e6ab00;
}

.mk-mobile-menu__cta-text {
  color: #182F4D;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.5s ease;
}

.mk-mobile-menu__cta i {
  color: #182F4D;
  font-size: 2rem;
  transition: all 0.5s ease;
}

/* Bottom Section - 2 column layout */
.mk-mobile-menu__bottom {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background-color: #ffffff05;
  border-radius: 10px;
}

.mk-mobile-menu__bottom-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mk-mobile-menu__socials {
  display: flex;
  gap: 12px;
}

.mk-mobile-menu__socials a,
.mk-mobile-menu__socials a i {
  transition: all 0.5s ease;
}

/* Contact info under socials */
.mk-mobile-menu__contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mk-mobile-menu__address {
  margin: 0;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: color 0.5s ease;
}

.mk-mobile-menu__address i {
  flex-shrink: 0;
}

.mk-mobile-menu__phone {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: color 0.5s ease;
}

.mk-mobile-menu__phone i {
  color: #FFBE00;
  font-size: 1rem;
}

.mk-mobile-menu__social {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.5s ease;
}

.mk-mobile-menu__social:hover {
  color: #FFBE00;
}

.mk-mobile-menu__legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'Mersad', sans-serif;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

.mk-mobile-menu__legal a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mk-mobile-menu__legal a:hover {
  color: #FFBE00;
}

.mk-mobile-menu__legal span {
  padding-top: 2px;
  font-weight: 700;
}

/* Right Side - Info Section (legacy - contact now in bottom left) */
.mk-mobile-menu__info {
  padding: 80px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Promo Section - Notched corner frame */
.mk-mobile-menu__promo {
  flex: 1;
  position: relative;
  overflow: hidden;
  /* Branded cut - top left */
  clip-path: polygon(32px 0, 100% 0, 100% 100%, 0 100%, 0 32px);
  border-radius: 15px;
}

.mk-mobile-menu__promo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: promoBreathing 8s ease-in-out infinite;
}

@keyframes promoBreathing {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.mk-mobile-menu__promo-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  z-index: 1;
}

.mk-mobile-menu__promo-title {
  display: block;
  font-family: 'Mersad', sans-serif;
  font-size: 2.25rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 20px;
  line-height: 1.4;
  cursor: default;
}

.mk-mobile-menu__promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: #FFBE00;
  font-family: 'Mersad', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #182F4D;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  position: relative;
  /* Notched corner with keyhole */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.mk-mobile-menu__promo-btn i {
  font-size: 1rem;
  color: #182F4D;
  transition: transform 0.3s ease;
}

.mk-mobile-menu__promo-btn:hover {
  background: #e6ab00;
}

.mk-mobile-menu__promo-btn:hover i {
  transform: rotate(-15deg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1599px) {
  .mk-header {
    padding: 0.85rem;
  }

  .mk-header__logo-main,
  .mk-header__logo-scroll {
    height: 40px;
  }

  .mk-header__cta {
    padding: 9px 24px;
  }

  .mk-header__call-btn {
    padding: 13px 29px;
  }

  .mk-mobile-menu__left .mk-mobile-menu__logo {
    max-width: 60px;
  }

  .mk-mobile-menu__call {
    min-width: 200px;
    min-height: 200px;
  }

  .mk-mobile-menu__call::before {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  }

  .mk-mobile-menu__call::after {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 21px), calc(100% - 21px) 100%, 0 100%);
  }

  .mk-mobile-menu__left {
    width: 50%;
  }
}

@media (max-width: 1399px) {
  .mk-mobile-menu__left {
    width: 65%;
  }

  .mk-header__left {
    gap: 8px;
  }

  .mk-header__logo-main,
  .mk-header__logo-scroll {
    height: 35px;
  }

  .mk-header__cta {
    padding: 6px 18px;
  }

  .mk-header__call-btn {
    padding: 10px 22px;
  }

  .mk-header__lang-trigger {
    height: 40px;
  }

  .mk-header__toggle {
    width: 40px;
    height: 40px;
  }

  .mk-mobile-menu__bottom {
    padding: 1.5rem;
  }
}

@media (max-width: 1200px) {
  /* Mobile Menu - Stack on smaller screens */
  .mk-mobile-menu {
    flex-direction: column;
    padding-top: 0;
  }

  .mk-mobile-menu__left {
    width: 100%;
    height: 100%;
    flex: 0 0 auto;
    justify-content: flex-start;
    padding-right: 0;
  }

  .mk-mobile-menu.is-open .mk-mobile-menu__left {
    transform: scale(1);
  }

  .mk-mobile-menu__right {
    display: none;
  }

  .mk-mobile-menu__top {
    display: none;
  }

  .mk-mobile-menu__nav {
    flex: 1;
  }

  .mk-mobile-menu__cta {
    display: flex;
  }

  .mk-mobile-menu__bottom {
    margin-top: auto;
    flex-direction: column;
    gap: 1rem;
  }

  .mk-mobile-menu__contact {
    flex-direction: row;
    gap: 3rem;
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .mk-mobile-menu__socials {
    width: 100%;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 1199px) {
  .mk-header__call-btn--desktop {
    display: none;
  }
}

@media (max-width: 1024px) {
  .mk-header {
    padding: 16px 24px;
  }

  .mk-header__call-btn span {
    display: none;
  }

  .mk-header__call-btn {
    padding: 10px;
  }
}

@media (max-width: 1200px) {
  .mk-header__left {
    align-items: center;
    flex: 1;
  }

  .mk-header__cta {
    padding: 12px 33px;
  }

  .mk-header__lang-trigger {
    height: 44px;
  }

  .mk-header__toggle {
    width: 44px;
    height: 44px;
  }

  .mk-header__logo-main,
  .mk-header__logo-scroll {
    height: 40px;
  }
}

@media (max-width: 992px) {
  .mk-header__cta {
    padding: 9px 25px;
  }

  .mk-header__logo-main,
  .mk-header__logo-scroll {
    height: 37px;
  }

  .mk-header__call-btn--mobile {
    border-radius: 100px;
  }

  .mk-header__call-btn span,
  .mk-header__call-btn i {
    font-size: 0.85rem;
    padding-top: 0.25rem;
  }
}

@media (max-width: 768px) {
  .mk-header {
    padding: 12px 16px;
  }

  .mk-header__left {
    display: flex;
    align-items: center;
    flex: 0 0 25%;
    gap: 8px;
  }

  .mk-header__logo {
    flex: 0 0 50%;
    justify-content: center;
    min-width: auto;
  }

  .mk-header__right {
    flex: 0 0 25%;
    justify-content: flex-end;
  }

  .mk-header__logo-main,
  .mk-header__logo-scroll {
    height: 37px;
  }

  .mk-header__toggle {
    width: 40px;
    height: 40px;
    padding: 10px;
  }

  .mk-header__cta {
    display: none;
  }

  /* Mobile: Hide language dropdown and desktop call btn, show mobile call btn on right */
  .mk-header__lang-dropdown {
    display: none;
  }

  .mk-header__call-btn--desktop {
    display: none;
  }

  .mk-header__call-btn--mobile {
    display: flex;
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border: 1px solid rgba(24, 47, 77, 0.2);
    background: rgba(24, 47, 77, 0.05);
  }

  .mk-mobile-menu__bottom {
    padding: 1rem 1rem 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .mk-mobile-menu__cta {
    padding: 1rem;
  }

  .mk-mobile-menu__contact {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .mk-header__call-btn--mobile::after {
    display: none;
  }

  .mk-header__call-btn--mobile i {
    font-size: 1.125rem;
    color: #182F4D;
  }

  .mk-mobile-menu__left .mk-mobile-menu__logo {
    max-width: 55px;
  }

  .mk-mobile-menu__call {
    width: 30vh;
    height: 30vh;
    font-size: 0.75rem;
  }

  .mk-mobile-menu__call i {
    font-size: 3rem;
  }

  .mk-mobile-menu__promo-content {
    padding: 32px;
  }

  .mk-mobile-menu__promo-title {
    font-size: 1.75rem;
  }

  .mk-mobile-menu__nav {
    padding: 32px 0;
  }

  .mk-mobile-menu__link {
    font-size: 1.375rem;
  }

  .mk-mobile-menu__info {
    padding: 60px 24px 24px;
  }

  .mk-mobile-menu__promo-title {
    font-size: 1.375rem;
  }

  .mk-mobile-menu__right::before {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .mk-header {
    padding: 10px 12px;
  }

  .mk-header__left {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .mk-header__toggle {
    width: 36px;
    height: 36px;
    padding: 8px;
  }

  .mk-header__call-btn--mobile {
    width: 36px;
    height: 36px;
  }

  .mk-header__call-btn i {
    font-size: 1rem;
  }

  .mk-mobile-menu__top {
    padding: 20px 24px;
  }

  .mk-mobile-menu__left .mk-mobile-menu__logo {
    max-width: 45px;
  }

  .mk-mobile-menu__call {
    width: 16vh;
    height: 16vh;
    font-size: 0.6875rem;
  }

  .mk-mobile-menu__call i {
    font-size: 2.5rem;
  }

  .mk-mobile-menu__promo-content {
    padding: 24px;
  }

  .mk-mobile-menu__promo-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
  }

  .mk-mobile-menu__promo-btn {
    padding: 10px 20px;
    font-size: 0.6875rem;
  }

  .mk-mobile-menu__nav {
    padding: 24px 0;
  }

  .mk-mobile-menu__link {
    font-size: 1.125rem;
  }

  .mk-mobile-menu__socials {
    margin-bottom: 16px;
  }

  .mk-mobile-menu__social {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .mk-mobile-menu__legal {
    font-size: 0.6875rem;
  }

  .mk-mobile-menu__info {
    padding: 50px 16px 16px;
  }

  .mk-mobile-menu__logo {
    height: 32px;
  }

  .mk-mobile-menu__promo-content {
    padding: 20px;
  }

  .mk-mobile-menu__promo-title {
    font-size: 1.125rem;
    margin-bottom: 12px;
  }

  .mk-mobile-menu__promo-btn {
    font-size: 0.75rem;
  }

  .mk-mobile-menu__right::before {
    width: 28px;
    height: 28px;
    border-width: 2px;
  }
}

@media (max-width: 768px) {
  .mk-frame-border {
    inset: 16px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  }

  .mk-hero__grid-lines {
    display: none;
  }

  .mk-hero__main {
    flex-direction: column;
    align-items: stretch;
  }

  .mk-hero__content {
    max-width: none;
  }

  .mk-hero__title {
    font-size: 2rem;
  }

  .mk-hero__desc {
    font-size: 0.875rem;
    margin-bottom: 24px;
  }

  .mk-frame-btn {
    padding: 14px 24px;
  }

  .mk-frame-btn__text {
    font-size: 0.75rem;
  }

  .mk-hero__side {
    display: none;
  }

  .mk-hero__cta-circle {
    width: 56px;
    height: 56px;
    font-size: 1.125rem;
  }

  .mk-hero__scroll-line {
    height: 40px;
  }

  .mk-hero__scroll-text {
    font-size: 0.5625rem;
  }
}

/* ==========================================================================
   BENTO STATS GRID
   ========================================================================== */
.bento-section {
  padding: 60px 40px 80px;
  background: #f5f5f5;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 6px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Base item styles */
.bento-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

/* Image items */
.bento-item--image {
  background: #e8e8e8;
}

.bento-item--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Corner brackets on images */
.bento-item--image::before,
.bento-item--image::after,
.bento-item--image .bento-corner-tl,
.bento-item--image .bento-corner-br {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: rgba(255, 255, 255, 0.9);
  border-style: solid;
  z-index: 2;
  pointer-events: none;
  transition: border-color 0.3s ease;
}

.bento-item--image::before {
  top: 12px;
  left: 12px;
  border-width: 2px 0 0 2px;
}

.bento-item--image::after {
  top: 12px;
  right: 12px;
  border-width: 2px 2px 0 0;
}

.bento-item--image .bento-corner-bl {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 24px;
  height: 24px;
  border: solid rgba(255, 255, 255, 0.9);
  border-width: 0 0 2px 2px;
  z-index: 2;
  pointer-events: none;
}

.bento-item--image .bento-corner-br {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border: solid rgba(255, 255, 255, 0.9);
  border-width: 0 2px 2px 0;
  z-index: 2;
  pointer-events: none;
}

.bento-item__label {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.95);
  font-family: 'Mersad', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.02em;
  z-index: 3;
  border-radius: 2px;
}

/* Stat items */
.bento-item--stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 32px;
  background: #fff;
}

.bento-item--stat i {
  font-size: 1.625rem;
  color: #333;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.bento-item--stat:hover i {
  color: #FFBE00;
}

.bento-item__number {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.bento-item__number span {
  font-family: 'Mersad', sans-serif;
  font-size: 2.625rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1;
  letter-spacing: -0.02em;
}

.bento-item__number small {
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: #888;
  margin-left: 2px;
}

.bento-item__text {
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* Grid spanning */
.bento-item--wide {
  grid-column: span 2;
}

.bento-item--tall {
  grid-row: span 2;
}

/* Responsive */
@media (max-width: 1200px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }

  .bento-item--wide {
    grid-column: span 2;
  }

  .bento-item--image,
  .bento-item--stat {
    min-height: 200px;
  }
}

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .bento-section {
    padding: 40px 16px 60px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .bento-item--wide {
    grid-column: span 1;
  }

  .bento-item--image,
  .bento-item--stat {
    min-height: 180px;
  }

  .bento-item__number span {
    font-size: 2.25rem;
  }

  .bento-item--stat {
    padding: 24px;
  }
}

/* ========================================================================
   HERO FINDER WIDGET - Professional Design
   ======================================================================== */
.hero-finder {
  position: absolute;
  right: 60px;
  bottom: 60px;
  z-index: 20;
  max-width: 380px;
  width: 100%;
}

.hero-finder__frame {
  position: relative;
  background: rgba(24, 47, 77, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Frame corner lines */
.hero-finder__corner {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.hero-finder__corner::before,
.hero-finder__corner::after {
  content: '';
  position: absolute;
  background: rgba(255, 190, 0, 0.6);
}

.hero-finder__corner--tl { top: 0; left: 0; }
.hero-finder__corner--tl::before {
  top: 0; left: 0;
  width: 20px; height: 1px;
}
.hero-finder__corner--tl::after {
  top: 0; left: 0;
  width: 1px; height: 20px;
}

.hero-finder__corner--tr { top: 0; right: 0; }
.hero-finder__corner--tr::before {
  top: 0; right: 0;
  width: 20px; height: 1px;
}
.hero-finder__corner--tr::after {
  top: 0; right: 0;
  width: 1px; height: 20px;
}

.hero-finder__corner--bl { bottom: 0; left: 0; }
.hero-finder__corner--bl::before {
  bottom: 0; left: 0;
  width: 20px; height: 1px;
}
.hero-finder__corner--bl::after {
  bottom: 0; left: 0;
  width: 1px; height: 20px;
}

.hero-finder__corner--br { bottom: 0; right: 0; }
.hero-finder__corner--br::before {
  bottom: 0; right: 0;
  width: 20px; height: 1px;
}
.hero-finder__corner--br::after {
  bottom: 0; right: 0;
  width: 1px; height: 20px;
}

/* Finder Title */
.hero-finder__title {
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 1px;
}

.hero-finder__title i {
  font-size: 1rem;
  color: #FFBE00;
}

.hero-finder__title span {
  color: #fff;
}

/* Finder Row */
.hero-finder__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-finder__row:last-of-type {
  border-bottom: none;
}

.hero-finder__label {
  font-family: 'Mersad', sans-serif;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.45);
  min-width: 60px;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

/* Pills Container */
.hero-finder__pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1;
}

/* Slider Row */
.hero-finder__row--slider {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.hero-finder__slider-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-finder__slider {
  flex: 1;
  height: 4px;
}

.hero-finder__slider-values {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Mersad', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  min-width: 50px;
  justify-content: flex-end;
}

.hero-finder__slider-sep {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

/* Hero Finder Slider - Custom noUiSlider Styles */
.hero-finder__slider .noUi-target {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 2px;
  box-shadow: none;
  height: 4px;
}

.hero-finder__slider .noUi-connect {
  background: #FFBE00;
  border-radius: 2px;
}

.hero-finder__slider .noUi-handle {
  width: 20px;
  height: 20px;
  background: #fff;
  border: 2px solid #FFBE00;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  top: -8px;
  right: -10px;
}

.hero-finder__slider .noUi-handle::before,
.hero-finder__slider .noUi-handle::after {
  display: none;
}

.hero-finder__slider .noUi-handle:hover {
  background: #FFBE00;
  border-color: #fff;
}

.hero-finder__slider .noUi-handle:focus {
  outline: none;
}

/* Pill Button Base */
.hero-finder__pill {
  font-family: 'Mersad', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 7px 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-finder__pill i {
  font-size: 0.875rem;
  opacity: 0.7;
}

.hero-finder__pill:hover:not([disabled]) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.hero-finder__pill.is-active {
  background: #FFBE00;
  border-color: #FFBE00;
  color: #182F4D;
}

.hero-finder__pill.is-active i {
  opacity: 1;
}

.hero-finder__pill.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-style: dashed;
}

/* Submit Button */
.hero-finder__submit {
  font-family: 'Mersad', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #182F4D;
  background: #FFBE00;
  border: none;
  padding: 14px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.hero-finder__submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.hero-finder__submit span,
.hero-finder__submit i {
  position: relative;
  z-index: 1;
}

.hero-finder__submit:hover::before {
  transform: translateY(0);
}

.hero-finder__submit i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.hero-finder__submit:hover i {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-finder {
    right: 40px;
    bottom: 40px;
    max-width: 340px;
  }
}

@media (max-width: 900px) {
  .hero-finder {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: 100%;
    margin: -40px 20px 0;
  }

  .hero-finder__frame {
    padding: 24px 20px 20px;
  }
}

@media (max-width: 600px) {
  .hero-finder {
    margin: -30px 16px 0;
  }

  .hero-finder__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero-finder__label {
    min-width: unset;
  }

  .hero-finder__pills {
    width: 100%;
  }

}

/* ==========================================================================
   HERO MAP PICKER - Block map picker component (used in hero block)
   ========================================================================== */
.hero-map-picker {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  padding: 0;
  /* GPU acceleration to prevent flickering */
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: layout style paint;
}

.hero-map-picker__frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Hide corner decorations */
.hero-map-picker__corner {
  display: none;
}

.hmap-selector__progress {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  z-index: 0;
}

.hmap-selector__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #274B7A, #FFBE00);
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hmap-selector__point {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(30, 41, 59, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
}

.hmap-selector__point:hover:not(.is-locked) {
  border-color: rgba(255, 255, 255, 0.3);
}

.hmap-selector__point.is-active {
  background: linear-gradient(135deg, #274B7A 0%, #3F6696 100%);
  border-color: #FFBE00;
}

.hmap-selector__point.is-locked {
  opacity: 0.4;
  cursor: not-allowed;
}

.hmap-selector__letter {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  transition: all 0.3s;
}

.hmap-selector__point.is-active .hmap-selector__letter {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.hmap-selector__name {
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  transition: color 0.3s;
}

.hmap-selector__point.is-active .hmap-selector__name {
  color: #fff;
}

.hmap-selector__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 3px 6px;
  background: #FFBE00;
  color: #182F4D;
  border-radius: 6px;
}

.hmap-selector__info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

.hmap-selector__current {
  font-weight: 500;
}

.hmap-selector__current strong {
  font-weight: 800;
  color: #FFBE00;
  font-size: 1rem;
}

.hmap-selector__avail {
  font-weight: 700;
  color: #22c55e;
}

/* Left Block Selector (in hero content) */
.mk-hero__block-selector {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-width: 100%;
  display: flex;
  align-items: stretch;
  margin: 0 !important;
  gap: 1rem;
}

.mk-hero__block-selector > * {
  flex: 1 1 50%;
  width: 50%;
}

.mk-hero__block-selector > * > * {
  width: 100%;
}

.mk-hero__block-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.mk-hero__block-label i {
  font-size: 1.125rem;
  color: #FFBE00;
}

.hmap-selector--left {
  position: relative;
}

.hmap-selector--left .hmap-selector__track {
  display: inline-flex;
  align-items: flex-start;
  position: relative;
}

/* Connecting line */
.hmap-selector--left .hmap-selector__track::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 60px;
  right: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 0;
}

.hmap-selector--left .hmap-selector__point {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hmap-selector--left .hmap-selector__point:hover:not(.is-locked) .hmap-selector__letter {
  background: rgba(255, 255, 255, 0.15);
}

.hmap-selector--left .hmap-selector__point.is-active .hmap-selector__letter {
  background: #FFBE00;
  color: #182F4D;
}

.hmap-selector--left .hmap-selector__point.is-locked {
  opacity: 0.3;
  cursor: not-allowed;
}

.hmap-selector--left .hmap-selector__letter {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: all 0.2s ease;
}

.hmap-selector--left .hmap-selector__name {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.hmap-selector--left .hmap-selector__point.is-active .hmap-selector__name {
  color: #FFBE00;
}

.hmap-selector--left .hmap-selector__point:hover:not(.is-locked) .hmap-selector__name {
  color: rgba(255, 255, 255, 0.8);
}

.hmap-selector--left .hmap-selector__badge {
  position: absolute;
  top: -4px;
  right: 6px;
  font-size: 0.4375rem;
  padding: 2px 4px;
  border-radius: 4px;
}

/* Panels */
.hero-map-picker__panels {
  position: relative;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-map-picker__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  background: #FFBE00;
  color: #182F4D;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero-map-picker__instruction {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgb(144 166 193);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
}

.hero-map-picker__instruction i {
  font-size: 1.375rem;
  color: #FFBE00;
}

.hero-map-picker__panel {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease, filter 0.3s ease;
  height: 100%;
}

.hero-map-picker__panel.is-active {
  display: flex !important;
  opacity: 1;
  align-items: flex-end;
  justify-content: flex-end;
  min-width: 100%;
}

.hero-map-picker__panel.is-blurring {
  filter: blur(8px);
  opacity: 0.5;
}

/* Spinner for panel transitions */
.hero-map-picker__spinner {
  position: absolute;
  inset: 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-map-picker__spinner.is-visible {
  opacity: 1;
  visibility: visible;
}

.hero-map-picker__spinner-ring {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(24, 47, 77, 0.3);
  border-top-color: #FFBE00;
  border-radius: 50%;
  animation: hero-spinner-rotate 0.8s linear infinite;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

@keyframes hero-spinner-rotate {
  to { transform: rotate(360deg); }
}

/* Floor highlight animation on block switch - smooth train effect */
.hmap-floor polygon {
  transition: fill 0.3s ease, stroke 0.3s ease, stroke-width 0.3s ease;
}

.hmap-floor.is-highlighting polygon {
  fill: rgba(255, 190, 0, 0.7) !important;
  stroke: #FFBE00 !important;
  stroke-width: 3;
}

.hmap-floor.is-highlighting text {
  fill: #182F4D !important;
  transition: fill 0.3s ease;
}

.hero-map-picker__map {
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
}

.hero-map-picker__map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-map-picker__map svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-map-picker__map svg g {
  pointer-events: all;
}

.hero-map-picker__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 2.5rem;
}

/* Floor polygons */
.hmap-floor { cursor: pointer; }
.hmap-floor polygon {
  fill: var(--hmap-avail, rgba(39, 75, 122, 0.3));
  stroke: none;
  stroke-width: 0;
  transition: all 0.2s;
}
.hmap-floor:hover polygon {
  fill: var(--hmap-hover, rgba(255, 190, 0, 0.5));
  stroke: none;
  stroke-width: 0;
}
.hmap-floor.is-sold polygon {
  fill: var(--hmap-sold, rgba(239, 68, 68, 0.4));
  stroke: none;
  cursor: not-allowed;
}
.hmap-floor.is-sold:hover polygon {
  fill: var(--hmap-sold, rgba(239, 68, 68, 0.4));
  stroke: none;
}
.hmap-floor text {
  font-size: 1rem;
  font-weight: 800;
  font-family: 'Mersad', sans-serif;
  fill: #fff;
  pointer-events: none;
}
.hmap-floor.is-sold text { fill: rgba(255, 255, 255, 0.5); }

.hmap-floor__promo-icon circle { fill: var(--hmap-promo, #FFBE00); }
.hmap-floor__promo-icon text { font-size: 0.6875rem; font-weight: 800; fill: #182F4D; }

.hmap-floor__sale-icon circle { fill: #ef4444; }
.hmap-floor__sale-icon text { font-size: 0.6875rem; font-weight: 800; fill: #fff; }

/* Legend - hidden */
.hero-map-picker__legend {
  display: none;
}

/* Pick hint */
.hero-map-picker__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  margin-top: 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  backdrop-filter: blur(8px);
}

.hero-map-picker__hint i {
  font-size: 1.125rem;
  color: #FFBE00;
  animation: hmap-hint-bounce 1.5s ease-in-out infinite;
}

@keyframes hmap-hint-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Tooltip */
.hmap-tooltip {
  position: fixed;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px) translateZ(0);
  transition: all 0.15s;
  background: rgba(24, 47, 77, 0.98);
  border-radius: 10px;
  padding: 14px 16px;
  min-width: 160px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  backface-visibility: hidden;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

.hmap-tooltip__status {
  display: none;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  background: #ef4444;
  padding: 4px 10px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.hmap-tooltip.is-sold .hmap-tooltip__status {
  display: inline-block;
}

.hmap-tooltip__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 10px 0;
}

.hmap-tooltip__floor {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  background: #274B7A;
  padding: 4px 10px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
  letter-spacing: 0.03em;
}

.hmap-tooltip__floor i {
  font-size: 0.8125rem;
  color: #FFBE00;
}

.hmap-tooltip__floor strong {
  color: #fff;
  font-weight: 700;
}

.hmap-tooltip__stats {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}

.hmap-tooltip__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 0.75rem;
  font-weight: 700;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  padding: 3px 6px;
  border-radius: 4px;
}

.hmap-tooltip__sale {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.625rem;
  font-weight: 600;
  color: #ef4444;
  margin-bottom: 4px;
}

.hmap-tooltip__sale-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  line-height: 1;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
  padding: 3px 6px;
  border-radius: 4px;
}

.hmap-tooltip__promo {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.625rem;
  font-weight: 600;
  color: #FFBE00;
  margin-bottom: 6px;
}

.hmap-tooltip__promo-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  line-height: 1;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #FFBE00;
  background: rgba(255, 190, 0, 0.12);
  padding: 3px 6px;
  border-radius: 4px;
}

.hmap-tooltip.has-sale .hmap-tooltip__sale { display: flex; }
.hmap-tooltip.has-promo .hmap-tooltip__promo { display: flex; }

.hmap-tooltip__cta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

.hmap-tooltip.is-sold .hmap-tooltip__cta,
.hmap-tooltip.is-sold .hmap-tooltip__floor,
.hmap-tooltip.is-sold .hmap-tooltip__stats,
.hmap-tooltip.is-sold .hmap-tooltip__sale,
.hmap-tooltip.is-sold .hmap-tooltip__promo,
.hmap-tooltip.is-sold .hmap-tooltip__divider { display: none; }

/* Responsive */
@media (max-width: 1200px) {
  .hero-map-picker {
    width: 50%;
  }
}

@media (max-width: 992px) {
  .hero-map-picker {
    width: 50%;
  }
  .mk-hero:has(.hero-map-picker) .mk-hero__side {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-map-picker {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
  }

  .mk-hero:has(.hero-map-picker) .mk-hero__content {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .mk-hero__main {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .hero-map-picker__frame {
    padding: 16px 20px;
  }

  .hmap-selector__track {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 0;
  }

  .hmap-selector__progress {
    display: none;
  }

  .hmap-selector__point {
    padding: 8px 12px;
  }

  .hmap-selector__letter {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .hmap-selector__name {
    font-size: 0.625rem;
  }

  .hmap-selector__info {
    flex-direction: column;
    gap: 4px;
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   P2 APARTMENT FINDER - Range Sliders Widget
   ========================================================================== */
.p2-finder {
  width: 100%;
  background: transparent;
  padding: 1rem;
}

.p2-finder__inner {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem;
}

/* Header: Title + Pills stacked */
.p2-finder__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 0 20px;
  border-right: 1px solid #e8e8e8;
}

.p2-finder__title {
  font-family: 'Mersad', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #182F4D;
  margin: 0;
  white-space: nowrap;
}

.p2-finder__label {
  font-family: 'Mersad', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #666;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.p2-finder__pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.p2-finder__pill {
  font-family: 'Mersad', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid rgba(24, 47, 77, 0.2);
  border-radius: 100px;
  color: #182F4D;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.p2-finder__pill:hover {
  border-color: rgba(24, 47, 77, 0.4);
  background: rgba(24, 47, 77, 0.03);
}

/* Active pill */
.p2-finder__pill.is-active {
  background: #FFBE00;
  border-color: #FFBE00;
  color: #182F4D;
  font-weight: 600;
}

.p2-finder__pill.is-active:hover {
  background: #FFBE00;
  border-color: #FFBE00;
}

.p2-finder__pill.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.p2-finder__pill i {
  font-size: 1rem;
}

.p2-finder__ranges {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 0;
}

.p2-finder__range {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 30px;
  border-right: 1px solid #e8e8e8;
  flex: 1;
  min-width: 0;
}

.p2-finder__range:last-child {
  border-right: none;
}

.p2-finder__range-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.p2-finder__range-label {
  font-family: 'Mersad', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #666;
  letter-spacing: 0.2px;
}

.p2-finder__range-value {
  font-family: 'Mersad', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #182F4D;
  white-space: nowrap;
}

.p2-finder__range-track {
  width: 100%;
  height: 2px;
}

.p2-finder__range-track.noUi-target {
  background: #e5e5e5;
  border: none;
  box-shadow: none;
  height: 2px;
}

.p2-finder__range-track .noUi-connect {
  background: #182F4D;
}

.p2-finder__range-track .noUi-handle {
  width: 5px;
  height: 20px;
  border-radius: 0;
  background: #182F4D;
  border: none;
  box-shadow: none;
  cursor: grab;
  top: -9px;
  right: 0;
}

.p2-finder__range-track .noUi-handle:before,
.p2-finder__range-track .noUi-handle:after {
  display: none;
}

.p2-finder__range-track .noUi-handle:focus {
  outline: none;
}

/* Branded Button with Corner Cut */
.p2-finder__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: #FFBE00;
  border: none;
  border-radius: 4px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  cursor: pointer;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

.p2-finder__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  transition: border-color 0.3s ease;
}

.p2-finder__btn:hover::before {
  border-color: #182F4D;
}

.p2-finder__btn:hover {
  background: #e6ab00;
}

.p2-finder__btn-text {
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #182F4D;
  letter-spacing: 0.5px;
}

.p2-finder__btn-icon {
  font-size: 1.125rem;
  color: #182F4D;
}

/* Responsive */
@media (max-width: 1024px) {
  .p2-finder__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .p2-finder__header {
    align-items: center;
    border-right: none;
    border-bottom: 1px solid #e8e8e8;
    padding: 15px 0;
  }

  .p2-finder__title {
    text-align: center;
  }

  .p2-finder__pills {
    width: 100%;
    justify-content: flex-start;
  }

  .p2-finder__ranges {
    flex-direction: column;
  }

  .p2-finder__range {
    border-right: none;
    border-bottom: 1px solid #e8e8e8;
    padding: 15px 0;
  }

  .p2-finder__range:last-child {
    border-bottom: none;
  }

  .p2-finder__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   APARTMENT FINDER SECTION (LEGACY - can be removed)
   ========================================================================== */
.apt-finder {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 700px;
  background: #1a1a1a;
}

.apt-finder__content {
  display: flex;
  align-items: center;
  padding: 60px 50px;
}

.apt-finder__filters {
  width: 100%;
  max-width: 500px;
}

.apt-finder__title {
  font-family: 'Mersad', sans-serif;
  font-size: 2.625rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.2;
}

.apt-finder__subtitle {
  font-family: 'Mersad', sans-serif;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 36px;
  line-height: 1.5;
}

.apt-finder__group {
  margin-bottom: 28px;
}

.apt-finder__label {
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #FFBE00;
  margin: 0 0 14px;
  letter-spacing: 0.05em;
}

.apt-finder__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.apt-finder__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.2s ease;
}

.apt-finder__chip i {
  font-size: 1rem;
  opacity: 0.7;
}

.apt-finder__chip:hover:not([disabled]) {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.apt-finder__chip.is-active {
  background: #FFBE00;
  border-color: #FFBE00;
  color: #1a1a1a;
}

.apt-finder__chip.is-active i {
  opacity: 1;
}

/* Disabled chips */
.apt-finder__chip--disabled {
  opacity: 0.4;
  cursor: not-allowed;
  position: relative;
}

.apt-finder__chip-soon {
  font-size: 0.625rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 4px;
}

/* Room buttons */
.apt-finder__rooms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.apt-finder__room {
  padding: 10px 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-family: 'Mersad', sans-serif;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.2s ease;
}

.apt-finder__room:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.apt-finder__room.is-active {
  background: #FFBE00;
  border-color: #FFBE00;
  color: #1a1a1a;
}

/* Checkbox */
.apt-finder__options {
  margin-bottom: 28px;
}

.apt-finder__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.apt-finder__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #FFBE00;
  cursor: pointer;
}

/* Submit button */
.apt-finder__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #FFBE00;
  border: none;
  border-radius: 6px;
  font-family: 'Mersad', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.3s ease;
}

.apt-finder__submit:hover {
  background: #e6ab00;
  transform: translateY(-2px);
}

.apt-finder__submit i {
  font-size: 1.125rem;
}

/* Image side */
.apt-finder__image {
  position: relative;
  overflow: hidden;
}

.apt-finder__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 1100px) {
  .apt-finder {
    grid-template-columns: 1fr;
  }

  .apt-finder__content {
    padding: 50px 30px;
    order: 2;
  }

  .apt-finder__image {
    height: 400px;
    order: 1;
  }

  .apt-finder__filters {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .apt-finder__content {
    padding: 40px 20px;
  }

  .apt-finder__title {
    font-size: 2rem;
  }

  .apt-finder__chip,
  .apt-finder__room {
    padding: 8px 14px;
    font-size: 0.8125rem;
  }

  .apt-finder__image {
    height: 300px;
  }
}

/* ==========================================================================
   HOME PROJECTS SECTION - Swiper Slider with Scale Effect
   ========================================================================== */
.home-projects {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 30vw 1fr;
  gap: 2rem;
  padding: 1rem;
  overflow: visible;
}

.home-projects--no-head {
  grid-template-columns: 1fr;
}

.home-projects__header {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
}

/* Branded border for header */
.home-projects__header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #FFBE00;
  clip-path: polygon(
    4px 0, calc(100% - 4px) 0, 100% 4px,
    100% calc(100% - 20px), calc(100% - 20px) 100%,
    4px 100%, 0 calc(100% - 4px), 0 4px
  );
  pointer-events: none;
}

.home-projects__header::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: #f8f8f8;
  clip-path: polygon(
    4px 0, calc(100% - 4px) 0, 100% 4px,
    100% calc(100% - 18px), calc(100% - 18px) 100%,
    4px 100%, 0 calc(100% - 4px), 0 4px
  );
  pointer-events: none;
}

.home-projects__header > * {
  position: relative;
  z-index: 1;
}

.home-projects__header-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.home-projects__header-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
}

.home-projects__subtitle {
  display: block;
  font-family: 'Mersad', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #FFBE00;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}

.home-projects__title {
  font-family: 'Mersad', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.home-projects__text {
  margin-top: 0.5rem;
}

.home-projects__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  padding: 12px 24px;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  transition: color 0.5s ease;
  width: fit-content;
}

/* Branded border for button */
.home-projects__link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  clip-path: polygon(
    0 0, 100% 0, 100% calc(100% - 12px),
    calc(100% - 12px) 100%, 0 100%
  );
  transition: background 0.5s ease;
}

.home-projects__link::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: #f8f8f8;
  clip-path: polygon(
    0 0, 100% 0, 100% calc(100% - 11px),
    calc(100% - 11px) 100%, 0 100%
  );
  transition: background 0.5s ease;
}

.home-projects__link span,
.home-projects__link i {
  position: relative;
  z-index: 1;
  transition: color 0.5s ease;
}

.home-projects__link:hover::before {
  background: #1a1a1a;
}

.home-projects__link:hover::after {
  background: #1a1a1a;
}

.home-projects__link:hover,
.home-projects__link:hover span,
.home-projects__link:hover i {
  color: #fff;
}

/* Navigation in header */
.home-projects__nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-projects__nav-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  padding-top: 0 !important;
}

.home-projects__nav-btn i {
  font-size: 1.125rem;
  color: #fff;
}

.home-projects__nav-btn:hover {
  background: #1a1a1a;
}

.home-projects__nav-btn:hover i {
  color: #fff;
}

/* Pagination bullets */
.home-projects__pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-projects__bullet {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.home-projects__bullet.is-active {
  width: 24px;
  background: #FFBE00;
}

/* Progress bar pagination */
.home-projects__pagination.swiper-pagination-progressbar {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}

.home-projects__pagination .swiper-pagination-progressbar-fill {
  background: #FFBE00;
  border-radius: 2px;
}

/* Fraction pagination */
.home-projects__pagination.swiper-pagination-fraction {
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
}

/* Slider */
.home-projects__slider {
  position: relative;
  min-width: 0;
  padding: 20px 0;
  overflow: visible;
}

.home-projects__slider .swiper-wrapper {
  align-items: stretch;
}

.home-projects__slider .swiper-slide {
  opacity: 1;
  height: auto;
  box-sizing: border-box;
}

/* Split Layout - header from container edge, slider to right edge */
.home-projects--split {
  grid-template-columns: var(--split-header-width, 320px) 1fr;
  gap: var(--split-gap, 32px);
  padding-left: calc((100vw - var(--split-container, 1400px)) / 2) !important;
  padding-right: 0 !important;
  overflow-x: clip;
  overflow-y: visible;
}

.home-projects--split .home-projects__header {
  max-width: none;
  margin: 0;
  padding: 2rem 0; /* Default, overridden by Layout settings */
}

.home-projects--split .home-projects__slider {
  width: calc(100vw - ((100vw - var(--split-container, 1400px)) / 2) - var(--split-header-width, 320px) - var(--split-gap, 32px));
  max-width: none;
  padding-right: 0;
}

@media (max-width: 1200px) {
  .home-projects--split {
    padding-left: 20px;
    padding-right: 20px;
    grid-template-columns: 1fr;
  }
  .home-projects--split .home-projects__slider {
    width: calc(100% + 20px);
    margin-right: -20px;
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .home-projects {
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 1rem;
  }

  .home-projects__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0 20px;
  }

  .home-projects__title {
    font-size: 2rem;
  }

  .home-projects__slider {
    padding: 20px 2rem 40px;
  }

  .home-projects__nav {
    gap: 16px;
    margin-top: 20px;
  }

  .home-projects__nav-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 600px) {
  .home-projects__title {
    font-size: 1.75rem;
  }

  .home-projects__link {
    padding: 10px 18px;
    font-size: 0.8125rem;
  }

  .home-projects__bullet {
    width: 8px;
    height: 8px;
  }

  .home-projects__bullet.is-active {
    width: 24px;
  }
}

/* ========================================
   TRUST SECTION
   ======================================== */
.trust-section {
  background: #0f0f0f;
  padding: 100px 60px 80px;
  position: relative;
  overflow: hidden;
}

.trust-section__inner {
  margin: 0 auto;
}

.trust-section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 80px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.trust-section__title {
  font-family: 'Mersad', sans-serif;
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}

.trust-section__intro {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-top: 20px;
}

.trust-section__desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.trust-section__cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.trust-section__cta:hover {
  color: #fff;
}

.trust-section__cta-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f0f0f;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.trust-section__cta:hover .trust-section__cta-btn {
  transform: scale(1.05);
  background: #FFBE00;
}

/* Sticky block - right side of viewport */
.trust-section__sticky {
  position: sticky;
  top: 200px; /* Start after header area */
  float: right;
  width: calc(50vw - 300px);
  min-width: 320px;
  max-width: 450px;
  min-height: 30vh;
  margin-left: 40px;
  margin-bottom: 40px;
  z-index: 5;
}

.trust-section.has-sticky {
  overflow: visible;
}

.trust-section.has-sticky .trust-section__inner {
  max-width: 850px;
  margin-left: 60px;
  margin-right: auto;
}

/* Sticky block - branded border cut */
.trust-sticky {
  position: relative;
  padding: 2px;
  height: 100%;
  background: #FFBE00;
  clip-path: polygon(
    0 0, 100% 0, 100% calc(100% - 28px),
    calc(100% - 28px) 100%, 0 100%
  );
}

.trust-sticky__inner {
  background: #182F4D;
  padding: 40px 32px;
  height: 100%;
  box-sizing: border-box;
  clip-path: polygon(
    0 0, 100% 0, 100% calc(100% - 26px),
    calc(100% - 26px) 100%, 0 100%
  );
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trust-sticky__title {
  font-family: 'Mersad', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.trust-sticky__desc {
  font-family: 'Mersad', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

.trust-sticky__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #FFBE00;
  color: #182F4D;
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 10px;
  transition: all 0.3s ease;
  clip-path: polygon(
    0 0, 100% 0, 100% calc(100% - 10px),
    calc(100% - 10px) 100%, 0 100%
  );
}

.trust-sticky__btn:hover {
  background: #fff;
}

.trust-sticky__btn i {
  font-size: 1.125rem;
  transition: transform 0.3s ease;
}

.trust-sticky__btn:hover i {
  transform: translateX(4px);
}

/* Value Cards Grid */
.trust-section__circles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.trust-section:not(.has-sticky) .trust-section__circles {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1400px) {
  .trust-section:not(.has-sticky) .trust-section__circles {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1200px) {
  .trust-section__circles {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-section__sticky {
    width: 280px;
    min-width: 280px;
  }
}

@media (max-width: 1024px) {
  .trust-section__sticky {
    float: none;
    position: relative;
    top: 0;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 40px;
  }

  .trust-section.has-sticky .trust-section__inner {
    max-width: none;
    margin-left: auto;
  }
}

/* Branded border boxes - bigger corner cut */
.trust-circle {
  position: relative;
  padding: 2px;
  background: #FFBE00;
  clip-path: polygon(
    0 0, 100% 0, 100% calc(100% - 28px),
    calc(100% - 28px) 100%, 0 100%
  );
}

.trust-circle__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 32px;
  background: #182F4D;
  clip-path: polygon(
    0 0, 100% 0, 100% calc(100% - 26px),
    calc(100% - 26px) 100%, 0 100%
  );
  transition: background 0.3s ease;
}

.trust-circle:hover .trust-circle__inner {
  background: #1F3D63;
}

.trust-circle__icon {
  font-size: 3.5rem;
  color: #FFBE00;
  line-height: 1;
  margin-bottom: 24px;
}

.trust-circle__icon svg {
  width: 56px;
  height: 56px;
  stroke: #FFBE00;
}

.trust-circle__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.trust-circle__label {
  font-family: 'Mersad', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  text-align: left;
  line-height: 1.3;
}

.trust-circle__desc {
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
  line-height: 1.5;
  margin: 0;
}

/* Checklist */
.trust-section__checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 80px;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-checklist__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-checklist__item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.trust-checklist__item i {
  color: #FFBE00;
  font-size: 1.125rem;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .trust-section {
    padding: 80px 40px 60px;
  }

  .trust-section__header {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
  }

  .trust-section__intro {
    max-width: 100%;
  }

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

  .trust-circle__icon {
    font-size: 3rem;
    margin-bottom: 20px;
  }

  .trust-circle__icon svg {
    width: 48px;
    height: 48px;
  }

  .trust-circle__label {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .trust-section {
    padding: 60px 24px 50px;
  }

  .trust-section__circles {
    gap: 12px;
    margin-bottom: 50px;
  }

  .trust-circle__inner {
    padding: 24px;
  }

  .trust-circle__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
  }

  .trust-circle__icon svg {
    width: 40px;
    height: 40px;
  }

  .trust-circle__label {
    font-size: 0.9375rem;
  }

  .trust-circle__desc {
    font-size: 0.8125rem;
  }

  .trust-section__checklist {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .trust-section__title {
    font-size: 3.75rem;
  }

  .trust-section__cta-btn {
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
  }

  .trust-section__circles {
    grid-template-columns: 1fr;
  }

  .trust-circle__inner {
    padding: 20px;
  }

  .trust-circle__icon {
    font-size: 2.25rem;
    margin-bottom: 12px;
  }

  .trust-circle__icon svg {
    width: 36px;
    height: 36px;
  }

  .trust-circle__label {
    font-size: 0.875rem;
  }
}

/* ========================================
   NEIGHBORHOOD SECTION
   ======================================== */
.neighborhood-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

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

.neighborhood-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.neighborhood-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(200, 220, 240, 0.6) 0%, 
    rgba(200, 220, 240, 0.3) 30%,
    rgba(200, 220, 240, 0.1) 100%
  );
  z-index: 1;
}

/* Header - materials-v2 style with corner cut border */
.neighborhood-section__header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 24px 28px;
}

.neighborhood-section__header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--nb-header-border, #FFBE00);
  clip-path: polygon(
    4px 0, calc(100% - 4px) 0, 100% 4px,
    100% calc(100% - 20px), calc(100% - 20px) 100%,
    4px 100%, 0 calc(100% - 4px), 0 4px
  );
  pointer-events: none;
}

.neighborhood-section__header::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: var(--nb-header-bg, #eef3f8);
  clip-path: polygon(
    4px 0, calc(100% - 4px) 0, 100% 4px,
    100% calc(100% - 18px), calc(100% - 18px) 100%,
    4px 100%, 0 calc(100% - 4px), 0 4px
  );
  pointer-events: none;
}

.neighborhood-section__header > * {
  position: relative;
  z-index: 1;
}

.neighborhood-section__header-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.neighborhood-section__header-right {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-shrink: 0;
  flex-direction: column;
}

.neighborhood-section__title {
  font-family: 'Mersad', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--nb-title, #182F4D);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.neighborhood-section__desc {
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--nb-desc, #6E8FB8);
  margin: 0;
  max-width: 650px;
}

/* Button - branded corner cut style */
.neighborhood-section__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: transparent;
  color: var(--nb-btn-color, #182F4D);
  border: none;
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: all 0.5s ease;
  white-space: nowrap;
  text-decoration: none;
}

.neighborhood-section__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--nb-btn-border, #182F4D);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: background 0.5s ease;
}

.neighborhood-section__btn::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--nb-btn-bg, var(--nb-header-bg, #f0f4f8));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11.5px), calc(100% - 11.5px) 100%, 0 100%);
  transition: background 0.5s ease;
}

.neighborhood-section__btn:hover::before {
  background: var(--nb-btn-border-hover, #182F4D);
}

.neighborhood-section__btn:hover::after {
  background: var(--nb-btn-bg-hover, #182F4D);
}

.neighborhood-section__btn:hover {
  color: var(--nb-btn-color-hover, #fff);
}

.neighborhood-section__btn i,
.neighborhood-section__btn span {
  position: relative;
  z-index: 1;
}

/* Pins - hidden by default, GSAP handles animation */
.neighborhood-pin {
  position: absolute;
  z-index: 20;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
}

/* GSAP sets inline styles, this ensures visibility */
.neighborhood-pin[style*="opacity"] {
  visibility: visible;
}

.neighborhood-pin__dot {
  display: block;
  width: 16px;
  height: 16px;
  background: #FFBE00;
  border-radius: 50%;
  position: relative;
  z-index: 3;
  box-shadow: 0 4px 15px rgba(255, 190, 0, 0.5);
  border: 2px solid #fff;
}

.neighborhood-pin__pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 16px;
  height: 16px;
  border: 2px solid #FFBE00;
  background: rgba(255, 190, 0, 0.2);
  border-radius: 50%;
  z-index: 1;
  animation: pinPulse 2s ease-out infinite;
  will-change: transform, opacity;
}

.neighborhood-pin__pulse--delayed {
  animation-delay: 0.8s;
}

.neighborhood-pin__pulse--delayed2 {
  animation-delay: 1.6s;
}

@keyframes pinPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(3.125);
    opacity: 0;
  }
}

/* Main pin (P2) */
.neighborhood-pin--main .neighborhood-pin__dot {
  width: 32px;
  height: 32px;
  background: #FFBE00;
  border: 4px solid #fff;
  box-shadow: 0 6px 25px rgba(255, 190, 0, 0.6);
}

.neighborhood-pin--main .neighborhood-pin__pulse {
  border-color: #FFBE00;
  background: rgba(255, 190, 0, 0.3);
  width: 32px;
  height: 32px;
  animation-name: pinPulseMain;
}

.neighborhood-pin--main .neighborhood-pin__label::after {
  border-top-color: #fff;
}

@keyframes pinPulseMain {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.8125);
    opacity: 0;
  }
}

.neighborhood-pin__label {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #FFBE00;
  color: #1a1a1a;
  font-family: 'Mersad', sans-serif;
  font-size: var(--nb-pin-label-fs-xxl, 0.75rem);
  font-weight: var(--nb-pin-label-fw, 600);
  line-height: var(--nb-pin-label-lh-xxl, 1.4);
  letter-spacing: var(--nb-pin-label-ls-xxl, normal);
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 1;
  visibility: visible;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

.neighborhood-pin__label::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #FFBE00;
}

.neighborhood-pin--main .neighborhood-pin__label {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  background: #fff;
  padding: 10px 16px;
  border-radius: 8px;
}

.neighborhood-pin__symbol {
  display: block;
  height: 48px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
  .neighborhood-section {
    min-height: 70vh;
  }

  .neighborhood-pin__dot {
    width: 14px;
    height: 14px;
    border-width: 2px;
  }

  .neighborhood-pin__label {
    font-size: var(--nb-pin-label-fs-md, 0.6875rem);
    letter-spacing: var(--nb-pin-label-ls-md, normal);
    line-height: var(--nb-pin-label-lh-md, 1.4);
    padding: 6px 10px;
  }

  .neighborhood-section__header {
    gap: 24px;
    padding: 48px 56px;
    flex-direction: column;
    align-items: flex-start;
  }

  .neighborhood-section__title {
    flex-direction: column;
    align-items: start;
  }

  .neighborhood-section__header-left {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .neighborhood-section {
    min-height: 60vh;
  }

  .neighborhood-pin__dot {
    width: 12px;
    height: 12px;
  }

  .neighborhood-pin--main .neighborhood-pin__dot {
    width: 18px;
    height: 18px;
  }
}

/* ========================================
   NEIGHBORHOOD SECTION V2 - Bordered Corner Cut
   ======================================== */
.neighborhood-section--v2 {
  min-height: auto;
  background: transparent;
  overflow: visible;
}

.neighborhood-section--v2 .neighborhood-section__container {
  margin: 0 auto;
  padding: 0;
}

.neighborhood-section--v2 .neighborhood-section__frame {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Hide the old border element */
.neighborhood-section--v2 .neighborhood-section__frame-border {
  display: none;
}

/* Inner frame - the actual content area */
.neighborhood-section--v2 .neighborhood-section__frame-inner {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
}

/* Map wrapper - image defines size, pins relative to this */
.neighborhood-section--v2 .neighborhood-section__map-wrapper {
  position: relative;
  width: 100%;
  display: block;
}

.neighborhood-section--v2 .neighborhood-section__map-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Customizable gradient overlay */
.neighborhood-section--v2 .neighborhood-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    var(--nb-gradient-from, rgba(200, 220, 240, 0.7)) 0%,
    var(--nb-gradient-to, rgba(200, 220, 240, 0.1)) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Pins inside map wrapper */
.neighborhood-section--v2 .neighborhood-pin {
  z-index: 20;
}

/* Pins use CSS variables for colors */
.neighborhood-section--v2 .neighborhood-pin__dot {
  background: var(--nb-pin-color, #FFBE00);
  box-shadow: 0 4px 15px color-mix(in srgb, var(--nb-pin-color, #FFBE00) 50%, transparent);
}

.neighborhood-section--v2 .neighborhood-pin__pulse {
  border-color: var(--nb-pin-color, #FFBE00);
  background: color-mix(in srgb, var(--nb-pin-color, #FFBE00) 20%, transparent);
}

.neighborhood-section--v2 .neighborhood-pin__label {
  background: var(--nb-pin-label-bg, #FFBE00);
  color: var(--nb-pin-label-text, #1a1a1a);
}

.neighborhood-section--v2 .neighborhood-pin__label::after {
  border-top-color: var(--nb-pin-label-bg, #FFBE00);
}

.neighborhood-section--v2 .neighborhood-pin--main .neighborhood-pin__dot {
  background: var(--nb-pin-color, #FFBE00);
  box-shadow: 0 6px 25px color-mix(in srgb, var(--nb-pin-color, #FFBE00) 60%, transparent);
}

.neighborhood-section--v2 .neighborhood-pin--main .neighborhood-pin__pulse {
  border-color: var(--nb-pin-color, #FFBE00);
  background: color-mix(in srgb, var(--nb-pin-color, #FFBE00) 30%, transparent);
}

.neighborhood-section--v2 .neighborhood-pin--main .neighborhood-pin__label {
  background: #fff;
  color: var(--nb-pin-label-text, #1a1a1a);
}

.neighborhood-section--v2 .neighborhood-pin--main .neighborhood-pin__label::after {
  border-top-color: #fff;
}

@media (max-width: 992px) {
  .neighborhood-pin--hide-mobile {
    display: none !important;
  }

  .neighborhood-pin:not(.neighborhood-pin--main) .neighborhood-pin__label {
    display: none;
  }

  .neighborhood-pin:not(.neighborhood-pin--main).is-label-open .neighborhood-pin__label {
    display: block;
  }

  .neighborhood-pin__symbol {
    height: 25px;
  }

  .neighborhood-pin__dot {
    width: 12px;
    height: 12px;
  }

  .neighborhood-pin__pulse {
    width: 12px;
    height: 12px;
    animation-name: pinPulseSm;
  }

  .neighborhood-pin--main .neighborhood-pin__dot {
    width: 22px;
    height: 22px;
    border-width: 3px;
  }

  .neighborhood-pin--main .neighborhood-pin__pulse {
    width: 22px;
    height: 22px;
    animation-name: pinPulseMainSm;
  }
}

@keyframes pinPulseSm {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

@keyframes pinPulseMainSm {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2.27); opacity: 0; }
}

/* ========================================
   INSPIRING SPACES SECTION
   ======================================== */
.inspire-section {
  position: relative;
  background: #0a0a0a;
  padding: 24px;
  overflow: visible;
}

.inspire-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 0;
}

/* Left Main Image */
.inspire-section__main {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.inspire-section__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inspire-section__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 50px;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.7) 100%);
}

.inspire-section__title {
  font-family: 'Mersad', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  color: #fff;
  line-height: 0.95;
  margin: 0 0 24px;
  letter-spacing: -0.03em;
}

.inspire-section__subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

/* Right Side */
.inspire-section__right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 24px;
}

.inspire-section__images {
  display: contents;
}

.inspire-section__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.inspire-section__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inspire-section__img-curtain {
  position: absolute;
  inset: 0;
  background: var(--inspire-curtain-color, #274B7A);
  transform-origin: left;
  z-index: 2;
}

.inspire-section__images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

/* Main image curtain */
.inspire-section__main {
  overflow: hidden;
}

.inspire-section__main .inspire-section__img-curtain {
  position: absolute;
  inset: 0;
  background: var(--inspire-curtain-color, #274B7A);
  transform-origin: bottom;
  z-index: 2;
}

.inspire-section__text {
  grid-column: 1 / -1;
  padding: 40px 0 20px;
}

.inspire-section__text p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 500px;
}

/* Button */
.inspire-section__button {
  margin-top: 24px;
}

.inspire-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: #FFBE00;
  color: #182F4D;
  border: none;
  border-radius: 0;
  font-family: 'Mersad', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.inspire-btn:hover {
  background: #fff;
  color: #182F4D;
}

.inspire-btn i {
  font-size: 1.125rem;
  transition: transform 0.3s ease;
}

.inspire-btn:hover i {
  transform: translateX(4px);
}

/* Bottom Links */
.inspire-section__links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 24px;
}

.inspire-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
  color: #fff;
  text-decoration: none;
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.inspire-link:last-child {
  border-right: none;
}

.inspire-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.inspire-link i {
  font-size: 1.25rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.inspire-link:hover i {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .inspire-section__title {
    font-size: clamp(36px, 6vw, 80px);
  }

  .inspire-section__overlay {
    padding: 30px;
  }
}

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

  .inspire-section__main {
    aspect-ratio: 4 / 3;
  }

  .inspire-section__right {
    grid-template-columns: 1fr 1fr;
  }

  .inspire-section__images img {
    aspect-ratio: 1 / 1;
  }

  .inspire-section__links {
    grid-template-columns: 1fr 1fr;
  }

  .inspire-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .inspire-link:nth-child(2) {
    border-right: none;
  }

  .inspire-link i {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 480px) {
  .inspire-section {
    padding: 16px;
  }

  .inspire-section__grid {
    gap: 16px;
  }

  .inspire-section__right {
    gap: 16px;
  }

  .inspire-section__links {
    grid-template-columns: 1fr;
  }

  .inspire-link {
    border-right: none;
    padding: 20px 24px;
  }

  .inspire-section__title {
    font-size: 2.25rem;
  }

  .inspire-section__subtitle {
    font-size: 0.9375rem;
  }
}

/* ========================================
   SECTION NAVIGATION (Bottom Sticky)
   ======================================== */
.section-nav {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s ease;
}

.section-nav.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.section-nav__inner {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(24, 47, 77, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 8px 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.section-nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-family: 'Mersad', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.section-nav__link i {
  font-size: 1rem;
  opacity: 0;
  filter: blur(4px);
  transform: scale(0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-right: -22px;
}

.section-nav__link span {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.section-nav__link:hover i {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
  margin-right: 0;
}

.section-nav__link:hover span {
  transform: translateX(0);
}

.section-nav__link.is-active {
  color: #fff;
  font-weight: 700;
  background: rgba(255, 190, 0, 0.15);
}

.section-nav__link.is-active i {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
  margin-right: 0;
  color: #FFBE00;
}

/* Responsive */
@media (max-width: 1024px) {
  .section-nav__link {
    padding: 8px 14px;
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .section-nav {
    bottom: 20px;
    left: 16px;
    right: 16px;
    transform: translateX(0) translateY(100px);
  }

  .section-nav.is-visible {
    transform: translateX(0) translateY(0);
  }

  .section-nav__inner {
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .section-nav__inner::-webkit-scrollbar {
    display: none;
  }

  .section-nav__link {
    padding: 8px 12px;
    font-size: 0.6875rem;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .section-nav__inner {
    padding: 6px 8px;
  }

  .section-nav__link {
    padding: 6px 10px;
  }
}

/* ========================================
   FLOATING SECTION NAV (Heading-based)
   ======================================== */
.floating-section-nav {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s ease;
}

.floating-section-nav.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.floating-section-nav__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--p2-section-nav-bg, rgba(255, 255, 255, 0.15));
  backdrop-filter: var(--p2-section-nav-blur, blur(20px) saturate(180%));
  -webkit-backdrop-filter: var(--p2-section-nav-blur, blur(20px) saturate(180%));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 6px 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  max-width: 90vw;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transition: all 0.4s ease;
}

.floating-section-nav__inner::-webkit-scrollbar {
  display: none;
}

.floating-section-nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-family: 'Mersad', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  flex-shrink: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.floating-section-nav__link i {
  font-size: 0.875rem;
  opacity: 0.8;
}

.floating-section-nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.floating-section-nav__link:hover i {
  opacity: 1;
}

.floating-section-nav__link.is-active {
  color: #fff;
  font-weight: 600;
  background: rgba(255, 190, 0, 0.3);
}

/* Light theme - for light backgrounds (uses same bg from settings) */
.floating-section-nav.is-light .floating-section-nav__inner {
  border-color: rgba(24, 47, 77, 0.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.floating-section-nav.is-light .floating-section-nav__link {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: none;
}

.floating-section-nav.is-light .floating-section-nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.floating-section-nav.is-light .floating-section-nav__link.is-active {
  color: #fff;
  background: rgba(255, 190, 0, 0.3);
}

.floating-section-nav__toggle {
  display: none;
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--nav-bg, rgba(24, 47, 77, 0.95));
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.floating-section-nav__toggle i {
  font-size: 1.125rem;
}

.floating-section-nav__toggle:hover {
  background: rgba(255, 190, 0, 0.3);
}

@media (max-width: 768px) {
  .floating-section-nav {
    bottom: 20px;
    left: 16px;
    right: 16px;
    transform: translateX(0) translateY(100px);
  }

  .floating-section-nav.is-visible {
    transform: translateX(0) translateY(0);
  }

  .floating-section-nav__inner {
    max-width: calc(100% - 56px);
  }

  .floating-section-nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .floating-section-nav:not(.is-expanded) .floating-section-nav__inner {
    display: none;
  }

  .floating-section-nav.is-expanded .floating-section-nav__inner {
    position: absolute;
    bottom: 50px;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    padding: 8px;
    max-height: 60vh;
    overflow-y: auto;
  }

  .floating-section-nav.is-expanded .floating-section-nav__link {
    text-align: left;
    padding: 12px 16px;
    border-radius: 10px;
  }
}

/* ========================================================================
   HORIZONTAL SCROLL GALLERY
   ======================================================================== */

/* Container - controls scroll space */
.hscroll-container {
  position: relative;
  width: 100%;
  z-index: 1;
  /* background-color set via inline style */
}

/* When container has outer bottom divider, allow overflow and boost z-index */
.hscroll-container--outer-bottom {
  overflow: visible;
  z-index: 12;
}

.hscroll-container--outer-bottom .p2-section-divider--bottom {
  z-index: 20;
}

/* Gallery - sticky positioning, no jump */
.hscroll-gallery {
  position: sticky;
  top: 0;
  width: 100%;
  height: 70vh; /* Default, overridden by inline style */
  background: #0a0a0a;
  overflow: hidden;
}

/* Sections after gallery scroll OVER it - hides the gap */
/* Exclude fixed elements, footer, modals, and alerts */
.hscroll-container + *:not(.section-nav):not(.scroll-top):not(.cz-contact-section):not(.cz-footer):not(footer):not(script):not(.p2-modal):not(.cdp-copy-alert-success),
.hscroll-container ~ *:not(.section-nav):not(.scroll-top):not(.cz-contact-section):not(.cz-footer):not(footer):not(script):not(.p2-modal):not(.cdp-copy-alert-success) {
  position: relative;
  z-index: 10;
  background: var(--wp--preset--color--background, #fafafa);
}

.hscroll-gallery__wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hscroll-gallery__content {
  display: flex;
  display: flex;
  height: 100%;
  will-change: transform;
}

/* Panel Base */
.hscroll-panel {
  position: relative;
  flex-shrink: 0;
  width: 80vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hscroll-panel:last-child {
  width: 60vw;
}

/* Image Panel */
.hscroll-panel__image {
  position: absolute;
  inset: 2rem;
  overflow: hidden;
  border-radius: 16px;
}

.hscroll-panel__image img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* Gradient Overlay - inside image container */
.hscroll-panel__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
}

/* Content Overlay */
.hscroll-panel__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  min-width: 90%;
  max-width: 90%;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.hscroll-panel__cta {
  margin-top: 1rem;
}

@media (max-width: 1400px) {
  .hscroll-panel__cta {
    margin-top: 1.5rem;
  }
}

.hscroll-panel__num {
  display: block;
  font-family: 'Mersad', sans-serif;
  font-size: 7.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
  line-height: 1;
  margin-bottom: 12px;
}

.hscroll-panel__icon {
  display: block;
  margin-bottom: 0.5rem;
}

.hscroll-panel__icon i {
  font-size: 3.5rem;
  color: #FFBE00;
}

.hscroll-panel__title {
  font-family: 'Mersad', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.hscroll-panel__text-desc {
  font-family: 'Mersad', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin: 12px 0 0 0;
  line-height: 1.5;
}

/* Progress Bar */
.hscroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.hscroll-progress__bar {
  height: 100%;
  background: #FFBE00;
  transform-origin: left center;
  transform: scaleX(0);
}

/* Responsive - Tablet: vertical stack, no horizontal scroll */
@media (max-width: 992px) {
  .hscroll-container {
    height: auto !important;
  }

  .hscroll-gallery {
    position: relative !important;
    height: auto !important;
    min-height: auto;
  }

  .hscroll-gallery__content {
    flex-direction: column;
    height: auto;
    transform: none !important;
  }

  .hscroll-panel {
    width: 100% !important;
    height: auto;
    flex-direction: column;
  }

  .hscroll-panel__image {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }

  .hscroll-panel__image img {
    height: 300px;
    border-radius: 12px 12px 0 0;
  }

  .hscroll-panel__gradient {
    border-radius: 12px;
  }

  .hscroll-panel__overlay {
    position: relative;
    bottom: auto;
    left: auto;
    max-width: none;
    padding: 1.5rem;
    clip-path: none;
    border-radius: 0 0 12px 12px;
  }

  .hscroll-panel__num {
    font-size: 2.5rem;
  }

  .hscroll-panel__title {
    font-size: 1.25rem;
  }

  .hscroll-panel__text-desc {
    font-size: 0.875rem;
  }

  .hscroll-progress {
    display: none;
  }
}

@media (max-width: 768px) {
  .hscroll-panel__image img {
    height: 220px;
  }

  .hscroll-panel__overlay {
    padding: 1.25rem;
  }

  .hscroll-panel__num {
    font-size: 2rem;
  }

  .hscroll-panel__title {
    font-size: 1.1rem;
  }

  .hscroll-panel__text-desc {
    font-size: 0.8125rem;
  }
}

/* ========================================================================
   INTERACTIVE FEATURES GRID - Full Width Scroll Animation
   ======================================================================== */

.features-grid {
  position: relative;
  width: 100%;
  background: #111;
  overflow: hidden;
  padding: 100px 0;
}

/* Noise Overlay */
.features-grid__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}

/* Section Header */
.features-grid__header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.features-grid__badge {
  display: inline-block;
  font-family: 'Mersad', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #FFBE00;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.features-grid__title {
  font-family: 'Mersad', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

/* Cards Container - Full Width */
.features-grid__container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  padding: 0 40px;
  z-index: 2;
}

/* Feature Card */
.feature-card {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  will-change: transform, opacity;
}

/* Image Reveal Wrapper */
.feature-card__reveal {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
}

.feature-card__reveal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.3);
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-card__reveal img {
  transform: scale(1.05);
}

.feature-card.is-revealed .feature-card__reveal img {
  transform: scale(1);
}

.feature-card.is-revealed:hover .feature-card__reveal img {
  transform: scale(1.05);
}

/* Card Overlay */
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
  transition: opacity 0.4s ease;
}

.feature-card:hover::before {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.2) 100%);
}

/* Card Content */
.feature-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 190, 0, 0.15);
  border: 1px solid rgba(255, 190, 0, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.4s ease;
}

.feature-card__icon i {
  font-size: 1.25rem;
  color: #FFBE00;
}

.feature-card:hover .feature-card__icon {
  background: #FFBE00;
  border-color: #FFBE00;
}

.feature-card:hover .feature-card__icon i {
  color: #111;
}

.feature-card__logo {
  font-family: 'Mersad', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #FFBE00;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.feature-card__content h3 {
  font-family: 'Mersad', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.feature-card__content p {
  font-family: 'Mersad', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
}

/* Center Card - Main */
.feature-card--center {
  z-index: 10;
}

.feature-card--center .feature-card__content {
  text-align: center;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  top: 0;
}

.feature-card--center::before {
  background: linear-gradient(to top, rgba(24, 47, 77, 0.95) 0%, rgba(24, 47, 77, 0.8) 50%, rgba(24, 47, 77, 0.6) 100%);
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid {
    padding: 60px 0;
  }

  .features-grid__container {
    padding: 0 24px;
    gap: 16px;
  }

  .features-grid__title {
    font-size: 2.5rem;
  }

  .feature-card__content {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .features-grid {
    padding: 40px 0;
  }

  .features-grid__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Hide cards 7, 8, 9 on mobile */
  .feature-card[data-index="7"],
  .feature-card[data-index="8"],
  .feature-card[data-index="9"] {
    display: none;
  }

  .feature-card__content h3 {
    font-size: 0.875rem;
  }

  .feature-card__content p {
    font-size: 0.6875rem;
  }
}

@media (max-width: 480px) {
  .features-grid__container {
    gap: 8px;
  }

  .feature-card__content {
    padding: 16px;
  }

  .feature-card__icon {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
  }

  .feature-card__icon i {
    font-size: 1rem;
  }
}

/* ========================================================================
   STATS COUNTER SECTION - Background Image with Numbers
   ======================================================================== */

.mk-stats {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.mk-stats__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.mk-stats__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mk-stats__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.mk-stats__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.mk-stat {
  text-align: center;
}

.mk-stat__number {
  font-family: 'Mersad', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1;
  margin-bottom: 12px;
}

.mk-stat__number span {
  font-weight: 300;
}

.mk-stat__label {
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 2px;
}

/* Counter Animation */
.mk-stat__number[data-count] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .mk-stats {
    padding: 80px 0;
  }

  .mk-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 30px;
  }
}

@media (max-width: 640px) {
  .mk-stats {
    padding: 60px 0;
  }

  .mk-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
    padding: 0 20px;
  }

  .mk-stat__number {
    font-size: 2.5rem;
  }

  .mk-stat__label {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }
}

/* ========================================================================
   SCROLL TO TOP BUTTON - Minimal
   ======================================================================== */

.scroll-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 999;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--p2-scroll-top-bg, #274B7A);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.125rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

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

.scroll-top:hover {
  background: var(--p2-scroll-top-hover, #FFBE00);
  color: var(--p2-scroll-top-bg, #274B7A);
}

@media (max-width: 768px) {
  .scroll-top {
    bottom: 100px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* ========================================================================
   WHY P2 SECTION - Minimal Typography-Driven Design
   Inspired by: HealthQuest Capital, Nilsson Template
   ======================================================================== */

.why-section {
  background: #fafafa;
  padding: 160px 0;
}

.why-section__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

/* Header with large display type */
.why-section__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 120px;
  align-items: end;
}

.why-section__eyebrow {
  font-family: 'Mersad', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #6E8FB8;
  margin-bottom: 24px;
}

.why-section__title {
  font-family: 'Mersad', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 500;
  color: #182F4D;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.why-section__title span {
  color: #FFBE00;
}

.why-section__intro {
  font-family: 'Mersad', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: #475569;
  line-height: 1.7;
  max-width: 480px;
}

/* Features Grid - Clean Cards */
.why-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e2e8f0;
  border: 1px solid #e2e8f0;
}

.why-card {
  background: #fff;
  padding: 48px 40px;
  transition: background 0.3s ease;
}

.why-card:hover {
  background: #f8fafc;
}

.why-card__num {
  font-family: 'Mersad', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #FFBE00;
  margin-bottom: 32px;
}

.why-card__title {
  font-family: 'Mersad', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #182F4D;
  margin-bottom: 16px;
  line-height: 1.3;
}

.why-card__desc {
  font-family: 'Mersad', sans-serif;
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.7;
}

/* Stats Row - Large Numbers */
.why-section__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  margin-top: 120px;
  padding-top: 80px;
  border-top: 1px solid #e2e8f0;
}

.why-stat {
  text-align: left;
}

.why-stat__num {
  font-family: 'Mersad', sans-serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 400;
  color: #182F4D;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.why-stat__label {
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 1024px) {
  .why-section {
    padding: 100px 0;
  }

  .why-section__container {
    padding: 0 40px;
  }

  .why-section__header {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 80px;
  }

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

  .why-section__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .why-section {
    padding: 80px 0;
  }

  .why-section__container {
    padding: 0 24px;
  }

  .why-section__header {
    margin-bottom: 60px;
  }

  .why-section__grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    padding: 32px 24px;
  }

  .why-section__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 60px;
    padding-top: 60px;
  }
}

/* ========================================================================
   MATERIALS SECTION - Minimal with Brand Logos Style
   ======================================================================== */

.materials-section {
  background: #182F4D;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.materials-section__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.materials-section__header {
  text-align: center;
  margin-bottom: 100px;
  width: var(--mat-header-width, auto);
  min-height: var(--mat-header-height, auto);
}

.materials-section__eyebrow {
  font-family: 'Mersad', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #FFBE00;
  margin-bottom: 24px;
}

.materials-section__title {
  font-family: 'Mersad', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Brand Grid */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.material-card {
  background: #182F4D;
  padding: 60px 48px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
}

.material-card:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 190, 0, 0.2);
}

.material-card__logo {
  font-family: 'Mersad', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.material-card__desc {
  font-family: 'Mersad', sans-serif;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* Bottom Stats */
.materials-stats {
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-top: 100px;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.materials-stat {
  text-align: center;
}

.materials-stat__num {
  font-family: 'Mersad', sans-serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: #FFBE00;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.materials-stat__label {
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.1em;
}

/* Split Layout - header from container edge, content to right edge */
.materials-section--split {
  overflow: hidden;
  --split-header-width: 320px; /* Can be overridden with vw, e.g. --split-header-width: 18vw */
  --split-gap: 60px;
}

.materials-section--split .materials-section__container {
  display: grid;
  grid-template-columns: var(--split-header-width) 1fr;
  gap: var(--split-gap);
  max-width: 100%;
  padding-left: calc((100vw - var(--split-container, 1400px)) / 2);
  padding-right: 0;
  align-items: start;
}

.materials-section--split .materials-section__header {
  text-align: left;
  margin-bottom: 0;
  position: sticky;
  top: 120px;
  min-height: var(--split-header-height, auto);
}

.materials-section--split .materials-elements {
  width: calc(100vw - ((100vw - var(--split-container, 1400px)) / 2) - var(--split-header-width) - var(--split-gap));
  max-width: none;
}

@media (max-width: 1200px) {
  .materials-section--split .materials-section__container {
    padding-left: 20px;
    padding-right: 20px;
    grid-template-columns: 1fr;
  }
  .materials-section--split .materials-section__header {
    position: relative;
    top: 0;
    text-align: center;
    margin-bottom: 60px;
  }
  .materials-section--split .materials-elements {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .materials-section {
    padding: 100px 0;
  }

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

  .materials-stats {
    gap: 60px;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .materials-section {
    padding: 80px 0;
  }

  .materials-section__container {
    padding: 0 24px;
  }

  .material-card {
    padding: 40px 24px;
  }

  .materials-stats {
    gap: 40px;
  }

  .materials-stat__num {
    font-size: 2.5rem;
  }
}

/* Materials Section V2 - With branded corner cut */
.materials-section--v2 {
  background: var(--mat-bg, #f8f9fa) !important;
  padding: 120px 0;
}

.materials-section--v2 .materials-section__header {
  margin-bottom: 60px;
  text-align: left;
}

.materials-section--v2 .materials-section__eyebrow {
  color: var(--mat-accent, #FFBE00);
}

.materials-section--v2 .materials-section__title {
  color: var(--mat-text, #1a1a1a);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

/* Elements Grid */
.materials-elements {
  display: grid;
  grid-template-columns: repeat(var(--mat-cols, 4), 1fr);
  gap: 24px;
}

/* Element Card with branded corner cut */
.materials-element {
  position: relative;
}

.materials-element__inner {
  position: relative;
  background: #fff;
  padding: 40px 32px 48px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  /* Branded corner cut - bottom right */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

/* Border effect using pseudo-element */
.materials-element__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #e5e7eb;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
  z-index: -1;
}

.materials-element__inner::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 23px), calc(100% - 23px) 100%, 0 100%);
  z-index: -1;
}

/* Alignment options */
.materials-element--left .materials-element__inner {
  align-items: flex-start;
  text-align: left;
}

.materials-element--center .materials-element__inner {
  align-items: center;
  text-align: center;
}

.materials-element--right .materials-element__inner {
  align-items: flex-end;
  text-align: right;
}

/* Icon */
.materials-element__icon {
  margin-bottom: 24px;
}

.materials-element__icon i {
  font-size: 3.5rem;
  color: var(--mat-accent, #FFBE00);
  line-height: 1;
}

/* Number */
.materials-element__number {
  font-family: 'Mersad', -apple-system, sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 2em;
}

/* Label */
.materials-element__label {
  font-family: 'Mersad', -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #666;
  margin-top: auto;
}

/* Hover effect */
.materials-element:hover .materials-element__inner::before {
  background: var(--mat-accent, #ef4444);
}

.materials-element:hover .materials-element__icon i {
  color: var(--mat-accent, #ef4444);
}

/* Responsive */
@media (max-width: 1200px) {
  .materials-elements {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .materials-section--v2 {
    padding: 80px 0;
  }

  .materials-elements {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .materials-element__inner {
    padding: 32px 24px 40px;
    min-height: 180px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  }

  .materials-element__inner::before {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  }

  .materials-element__inner::after {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  }

  .materials-element__number {
    font-size: 3rem;
  }
}

/* ========================================================================
   INFO BLOCK V3 - Split Layout with Image, Icon, Title, Description, Button
   ======================================================================== */

.p2-info-v3 {
  background: var(--info-bg, #ffffff);
  padding: 100px 0;
  position: relative;
}

.p2-info-v3__container {
  max-width: var(--container-width, 1400px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

/* Reversed layout (image on right) */
.p2-info-v3--reversed .p2-info-v3__container {
  direction: rtl;
}

.p2-info-v3--reversed .p2-info-v3__container > * {
  direction: ltr;
}

/* Image Side - Branded cut top-left like mk-mobile-menu__promo */
.p2-info-v3__media {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  /* Branded cut - top left */
  clip-path: polygon(32px 0, 100% 0, 100% 100%, 0 100%, 0 32px);
}

.p2-info-v3__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
  transform: scale(1.15);
  transform-origin: center center;
}

.p2-info-v3__placeholder {
  background: #f0f0f0;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p2-info-v3__placeholder i {
  font-size: 4rem;
  color: #ccc;
}

/* Content Side */
.p2-info-v3__content {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Icon */
.p2-info-v3__icon {
  margin-bottom: 24px;
}

.p2-info-v3__icon img {
  max-width: 80px;
  max-height: 60px;
  object-fit: contain;
}

.p2-info-v3__icon i {
  font-size: 3rem;
  color: var(--info-accent, #FFBE00);
}

/* Title */
.p2-info-v3__title {
  font-family: 'Mersad', -apple-system, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--info-text, #182F4D);
  line-height: 1.2;
}

/* Description */
.p2-info-v3__desc {
  color: var(--info-text, #182F4D);
  font-family: 'Mersad', -apple-system, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.p2-info-v3__desc p {
  margin: 0 0 1.5em 0;
}

.p2-info-v3__desc p:last-child {
  margin-bottom: 0;
}

/* Button - Square branded style like cz-project-card-v2__btn */
.p2-info-v3__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 168px;
  padding: 0;
  margin-top: 40px;
  font-family: 'Mersad', -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #182F4D;
  background: transparent;
  border: none;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Outer shape - acts as border */
.p2-info-v3__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.3);
  clip-path: polygon(
    0 0, 100% 0, 100% calc(100% - 16px),
    calc(100% - 16px) 100%, 0 100%
  );
  transition: background 0.3s ease;
}

/* Inner shape - acts as fill */
.p2-info-v3__btn::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: #FFBE00;
  clip-path: polygon(
    0 0, 100% 0, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 0 100%
  );
  transition: background 0.3s ease;
}

.p2-info-v3__btn i,
.p2-info-v3__btn span {
  position: relative;
  z-index: 1;
}

.p2-info-v3__btn i {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  font-size: 3rem;
  color: #182F4D;
  transition: all 0.3s ease;
}

.p2-info-v3__btn span {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  color: #182F4D;
  font-weight: 600;
}

.p2-info-v3__btn:hover::before {
  background: rgba(255,255,255,0.8);
}

.p2-info-v3__btn:hover::after {
  background: rgba(255,255,255,0.1);
}

/* Split layout - content stays in container, image extends to viewport edge */
.p2-info-v3--split {
  overflow: hidden;
}

.p2-info-v3--split .p2-info-v3__container {
  max-width: 100%;
}

/* Split: image on left (default) - stretches to left edge */
.p2-info-v3--split:not(.p2-info-v3--reversed) .p2-info-v3__container {
  padding-left: 0;
  padding-right: calc((100vw - var(--split-container, 1400px)) / 2);
  grid-template-columns: 1fr calc((var(--split-container, 1400px) - 80px) / 2);
}

/* Split: image on right (reversed) - stretches to right edge */
.p2-info-v3--split.p2-info-v3--reversed .p2-info-v3__container {
  direction: ltr;
  padding-left: calc((100vw - var(--split-container, 1400px)) / 2);
  padding-right: 0;
  grid-template-columns: calc((var(--split-container, 1400px) - 80px) / 2) 1fr;
}

.p2-info-v3--split.p2-info-v3--reversed .p2-info-v3__content {
  order: -1;
}

.p2-info-v3--split .p2-info-v3__media {
  clip-path: polygon(32px 0, 100% 0, 100% 100%, 0 100%, 0 32px);
  border-radius: 15px;
}

/* Responsive */
@media (max-width: 992px) {
  .p2-info-v3__content {
    order: -1;
    width: 100%;
  }

  .p2-info-v3__media {
    min-height: 50vh;
    width: 100%;
  }

  .p2-info-v3 {
    padding: 80px 0;
  }

  .p2-info-v3__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .p2-info-v3--reversed .p2-info-v3__container {
    direction: ltr;
  }

  .p2-info-v3--split .p2-info-v3__container,
  .p2-info-v3--split:not(.p2-info-v3--reversed) .p2-info-v3__container,
  .p2-info-v3--split.p2-info-v3--reversed .p2-info-v3__container {
    grid-template-columns: 1fr;
  }

  .p2-info-v3__btn {
    width: 168px;
    height: 168px;
  }
}

@media (max-width: 576px) {
  .p2-info-v3 {
    padding: 60px 0;
  }

  .p2-info-v3__title {
    font-size: 1.5rem;
  }

  .p2-info-v3__desc {
    font-size: 0.875rem;
  }

  .p2-info-v3__media {
    clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%, 0 24px);
  }

  .p2-info-v3__btn i {
    font-size: 2rem;
    top: 1rem;
    left: 1rem;
  }

  .p2-info-v3__btn span {
    bottom: 1rem;
    left: 1rem;
    font-size: 0.75rem;
  }
}

/* ========================================================================
   HISTORY TIMELINE - Horizontal Swiper Slider
   ======================================================================== */

.p2-history-timeline {
  background: var(--history-bg, #f5f5f5);
  padding: 80px 0;
  position: relative;
}

.p2-history-timeline__container {
  max-width: var(--container-width, 1400px);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.p2-history-swiper {
  overflow: visible;
  padding-bottom: 20px;
}

.p2-history-swiper .swiper-wrapper {
  align-items: flex-start;
}

.p2-history-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding-bottom: 40px;
}

.p2-history-item__icon {
  width: 80px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.p2-history-item__icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.p2-history-item__icon i {
  font-size: 3rem;
  color: var(--history-year, #FFBE00);
}

.p2-history-item__dot {
  width: 12px;
  height: 12px;
  background: var(--history-dot, #274B7A);
  border-radius: 50%;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.p2-history-item__year {
  font-family: 'Mersad', -apple-system, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--history-year, #FFBE00);
  margin-bottom: 12px;
}

.p2-history-item__title {
  font-family: 'Mersad', -apple-system, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--history-text, #182F4D);
  line-height: 1.5;
  margin: 0;
  max-width: 200px;
}

/* Timeline horizontal line */
.p2-history-timeline__line {
  position: absolute;
  left: 2rem;
  right: 2rem;
  top: calc(80px + 60px + 24px + 6px);
  height: 1px;
  background: var(--history-line, #e0e0e0);
  z-index: 1;
}

/* Empty state */
.p2-history-timeline__empty {
  padding: 60px 20px;
  text-align: center;
  background: rgba(0,0,0,0.03);
  border-radius: 8px;
}

.p2-history-timeline__empty i {
  font-size: 3rem;
  color: #999;
  margin-bottom: 16px;
  display: block;
}

.p2-history-timeline__empty p {
  margin: 0;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .p2-history-timeline {
    padding: 60px 0;
  }

  .p2-history-item__icon {
    width: 60px;
    height: 45px;
  }

  .p2-history-item__icon i {
    font-size: 2.25rem;
  }

  .p2-history-item__year {
    font-size: 1rem;
  }

  .p2-history-item__title {
    font-size: 0.875rem;
    max-width: 160px;
  }

  .p2-history-timeline__line {
    top: calc(60px + 45px + 24px + 6px);
  }
}

/* ========================================================================
   LOCATION SECTION - Split Layout with Map Pin
   ======================================================================== */

.location-section {
  background: #fff;
  padding: 0;
}

.location-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.location-section__content {
  padding: 120px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-section__eyebrow {
  font-family: 'Mersad', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #FFBE00;
  margin-bottom: 24px;
}

.location-section__title {
  font-family: 'Mersad', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 500;
  color: #182F4D;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.location-section__desc {
  font-family: 'Mersad', sans-serif;
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 440px;
}

/* Location List */
.location-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #e2e8f0;
}

.location-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #e2e8f0;
  transition: padding-left 0.3s ease;
}

.location-item:hover {
  padding-left: 12px;
}

.location-item__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 50%;
  color: #182F4D;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.location-item__text {
  font-family: 'Mersad', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #182F4D;
}

/* Map Side */
.location-section__map {
  position: relative;
  background: #f1f5f9;
  overflow: hidden;
}

.location-section__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-section__pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.location-section__pin-dot {
  width: 20px;
  height: 20px;
  background: #FFBE00;
  border-radius: 50%;
  margin: 0 auto 12px;
  position: relative;
}

.location-section__pin-dot::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid #FFBE00;
  border-radius: 50%;
  opacity: 0.3;
  animation: ping 2s ease-out infinite;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(2); opacity: 0; }
}

.location-section__pin-label {
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #182F4D;
  background: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

@media (max-width: 1024px) {
  .location-section__inner {
    grid-template-columns: 1fr;
  }

  .location-section__content {
    padding: 80px 40px;
  }

  .location-section__map {
    min-height: 400px;
  }
}

@media (max-width: 640px) {
  .location-section__content {
    padding: 60px 24px;
  }

  .location-section__map {
    min-height: 300px;
  }
}

/* ========================================================================
   TIMELINE / COMPLETION SECTION
   ======================================================================== */

.timeline-section {
  background: #fafafa;
  padding: 140px 0;
}

.timeline-section__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 60px;
  text-align: center;
}

.timeline-section__eyebrow {
  font-family: 'Mersad', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #6E8FB8;
  margin-bottom: 24px;
}

.timeline-section__year {
  font-family: 'Mersad', sans-serif;
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 500;
  color: #182F4D;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.timeline-section__desc {
  font-family: 'Mersad', sans-serif;
  font-size: 1.25rem;
  color: #64748b;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 48px;
}

.timeline-section__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Mersad', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #182F4D;
  padding: 16px 32px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0;
  transition: all 0.3s ease;
}

.timeline-section__cta:hover {
  background: #182F4D;
  color: #fff;
  border-color: #182F4D;
}

.timeline-section__cta i {
  font-size: 1.125rem;
  transition: transform 0.3s ease;
}

.timeline-section__cta:hover i {
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .timeline-section {
    padding: 80px 0;
  }

  .timeline-section__container {
    padding: 0 24px;
  }

  .timeline-section__year {
    font-size: 5rem;
  }
}


/* ==========================================================================
   APARTMENT DRAWER (Feature 1)
   ========================================================================== */

/* Container states */
.p2-apartment-search-block.drawer-open .apt-main,
.apt-page.drawer-open .apt-main {
  transform: translateX(-25%);
  opacity: 0.3;
  pointer-events: none;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.6s ease;
}

/* Drawer container */
.apt-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #182F4D;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 48px rgba(24, 47, 77, 0.15);
}

.apt-drawer.is-open {
  visibility: visible;
  animation: drawerSlideIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.apt-drawer.is-closing {
  animation: drawerSlideOut 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes drawerSlideIn {
  0% { transform: translateX(100%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes drawerSlideOut {
  0% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

/* Drawer header */
.apt-drawer__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(39, 75, 122, 0.08);
  flex-shrink: 0;
  background: #fafafa;
}

.apt-drawer__back {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(39, 75, 122, 0.06);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: #274B7A;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  transition: all 0.2s;
}

.apt-drawer__back:hover {
  background: rgba(39, 75, 122, 0.12);
}

.apt-drawer__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #6E8FB8;
}

.apt-drawer__breadcrumb a {
  color: #6E8FB8;
  text-decoration: none;
}

.apt-drawer__breadcrumb a:hover {
  color: #274B7A;
}

.apt-drawer__apt-name {
  color: #182F4D;
  font-weight: 600;
}

/* Drawer body */
.apt-drawer__body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.apt-drawer__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #6E8FB8;
  gap: 8px;
}

.apt-drawer__loading i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Drawer content - two column layout */
.apt-drawer-content {
  padding: 24px;
}

.apt-drawer__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}

/* Info panel */
.apt-drawer__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.apt-drawer__title-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.apt-drawer__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #6E8FB8;
}

.apt-drawer__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #182F4D;
  margin: 0;
}

.apt-drawer__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.apt-drawer__meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px;
  background: #f8fafc;
  border-radius: 8px;
  text-align: center;
}

.apt-drawer__meta-item i {
  font-size: 1.125rem;
  color: #274B7A;
  margin-bottom: 4px;
}

.apt-drawer__meta-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: #182F4D;
}

.apt-drawer__meta-label {
  font-size: 0.6875rem;
  color: #6E8FB8;
}

.apt-drawer__price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  background: linear-gradient(135deg, #274B7A 0%, #1F3D63 100%);
  border-radius: 12px;
  color: #fff;
}

.apt-drawer__price-label {
  font-size: 0.75rem;
  opacity: 0.8;
}

.apt-drawer__price-value {
  font-size: 1.375rem;
  font-weight: 700;
}

.apt-drawer__price-value del {
  font-size: 0.875rem;
  opacity: 0.6;
  margin-right: 8px;
}

/* Specs */
.apt-drawer__specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.apt-drawer__specs-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #6E8FB8;
  margin-bottom: 4px;
}

.apt-drawer__spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(39, 75, 122, 0.06);
}

.apt-drawer__spec-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #64748b;
}

.apt-drawer__spec-label i {
  font-size: 1rem;
  color: #274B7A;
}

.apt-drawer__spec-value {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #182F4D;
}

/* Actions */
.apt-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.apt-drawer__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.apt-drawer__btn--outline {
  background: transparent;
  border: 1px solid rgba(39, 75, 122, 0.2);
  color: #274B7A;
}

.apt-drawer__btn--outline:hover {
  background: rgba(39, 75, 122, 0.06);
}

.apt-drawer__btn--primary {
  background: #274B7A;
  border: none;
  color: #fff;
}

.apt-drawer__btn--primary:hover {
  background: #1F3D63;
}

/* Visual panel */
.apt-drawer__visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.apt-drawer__tabs {
  display: flex;
  gap: 8px;
}

.apt-drawer__tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #6E8FB8;
  background: transparent;
  border: 1px solid rgba(39, 75, 122, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.apt-drawer__tab:hover {
  background: rgba(39, 75, 122, 0.04);
}

.apt-drawer__tab.is-active {
  background: #274B7A;
  border-color: #274B7A;
  color: #fff;
}

.apt-drawer__panels {
  position: relative;
  flex: 1;
  min-height: 300px;
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
}

.apt-drawer__panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.apt-drawer__panel.is-active {
  opacity: 1;
  visibility: visible;
}

.apt-drawer__panel img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.apt-drawer__empty {
  color: #94a3b8;
  font-size: 0.875rem;
}

/* Contact form */
.apt-drawer__contact {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(39, 75, 122, 0.08);
}

.apt-drawer__contact-inner {
  background: linear-gradient(135deg, rgba(39, 75, 122, 0.04) 0%, rgba(39, 75, 122, 0.02) 100%);
  border-radius: 12px;
  padding: 20px;
}

.apt-drawer__contact-header {
  margin-bottom: 16px;
}

.apt-drawer__contact-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #182F4D;
  margin: 0 0 4px;
}

.apt-drawer__contact-header p {
  font-size: 0.8125rem;
  color: #64748b;
  margin: 0;
}

.apt-drawer__contact-row {
  display: flex;
  gap: 8px;
}

.apt-drawer__contact-input {
  flex: 1;
}

.apt-drawer__contact-input input {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.875rem;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  border: 1px solid rgba(39, 75, 122, 0.15);
  border-radius: 8px;
  background: #fff;
  color: #182F4D;
  transition: border-color 0.2s;
}

.apt-drawer__contact-input input:focus {
  outline: none;
  border-color: #274B7A;
}

.apt-drawer__contact-submit {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #FFBE00;
  border: none;
  border-radius: 8px;
  color: #182F4D;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.apt-drawer__contact-submit:hover {
  background: #e6ab00;
}

/* Drawer mobile */
@media (max-width: 900px) {
  .apt-drawer {
    width: 100%;
    max-width: none;
  }

  .apt-drawer__layout {
    grid-template-columns: 1fr;
  }

  .apt-drawer__visual {
    order: -1;
  }

  .apt-drawer__contact-row {
    flex-wrap: wrap;
  }

  .apt-drawer__contact-input {
    flex: 1 1 calc(50% - 4px);
    min-width: 120px;
  }

  .apt-drawer__contact-submit {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* ========== APARTMENT MODAL (Slide Push) ========== */

/* Push content when modal opens */
.p2-apartment-search-block .apt-page {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.p2-apartment-search-block.modal-open .apt-page {
  transform: translateX(-90%);
  filter: blur(8px);
  opacity: 0.4;
  pointer-events: none;
}

/* Hide site header when modal is open */
body.no-scroll .p2-header,
body.no-scroll .mk-header {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.apt-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 9995;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.5s ease;
}

.apt-modal.is-open {
  transform: translateX(0);
  visibility: visible;
}

.apt-modal.is-open ~ .mk-header,
body:has(.apt-modal.is-open) .mk-header {
  display: none !important;
}

.apt-modal.is-closing {
  transform: translateX(100%);
}

.apt-modal__close {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  background: transparent;
  color: #374151;
  border: none;
  border-radius: 0;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

.apt-modal__close:hover {
  color: #111827;
}

.apt-modal__close i {
  font-size: 1.25rem;
  color: #6b7280;
}

.apt-modal__close:hover i {
  color: #374151;
}

.apt-modal__body {
  width: 100%;
  height: 100%;
  overflow: auto;
}

/* P2 Loader */
.apt-modal__loader {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: #fafafa;
}

.apt-modal__loader-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
}

.apt-modal__loader-logo {
  font-family: 'Mersad', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #274B7A;
}

.apt-modal__loader-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.apt-modal__loader-circle {
  position: absolute;
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.apt-modal__loader-circle-bg {
  stroke: rgba(39, 75, 122, 0.1);
}

.apt-modal__loader-circle-progress {
  stroke: #FFBE00;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 0.15s ease;
}

.apt-modal__loader-percent {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Mersad', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #6E8FB8;
}

.apt-modal__error {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #6E8FB8;
  font-size: 1.125rem;
}

/* Modal inner layout - full apt__main */
.apt__main--modal {
  display: grid;
  grid-template-columns: 320px 1fr 400px;
  min-height: 100vh;
  background: #fff;
}

.apt__main--modal .apt__sidebar {
  padding: 80px 24px 24px;
  background: #fafafa;
  border-right: 1px solid rgba(39, 75, 122, 0.08);
  overflow-y: auto;
}

.apt__main--modal .apt__content {
  padding: 24px;
  overflow-y: auto;
}

.apt__main--modal .apt__floors {
  padding: 24px 12px;
  background: #fafafa;
  border-left: 1px solid rgba(39, 75, 122, 0.08);
  overflow-y: auto;
}

/* Full page link button */
.apt__btn--full-page {
  margin-top: auto;
}

/* Share dropdown in modal */
.apt__share-dropdown.is-open {
  display: block;
}

/* Responsive modal */
@media (max-width: 1400px) {
  .apt__main--modal {
    grid-template-columns: 280px 1fr 320px;
  }
}

@media (max-width: 992px) {
  .apt__main--modal {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
  }

  .apt__main--modal .apt__sidebar {
    padding: 70px 20px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(39, 75, 122, 0.08);
  }

  .apt__main--modal .apt__content {
    padding: 20px;
  }

  .apt__main--modal .apt__floors {
    border-left: none;
    border-top: 1px solid rgba(39, 75, 122, 0.08);
    max-height: 300px;
  }

  .apt__main--modal .apt__floors-list {
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .apt__main--modal .apt__floor-card {
    flex-shrink: 0;
    width: 120px;
  }
}

@media (max-width: 600px) {
  .apt-modal__close {
    padding: 10px 0;
    font-size: 0.8125rem;
  }

  .apt-modal__close span {
    display: none;
  }
}

/* Floor Drawer specific styles */
.apt-drawer--floor {
  z-index: 2001;
}

.p2-apartment-search-block.floor-drawer-open .apt-main {
  transform: translateX(-15%);
  opacity: 0.6;
  pointer-events: none;
}

/* Floor Picker in drawer */
.apt-floor-picker {
  padding: 24px;
}

.apt-floor-picker__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #182F4D;
  margin-bottom: 20px;
}

.apt-floor-picker__head i {
  font-size: 1.5rem;
  color: #274B7A;
}

.apt-floor-picker__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 12px;
}

.apt-floor-picker__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  background: #f8fafc;
  border: 1px solid rgba(39, 75, 122, 0.1);
  border-radius: 12px;
  cursor: pointer;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  transition: all 0.2s;
}

.apt-floor-picker__btn:hover:not(:disabled) {
  background: rgba(39, 75, 122, 0.06);
  border-color: rgba(39, 75, 122, 0.2);
  transform: translateY(-2px);
}

.apt-floor-picker__btn:disabled,
.apt-floor-picker__btn.is-sold {
  opacity: 0.4;
  cursor: not-allowed;
}

.apt-floor-picker__num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #182F4D;
  line-height: 1;
  margin-bottom: 6px;
}

.apt-floor-picker__stats {
  font-size: 0.75rem;
  color: #94a3b8;
}

.apt-floor-picker__avail {
  font-weight: 600;
}

.apt-floor-picker__avail.has-available {
  color: #22c55e;
}


/* ==========================================================================
   BLOCK MAP DRAWER (Feature 2)
   ========================================================================== */

.p2-block-map-drawer {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

/* Main map area */
.bmd-map {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.6s ease;
}

/* Step states */
.p2-block-map-drawer.step-1 .bmd-map {
  transform: translateX(-25%);
  opacity: 0.4;
  pointer-events: none;
}

.p2-block-map-drawer.step-2 .bmd-map {
  transform: translateX(-50%);
  opacity: 0.2;
  pointer-events: none;
}

/* Drawer stack */
.bmd-drawer-stack {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 70%;
  pointer-events: none;
  z-index: 10;
}

/* Individual drawers */
.bmd-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: #fff;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  overflow-y: auto;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.6s ease;
}

.bmd-drawer.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.bmd-drawer.is-pushed {
  transform: translateX(-35%);
  opacity: 0.3;
  pointer-events: none;
}

.bmd-drawer--block {
  z-index: 1;
  box-shadow: -4px 0 24px rgba(24, 47, 77, 0.1);
}

.bmd-drawer--floor {
  z-index: 2;
  box-shadow: -8px 0 32px rgba(24, 47, 77, 0.15);
}

/* Drawer header with back button */
.bmd-drawer__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(39, 75, 122, 0.08);
  background: #fafafa;
  position: sticky;
  top: 0;
  z-index: 5;
}

.bmd-drawer__back {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(39, 75, 122, 0.06);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: #274B7A;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  transition: all 0.2s;
}

.bmd-drawer__back:hover {
  background: rgba(39, 75, 122, 0.12);
}

.bmd-drawer__title {
  font-size: 1rem;
  font-weight: 700;
  color: #182F4D;
  margin: 0;
}

/* Block content */
.bmd-block-content {
  padding: 24px;
}

.bmd-block__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.bmd-block__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bmd-block__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #6E8FB8;
}

.bmd-block__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #182F4D;
  margin: 0;
}

.bmd-block__meta {
  display: flex;
  gap: 16px;
}

.bmd-block__meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 8px;
  text-align: center;
}

.bmd-block__meta-item i {
  font-size: 1.125rem;
  color: #6E8FB8;
  margin-bottom: 4px;
}

.bmd-block__meta-item span {
  font-size: 1.125rem;
  font-weight: 700;
  color: #182F4D;
}

.bmd-block__meta-item small {
  font-size: 0.6875rem;
  color: #6E8FB8;
}

.bmd-block__meta-item--highlight {
  background: linear-gradient(135deg, rgba(39, 75, 122, 0.08) 0%, rgba(39, 75, 122, 0.04) 100%);
}

.bmd-block__meta-item--highlight i,
.bmd-block__meta-item--highlight span {
  color: #274B7A;
}

/* Facade with floors */
.bmd-block__facade {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 16px;
}

.bmd-block__facade-wrap {
  position: relative;
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
}

.bmd-block__facade-img {
  width: 100%;
  height: auto;
  display: block;
}

.bmd-block__facade-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bmd-floor-link {
  cursor: pointer;
}

.bmd-floor-poly {
  fill: rgba(39, 75, 122, 0.15);
  stroke: rgba(39, 75, 122, 0.4);
  stroke-width: 2;
  transition: all 0.3s;
}

.bmd-floor-link:hover .bmd-floor-poly {
  fill: rgba(39, 75, 122, 0.3);
  stroke: #274B7A;
}

.bmd-floor-link.is-sold .bmd-floor-poly {
  fill: rgba(148, 163, 184, 0.2);
  stroke: rgba(148, 163, 184, 0.4);
  cursor: not-allowed;
}

/* Floor sidebar list */
.bmd-block__floors {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bmd-block__floors-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #6E8FB8;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(39, 75, 122, 0.08);
}

.bmd-block__floors-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 400px;
  overflow-y: auto;
}

.bmd-floor-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  transition: all 0.2s;
}

.bmd-floor-btn:hover {
  background: rgba(39, 75, 122, 0.06);
  border-color: rgba(39, 75, 122, 0.1);
}

.bmd-floor-btn.is-sold {
  opacity: 0.5;
  cursor: not-allowed;
}

.bmd-floor-btn__num {
  font-size: 0.875rem;
  font-weight: 700;
  color: #182F4D;
}

.bmd-floor-btn__avail {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.bmd-floor-btn__avail.has-available {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

.bmd-block__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
  background: rgba(39, 75, 122, 0.04);
  border-radius: 8px;
  font-size: 0.8125rem;
  color: #64748b;
}

.bmd-block__hint i {
  font-size: 1.125rem;
  color: #274B7A;
}

/* Floor content - fits available viewport */
.bmd-floor-content {
  padding: 2rem;
  height: calc(100vh - 376px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #e8e8e8;
}

/* Floor plan - fill available height */
.bmd-floor__plan {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.bmd-floor__plan-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #182F4D;
  margin: 0;
}

.bmd-floor__plan-count {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
}

.bmd-floor__plan-view {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  flex: 1;
  min-height: 0;
  margin: 0 auto;
}

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

.bmd-floor__plan-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bmd-apt-link {
  cursor: pointer;
  pointer-events: bounding-box;
}

.bmd-apt-link--sold {
  cursor: default;
}

/* Floor map polygons - default (uses CSS variables from config) */
.bmd-apt-poly {
  pointer-events: all;
  fill: color-mix(in srgb, var(--polygon-for-sale, #FFBE00) var(--polygon-opacity, 60%), transparent);
  stroke: var(--polygon-for-sale, #FFBE00);
  stroke-width: 2;
  transition: all 0.3s;
}

.bmd-apt-poly.is-available {
  fill: color-mix(in srgb, var(--polygon-for-sale, #FFBE00) var(--polygon-opacity, 60%), transparent);
  stroke: var(--polygon-for-sale, #FFBE00);
}

.bmd-apt-link:hover .bmd-apt-poly.is-available {
  fill: color-mix(in srgb, var(--polygon-active, #274B7A) var(--polygon-opacity, 60%), transparent);
  stroke: var(--polygon-active, #274B7A);
}

/* Sold - uses CSS variable from config */
.bmd-apt-poly.is-sold {
  fill: color-mix(in srgb, var(--polygon-sold, #ef4444) var(--polygon-opacity, 60%), transparent);
  stroke: var(--polygon-sold, #ef4444);
}

/* Reserved - uses CSS variable from config */
.bmd-apt-poly.is-reserved {
  fill: color-mix(in srgb, var(--polygon-reserved, #6b7280) var(--polygon-opacity, 60%), transparent);
  stroke: var(--polygon-reserved, #6b7280);
}

.bmd-apt-link:hover .bmd-apt-poly.is-reserved {
  fill: color-mix(in srgb, var(--polygon-active, #274B7A) var(--polygon-opacity, 60%), transparent);
  stroke: var(--polygon-active, #274B7A);
}

/* Tooltip for floor plan polygons - dark style (matches hero project) */
.bmd-tooltip,
.cz-apt__tooltip {
  position: fixed;
  z-index: 999999;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px) translateZ(0);
  transition: all 0.15s;
  background: rgba(24, 47, 77, 0.98);
  border-radius: 10px;
  padding: 14px 16px;
  min-width: 160px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  backface-visibility: hidden;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.4;
}

.bmd-tooltip.is-visible,
.cz-apt__tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bmd-tooltip__title,
.cz-apt__tooltip-title {
  font-weight: 700;
  font-size: 0.6875rem;
  color: #fff;
  background: #274B7A;
  display: block;
  padding: 4px 10px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.bmd-tooltip__grid,
.cz-apt__tooltip-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.bmd-tooltip__col,
.cz-apt__tooltip-col {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bmd-tooltip__label,
.cz-apt__tooltip-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.bmd-tooltip__label i,
.cz-apt__tooltip-label i {
  display: none;
}

.bmd-tooltip__value,
.cz-apt__tooltip-value {
  font-weight: 700;
  font-size: 0.75rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  min-height: 22px;
  line-height: 1;
}

.bmd-tooltip__value i,
.cz-apt__tooltip-value i {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bmd-tooltip__btn,
.cz-apt__tooltip-btn {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  padding: 4px 10px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: none;
  margin: 0;
  border-radius: 0;
}

/* Tooltip button status colors */
.bmd-tooltip__btn--available,
.cz-apt__tooltip-btn--available {
  background: var(--polygon-for-sale, #FFBE00);
  color: #182F4D;
}

.bmd-tooltip__btn--reserved,
.cz-apt__tooltip-btn--reserved {
  background: var(--polygon-reserved, #6b7280);
  color: #fff;
}

.bmd-tooltip__btn--sold,
.cz-apt__tooltip-btn--sold {
  background: #ef4444;
  color: #fff;
}

/* Label background box - Yellow branded for all */
.bmd-apt-label-bg {
  fill: var(--label-bg, #FFBE00);
  stroke: none;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.15));
  pointer-events: none;
  rx: 2;
  ry: 2;
}

.bmd-apt-label {
  font-size: 1.125rem;
  font-weight: 700;
  fill: var(--label-text, #182F4D);
  pointer-events: none;
  font-family: 'Mersad', sans-serif;
}

.bmd-apt-label__title {
  font-size: 1.25rem;
  font-weight: 700;
  fill: var(--label-text, #182F4D);
}

.bmd-apt-label__sqm {
  font-size: 1.25rem;
  font-weight: 700;
  fill: var(--label-text, #182F4D);
}

/* Status icons */
.bmd-apt-icon {
  pointer-events: none;
  overflow: visible;
}

.bmd-apt-icon i {
  font-size: 1.75rem;
  color: var(--label-icon, #182F4D);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Sold apartment labels - bg uses polygon sold color at full opacity */
.bmd-apt-link--sold .bmd-apt-label-bg {
  fill: var(--polygon-sold, #ef4444);
}

/* Reserved apartment labels - bg uses polygon reserved color at full opacity */
.bmd-apt-link--reserved .bmd-apt-label-bg {
  fill: var(--polygon-reserved, #6b7280);
}

/* Floor selector */
.bmd-floor__selector {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  flex-shrink: 0;
}

.bmd-floor__selector-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
}

.bmd-floor__selector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.bmd-floor__selector-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fff;
  border: 1px solid rgba(39, 75, 122, 0.1);
  border-radius: 6px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.bmd-floor__selector-btn:hover {
  border-color: #274B7A;
  color: #274B7A;
}

.bmd-floor__selector-btn.is-active {
  background: #274B7A;
  border-color: #274B7A;
  color: #fff;
}

.bmd-floor__selector-btn.is-sold {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Apartment grid */
.bmd-floor__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bmd-floor__grid-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #182F4D;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(39, 75, 122, 0.08);
}

.bmd-floor__grid-header i {
  font-size: 1.125rem;
  color: #274B7A;
}

.bmd-floor__apartments {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 500px;
  overflow-y: auto;
}

/* Apartment card in drawer */
.bmd-apt-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(39, 75, 122, 0.08);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s;
  animation: cardFadeIn 0.4s ease forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

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

.bmd-apt-card:hover {
  border-color: rgba(39, 75, 122, 0.2);
  box-shadow: 0 4px 12px rgba(24, 47, 77, 0.08);
}

.bmd-apt-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #f8fafc;
}

.bmd-apt-card__num {
  font-size: 0.875rem;
  font-weight: 700;
  color: #182F4D;
}

.bmd-apt-card__floor {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #64748b;
}

.bmd-apt-card__img {
  height: 100px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bmd-apt-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bmd-apt-card__noimg {
  font-size: 2rem;
  color: #cbd5e1;
}

.bmd-apt-card__meta {
  display: flex;
  gap: 16px;
  padding: 10px 12px;
}

.bmd-apt-card__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #64748b;
}

.bmd-apt-card__meta-item i {
  font-size: 0.875rem;
  color: #274B7A;
}

.bmd-apt-card__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #f8fafc;
  border-top: 1px solid rgba(39, 75, 122, 0.06);
}

.bmd-apt-card__price-label {
  font-size: 0.6875rem;
  color: #94a3b8;
}

.bmd-apt-card__price-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: #182F4D;
}

.bmd-floor__empty-grid {
  padding: 24px;
  text-align: center;
  color: #94a3b8;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1200px) {
  .bmd-drawer-stack {
    width: 85%;
  }
}

@media (max-width: 900px) {
  .bmd-drawer-stack {
    width: 100%;
  }

  .bmd-block__facade {
    grid-template-columns: 1fr;
  }

  .bmd-block__floors {
    order: -1;
  }

  .bmd-block__floors-list {
    flex-direction: row;
    flex-wrap: wrap;
    max-height: none;
  }
}


/* ==========================================================================
   CITYZEN-INSPIRED APARTMENT MODAL (cz-apt)
   Clean, minimal design with yellow accent, two-column layout
   ========================================================================== */

.cz-apt {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  padding: 35px;
  background: #fff;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Header */
.cz-apt__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: #fff;
  border: 1px solid #e8e8e8;
  position: relative;
  z-index: 100;
  margin-bottom: 20px;
}

.cz-apt__header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cz-apt__header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

/* Breadcrumbs */
.cz-apt__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #274B7A;
}

.cz-apt__breadcrumbs a {
  color: #274B7A;
  text-decoration: none;
  transition: color 0.2s;
}

.cz-apt__breadcrumbs a:hover {
  color: #182F4D;
}

.cz-apt__breadcrumbs i {
  font-size: 0.625rem;
  color: #274B7A;
}

.cz-apt__breadcrumbs-current {
  color: #182F4D;
  font-weight: 600;
}

.cz-apt__header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Share dropdown */
.cz-apt__share {
  position: relative;
}

.cz-apt__share-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  min-width: 200px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s;
}

.cz-apt__share-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cz-apt__share-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  color: #374151;
  background: none;
  border: none;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

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

.cz-apt__share-item:hover {
  background: #f9fafb;
}

.cz-apt__share-item i {
  font-size: 1.125rem;
  color: #6b7280;
}

.cz-apt__header-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #182F4D;
  background: transparent;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.cz-apt__header-btn:hover {
  border-color: #274B7A;
  background: rgba(39,75,122,0.05);
}

.cz-apt__header-btn i {
  font-size: 1rem;
  color: #274B7A;
}

/* Main Content - Three Columns */
.cz-apt__main {
  display: grid;
  grid-template-columns: 580px 1fr 240px;
  gap: 20px;
  flex: 1;
  min-height: 0;
}

/* Two Columns (no floors panel) */
.cz-apt__main--no-floors {
  grid-template-columns: 580px 1fr;
}

/* Left Info Panel */
.cz-apt__info {
  background: #fff;
  border: 1px solid #e8e8e8;
  overflow-y: auto;
}

.cz-apt__info-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 2.5rem;
}

/* Title Block */
.cz-apt__title-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.cz-apt__title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #182F4D;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.cz-apt__dot {
  width: 4px;
  height: 4px;
  background: #d1d5db;
  border-radius: 50%;
}

.cz-apt__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
  margin-left: auto;
}

/* Yellow Accent Line */
.cz-apt__accent-line {
  height: 4px;
  background: linear-gradient(90deg, #FFBE00 0%, rgba(255, 190, 0, 0) 100%);
  margin-bottom: 24px;
}

/* Price Section */
.cz-apt__prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 0.75rem;
}

.cz-apt__price-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}

.cz-apt__price-label {
  font-size: 0.875rem;
  color: #9ca3af;
  text-transform: none;
  letter-spacing: 0;
}

.cz-apt__price-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.1;
}

.cz-apt__price-value sup {
  font-size: 1rem;
  font-weight: 400;
  vertical-align: super;
}

.cz-apt__price-value--area {
  color: #111827;
}

.cz-apt__price-value--highlight {
  color: #274B7A;
}

.cz-apt__price-value del {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: #9ca3af;
  text-decoration: line-through;
  margin-bottom: 2px;
}

/* Promo Prices */
.cz-apt__promo-prices {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 24px;
}

.cz-apt__promo-price-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, #FFBE00 0%, #f5b300 100%);
  border-radius: 10px;
  padding: 16px 20px;
}

.cz-apt__promo-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.cz-apt__promo-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(24, 47, 77, 0.7);
  letter-spacing: 0.02em;
}

.cz-apt__promo-label i {
  font-size: 0.875rem;
  color: #fff;
}

.cz-apt__promo-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #182F4D;
}

.cz-apt__promo-date {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(24, 47, 77, 0.7);
  margin-top: 4px;
}

.cz-apt__promo-right {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  flex-shrink: 0;
}

.cz-apt__promo-value {
  font-size: 1.375rem;
  font-weight: 700;
  color: #182F4D;
  white-space: nowrap;
}

.cz-apt__promo-prices .cz-apt__promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #182F4D;
  color: #fff;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.cz-apt__promo-prices .cz-apt__promo-btn:hover {
  background: #274B7A;
}

.cz-apt__promo-prices .cz-apt__promo-btn i {
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}

.cz-apt__promo-prices .cz-apt__promo-btn:hover i {
  transform: translateX(3px);
}

/* Call variant for promo button */
.cz-apt__promo-prices .cz-apt__promo-btn--call {
  background: #182F4D;
  color: #fff;
}

.cz-apt__promo-prices .cz-apt__promo-btn--call:hover {
  background: #274B7A;
}

.cz-apt__promo-prices .cz-apt__promo-btn--call:hover i {
  transform: none;
}

/* Download Button */
.cz-apt__download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 1rem;
}

.cz-apt__download-btn:hover {
  border-color: #274B7A;
  color: #274B7A;
  background: rgba(39, 75, 122, 0.02);
}

.cz-apt__download-btn i {
  font-size: 1.125rem;
  color: #6b7280;
}

.cz-apt__download-btn:hover i {
  color: #274B7A;
}

/* Booking Button - Branded corner cut */
.cz-apt__booking-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #182F4D;
  background: #FFBE00;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 32px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.cz-apt__booking-btn:hover {
  background: #ffd033;
}

.cz-apt__booking-btn i {
  font-size: 1.125rem;
}

/* Details Section */
.cz-apt__details {
  margin-top: 32px;
}

.cz-apt__details-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 24px;
  letter-spacing: 0.5px;
}

.cz-apt__details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.cz-apt__detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.cz-apt__detail-item:nth-child(odd) {
  padding-right: 16px;
  border-right: 1px solid #f3f4f6;
}

.cz-apt__detail-item:nth-child(even) {
  padding-left: 16px;
}

.cz-apt__detail-item i {
  font-size: 1.25rem;
  color: #9ca3af;
  flex-shrink: 0;
}

.cz-apt__detail-label {
  font-size: 0.9375rem;
  color: #6b7280;
  flex: 1;
}

.cz-apt__detail-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
}

/* Right Visual Panel */
.cz-apt__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: #fff;
  border: 1px solid #e8e8e8;
  min-height: 500px;
}

/* Compass */
.cz-apt__compass {
  position: absolute;
  top: 24px;
  left: 24px;
  color: #374151;
}

.cz-apt__compass svg {
  display: block;
}

/* Tabs */
.cz-apt__tabs {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  gap: 8px;
  background: transparent;
}

.cz-apt__tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #182F4D;
  background: transparent;
  border: 1px solid #182F4D;
  cursor: pointer;
  transition: all 0.2s;
}

.cz-apt__tab i {
  font-size: 1rem;
}

.cz-apt__tab:hover {
  background: rgba(24, 47, 77, 0.05);
}

.cz-apt__tab.is-active {
  background: transparent;
  color: #FFBE00;
  border-color: #FFBE00;
}

.cz-apt__tab.is-active i {
  color: #FFBE00;
}

/* Floor Plan */
.cz-apt__floorplan {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  max-width: 600px;
}

.cz-apt__panel {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.cz-apt__panel.is-active {
  display: flex;
}

.cz-apt__panel img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cz-apt__empty {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Apartment Selector Dropdown */
.cz-apt__selector {
  position: absolute;
  bottom: 24px;
  left: 24px;
}

.cz-apt__selector-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 180px;
}

.cz-apt__selector-btn:hover {
  border-color: #9ca3af;
}

.cz-apt__selector-btn i {
  font-size: 0.875rem;
  color: #6b7280;
  margin-left: auto;
  transition: transform 0.2s;
}

.cz-apt__selector-dropdown {
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  min-width: 220px;
  max-height: 280px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
}

.cz-apt__selector-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cz-apt__selector-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  color: #374151;
  background: none;
  border: none;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

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

.cz-apt__selector-item:hover:not(:disabled) {
  background: #f9fafb;
}

.cz-apt__selector-item.is-current {
  background: rgba(39, 75, 122, 0.06);
}

.cz-apt__selector-item:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cz-apt__selector-name {
  font-weight: 600;
}

.cz-apt__selector-area {
  color: #6b7280;
}

.cz-apt__selector-status {
  margin-left: auto;
  font-size: 0.6875rem;
  color: #ef4444;
  letter-spacing: 0.5px;
}

/* Mini Floor Map */
.cz-apt__minimap {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 320px;
  overflow: hidden;
  line-height: 0;
}

.cz-apt__minimap img {
  display: block;
  width: 100%;
  height: auto;
}

.cz-apt__minimap svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Minimap polygons - Available (uses CSS variable from config) */
.cz-apt__minimap-poly {
  fill: color-mix(in srgb, var(--minimap-for-sale, #FFBE00) var(--polygon-opacity, 60%), transparent);
  stroke: var(--minimap-for-sale, #FFBE00);
  stroke-width: 1;
  cursor: pointer;
  transition: all 0.2s;
}

.cz-apt__minimap-poly:hover:not(.is-sold):not(.is-reserved):not(.is-current) {
  fill: color-mix(in srgb, var(--polygon-active, #274B7A) var(--polygon-opacity, 60%), transparent);
  stroke: var(--polygon-active, #274B7A);
}

/* Sold (uses CSS variable from config) */
.cz-apt__minimap-poly.is-sold {
  fill: color-mix(in srgb, var(--minimap-sold, #ef4444) var(--polygon-opacity, 60%), transparent);
  stroke: var(--minimap-sold, #ef4444);
  cursor: not-allowed;
}

/* Reserved (uses CSS variable from config, still clickable) */
.cz-apt__minimap-poly.is-reserved {
  fill: color-mix(in srgb, var(--minimap-reserved, #6b7280) var(--polygon-opacity, 60%), transparent);
  stroke: var(--minimap-reserved, #6b7280);
  cursor: pointer;
}

.cz-apt__minimap-poly.is-reserved:hover {
  fill: color-mix(in srgb, var(--polygon-active, #274B7A) var(--polygon-opacity, 60%), transparent);
  stroke: var(--polygon-active, #274B7A);
}

/* Current apartment - uses active color from Gutenberg */
.cz-apt__minimap-poly.is-current,
.cz-apt__minimap-poly.is-current:hover {
  fill: color-mix(in srgb, var(--polygon-active, #274B7A) var(--polygon-opacity, 60%), transparent);
  stroke: var(--polygon-active, #274B7A);
  stroke-width: 2;
  cursor: default;
}

/* Minimap labels with circles */
.cz-apt__minimap-label {
  overflow: visible;
  pointer-events: none;
}

.cz-apt__minimap-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--minimap-label-bg, #FFBE00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--minimap-label-icon, #182F4D);
}

.cz-apt__minimap-circle i {
  font-size: 1rem;
  color: var(--minimap-label-icon, #182F4D);
}

/* Sold label (uses CSS variable from config) */
.cz-apt__minimap-label.is-sold .cz-apt__minimap-circle {
  background: var(--minimap-label-sold-bg, #ef4444);
  color: var(--minimap-label-sold-icon, #ffffff);
}

.cz-apt__minimap-label.is-sold .cz-apt__minimap-circle i {
  color: var(--minimap-label-sold-icon, #ffffff);
}

/* Reserved label (uses CSS variable from config) */
.cz-apt__minimap-label.is-reserved .cz-apt__minimap-circle {
  background: var(--minimap-label-reserved-bg, #6b7280);
  color: var(--minimap-label-reserved-icon, #ffffff);
}

.cz-apt__minimap-label.is-reserved .cz-apt__minimap-circle i {
  color: var(--minimap-label-reserved-icon, #ffffff);
}

/* Current apartment label - uses active color from Gutenberg */
.cz-apt__minimap-label.is-current .cz-apt__minimap-circle {
  background: var(--polygon-active, #274B7A);
  color: var(--label-icon, #182F4D);
}

.cz-apt__minimap-label.is-current .cz-apt__minimap-circle i {
  color: var(--label-icon, #182F4D);
}

/* Mini Floor Bar (shown ≤1600px when full floors panel is hidden) */
.cz-apt__floor-bar {
  display: none;
  flex-shrink: 0;
  width: 6rem;
  background: #fff;
  flex-direction: column;
  justify-content: center;
  align-self: start;
  height: calc(100dvh - 168px);
  position: relative;
}

.cz-apt__floor-bar::before,
.cz-apt__floor-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent 0%, #e8e8e8 25%, #e8e8e8 75%, transparent 100%);
  pointer-events: none;
}

.cz-apt__floor-bar::before { left: 0; }
.cz-apt__floor-bar::after { right: 0; }

.cz-apt__floor-bar-list {
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column-reverse;
  padding: 0;
  max-height: max-content;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cz-apt__floor-bar-list::-webkit-scrollbar {
  display: none;
}

.cz-apt__floor-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 75px;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif;
  position: relative;
}

.cz-apt__floor-bar-btn:hover {
  color: #182F4D;
}

.cz-apt__floor-bar-btn.is-active {
  background: transparent;
  color: #182F4D;
  border: none;
  font-weight: 600;
  z-index: 1;
}

.cz-apt__floor-bar-btn.is-active span,
.cz-apt__floor-bar-btn.is-active i {
  position: relative;
  z-index: 1;
}

/* Branded corner cut border for active floor - yellow */
.cz-apt__floor-bar-btn.is-active::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #FFBE00;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  pointer-events: none;
  z-index: -2;
}

.cz-apt__floor-bar-btn.is-active::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  pointer-events: none;
  z-index: -1;
}

.cz-apt__floor-bar-btn.is-sold {
  background: #f8d7da;
  color: #721c24;
  cursor: not-allowed;
  pointer-events: none;
}

.cz-apt__floor-bar-btn.is-sold:hover {
  background: #f8d7da;
  color: #721c24;
}

/* Sold parking floors - yellow style */
.cz-apt__floor-bar-btn.is-sold.is-parking {
  background: rgba(255, 190, 0, 0.15);
  color: #182F4D;
  gap: 4px;
}

.cz-apt__floor-bar-btn.is-sold.is-parking i {
  color: #FFBE00;
  font-size: 1.125rem;
}

/* Parking floors */
.cz-apt__floor-bar-btn.is-parking {
  gap: 10px;
}

.cz-apt__floor-bar-btn.is-parking i {
  font-size: 0.875rem;
  color: #6E8FB8;
}

.cz-apt__floor-bar-btn.is-parking.is-active i {
  color: #182F4D;
}

/* Floors Panel */
/* Height calc: 100dvh - cz-apt padding (35px*2) - header (~58px) - header margin (20px) - main gap (20px) */
.cz-apt__floors {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-self: start;
  height: calc(100dvh - 168px);
  overflow: hidden;
}

.cz-apt__floors-title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  background: #fff;
  flex-shrink: 0;
}

.cz-apt__floors-title i {
  font-size: 1.25rem;
  color: #274B7A;
}

.cz-apt__floors-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px;
}

.cz-apt__floor-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

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

.cz-apt__floor-card:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}

/* Active floor - yellow border */
.cz-apt__floor-card.is-active {
  border-color: #FFBE00;
}

.cz-apt__floor-card.is-active .cz-apt__floor-num,
.cz-apt__floor-card.is-active .cz-apt__floor-num span,
.cz-apt__floor-card.is-active .cz-apt__floor-num i {
  color: #182F4D;
}

.cz-apt__floor-card.is-active .cz-apt__floor-avail {
  color: #6b7280;
}

.cz-apt__floor-card.is-active .cz-apt__floor-avail i {
  color: #22c55e;
}

.cz-apt__floor-card.is-sold {
  opacity: 0.5;
}

.cz-apt__floor-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.cz-apt__floor-num {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #182F4D;
}

.cz-apt__floor-num i {
  font-size: 1rem;
  color: #6b7280;
}

.cz-apt__floor-avail {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6875rem;
  color: #6b7280;
}

.cz-apt__floor-avail i {
  font-size: 0.375rem;
}

.cz-apt__floor-avail.has-available i {
  color: #22c55e;
}

.cz-apt__floor-avail.all-sold i {
  color: #ef4444;
}

.cz-apt__floor-map {
  position: relative;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.cz-apt__floor-map img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.5;
}

.cz-apt__floor-map svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cz-apt__floor-poly {
  fill: color-mix(in srgb, var(--fp-for-sale, #FFBE00) var(--polygon-opacity, 60%), transparent);
  stroke: var(--fp-for-sale, #FFBE00);
  stroke-width: 3;
  cursor: pointer;
  transition: all 0.2s;
}

.cz-apt__floor-poly:hover {
  fill: color-mix(in srgb, var(--polygon-active, #274B7A) var(--polygon-opacity, 60%), transparent);
  stroke: var(--polygon-active, #274B7A);
}

.cz-apt__floor-poly.is-current {
  fill: color-mix(in srgb, var(--polygon-active, #274B7A) var(--polygon-opacity, 60%), transparent);
  stroke: var(--polygon-active, #274B7A);
  stroke-width: 4;
}

.cz-apt__floor-poly.is-sold {
  fill: color-mix(in srgb, var(--fp-sold, #ef4444) var(--polygon-opacity, 60%), transparent);
  stroke: var(--fp-sold, #ef4444);
}

.cz-apt__floor-poly.is-reserved {
  fill: color-mix(in srgb, var(--fp-reserved, #6b7280) var(--polygon-opacity, 60%), transparent);
  stroke: var(--fp-reserved, #6b7280);
}

/* Responsive */
@media (max-width: 1500px) {
  .cz-apt__main {
    grid-template-columns: 520px 1fr 200px;
  }
  .cz-apt__main--no-floors {
    grid-template-columns: 520px 1fr;
  }
}

@media (max-width: 1920px) {
  /* Minimap: half size by default, full size on hover */
  .cz-apt__minimap {
    width: 160px;
    transition: width 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
  }
  .cz-apt__minimap:hover {
    width: 320px;
    opacity: 1;
  }
}

@media (max-width: 1600px) {
  .cz-apt {
    padding: 1.5rem;
  }
  .cz-apt__header {
    padding: 1rem;
  }
  .cz-apt__info-inner {
    padding: 1.5rem;
  }
  .cz-apt__visual {
    padding: 2rem;
  }

  /* Hide full floors panel, show mini floor bar */
  .cz-apt__floors {
    display: none;
  }
  .cz-apt__floor-bar {
    display: flex;
  }
  .cz-apt__main {
    grid-template-columns: 520px 1fr 6rem;
  }
  .cz-apt__main--no-floors {
    grid-template-columns: 520px 1fr;
  }
}

@media (max-width: 1400px) {
  .cz-apt__main {
    grid-template-columns: 480px 1fr 6rem;
  }
  .cz-apt__main--no-floors {
    grid-template-columns: 480px 1fr;
  }
  .cz-apt__detail-item {
    gap: 10px;
    padding: 0.5rem 0;
  }
}

@media (max-width: 1200px) {
  .cz-apt__main {
    grid-template-columns: 1fr;
  }

  .cz-apt__floors {
    display: none;
  }
  .cz-apt__floor-bar {
    display: none;
  }


  .cz-apt__header {
    padding: 12px 16px;
  }

  .cz-apt__header-center {
    display: none;
  }

  .cz-apt__header-right {
    margin-left: auto;
  }

  .cz-apt__visual {
    order: -1;
  }

  .cz-apt__info {
    border: 1px solid #e8e8e8;
  }

  .cz-apt__panel img {
    padding: 3rem;
  }

  .cz-apt__minimap {
    width: 200px;
  }
}

@media (max-width: 900px) {
  .cz-apt__visual {
    min-height: auto;
  }

  .cz-apt__minimap {
    width: 160px;
    bottom: 16px;
    right: 16px;
  }
}

@media (max-width: 768px) {
  .cz-apt__header-btn span {
    display: none;
  }

  .cz-apt__info-inner {
    padding: 24px 16px;
  }

  .cz-apt__title {
    font-size: 1.75rem;
  }

  .cz-apt__details-grid {
    grid-template-columns: 1fr;
  }

  .cz-apt__detail-item:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }

  .cz-apt__detail-item:nth-child(even) {
    padding-left: 0;
  }

  .cz-apt__visual {
    padding: 24px 16px;
  }

  .cz-apt__tabs {
    top: 16px;
    right: 16px;
  }

  .cz-apt__tab {
    padding: 0.5rem;
    font-size: 0.8125rem;
  }

  .cz-apt__compass {
    top: 16px;
    left: 16px;
  }

  .cz-apt__compass svg {
    width: 36px;
    height: 36px;
  }

  .cz-apt__selector {
    bottom: 16px;
    left: 16px;
  }

  .cz-apt__selector-btn {
    padding: 0.5rem;
  }

  .cz-apt__minimap {
    display: none;
  }
}

/* ==========================================================================
   PROMO SYSTEM STYLES
   ========================================================================== */

/* Promo Modal
   ========================================================================== */
/* Promo Modal (p2-modal--promo modifier) */
.p2-promo-modal__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.p2-promo-modal__meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 8px;
}

.p2-promo-modal__meta-item i {
  font-size: 1.25rem;
  color: #274B7A;
}

.p2-promo-modal__meta-label {
  font-size: 0.8125rem;
  color: #718096;
}

.p2-promo-modal__meta-value {
  margin-left: auto;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #182F4D;
}

.p2-promo-modal__footer {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  width: 100%;
}

.p2-promo-modal__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #274B7A;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.p2-promo-modal__cta:hover {
  background: #182F4D;
  color: #fff;
}

.p2-promo-modal__cta i {
  font-size: 1.125rem;
  transition: transform 0.2s ease;
}

.p2-promo-modal__cta:hover i {
  transform: translateX(4px);
}

/* News Block Type Switcher
   ========================================================================== */
.cz-timeline-type-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.cz-timeline-type-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.cz-timeline-type-toggle input {
  display: none;
}

.cz-timeline-type-toggle__slider {
  position: relative;
  width: 44px;
  height: 24px;
  background: #e2e8f0;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.cz-timeline-type-toggle__slider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cz-timeline-type-toggle input:checked + .cz-timeline-type-toggle__slider {
  background: #274B7A;
}

.cz-timeline-type-toggle input:checked + .cz-timeline-type-toggle__slider::after {
  transform: translateX(20px);
}

.cz-timeline-type-toggle__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4a5568;
  transition: color 0.2s ease;
}

.cz-timeline-type-toggle input:checked ~ .cz-timeline-type-toggle__label {
  color: #182F4D;
}

/* News Block Promo Cards
   ========================================================================== */
.cz-timeline__item--promo .cz-timeline__card {
  cursor: default;
}

.cz-timeline__card--promo {
  position: relative;
}

.cz-timeline__card-placeholder--promo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #274B7A 0%, #182F4D 100%);
}

.cz-timeline__card-placeholder--promo i {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
}

.cz-timeline__card-promo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: #FFBE00;
  color: #182F4D;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 16px;
  z-index: 2;
}

.cz-timeline__card-promo-badge i {
  font-size: 0.875rem;
}

.cz-timeline__card-promo-discount {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #FFBE00;
}

.cz-timeline__card-promo-discount i {
  font-size: 1.125rem;
}

.cz-timeline__card-promo-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: #FFBE00;
  color: #182F4D;
  font-size: 0.8125rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 3;
}

.cz-timeline__card-promo-btn:hover {
  background: #e6ab00;
  transform: translateY(-2px);
}

.cz-timeline__card-promo-btn i {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.cz-timeline__card-promo-btn:hover i {
  transform: translateX(4px);
}

/* Apartment Modal Promo Section
   ========================================================================== */
.cz-apt__promo-section {
  padding: 20px;
  background: linear-gradient(135deg, #fef9e7 0%, #fefefe 100%);
  border: 1px solid rgba(255, 190, 0, 0.3);
  border-radius: 12px;
  margin-bottom: 24px;
}

.cz-apt__promo-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #182F4D;
  margin-bottom: 16px;
}

.cz-apt__promo-section-title i {
  font-size: 1.125rem;
  color: #FFBE00;
}

.cz-apt__promo-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cz-apt__promo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.cz-apt__promo-item:hover {
  border-color: #FFBE00;
  box-shadow: 0 2px 8px rgba(255, 190, 0, 0.15);
}

.cz-apt__promo-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cz-apt__promo-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #FFBE00;
  color: #182F4D;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 12px;
}

.cz-apt__promo-badge i {
  font-size: 0.75rem;
}

.cz-apt__promo-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cz-apt__promo-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #182F4D;
}

.cz-apt__promo-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #718096;
}

.cz-apt__promo-item-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cz-apt__promo-item-meta i {
  font-size: 0.8125rem;
}

.cz-apt__promo-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #274B7A;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cz-apt__promo-btn:hover {
  background: #182F4D;
}

.cz-apt__promo-btn i {
  font-size: 0.875rem;
}

/* Apartment Modal Promo Section Responsive */
@media (max-width: 600px) {
  .cz-apt__promo-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cz-apt__promo-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================================================
   P2 Gallery Slider v2 - With Header Panel & Lightbox
   ======================================================================== */

.p2-gallery-v2 {
  position: relative;
}

/* Split layout - header starts from container left edge, slider goes to right edge */
.p2-gallery-v2--split {
  overflow: hidden;
  --split-header-width: 280px; /* Can be overridden with vw, e.g. --split-header-width: 18vw */
  --split-gap: 32px;
}

.p2-gallery-v2--split .p2-gallery-v2__container {
  max-width: 100%;
  margin: 0 auto;
  padding-left: calc((100vw - var(--split-container, 1400px)) / 2);
  padding-right: 0;
  grid-template-columns: var(--split-header-width) 1fr;
  overflow: visible;
}

.p2-gallery-v2--split .p2-gallery-v2__slider {
  /* Calculate: viewport width - left padding - header width - gap */
  width: calc(100vw - ((100vw - var(--split-container, 1400px)) / 2) - var(--split-header-width) - var(--split-gap));
  max-width: none;
}

@media (max-width: 1200px) {
  .p2-gallery-v2--split .p2-gallery-v2__container {
    padding-left: 20px;
    padding-right: 20px;
    grid-template-columns: 1fr;
    overflow: hidden;
  }
  .p2-gallery-v2--split .p2-gallery-v2__slider {
    width: calc(100% + 20px);
    margin-right: -20px;
  }
}

.p2-gallery-v2__container {
  --split-header-width: 280px; /* Can be overridden with vw */
  --split-gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: var(--split-header-width) 1fr;
  gap: var(--split-gap);
  align-items: start;
}

/* Header Panel (like home-projects__header) */
.p2-gallery-v2__header {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: var(--gallery-height, 420px);
  padding: 32px;
  box-sizing: border-box;
}

/* Branded border */
.p2-gallery-v2__header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #FFBE00;
  clip-path: polygon(
    4px 0, calc(100% - 4px) 0, 100% 4px,
    100% calc(100% - 24px), calc(100% - 24px) 100%,
    4px 100%, 0 calc(100% - 4px), 0 4px
  );
  pointer-events: none;
}

.p2-gallery-v2__header::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: #f8f8f8;
  clip-path: polygon(
    4px 0, calc(100% - 4px) 0, 100% 4px,
    100% calc(100% - 22px), calc(100% - 22px) 100%,
    4px 100%, 0 calc(100% - 4px), 0 4px
  );
  pointer-events: none;
}

.p2-gallery-v2__header > * {
  position: relative;
  z-index: 1;
}

.p2-gallery-v2__header-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p2-gallery-v2__header-bottom {
  margin-top: auto;
}

.p2-gallery-v2__eyebrow {
  display: block;
  font-family: 'Mersad', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #FFBE00;
  letter-spacing: 0.15em;
}

.p2-gallery-v2__title-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.p2-gallery-v2__title {
  font-family: 'Mersad', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #182F4D;
  margin: 0;
  line-height: 1.2;
}

/* Header Left - contains title and filters */
.p2-gallery-v2__header-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Filter Buttons */
.p2-gallery-v2__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.p2-gallery-v2__filter-btn {
  font-family: 'Mersad', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid #d0d0d0;
  background: transparent;
  color: #182F4D;
  cursor: pointer;
  transition: all 0.2s ease;
}

.p2-gallery-v2__filter-btn:hover {
  border-color: #274B7A;
  background: rgba(39, 75, 122, 0.05);
}

.p2-gallery-v2__filter-btn.is-active {
  background: #274B7A;
  border-color: #274B7A;
  color: #fff;
}

/* Navigation Buttons */
.p2-gallery-v2__nav {
  display: flex;
  gap: 12px;
  margin-top: 2rem;
}

.gal-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #274B7A;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
}

.gal-nav-btn:hover {
  background: #FFBE00;
}

.gal-nav-btn:active {
}

.gal-nav-btn.swiper-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.gal-nav-btn.swiper-button-disabled:hover {
  background: #274B7A;
  color: #fff;
  transform: none;
}

/* Slider Container */
.p2-gallery-v2__slider {
  overflow: hidden;
  margin-right: -20px;
  padding-right: 20px;
}

.p2-gallery-v2__swiper {
  overflow: visible !important;
}

/* Slides */
.p2-gallery-v2__slide {
  height: auto;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Image Wrapper */
.p2-gallery-v2__img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  height: var(--gallery-height, 420px);
  background: #e0e0e0;
}

/* Scale effect for active slide - centered and larger */
.p2-gallery-v2__slide .p2-gallery-v2__img-wrap {
  transform: scale(0.88) translateY(6%);
  opacity: 0.6;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.85);
}

.p2-gallery-v2__slide.swiper-slide-active .p2-gallery-v2__img-wrap {
  transform: scale(1) translateY(0);
  opacity: 1;
  filter: brightness(1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.p2-gallery-v2__slide.swiper-slide-prev .p2-gallery-v2__img-wrap,
.p2-gallery-v2__slide.swiper-slide-next .p2-gallery-v2__img-wrap {
  transform: scale(0.92) translateY(4%);
  opacity: 0.75;
  filter: brightness(0.9);
}

/* Image */
.p2-gallery-v2__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Magnifier hover effect */
.p2-gallery-v2__img-wrap:hover .p2-gallery-v2__img {
  transform: scale(1.08);
}

/* Zoom Icon */
.p2-gallery-v2__zoom-icon {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #182F4D;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.p2-gallery-v2__img-wrap:hover .p2-gallery-v2__zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* ========== Fullscreen Lightbox ========== */
.p2-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.p2-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

/* Hide header, floating bar, back-to-top when lightbox is open */
body.p2-lightbox-open .p2-header,
body.p2-lightbox-open .p2-floating-bar,
body.p2-lightbox-open .p2-back-to-top,
body.p2-lightbox-open #back-to-top,
body.p2-lightbox-open .floating-bar,
body.p2-lightbox-open .section-nav,
body.p2-lightbox-open .p2-section-nav {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.p2-lightbox__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #182F4D;
  z-index: -1;
}

.p2-lightbox__close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.p2-lightbox__close:hover {
  background: #FFBE00;
  border-color: #FFBE00;
  color: #182F4D;
  transform: rotate(90deg);
}

.p2-lightbox__content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 120px;
  box-sizing: border-box;
}

.p2-lightbox.is-open .p2-lightbox__content {
  transform: none;
}

.p2-lightbox__swiper {
  width: 100%;
  height: 100%;
}

.p2-lightbox__slide,
.p2-lightbox__slide.swiper-slide-prev,
.p2-lightbox__slide.swiper-slide-next,
.p2-lightbox__slide.swiper-slide-active {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100%;
}

.p2-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* Lightbox Navigation */
.p2-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.p2-lightbox__nav--prev {
  left: 32px;
}

.p2-lightbox__nav--next {
  right: 32px;
}

.p2-lightbox__nav:hover {
  background: #FFBE00;
  border-color: #FFBE00;
  color: #182F4D;
}

/* Counter */
.p2-lightbox__counter {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Mersad', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 20px;
  border-radius: 24px;
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .p2-gallery-v2__container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .p2-gallery-v2__header {
    position: relative;
    top: 0;
    height: max-content;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .p2-gallery-v2__header-bottom {
    margin-top: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .p2-gallery-v2__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 48px;
  }

  .p2-gallery-v2__title {
    font-size: 1.625rem;
  }

  .gal-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 1.125rem;
  }

  /* Reduce scale difference on mobile */
  .p2-gallery-v2__slide .p2-gallery-v2__img-wrap {
    transform: scale(0.94) translateY(3%);
  }

  .p2-gallery-v2__slide.swiper-slide-active .p2-gallery-v2__img-wrap {
    transform: scale(1) translateY(0);
  }

  .p2-lightbox__content {
    padding: 60px 16px 80px;
  }

  .p2-lightbox__close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    font-size: 1.375rem;
  }

  .p2-lightbox__nav {
    width: 44px;
    height: 44px;
    font-size: 1.375rem;
  }

  .p2-lightbox__nav--prev {
    left: 8px;
  }

  .p2-lightbox__nav--next {
    right: 8px;
  }

  .p2-lightbox__counter {
    bottom: 20px;
  }
}

/* ========================================================================
   Hero Promos Slider
   ======================================================================== */
.mk-hero__promos {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mk-hero__promos-swiper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.mk-hero__promos-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.mk-hero__promos-swiper .swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: auto;
}

.mk-hero__promos-swiper .swiper-slide .mk-hero__promo-item {
  height: 100%;
  padding: 0;
  background: transparent;
}

.mk-hero__promo-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mk-hero__promo-item:hover {
  /* No hover animation */
}

.mk-hero__promo-img {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
}

.mk-hero__promo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mk-hero__promo-info {
  flex: 1;
  min-width: 0;
}

.mk-hero__promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #FFBE00;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.mk-hero__promo-badge i {
  font-size: 0.75rem;
}

.mk-hero__promo-validity {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6875rem;
  font-weight: 500;
  color: #22c55e;
  margin-left: 8px;
}

.mk-hero__promo-title {
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #182F4D;
  margin: 0 0 4px;
  line-height: 1.3;
}

@media (max-width: 1600px) {
  .mk-hero__promo-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 25ch;
  }
}

.mk-hero__promo-discount {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 6px;
}

.mk-hero__promo-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: #274B7A;
  border-radius: 6px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.mk-hero__promo-link:hover {
  background: #1F3D63;
}

.mk-hero__promo-link i {
  transition: transform 0.2s ease;
}

.mk-hero__promo-item:hover .mk-hero__promo-link i {
  transform: translateX(4px);
}

.mk-hero__promos-dots {
  display: none;
}

.mk-hero__promos-dots .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mk-hero__promos-dots .swiper-pagination-bullet-active {
  background: #FFBE00;
  width: 24px;
  border-radius: 4px;
}

/* ========================================================================
   Hero Project Stats Bar
   ======================================================================== */

/* When project stats bar is enabled */
.mk-hero.has-stats-bar {
  position: relative;
  border-radius: 25px;
  height: 100vh;
  overflow: hidden;
}

/* With margin enabled */
.mk-hero.has-stats-bar.has-margin {
  margin: 1rem;
  height: calc(100vh - 2rem);
}

/* No margin */
.mk-hero.has-stats-bar.no-margin {
  margin: 0;
  border-radius: 0;
  height: 100vh;
}

.mk-hero.has-stats-bar .mk-hero__frame {
  position: relative;
  border-radius: 25px;
  overflow: visible;
  display: flex;
  height: 100%;
}

.mk-hero.has-stats-bar .mk-hero__content {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  overflow: visible;
}

.mk-hero.has-stats-bar .mk-hero__content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.mk-hero.has-stats-bar .hero-map-picker {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  z-index: 5;
  padding: 1rem;
}

.mk-hero.has-stats-bar .mk-hero__side {
  display: none;
}

.mk-hero.has-stats-bar .mk-hero__grid-lines {
  display: none;
}

.mk-hero__project-bar {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 1rem;
}

.mk-hero__project-bar > * {
  flex: 1 1 50%;
  width: 50%;
}

/* Bottom Row (block-stats + project-bar wrapper) */
.mk-hero__bottom-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.mk-hero__bottom-col {
  width: 100%;
}

.mk-hero__bottom-col--stats {
  order: 1;
}

.mk-hero__bottom-col--bar {
  order: 2;
}

/* Block Stats */
.mk-hero__block-stats {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.mk-hero__block-stat {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.mk-hero__block-stat i {
  color: #FFBE00;
  font-size: 2.35rem;
  flex-shrink: 0;
}

.mk-hero__block-stat-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mk-hero__block-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  order: 1;
}

.mk-hero__block-stat-value {
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  order: 2;
  padding: 0 !important;
}

.mk-hero__block-stat.is-sold .mk-hero__block-stat-value {
  font-size: 0.8125rem;
}

/* Action buttons (video, presentation) */
.mk-hero__action-buttons {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 2rem;
}

.mk-hero__action-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(24, 47, 77, 0.45);
  color: #fff;
  cursor: pointer;
  font-family: 'Mersad', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mk-hero__action-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mk-hero__action-btn:hover {
  border-color: rgba(255, 190, 0, 0.35);
  background: rgba(39, 75, 122, 0.55);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 48px -8px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 190, 0, 0.1);
}

.mk-hero__action-btn i {
  flex-shrink: 0;
  line-height: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mk-hero__action-btn span {
  color: inherit;
  padding: 0;
}

/* ---- Video button ---- */
.mk-hero__action-btn--video {
  padding-left: 12px;
  gap: 16px;
}

.mk-hero__action-btn--video i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, #FFBE00 0%, #e6a800 100%);
  color: #182F4D;
  font-size: 1.25rem;
  position: relative;
  box-shadow: 0 4px 20px rgba(255, 190, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.3);
}

.mk-hero__action-btn--video i::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 190, 0, 0.3);
  animation: mk-video-ring 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes mk-video-ring {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(0.9); opacity: 0; }
}

.mk-hero__action-btn--video:hover i {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(255, 190, 0, 0.55), inset 0 1px 0 rgba(255,255,255,0.3);
}

.mk-hero__action-btn--video:hover i::after {
  animation: none;
  opacity: 0;
}

.mk-hero__action-btn--video span {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---- Presentation button ---- */
.mk-hero__action-btn--presentation {
  gap: 12px;
}

.mk-hero__action-btn--presentation i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 190, 0, 0.12);
  border: 1px solid rgba(255, 190, 0, 0.2);
  color: #FFBE00;
  font-size: 1.25rem;
}

.mk-hero__action-btn--presentation:hover i {
  background: rgba(255, 190, 0, 0.2);
  border-color: rgba(255, 190, 0, 0.4);
  transform: scale(1.08);
}

.mk-hero__action-btn--presentation span {
  font-size: 0.875rem;
  font-weight: 600;
}

/* Video modal */
.mk-hero__video-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mk-hero__video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.mk-hero__video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 47, 77, 0.95);
  backdrop-filter: blur(8px);
}

.mk-hero__video-modal-content {
  position: relative;
  width: 70vw;
  max-width: 900px;
  z-index: 1;
}

.mk-hero__video-modal-player {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
}

.mk-hero__video-modal-player iframe,
.mk-hero__video-modal-player video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mk-hero__video-modal-close {
  position: absolute;
  top: -52px;
  right: -4px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.mk-hero__video-modal-close:hover {
  background: #FFBE00;
  border-color: #FFBE00;
  color: #182F4D;
  transform: rotate(90deg);
}

.mk-hero__project-info {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

/* Inline variant - before hero title */
.mk-hero__project-info--inline {
  margin-bottom: 0;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mk-hero__project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.mk-hero__project-top .mk-hero__project-badge {
  flex: 0 0 auto;
}

.mk-hero__project-top .mk-hero__project-progress {
  flex: 1;
}

.mk-hero__project-info--inline .mk-hero__project-badge {
  background: #FFBE00;
  color: #182F4D;
}

.mk-hero__project-info--inline .mk-hero__project-progress-bar {
  background: rgba(255, 255, 255, 0.2);
  flex: 1;
}

.mk-hero__project-info--inline .mk-hero__project-progress-fill {
  background: #FFBE00;
  transition: width 0.4s ease;
}

.mk-hero__project-info--inline .mk-hero__project-progress-text {
  color: #fff;
}

/* Info Row - 50% + 50% layout */
.mk-hero__info-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 24px;
}

.mk-hero__info-row .mk-hero__project-info--inline {
  margin-bottom: 0;
  flex: 0 0 50%;
}

/* Inline Block Selector - compact range slider style */
.hmap-selector--inline {
  flex: 0 0 50%;
  padding: 0;
  background: transparent;
  display: flex;
  align-items: stretch;
}

.hmap-selector--inline .hmap-selector__track {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 4px;
  width: 100%;
}

.hmap-selector--inline .hmap-selector__point {
  flex: 1;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.hmap-selector--inline .hmap-selector__point:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hmap-selector--inline .hmap-selector__point.is-active {
  background: #FFBE00;
}

.hmap-selector--inline .hmap-selector__point.is-active .hmap-selector__letter,
.hmap-selector--inline .hmap-selector__point.is-active .hmap-selector__name {
  color: #182F4D;
}

.hmap-selector--inline .hmap-selector__point.is-locked {
  opacity: 0.4;
  cursor: not-allowed;
}

.hmap-selector--inline .hmap-selector__letter {
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.hmap-selector--inline .hmap-selector__name {
  font-family: 'Mersad', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.mk-hero__project-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #FFBE00;
  color: #182F4D;
  font-family: 'Mersad', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 4px;
}

.mk-hero__project-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 700;
  width: 100%;
}

/* No block tabs mode */
.mk-hero.no-block-tabs .mk-hero__partner--inline {
  flex: 0 0 50% !important;
  min-width: auto !important;
}

.mk-hero.no-block-tabs .mk-hero__project-bar > .mk-hero__promos {
  flex: 1 1 100%;
  width: 100%;
}

.mk-hero__project-location i {
  color: #FFBE00;
  font-size: 1rem;
}

.mk-hero__project-progress {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mk-hero__project-progress-bar {
  width: 120px;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
}

.mk-hero__project-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFBE00, #ffd54f);
  border-radius: 3px;
  transition: width 0.5s ease;
}

.mk-hero__project-progress-text {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Responsive — 1920px (partner column layout) */
@media (max-width: 1920px) {
  .mk-hero__partner {
    flex-direction: column;
    gap: 0;
  }

  .mk-hero__partner-wrap {
    flex-direction: column;
  }
}

/* Responsive — XL (1400px–1600px) */
@media (max-width: 1600px) {
  .mk-hero__block-stat {
    gap: 0.85rem;
    padding: 0.5rem 0.75rem;
  }
}

/* Responsive — LG (1200px–1400px) */
@media (max-width: 1400px) {
  .mk-hero__block-stats {
    flex-wrap: wrap;
  }

  .mk-hero__block-stat {
    flex: 0 0 calc(50% - 8px);
  }
}

/* Responsive — MD (992px–1200px) */
@media (max-width: 1200px) {
  .mk-hero__block-stats {
    width: 100%;
    gap: 12px;
  }

  .mk-hero__block-stat {
    padding: 10px 12px;
  }

  .mk-hero__project-info {
    flex-wrap: wrap;
    gap: 12px;
  }

  .mk-hero__text {
    margin: 2rem 0;
  }
}

/* Responsive — SM (768px–992px) */
@media (max-width: 992px) {
  .mk-hero__partner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .mk-hero__partner-text {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .mk-hero__promos {
    max-width: 100%;
    width: 100%;
    order: 10;
    margin-top: 16px;
  }

  .mk-hero__partner {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .mk-hero__partner-text {
    max-width: none;
  }

  .mk-hero__info-row {
    flex-direction: column;
  }

  .mk-hero__info-row .mk-hero__project-info--inline,
  .mk-hero__info-row .hmap-selector--inline {
    flex: 0 0 100%;
    width: 100%;
  }

  .mk-hero__promo-item {
    flex-direction: column;
    align-items: stretch;
  }

  .mk-hero__promo-img {
    width: 100%;
    height: 120px;
  }

  .mk-hero__promo-link {
    margin-left: 0;
    justify-content: center;
    margin-top: 8px;
  }

  .mk-hero__block-stats {
    flex-wrap: wrap;
    gap: 8px;
  }

  .mk-hero__block-stat {
    padding: 8px 10px;
    gap: 8px;
  }

  .mk-hero__block-stat-value {
    font-size: 0.875rem;
  }

  .mk-hero__block-stat-label {
    font-size: 0.625rem;
  }

  .mk-hero__block-stat i {
    font-size: 1.125rem;
  }

  .mk-hero__project-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .mk-hero__project-progress-bar {
    width: 80px;
  }

  .mk-hero__action-buttons {
    flex-wrap: wrap;
    gap: 10px;
  }

  .mk-hero__action-btn {
    padding: 10px 18px;
    border-radius: 12px;
  }

  .mk-hero__action-btn--video {
    padding-left: 8px;
  }

  .mk-hero__action-btn--video i {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .mk-hero__action-btn--presentation i {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }
}


/* ========================================
   P2: Materials v2 Block
   ======================================== */
.p2-materials-v2 {
  background: var(--mat2-bg);
}

.p2-materials-v2__container {
  margin: 0 auto;
  padding: var(--mat2-pad-t, 0) var(--mat2-pad-r, 0) var(--mat2-pad-b, 0) var(--mat2-pad-l, 0);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Header - 50/50 split like roadmap */
.p2-materials-v2__header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: var(--mat2-pad-t, 24px) var(--mat2-pad-r, 28px) var(--mat2-pad-b, 24px) var(--mat2-pad-l, 28px);
}

/* Yellow branded border */
.p2-materials-v2__header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--mat2-header-border, #FFBE00);
  clip-path: polygon(
    4px 0, calc(100% - 4px) 0, 100% 4px,
    100% calc(100% - 20px), calc(100% - 20px) 100%,
    4px 100%, 0 calc(100% - 4px), 0 4px
  );
  pointer-events: none;
}

.p2-materials-v2__header::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: var(--mat2-header-bg, #eef3f8);
  clip-path: polygon(
    4px 0, calc(100% - 4px) 0, 100% 4px,
    100% calc(100% - 18px), calc(100% - 18px) 100%,
    4px 100%, 0 calc(100% - 4px), 0 4px
  );
  pointer-events: none;
}

.p2-materials-v2__header > * {
  position: relative;
  z-index: 1;
}

/* Header left - title & description */
.p2-materials-v2__header-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

/* Header right - nav buttons */
.p2-materials-v2__header-right {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-shrink: 0;
  flex-direction: column;
}

.p2-materials-v2__title {
  font-family: 'Mersad', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--mat2-title, #182F4D);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.p2-materials-v2__title i {
  color: var(--mat2-controls, #274B7A);
}

.p2-materials-v2__title-icon-text {
  font-size: 0.85em;
  opacity: 0.8;
}

.p2-materials-v2__desc {
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--mat2-desc, #6E8FB8);
  margin: 0;
  max-width: 850px;
}

.p2-materials-v2__nav {
  display: flex;
  gap: 12px;
}

.p2-materials-v2__nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mat2-controls, #274B7A);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  transition: all 0.5s ease;
}

.p2-materials-v2__nav-btn:hover {
  background: var(--mat2-controls-hover, #182F4D);
}

/* Button - branded corner cut style */
.p2-materials-v2__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: transparent;
  color: var(--mat2-btn-color, #182F4D);
  border: none;
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
}

/* Outer border shape */
.p2-materials-v2__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--mat2-btn-border, #182F4D);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: background 0.3s ease;
}

/* Inner fill shape */
.p2-materials-v2__btn::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--mat2-btn-bg, var(--mat2-header-bg, #f0f4f8));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11.5px), calc(100% - 11.5px) 100%, 0 100%);
  transition: background 0.3s ease;
}

.p2-materials-v2__btn:hover::before {
  background: var(--mat2-btn-border-hover, #182F4D);
}

.p2-materials-v2__btn:hover::after {
  background: var(--mat2-btn-bg-hover, #182F4D);
}

.p2-materials-v2__btn:hover {
  color: var(--mat2-btn-color-hover, #fff);
}

/* Button content above pseudo-elements */
.p2-materials-v2__btn i,
.p2-materials-v2__btn span {
  position: relative;
  z-index: 1;
}

/* Title with icon */
.p2-materials-v2__title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.p2-materials-v2__title i {
  color: var(--mat2-controls, #274B7A);
}

.p2-materials-v2__title-icon-text {
  font-size: 0.85em;
  opacity: 0.8;
}

/* Slider */
.p2-materials-v2__slider {
  min-width: 0;
  overflow: hidden;
}

.p2-materials-v2__swiper {
  overflow: visible;
}

.p2-materials-v2__slide {
  /* Width controlled by Swiper slidesPerView */
}

/* Card with border and corner cut */
.p2-materials-v2__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: var(--mat2-card-height, 320px);
  padding: var(--mat2-pad-t, 1rem) var(--mat2-pad-r, 1rem) var(--mat2-pad-b, 1rem) var(--mat2-pad-l, 1rem);
  box-sizing: border-box;
  overflow: hidden;
}

.p2-materials-v2__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--mat2-card-border, transparent);
  clip-path: polygon(
    4px 0, calc(100% - 4px) 0, 100% 4px,
    100% calc(100% - 20px), calc(100% - 20px) 100%,
    4px 100%, 0 calc(100% - 4px), 0 4px
  );
  pointer-events: none;
  transition: background 0.5s ease;
}

.p2-materials-v2__card::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: var(--mat2-card-bg, #fff);
  clip-path: polygon(
    4px 0, calc(100% - 4px) 0, 100% 4px,
    100% calc(100% - 18px), calc(100% - 18px) 100%,
    4px 100%, 0 calc(100% - 4px), 0 4px
  );
  pointer-events: none;
  transition: background 0.5s ease;
}

.p2-materials-v2__card > * {
  position: relative;
  z-index: 1;
}

.p2-materials-v2__card-icon {
  flex-shrink: 0;
  transition: opacity 0.5s ease;
}

.p2-materials-v2__card-icon img {
  max-height: 100px;
  width: auto;
  object-fit: contain;
}

.p2-materials-v2__card:hover .p2-materials-v2__card-icon {
  opacity: 0;
}

.p2-materials-v2__card-icon i {
  font-size: 2.25rem;
  color: var(--mat2-icon-color, var(--mat2-controls, #274B7A));
  transition: color 0.5s ease;
}

.p2-materials-v2__card:hover::before {
  background: var(--mat2-card-border-hover, var(--mat2-card-border, transparent));
}

.p2-materials-v2__card:hover::after {
  background: var(--mat2-card-bg-hover, #f0f4f8);
}

.p2-materials-v2__card:hover .p2-materials-v2__card-icon i {
  color: var(--mat2-icon-color-hover, var(--mat2-icon-color, var(--mat2-controls, #274B7A)));
}

.p2-materials-v2__card-content {
  position: absolute;
  top: var(--mat2-pad-t, 1rem);
  left: var(--mat2-pad-l, 1rem);
  right: var(--mat2-pad-r, 1rem);
  bottom: var(--mat2-pad-b, 1rem);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  overflow: auto;
}

.p2-materials-v2__card:hover .p2-materials-v2__card-content {
  opacity: 1;
}

.p2-materials-v2__card-content p {
  font-family: 'Mersad', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--mat2-item-text-color, #6E8FB8);
  text-align: left;
  margin: 0;
  transition: color 0.5s ease;
}

.p2-materials-v2__card-title {
  flex-shrink: 0;
  font-family: 'Mersad', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--mat2-item-title-color, var(--mat2-title, #182F4D));
  margin: 0;
  transition: color 0.5s ease, opacity 0.5s ease;
}

.p2-materials-v2__card:hover .p2-materials-v2__card-title {
  opacity: 0;
}

.p2-materials-v2__card:hover .p2-materials-v2__card-title {
  color: var(--mat2-item-title-color-hover, var(--mat2-item-title-color, var(--mat2-title, #182F4D)));
}

/* Image on hover variant */
.p2-materials-v2__card--img-hover {
  justify-content: flex-start;
}

.p2-materials-v2__card--img-hover:hover .p2-materials-v2__card-icon {
  opacity: 1;
}

.p2-materials-v2__card--img-hover .p2-materials-v2__card-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: opacity 0.5s ease;
}

.p2-materials-v2__card--img-hover:hover .p2-materials-v2__card-bottom {
  opacity: 0;
}

.p2-materials-v2__card--img-hover .p2-materials-v2__card-title {
  opacity: 1;
}

.p2-materials-v2__card--img-hover:hover .p2-materials-v2__card-title {
  opacity: 1;
}

.p2-materials-v2__card--img-hover .p2-materials-v2__card-desc {
  font-family: 'Mersad', sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--mat2-item-text-color, #6E8FB8);
  margin: 0;
  transition: color 0.5s ease;
}

.p2-materials-v2__card--img-hover .p2-materials-v2__card-hover-img {
  position: absolute;
  inset: 4px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  overflow: hidden;
}

.p2-materials-v2__card--img-hover .p2-materials-v2__card-hover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p2-materials-v2__card--img-hover:hover .p2-materials-v2__card-hover-img {
  opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .p2-materials-v2__container {
    gap: 32px;
  }

  .p2-materials-v2__header {
    gap: 24px;
  }

  .p2-materials-v2__header-left {
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .p2-materials-v2__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: calc(var(--mat2-pad-t, 24px) * 2) calc(var(--mat2-pad-r, 28px) * 2) calc(var(--mat2-pad-b, 24px) * 2) calc(var(--mat2-pad-l, 28px) * 2);
  }

  .p2-materials-v2__card {
    padding: calc(var(--mat2-pad-t, 1rem) * 2) calc(var(--mat2-pad-r, 1rem) * 2) calc(var(--mat2-pad-b, 1rem) * 2) calc(var(--mat2-pad-l, 1rem) * 2);
  }

  .p2-materials-v2__card-content {
    top: calc(var(--mat2-pad-t, 1rem) * 2);
    left: calc(var(--mat2-pad-l, 1rem) * 2);
    right: calc(var(--mat2-pad-r, 1rem) * 2);
    bottom: calc(var(--mat2-pad-b, 1rem) * 2);
  }

  .p2-materials-v2__header-right {
    width: 100%;
    justify-content: flex-start;
    align-items: start;
  }

  .p2-materials-v2__title {
    font-size: 1.5rem;
    flex-direction: column;
    align-items: start;
  }

  .p2-materials-v2__nav {
    gap: 8px;
  }

  .p2-materials-v2__nav-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

/* Split Layout - header from container edge, slider extends to right edge */
/* Copied from gallery-slider which has working implementation */
.p2-materials-v2--split {
  overflow: hidden;
}

.p2-materials-v2--split .p2-materials-v2__container {
  max-width: 100%;
  margin: 0;
  padding-left: max(20px, calc((100vw - var(--mat2-split-container, 1400px)) / 2));
  padding-right: 0;
  grid-template-columns: var(--mat2-header-width, 280px) 1fr;
  overflow: visible;
}

.p2-materials-v2--split .p2-materials-v2__slider {
  /* Calculate: viewport width - left padding - header width - gap */
  width: calc(100vw - max(20px, ((100vw - var(--mat2-split-container, 1400px)) / 2)) - var(--mat2-header-width, 280px) - 48px);
  max-width: none;
}

.p2-materials-v2--split .p2-materials-v2__swiper {
  overflow: visible;
}

@media (max-width: 1200px) {
  .p2-materials-v2--split .p2-materials-v2__container {
    padding-left: 20px;
    padding-right: 20px;
    grid-template-columns: 1fr;
    overflow: hidden;
  }
  .p2-materials-v2--split .p2-materials-v2__header {
    position: relative;
    top: 0;
  }
  .p2-materials-v2--split .p2-materials-v2__slider {
    width: calc(100% + 20px);
    margin-right: -20px;
  }
}

/* ==========================================================================
   P2: Delivery terms: v1
   ========================================================================== */

.p2-delivery-v1 {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
  background: transparent !important;
}

.p2-delivery-v1__outer {
  width: 100%;
  margin: 0 auto;
  background: var(--del1-bg, #F5D76E);
}

/* Main box */
.p2-delivery-v1__box {
  position: relative;
  overflow: hidden;
}

/* Header section - uses module padding */
.p2-delivery-v1__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: var(--del1-pt-xxl, 0) var(--del1-pr-xxl, 0) var(--del1-pb-xxl, 0) var(--del1-pl-xxl, 0);
}

.p2-delivery-v1__text {
  flex-shrink: 0;
  max-width: 650px;
}

/* Title with responsive typography */
.p2-delivery-v1__title {
  font-family: 'Mersad', sans-serif;
  font-size: var(--del1-title-fs-xxl, 3rem);
  font-weight: var(--del1-title-fw, 700);
  line-height: var(--del1-title-lh-xxl, 1.1);
  letter-spacing: var(--del1-title-ls-xxl, normal);
  color: var(--del1-title-color, #182F4D);
  margin: 0 0 12px 0;
}
.p2-delivery-v1__title:hover {
  color: var(--del1-title-color-hover, var(--del1-title-color, #182F4D));
}

/* Subtitle with responsive typography */
.p2-delivery-v1__subtitle {
  font-family: 'Mersad', sans-serif;
  font-size: var(--del1-subtitle-fs-xxl, 1rem);
  font-weight: var(--del1-subtitle-fw, 400);
  line-height: var(--del1-subtitle-lh-xxl, 1.4);
  letter-spacing: var(--del1-subtitle-ls-xxl, normal);
  color: var(--del1-subtitle-color, #3F6696);
  margin: 0 0 24px 0;
}
.p2-delivery-v1__subtitle:hover {
  color: var(--del1-subtitle-color-hover, var(--del1-subtitle-color, #3F6696));
}

/* Button with responsive typography - corner cut border using pseudo-elements */
.p2-delivery-v1__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: transparent;
  color: var(--del1-btn-color, #182F4D);
  border: none;
  font-family: 'Mersad', sans-serif;
  font-size: var(--del1-btn-fs-xxl, 0.875rem);
  font-weight: var(--del1-btn-fw, 500);
  line-height: var(--del1-btn-lh-xxl, 1.4);
  letter-spacing: var(--del1-btn-ls-xxl, normal);
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Outer border shape */
.p2-delivery-v1__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--del1-btn-border, #182F4D);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: background 0.3s ease;
}

/* Inner fill shape - uses section bg for transparent effect */
.p2-delivery-v1__btn::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--del1-btn-bg, var(--del1-bg, #F5D76E));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11.5px), calc(100% - 11.5px) 100%, 0 100%);
  transition: background 0.3s ease;
}

.p2-delivery-v1__btn:hover::before {
  background: var(--del1-btn-border-hover, #182F4D);
}

.p2-delivery-v1__btn:hover::after {
  background: var(--del1-btn-bg-hover, #182F4D);
}

.p2-delivery-v1__btn:hover {
  color: var(--del1-btn-color-hover, #fff);
}

/* Button content above pseudo-elements */
.p2-delivery-v1__btn i,
.p2-delivery-v1__btn span {
  position: relative;
  z-index: 1;
}

.p2-delivery-v1__btn i {
  font-size: 1.125rem;
  transition: transform 0.3s ease;
}

.p2-delivery-v1__box.is-expanded .p2-delivery-v1__btn i {
  transform: rotate(90deg);
}

/* Decorative images */
.p2-delivery-v1__images {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: flex-end;
  overflow: hidden;
}

.p2-delivery-v1__img {
  flex-shrink: 0;
  width: 140px;
  height: 100px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.p2-delivery-v1__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Accordion content */
.p2-delivery-v1__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.p2-delivery-v1__box.is-expanded .p2-delivery-v1__content {
  max-height: none;
}

/* Items grid - uses module padding */
.p2-delivery-v1__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
  background: var(--del1-expand-bg, #ffffff);
  padding: var(--del1-pt-xxl, 0) var(--del1-pr-xxl, 0) var(--del1-pb-xxl, 0) var(--del1-pl-xxl, 0);
  border-radius: 4px;
}

@media (max-width: 1400px) {
  .p2-delivery-v1__items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1200px) {
  .p2-delivery-v1__items {
    grid-template-columns: 1fr;
  }
}

.p2-delivery-v1__item {
  display: flex;
  gap: 1rem;
  padding: 1rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  align-items: center;
}

/* Item icon with typography */
.p2-delivery-v1__item-icon {
  flex-shrink: 0;
  font-size: var(--del1-icon-fs-xxl, 1.5rem);
  font-weight: var(--del1-icon-fw, 400);
  line-height: var(--del1-icon-lh-xxl, 1);
  letter-spacing: var(--del1-icon-ls-xxl, normal);
  color: var(--del1-icon-color, #182F4D);
  margin-top: 2px;
}
.p2-delivery-v1__item:hover .p2-delivery-v1__item-icon {
  color: var(--del1-icon-color-hover, var(--del1-icon-color, #182F4D));
}

/* Item text with typography */
.p2-delivery-v1__item-text {
  font-family: 'Mersad', sans-serif;
  font-size: var(--del1-item-fs-xxl, 0.9375rem);
  font-weight: var(--del1-item-fw, 400);
  line-height: var(--del1-item-lh-xxl, 1.5);
  letter-spacing: var(--del1-item-ls-xxl, normal);
  color: var(--del1-item-color, #182F4D);
}
.p2-delivery-v1__item:hover .p2-delivery-v1__item-text {
  color: var(--del1-item-color-hover, var(--del1-item-color, #182F4D));
}

/* Responsive typography breakpoints */
@media (max-width: 1400px) {
  .p2-delivery-v1__title {
    font-size: var(--del1-title-fs-xl, var(--del1-title-fs-xxl, 3rem));
    line-height: var(--del1-title-lh-xl, var(--del1-title-lh-xxl, 1.1));
    letter-spacing: var(--del1-title-ls-xl, var(--del1-title-ls-xxl, normal));
  }
  .p2-delivery-v1__subtitle {
    font-size: var(--del1-subtitle-fs-xl, var(--del1-subtitle-fs-xxl, 1rem));
    line-height: var(--del1-subtitle-lh-xl, var(--del1-subtitle-lh-xxl, 1.4));
    letter-spacing: var(--del1-subtitle-ls-xl, var(--del1-subtitle-ls-xxl, normal));
  }
  .p2-delivery-v1__btn {
    font-size: var(--del1-btn-fs-xl, var(--del1-btn-fs-xxl, 0.875rem));
    line-height: var(--del1-btn-lh-xl, var(--del1-btn-lh-xxl, 1.4));
    letter-spacing: var(--del1-btn-ls-xl, var(--del1-btn-ls-xxl, normal));
  }
  .p2-delivery-v1__item-icon {
    font-size: var(--del1-icon-fs-xl, var(--del1-icon-fs-xxl, 1.5rem));
    line-height: var(--del1-icon-lh-xl, var(--del1-icon-lh-xxl, 1));
    letter-spacing: var(--del1-icon-ls-xl, var(--del1-icon-ls-xxl, normal));
  }
  .p2-delivery-v1__item-text {
    font-size: var(--del1-item-fs-xl, var(--del1-item-fs-xxl, 0.9375rem));
    line-height: var(--del1-item-lh-xl, var(--del1-item-lh-xxl, 1.5));
    letter-spacing: var(--del1-item-ls-xl, var(--del1-item-ls-xxl, normal));
  }
}

@media (max-width: 1200px) {
  .p2-delivery-v1__title {
    font-size: var(--del1-title-fs-lg, var(--del1-title-fs-xl, 2.5rem));
    line-height: var(--del1-title-lh-lg, var(--del1-title-lh-xl, 1.1));
    letter-spacing: var(--del1-title-ls-lg, var(--del1-title-ls-xl, normal));
  }
  .p2-delivery-v1__subtitle {
    font-size: var(--del1-subtitle-fs-lg, var(--del1-subtitle-fs-xl, 1rem));
    line-height: var(--del1-subtitle-lh-lg, var(--del1-subtitle-lh-xl, 1.4));
    letter-spacing: var(--del1-subtitle-ls-lg, var(--del1-subtitle-ls-xl, normal));
  }
  .p2-delivery-v1__btn {
    font-size: var(--del1-btn-fs-lg, var(--del1-btn-fs-xl, 0.875rem));
    line-height: var(--del1-btn-lh-lg, var(--del1-btn-lh-xl, 1.4));
    letter-spacing: var(--del1-btn-ls-lg, var(--del1-btn-ls-xl, normal));
  }
  .p2-delivery-v1__item-icon {
    font-size: var(--del1-icon-fs-lg, var(--del1-icon-fs-xl, 1.5rem));
    line-height: var(--del1-icon-lh-lg, var(--del1-icon-lh-xl, 1));
    letter-spacing: var(--del1-icon-ls-lg, var(--del1-icon-ls-xl, normal));
  }
  .p2-delivery-v1__item-text {
    font-size: var(--del1-item-fs-lg, var(--del1-item-fs-xl, 0.9375rem));
    line-height: var(--del1-item-lh-lg, var(--del1-item-lh-xl, 1.5));
    letter-spacing: var(--del1-item-ls-lg, var(--del1-item-ls-xl, normal));
  }
}

@media (max-width: 1024px) {
  .p2-delivery-v1__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .p2-delivery-v1__images {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 992px) {
  .p2-delivery-v1__title {
    font-size: var(--del1-title-fs-md, var(--del1-title-fs-lg, 2.25rem));
    line-height: var(--del1-title-lh-md, var(--del1-title-lh-lg, 1.1));
    letter-spacing: var(--del1-title-ls-md, var(--del1-title-ls-lg, normal));
  }
  .p2-delivery-v1__subtitle {
    font-size: var(--del1-subtitle-fs-md, var(--del1-subtitle-fs-lg, 1rem));
    line-height: var(--del1-subtitle-lh-md, var(--del1-subtitle-lh-lg, 1.4));
    letter-spacing: var(--del1-subtitle-ls-md, var(--del1-subtitle-ls-lg, normal));
  }
  .p2-delivery-v1__btn {
    font-size: var(--del1-btn-fs-md, var(--del1-btn-fs-lg, 0.875rem));
    line-height: var(--del1-btn-lh-md, var(--del1-btn-lh-lg, 1.4));
    letter-spacing: var(--del1-btn-ls-md, var(--del1-btn-ls-lg, normal));
  }
  .p2-delivery-v1__item-icon {
    font-size: var(--del1-icon-fs-md, var(--del1-icon-fs-lg, 1.5rem));
    line-height: var(--del1-icon-lh-md, var(--del1-icon-lh-lg, 1));
    letter-spacing: var(--del1-icon-ls-md, var(--del1-icon-ls-lg, normal));
  }
  .p2-delivery-v1__item-text {
    font-size: var(--del1-item-fs-md, var(--del1-item-fs-lg, 0.9375rem));
    line-height: var(--del1-item-lh-md, var(--del1-item-lh-lg, 1.5));
    letter-spacing: var(--del1-item-ls-md, var(--del1-item-ls-lg, normal));
  }
}

@media (max-width: 768px) {
  .p2-delivery-v1__title {
    font-size: var(--del1-title-fs-sm, var(--del1-title-fs-md, 1.75rem));
    line-height: var(--del1-title-lh-sm, var(--del1-title-lh-md, 1.1));
    letter-spacing: var(--del1-title-ls-sm, var(--del1-title-ls-md, normal));
  }
  .p2-delivery-v1__subtitle {
    font-size: var(--del1-subtitle-fs-sm, var(--del1-subtitle-fs-md, 0.9375rem));
    line-height: var(--del1-subtitle-lh-sm, var(--del1-subtitle-lh-md, 1.4));
    letter-spacing: var(--del1-subtitle-ls-sm, var(--del1-subtitle-ls-md, normal));
  }
  .p2-delivery-v1__btn {
    font-size: var(--del1-btn-fs-sm, var(--del1-btn-fs-md, 0.8125rem));
    line-height: var(--del1-btn-lh-sm, var(--del1-btn-lh-md, 1.4));
    letter-spacing: var(--del1-btn-ls-sm, var(--del1-btn-ls-md, normal));
  }
  .p2-delivery-v1__item-icon {
    font-size: var(--del1-icon-fs-sm, var(--del1-icon-fs-md, 1.25rem));
    line-height: var(--del1-icon-lh-sm, var(--del1-icon-lh-md, 1));
    letter-spacing: var(--del1-icon-ls-sm, var(--del1-icon-ls-md, normal));
  }
  .p2-delivery-v1__item-text {
    font-size: var(--del1-item-fs-sm, var(--del1-item-fs-md, 0.875rem));
    line-height: var(--del1-item-lh-sm, var(--del1-item-lh-md, 1.5));
    letter-spacing: var(--del1-item-ls-sm, var(--del1-item-ls-md, normal));
  }
}

@media (max-width: 640px) {
  .p2-delivery-v1__img {
    width: 100px;
    height: 70px;
  }

  .p2-delivery-v1__items {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================
   INFO BLOCK V4 - Split with Icon Grid
   ======================================================================== */

.p2-info-v4 {
  padding: 0;
}

.p2-info-v4__outer {
  margin: 0 auto;
}

.p2-info-v4__box {
  background: var(--infov4-bg, #F5D76E);
  border: 1px solid var(--infov4-border, #e5c95c);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 0;
  align-items: stretch;
  transition: background 0.3s ease, border-color 0.3s ease;
}

/* Left Content */
.p2-info-v4__content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p2-info-v4__title {
  font-family: 'Mersad', -apple-system, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--infov4-title, #182F4D);
  margin: 0 0 16px 0;
  line-height: 1.1;
}

.p2-info-v4__desc {
  font-family: 'Mersad', -apple-system, sans-serif;
  font-size: 1rem;
  color: var(--infov4-desc, #3F6696);
  margin: 0 0 32px 0;
  line-height: 1.6;
}

.p2-info-v4__desc p {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.p2-info-v4__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: transparent;
  color: #182F4D;
  border: none;
  font-family: 'Mersad', -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: all 0.5s ease;
  white-space: nowrap;
  text-decoration: none;
  width: fit-content;
}

/* Outer border shape (corner cut) */
.p2-info-v4__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #182F4D;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: background 0.5s ease;
}

/* Inner fill shape */
.p2-info-v4__btn::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--infov4-bg, #F5D76E);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11.5px), calc(100% - 11.5px) 100%, 0 100%);
  transition: background 0.5s ease;
}

.p2-info-v4__btn:hover::after {
  background: #182F4D;
}

.p2-info-v4__btn:hover {
  color: #fff;
}

/* Button content above pseudo-elements */
.p2-info-v4__btn i,
.p2-info-v4__btn span {
  position: relative;
  z-index: 1;
  transition: color 0.5s ease;
}

/* Right Icon Grid */
.p2-info-v4__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.p2-info-v4__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  gap: 16px;
  border-left: 1px solid var(--infov4-grid-border, rgba(24, 47, 77, 0.15));
  border-bottom: 1px solid var(--infov4-grid-border, rgba(24, 47, 77, 0.15));
}

.p2-info-v4__item:last-child {
  border-bottom: none;
}

.p2-info-v4__item i {
  font-size: 2.25rem;
  color: var(--infov4-icon, #182F4D);
  transition: color 0.3s ease;
}

.p2-info-v4__item span {
  font-family: 'Mersad', -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--infov4-item-text, #182F4D);
  line-height: 1.4;
  transition: color 0.3s ease;
}

/* Responsive */
@media (max-width: 1200px) {
  .p2-info-v4__box {
    grid-template-columns: 1fr;
  }

  .p2-info-v4__content {
    padding: 40px;
  }

  .p2-info-v4__grid {
    border-top: 1px solid var(--infov4-grid-border, rgba(24, 47, 77, 0.15));
  }

  .p2-info-v4__item {
    border-left: none;
    border-right: none;
  }
}

@media (max-width: 768px) {
  .p2-info-v4__content {
    padding: 80px;
  }

  .p2-info-v4__title {
    font-size: 1.75rem;
  }
}
