/* ==========================================================================
   Base Structure & Layout (base.css)
   Contains fonts, grids, flexbox, spacing, positioning, and responsive rules.
   ========================================================================== */

/* Local Self-Hosted Fonts: Cormorant Garamond & Manrope (OFL Licensed) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-semibold.woff2') format('woff2');
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/manrope-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/manrope-medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/manrope-semibold.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/manrope-bold.woff2') format('woff2');
}

/* Resets & Overflow Protection */
*, *::before, *::after { 
    box-sizing: border-box; 
}
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    line-height: 1.6;
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul { 
    margin: 0; 
}
img, picture { 
    max-width: 100%; 
    height: auto;
    display: block; 
}
a { 
    text-decoration: none; 
    color: inherit;
}

/* Container */
.it-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Base Utility Classes */
.it-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
}

/* Floating Theme Switcher Widget */
.it-theme-switcher {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 99999;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}
.it-switcher-label {
    color: #94a3b8;
    font-size: 0.75rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 500;
}
.it-switcher-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}
.it-switcher-btn.active, .it-switcher-btn:hover {
    background: #d4af37;
    color: #0b0f19;
    border-color: #d4af37;
    font-weight: 600;
}

/* =========================================
   1. Hero Section (Compact & Well-Aligned)
   ========================================= */
.it-hero {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
}

.it-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.it-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 820px;
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.it-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2rem;
}

/* Hero Video Background */
.it-hero--video {
    overflow: hidden;
}

.it-hero-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

.it-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.it-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 10, 14, 0.45) 0%, rgba(8, 10, 14, 0.75) 100%);
    z-index: -1;
}

/* Hero Slider Carousel */
.it-hero--slider {
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
}

.it-hero-slider {
    position: relative;
    width: 100%;
    min-height: 75vh;
}

.it-hero-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.it-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 75vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scale(1.04);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
    box-sizing: border-box;
    z-index: 1;
}

.it-hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 10, 14, 0.35) 0%, rgba(8, 10, 14, 0.72) 100%);
    z-index: 2;
}

.it-hero-slide .it-container {
    position: relative;
    z-index: 5;
    width: 100%;
}

.it-hero-slide--active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

/* Hero Slider Controls */
.it-hero-slider-nav {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(8, 10, 14, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 999px;
}

.it-hero-nav-arrow {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.2s ease;
    padding: 0;
}

.it-hero-nav-arrow:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--c-gold, #c9a76a);
}

.it-hero-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.it-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.it-hero-dot--active {
    background: var(--c-gold, #c9a76a);
    width: 22px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .it-hero-slider-nav {
        right: 50%;
        transform: translateX(50%);
        bottom: 1.25rem;
    }
}

/* Hero Stats Bar */
.it-hero-stats {
    width: 100%;
    position: relative;
    z-index: 10;
    margin-top: auto;
}

.it-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.it-stat-item {
    display: flex;
    flex-direction: column;
}

/* =========================================
   2. About Section
   ========================================= */
.it-about {
    padding: 3.5rem 0;
    position: relative;
}

.it-about-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: center;
}

.it-about-text {
    flex: 1 1 45%;
    min-width: 320px;
}

.it-about-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.it-about-visuals {
    flex: 1 1 45%;
    position: relative;
    min-height: 480px;
}

.it-about-img-main {
    position: absolute;
    width: 80%;
    height: 85%;
    top: 0;
    right: 0;
    background-size: cover;
    background-position: center;
}

.it-about-img-sec {
    position: absolute;
    width: 52%;
    height: 52%;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center;
}

.it-about-badge {
    position: absolute;
    bottom: -5%;
    right: 12%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50%;
    z-index: 5;
}

.it-about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

/* =========================================
   3. Common Section Headers
   ========================================= */
.it-section-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 2rem auto;
}

/* =========================================
   4. Residences / Price List
   ========================================= */
.it-residences { 
    padding: 3.5rem 0; 
}
.it-residence-tabs { 
    display: flex; 
    justify-content: center; 
    gap: 0.75rem; 
    margin-bottom: 1.75rem; 
    flex-wrap: wrap; 
}
.it-tab-btn { 
    background: none; 
    border: none; 
    padding: 0.6rem 1.25rem; 
    cursor: pointer; 
}

.it-price-list-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.it-price-table { 
    width: 100%; 
    min-width: 600px;
    border-collapse: collapse; 
    text-align: left; 
}
.it-price-table th, .it-price-table td { 
    padding: 1.5rem 1rem; 
    border-bottom: 1px solid rgba(0,0,0,0.1); 
}

.it-residence-cards { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
}
.it-res-card { 
    display: flex; 
    flex-direction: column; 
    background: #ffffff;
    border: 1px solid rgba(193, 154, 91, 0.22);
    border-radius: 4px;
    padding: 2.25rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.35s ease;
    position: relative;
}
.it-res-card:hover {
    border-color: var(--c-gold, #c19a5b);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}
.it-res-img { 
    width: 100%; 
    padding-top: 56.25%; /* 16:9 ratio to reduce blank space */
    background-size: cover; 
    background-position: center; 
    border-radius: 3px;
    margin-bottom: 1.5rem;
}
.it-res-info { 
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.it-res-name {
    font-size: 1.35rem;
    font-weight: 500;
    font-family: var(--font-display, var(--font-serif, "Playfair Display", Georgia, serif));
    color: var(--c-text, #1a221f);
    margin: 0 0 0.5rem;
}
.it-res-project {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.it-res-project a {
    color: var(--c-gold, #c19a5b);
    transition: color 0.25s ease;
}
.it-res-project a:hover {
    color: var(--c-gold-light, #e8cf96);
    text-decoration: underline;
}
.it-res-price {
    font-size: 1.4rem;
    font-weight: 600;
    font-family: var(--font-display, var(--font-serif, "Playfair Display", Georgia, serif));
    color: var(--c-gold, #c19a5b);
    margin: 0 0 1rem;
}
.it-res-meta { 
    display: flex; 
    gap: 1.5rem; 
    margin: 0 0 1.5rem; 
    padding: 0.85rem 0;
    border-top: 1px solid var(--c-gold-border, rgba(0, 0, 0, 0.06));
    border-bottom: 1px solid var(--c-gold-border, rgba(0, 0, 0, 0.06));
    font-size: 0.85rem;
    color: var(--c-text-muted, #666);
    letter-spacing: 0.02em;
}
.it-res-floorplan-cta, .it-res-price-cta {
    margin: auto 0 0 0;
    padding-top: 0.5rem;
}
.it-res-card .it-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.it-res-card .it-btn-outline {
    background: transparent;
    color: var(--c-gold, #c19a5b);
    border: 1px solid rgba(193, 154, 91, 0.5);
}
.it-res-card .it-btn-outline:hover {
    background: var(--c-gold, #c19a5b);
    color: #ffffff;
    border-color: var(--c-gold, #c19a5b);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(193, 154, 91, 0.3);
}
.it-res-card .it-btn-primary {
    background: var(--c-gold, #c19a5b);
    color: #ffffff;
    border: 1px solid var(--c-gold, #c19a5b);
}
.it-res-card .it-btn-primary:hover {
    background: #a98042;
    border-color: #a98042;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(193, 154, 91, 0.35);
}

/* =========================================
   5. Gallery
   ========================================= */
.it-gallery { 
    padding: 3.5rem 0; 
}
.it-gallery-filters { 
    display: flex; 
    justify-content: center; 
    gap: 0.75rem; 
    margin-bottom: 2rem; 
    flex-wrap: wrap; 
}
.it-gallery-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 1.5rem; 
}
.it-gallery-item { 
    position: relative; 
    overflow: hidden; 
}
.it-gallery-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    aspect-ratio: 4/3; 
    transition: transform 0.5s ease;
}
.it-gallery-item:hover img {
    transform: scale(1.04);
}
.it-gallery-caption { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    padding: 2.5rem 1.5rem 1.25rem; 
    background: linear-gradient(180deg, transparent 0%, rgba(9, 12, 18, 0.88) 100%);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 500;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* =========================================
   6. Location
   ========================================= */
.it-location { 
    padding: 3.5rem 0; 
}
.it-location-layout { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 2.5rem; 
    align-items: center; 
}
.it-location-text { 
    flex: 1 1 40%; 
    min-width: 320px; 
}
.it-location-map { 
    flex: 1 1 50%; 
    display: flex; 
    flex-direction: column; 
    gap: 1.5rem; 
}
.it-map-visual { 
    position: relative;
    width: 100%; 
    padding-top: 66%; 
    background-size: cover; 
    background-position: center; 
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* ==========================================================================
   Animated Location Marker (Radar Pulse Pin)
   ========================================================================== */
.it-location-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

.it-location-pin__dot {
    position: relative;
    display: block;
    width: 16px;
    height: 16px;
    background: #eab308; /* Luxury vibrant warm gold/yellow */
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 14px rgba(234, 179, 8, 0.9), 0 2px 6px rgba(0,0,0,0.4);
    z-index: 2;
}

.it-location-pin__pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    margin-left: -22px;
    margin-top: -22px;
    background: rgba(234, 179, 8, 0.45);
    border-radius: 50%;
    animation: it-radar-pulse 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    z-index: 1;
    pointer-events: none;
}

.it-location-pin__label {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 5px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 4px;
    border: 1px solid rgba(234, 179, 8, 0.5);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.it-location-pin__label::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: rgba(15, 23, 42, 0.88) transparent transparent;
}

@keyframes it-radar-pulse {
    0% {
        transform: scale(0.3);
        opacity: 0.9;
    }
    70% {
        transform: scale(1.6);
        opacity: 0.15;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* Location Connectivity List (Project Showcase) */
.it-location-connectivity {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.it-location-connectivity__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 1.5rem;
}

.it-location-connectivity__title {
    font-family: var(--font-serif, "Playfair Display", Georgia, serif);
    font-size: 1.15rem;
    font-weight: 500;
    margin: 0;
    color: inherit;
    letter-spacing: 0.01em;
}

.it-location-connectivity__time {
    font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c-gold, #c19a5b);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

/* Open in Google Maps CTA */
.it-location-gmaps-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.1rem 1.75rem;
    background: var(--c-gold-gradient, linear-gradient(135deg, #f7e9b9 0%, #d4af37 50%, #997a2e 100%));
    color: #0b0c10 !important;
    font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 2px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    cursor: pointer;
}

.it-location-gmaps-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.4);
    filter: brightness(1.06);
    color: #000000 !important;
}

.it-location-list { 
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem 3.5rem;
    padding: 0; 
    margin: 3.5rem auto 0; 
    list-style: none;
    max-width: 1200px;
}

.it-location-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
    cursor: pointer;
    min-width: 130px;
    max-width: 180px;
}

.it-location-card:hover {
    transform: translateY(-4px);
}

.it-location-card__avatar {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin-bottom: 1.25rem;
    padding: 4px;
    background: linear-gradient(135deg, rgba(193, 154, 91, 0.4), rgba(193, 154, 91, 0.08));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.it-location-card:hover .it-location-card__avatar {
    transform: scale(1.05);
    box-shadow: 0 14px 32px rgba(193, 154, 91, 0.3);
}

.it-location-card__img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.it-location-card__img--placeholder {
    background: radial-gradient(circle at center, #1b2230 0%, #0e121a 100%);
    color: #c19a5b;
}

.it-location-card__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.it-location-card__title {
    font-family: var(--font-serif, "Playfair Display", Georgia, serif);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    color: currentColor;
    transition: color 0.2s ease;
}

.it-location-card:hover .it-location-card__title {
    color: var(--c-gold, #c19a5b);
}

.it-location-card__count {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #8e7040;
    text-transform: uppercase;
    opacity: 0.85;
}

/* Fallback for legacy list style if used elsewhere */
.it-location-list li { 
    display: flex; 
    justify-content: space-between; 
    padding: 1.1rem 0; 
    border-bottom: 1px solid rgba(0,0,0,0.1); 
}


/* =========================================
   7. Virtual Tour
   ========================================= */
.it-tour { 
    padding: 3.5rem 0; 
}
.it-tour-player-wrap {
    max-width: 960px;
    margin: 0 auto;
}
.it-tour-player { 
    position: relative; 
    width: 100%; 
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    background: #000;
}
.it-tour-thumb { 
    position: absolute; 
    inset: 0; 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    display: flex; 
    align-items: center; 
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    transition: opacity 0.3s ease;
}
.it-tour-screen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}
.it-tour-screen iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.it-play-btn { 
    width: 72px; 
    height: 72px; 
    border-radius: 50%; 
    border: none; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: rgba(212, 175, 55, 0.9);
    color: #0b0c10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 175, 55, 0.6);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease;
}
.it-play-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(212, 175, 55, 0.9);
    background: #eab308;
}
.it-play-btn svg {
    margin-left: 3px;
}
.it-tour-filmstrip { 
    display: flex; 
    gap: 1.5rem; 
    max-width: 900px; 
    margin: 2rem auto 0; 
    overflow-x: auto; 
    padding-bottom: 1rem; 
}
.it-tour-strip-item { 
    flex: 0 0 220px; 
    cursor: pointer; 
}
.it-tour-strip-item img { 
    width: 100%; 
    aspect-ratio: 16/9; 
    object-fit: cover; 
    margin-bottom: 0.5rem; 
}

/* =========================================
   8. Highlights (Features)
   ========================================= */
.it-highlights { 
    padding: 3.5rem 0; 
}
.it-highlights-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 1.75rem; 
}
.it-highlight-card {
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
}
.it-hl-icon { 
    font-size: 2.5rem; 
    display: block; 
    margin-bottom: 1.25rem; 
}

/* =========================================
   9. Amenities
   ========================================= */
.it-amenities { 
    padding: 3.5rem 0; 
}
.it-amenities-layout { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 2.5rem; 
}
.it-amenities-list { 
    flex: 1 1 52%; 
    min-width: 320px; 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}
.it-amenity-cat { 
    margin-bottom: 1.5rem; 
}
.it-amenity-cat ul { 
    list-style: none; 
    padding: 0; 
    margin-top: 1rem;
}
.it-amenity-cat li { 
    padding: 0.75rem 0; 
    border-bottom: 1px solid rgba(0,0,0,0.08); 
    font-size: 0.95rem;
    line-height: 1.5;
}
.it-amenities-visual { 
    flex: 1 1 40%; 
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.it-amenity-img { 
    width: 100%; 
    padding-top: 60%; 
    background-size: cover; 
    background-position: center; 
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}
.it-amenity-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border-radius: 3px;
}

/* =========================================
   10. Details, USP, Partners
   ========================================= */
.it-details, .it-usp, .it-partners { 
    padding: 3.5rem 0; 
}
.it-details-list { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 1.5rem; 
    border-top: 1px solid rgba(0,0,0,0.1); 
    padding-top: 1.5rem; 
}
.it-detail-item { 
    display: flex; 
    flex-direction: column; 
}
.it-usp-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2.5rem; 
}
.it-usp-img { 
    width: 100%; 
    padding-top: 66%; 
    background-size: cover; 
    background-position: center; 
    margin-bottom: 1.5rem; 
}
.it-partners-grid { 
    display: flex; 
    justify-content: center; 
    align-items: center;
    gap: 3rem; 
    flex-wrap: wrap; 
}
.it-partner-logo { 
    opacity: 0.6; 
    transition: opacity 0.3s;
    max-width: 180px;
}
.it-partner-logo:hover {
    opacity: 1;
}
.it-partner-logo img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s;
}
.it-partner-logo:hover img {
    filter: grayscale(0%);
}

/* =========================================
   10.5 Floor Plans & Modal
   ========================================= */
.it-floorplans {
    padding: 3.5rem 0;
}
.it-fp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}
.it-fp-item {
    text-align: center;
}
.it-fp-title {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    font-weight: 600;
}
.it-fp-visual {
    position: relative;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fdfdfd;
    padding: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}
.it-fp-img-blur {
    width: 100%;
    height: auto;
    filter: blur(6px);
    opacity: 0.6;
    transition: filter 0.3s, opacity 0.3s;
}
.it-fp-visual:hover .it-fp-img-blur {
    filter: blur(4px);
    opacity: 0.8;
}
.it-fp-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
}

.it-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 30, 0.85);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.it-modal-overlay.active {
    display: flex;
}
.it-modal-content {
    background: var(--c-bg, var(--c-surface, #fff));
    padding: 2.5rem;
    border-radius: 12px;
    position: relative;
    max-width: 800px;
    width: 100%;
    color: var(--c-text, #333);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    max-height: 95vh;
    overflow-y: auto;
}
.it-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    color: inherit;
    opacity: 0.6;
}
.it-modal-close:hover {
    opacity: 1;
}
.it-modal-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}
.it-modal-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,0.05);
}

/* =========================================
   11. Testimonials & FAQ
   ========================================= */
.it-testimonials, .it-faq { 
    padding: 3.5rem 0; 
}
.it-testimonials-slider { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2.5rem; 
}
.it-testimonial-card { 
    padding: 2.5rem; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.it-testi-stars {
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}
.it-testi-quote {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.it-testi-author {
    font-size: 0.9rem;
    font-weight: 600;
}
.it-testi-author span {
    display: block;
    font-weight: 400;
    font-size: 0.8rem;
    opacity: 0.75;
    margin-top: 0.25rem;
}

.it-faq-accordion { 
    max-width: 800px; 
    margin: 0 auto; 
}
.it-faq-item { 
    border-bottom: 1px solid rgba(0,0,0,0.1); 
}
.it-faq-btn { 
    width: 100%; 
    text-align: left; 
    background: none; 
    border: none; 
    padding: 1.25rem 0; 
    font-size: 1.05rem; 
    cursor: pointer; 
}
.it-faq-content { 
    padding-bottom: 1.25rem; 
    display: block; 
}

/* =========================================
   12. Contact & Blog
   ========================================= */
.it-contact, .it-blog { 
    padding: 3.5rem 0; 
}
.it-contact-layout { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 2.5rem; 
    align-items: center; 
}
.it-contact-text { 
    flex: 1 1 40%; 
    min-width: 320px; 
}
.it-contact-form { 
    flex: 1 1 50%; 
    min-width: 300px;
}
.it-dummy-form { 
    display: flex; 
    flex-direction: column; 
    gap: 1.25rem; 
}
.it-dummy-form input { 
    padding: 1.1rem; 
    border: 1px solid rgba(0,0,0,0.18); 
    width: 100%; 
    font-size: 0.95rem;
}

.it-blog-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2.5rem; 
}
.it-blog-img { 
    width: 100%; 
    padding-top: 66%; 
    background-size: cover; 
    background-position: center; 
    margin-bottom: 1.25rem; 
}

/* =========================================
   13. Footer
   ========================================= */
.it-footer { 
    padding: 4rem 0 2rem; 
    background: #0f141c; 
    color: #fff; 
}
.it-footer-top { 
    display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    gap: 2.5rem; 
    margin-bottom: 3rem; 
}
.it-footer-links { 
    display: flex; 
    gap: 2rem; 
    flex-wrap: wrap;
}
.it-footer-links a { 
    color: #fff; 
}
.it-footer-bottom { 
    display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,0.12); 
    padding-top: 1.5rem; 
    font-size: 0.85rem; 
    opacity: 0.65; 
}

/* =========================================
   14. SEO Content Section
   ========================================= */
.it-seo-content { 
    padding: 3.5rem 0; 
}
.it-seo-content--surface {
    background: var(--c-surface, rgba(255, 255, 255, 0.02));
}
.it-seo-content--deep {
    background: var(--c-bg-dark, #0b0d12);
    color: var(--c-text-light, #e0e0e0);
}
.it-seo-content--white {
    background: transparent;
}
.it-seo-content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: flex-start;
}
.it-seo-text-area {
    flex: 1 1 560px;
    min-width: 0;
}
.it-seo-layout { 
    display: flex; 
    flex-wrap: wrap; 
    gap: clamp(1.5rem, 3vw, 3.5rem); 
}
.it-seo-layout--two-col .it-seo-col { 
    flex: 1 1 calc(50% - 2rem); 
    min-width: 280px;
}
.it-seo-layout--single .it-seo-col {
    flex: 1 1 100%;
}
.it-prose-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--c-text-muted, #777);
}
.it-seo-content--deep .it-prose-content {
    color: rgba(255, 255, 255, 0.75);
}
.it-prose-content p { 
    margin-bottom: 1.35rem; 
}
.it-prose-content h2,
.it-prose-content h3,
.it-prose-content h4 {
    font-family: var(--font-serif, "Playfair Display", Georgia, serif);
    color: var(--c-heading, #111);
    margin: 2rem 0 1rem;
    line-height: 1.25;
}
.it-seo-content--deep .it-prose-content h2,
.it-seo-content--deep .it-prose-content h3,
.it-seo-content--deep .it-prose-content h4 {
    color: #fff;
}
.it-prose-content ul,
.it-prose-content ol {
    margin: 0 0 1.5rem 1.5rem;
    padding: 0;
}
.it-prose-content li {
    margin-bottom: 0.6rem;
}
.it-prose-content a {
    color: var(--c-gold, #c19a5b);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.it-prose-content a:hover {
    color: var(--c-brand, #24352d);
}
.it-seo-media-col {
    flex: 1 1 340px;
    max-width: 520px;
}
.it-seo-content--image-left .it-seo-media-col {
    order: -1;
}
.it-seo-figure {
    margin: 0;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}
.it-seo-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}
.it-seo-caption {
    font-size: 0.82rem;
    color: var(--c-text-muted, #777);
    margin-top: 0.75rem;
    font-style: italic;
    text-align: center;
}

/* =========================================
   15. Mobile & Responsive Layout Rules
   ========================================= */
@media (max-width: 992px) {
    .it-hero {
        min-height: auto;
        padding-top: 6rem;
        padding-bottom: 4rem;
    }
    .it-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .it-about-layout, 
    .it-location-layout, 
    .it-contact-layout, 
    .it-seo-layout {
        gap: 2.5rem;
    }
    .it-about-visuals {
        min-height: 380px;
        width: 100%;
    }
    .it-theme-switcher {
        top: auto;
        bottom: 16px;
        right: 16px;
        left: 16px;
        justify-content: center;
        border-radius: 12px;
    }
}

@media (max-width: 640px) {
    .it-container {
        padding: 0 1.25rem;
    }
    .it-hero {
        padding-top: 5rem;
        padding-bottom: 3rem;
    }
    .it-hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .it-hero-actions .it-btn {
        width: 100%;
    }
    .it-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .it-about-visuals {
        min-height: 300px;
    }
    .it-about-img-sec {
        display: none;
    }
    .it-about-img-main {
        width: 100%;
        height: 100%;
        position: relative;
    }
    .it-about-badge {
        bottom: 10px;
        right: 10px;
    }
    .it-amenities-list {
        grid-template-columns: 1fr;
    }
    .it-footer-top {
        flex-direction: column;
        gap: 2rem;
    }
    .it-footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    .it-theme-switcher {
        flex-wrap: wrap;
        padding: 10px;
    }
    .it-switcher-btn {
        flex: 1 1 40%;
        text-align: center;
    }
    /* Mobile sticky actions clearance */
    body {
        padding-bottom: 72px;
    }
}

/* ==========================================================================
   Core Gutenberg Block Layout Adapters (.sec, .wrap, .head, .kick)
   Ensures sections rendered via Gutenberg match the theme container & spacing
   ========================================================================== */
.sec {
    padding: clamp(60px, 8vw, 100px) 0;
    position: relative;
    width: 100%;
}
.sec.cream {
    background-color: var(--c-bg-subtle, #f5efeb);
}
.sec.deep {
    background-color: var(--c-bg-card, #0f141d);
}
.wrap {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.kick {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-gold, #c5a059);
    margin-bottom: 0.5rem;
}

/* =========================================
   Common Section Utilities
   ========================================= */
.it-section-header {
    margin-bottom: 2rem;
}
.it-section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-gold, #c5a059);
    margin: 0 0 0.5rem;
}
.it-section-title {
    font-family: var(--font-serif, Georgia, serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}
.it-lead-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--c-text-muted, #6e6862);
    margin-top: 0.75rem;
    max-width: 600px;
}

/* =========================================
   Highlights / Why Section
   ========================================= */
.it-highlights {
    padding: 3.5rem 0;
}
.it-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}
.it-highlight-card {
    padding: 2rem;
    border: 1px solid var(--c-gold-light, rgba(197,160,89,.2));
    border-radius: 8px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.it-highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
.it-hl-title {
    font-family: var(--font-serif, Georgia, serif);
    font-size: 1.3rem;
    font-weight: 400;
    margin: 0 0 0.75rem;
}
.it-hl-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--c-text-muted, #6e6862);
    margin: 0;
}

/* =========================================
   Partners Section
   ========================================= */
.it-partners {
    padding: 3.5rem 0;
}
.it-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    align-items: stretch;
    text-align: center;
}
.it-partner-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem;
    border: 1px solid var(--c-gold-light, rgba(197,160,89,.15));
    border-radius: 8px;
    transition: transform .2s ease;
}
.it-partner-logo:hover {
    transform: translateY(-2px);
}
.it-partner-logo strong {
    display: block;
    font-family: var(--font-serif, Georgia, serif);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

/* =========================================
   Virtual Tour Section
   ========================================= */
.it-tour {
    padding: 3.5rem 0;
}
.it-tour-player {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}
.it-tour-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--c-bg-dark, #231c16) center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}
.it-play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,.5);
    color: #fff;
    font-size: 1.5rem;
    transition: transform .25s ease, background .25s ease;
}
.it-play-btn:hover {
    transform: scale(1.1);
    background: rgba(255,255,255,.25);
}

/* =========================================
   Testimonials Section
   ========================================= */
.it-testimonials {
    padding: 3.5rem 0;
}
.it-testimonial-card {
    background: var(--c-bg-alt, #f5efeb);
    border-radius: 12px;
    transition: transform .25s ease;
}
.it-testimonial-card:hover {
    transform: translateY(-4px);
}
.it-testi-stars {
    color: var(--c-gold, #c5a059);
    letter-spacing: 2px;
}
.it-testi-quote {
    font-family: var(--font-serif, Georgia, serif);
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.7;
    margin: 0 0 1.5rem;
    border: 0;
    padding: 0;
}
.it-testi-author {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.it-testi-author span {
    display: block;
    font-weight: 400;
    color: var(--c-text-muted, #6e6862);
    margin-top: 2px;
}

/* =========================================
   Posts / Blog Section
   ========================================= */
.it-posts {
    padding: 3.5rem 0;
}
.it-posts-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.it-posts-grid,
.it-posts-layout-grid,
.it-posts-layout-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.it-posts-layout-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}
.it-post-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--c-bg-alt, #f5efeb);
    transition: transform .25s ease, box-shadow .25s ease;
}
.it-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
.it-post-card--list {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: var(--c-bg-card, #11141c);
    border: 1px solid var(--c-gold-border, rgba(193, 154, 91, 0.2));
    border-radius: 8px;
}
.it-post-card--list .it-post-thumb {
    flex: 0 0 clamp(240px, 32%, 360px);
    min-height: 200px;
    aspect-ratio: auto;
}
.it-post-card--list .it-post-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.5rem, 2.5vw, 2.25rem);
}
.it-post-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--c-bg-dark, #231c16) center / cover no-repeat;
}
.it-post-thumb--empty {
    background: linear-gradient(135deg, var(--c-bg-dark, #231c16) 0%, var(--c-gold-dark, #8a7148) 100%);
}
.it-post-body {
    padding: 1.25rem 1.5rem 1.5rem;
}
.it-post-date {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-text-muted, #6e6862);
    margin-bottom: 0.5rem;
}
.it-post-title {
    font-family: var(--font-serif, Georgia, serif);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 0.5rem;
}
.it-post-title a {
    color: inherit;
    text-decoration: none;
}
.it-post-title a:hover {
    color: var(--c-gold, #c5a059);
}
.it-post-excerpt {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--c-text-muted, #94a3b8);
    margin: 0.5rem 0 1rem;
}
.it-post-readmore {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-gold, #c19a5b);
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.it-post-readmore:hover {
    color: var(--c-gold-light, #f7e9b9);
    transform: translateX(3px);
}
@media (max-width: 768px) {
    .it-post-card--list {
        flex-direction: column;
    }
    .it-post-card--list .it-post-thumb {
        width: 100%;
        aspect-ratio: 16 / 9;
        min-height: auto;
    }
}

/* =========================================
   Contact Section
   ========================================= */
.it-contact {
    padding: 3.5rem 0;
}
.it-contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}
@media (max-width: 768px) {
    .it-contact-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
.it-contact-direct a {
    color: var(--c-gold, #c5a059);
    text-decoration: none;
}
.it-contact-direct a:hover {
    text-decoration: underline;
}

/* =========================================
   Responsive Section Adjustments
   ========================================= */
@media (max-width: 768px) {
    .it-highlights,
    .it-partners,
    .it-tour,
    .it-testimonials,
    .it-posts,
    .it-contact {
        padding: 3rem 0;
    }
    .it-posts-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================
   Project Presentation Layout Overrides
   ========================================= */
/* Hero Alignment */
.it-hero-align-left .it-hero {
    text-align: left !important;
}
.it-hero-align-left .it-hero-content {
    align-items: flex-start !important;
    margin: 0 !important;
}
.it-hero-align-left .it-hero-actions {
    justify-content: flex-start !important;
}

.it-hero-align-center .it-hero {
    text-align: center !important;
}
.it-hero-align-center .it-hero-content {
    align-items: center !important;
    margin: 0 auto !important;
}
.it-hero-align-center .it-hero-actions {
    justify-content: center !important;
}

.it-hero-align-bottom .it-hero {
    justify-content: flex-end !important;
    padding-bottom: 5rem !important;
    padding-top: 10rem !important;
}

/* Hero Height */
.it-hero-height-standard .it-hero {
    min-height: 75vh !important;
}
.it-hero-height-large .it-hero {
    min-height: 90vh !important;
}
.it-hero-height-viewport .it-hero {
    min-height: 100vh !important;
}

/* Navigation Presentation */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(14, 18, 26, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--c-gold-border, rgba(193, 154, 91, 0.22));
    transition: all 0.35s ease;
}

.site-header__inner {
    width: 100%;
    max-width: 100%;
    padding: 0 clamp(16px, 3.5vw, 48px);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    gap: 1.5rem;
}

.site-header__title {
    font-family: var(--font-display, var(--font-serif, 'Cinzel', Georgia, serif));
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--c-text, #ffffff) !important;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.site-header__title:hover {
    color: var(--c-gold, #c19a5b) !important;
}

.site-header__logo img {
    max-height: 54px;
    width: auto;
    display: block;
    object-fit: contain;
}

.site-navigation--desktop {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 2.5rem);
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 1.5vw, 1.75rem);
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu li {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu a {
    display: inline-block;
    padding: 0.5rem 0;
    font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-text, rgba(255, 255, 255, 0.88)) !important;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
}

.primary-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--c-gold, #c19a5b);
    transition: width 0.3s ease;
}

.primary-menu a:hover,
.primary-menu li.current-menu-item > a {
    color: var(--c-gold, #c19a5b) !important;
}

.primary-menu a:hover::after,
.primary-menu li.current-menu-item > a::after {
    width: 100%;
}

.site-header__cta {
    padding: 0.75rem 1.6rem !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    white-space: nowrap;
    border-radius: 4px;
    background: var(--c-gold, #c19a5b) !important;
    color: #07090e !important;
    border: 1px solid var(--c-gold, #c19a5b) !important;
    box-shadow: 0 4px 14px rgba(193, 154, 91, 0.28);
    transition: all 0.3s ease;
    cursor: pointer;
}

.site-header__cta:hover {
    background: #e8cf96 !important;
    border-color: #e8cf96 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(193, 154, 91, 0.4);
}

/* Mobile Navigation */
.site-navigation-mobile {
    display: none;
    position: relative;
}

.site-navigation-mobile__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    list-style: none;
    background: transparent;
    border: none;
    padding: 4px;
}

.site-navigation-mobile__toggle::-webkit-details-marker {
    display: none;
}

.site-navigation-mobile__toggle span[aria-hidden="true"] {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--c-gold, #c19a5b);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.site-navigation-mobile__panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: min(300px, 90vw);
    background: #0e121a;
    border: 1px solid var(--c-gold-border, rgba(193, 154, 91, 0.3));
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 1.5rem;
    z-index: 10001;
}

.primary-menu--mobile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu--mobile a {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f1f5f9;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 960px) {
    .site-navigation--desktop {
        display: none;
    }
    .site-navigation-mobile {
        display: block;
    }
}

.it-nav-style-solid .site-header {
    background-color: var(--c-bg, #080a0e) !important;
    box-shadow: 0 2px 14px rgba(0,0,0,0.3);
}
.it-nav-style-glass .site-header {
    background-color: rgba(14, 18, 26, 0.75) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid var(--c-gold-border, rgba(193, 154, 91, 0.25));
}
.it-nav-style-hidden .site-header {
    display: none !important;
}

/* Gallery Presentation */
.it-gallery-slider-wrap {
    position: relative;
    width: 100%;
}

.it-gallery-slider-wrap .it-gallery-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    outline: none;
}

.it-gallery-slider-wrap .it-gallery-viewport:focus-visible {
    box-shadow: 0 0 0 2px var(--c-gold, #c19a5b);
}

.it-gallery-track,
.it-gallery-grid.it-layout-slider,
.it-gallery-style-slider .it-gallery-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    flex-wrap: nowrap !important;
    gap: 1.5rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none; /* Hide default scrollbar */
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.it-gallery-track::-webkit-scrollbar,
.it-gallery-grid.it-layout-slider::-webkit-scrollbar,
.it-gallery-style-slider .it-gallery-grid::-webkit-scrollbar {
    display: none;
}

.it-gallery-track .it-gallery-item,
.it-gallery-grid.it-layout-slider .it-gallery-item,
.it-gallery-style-slider .it-gallery-item {
    flex: 0 0 100% !important;
    max-width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.it-gallery-track .it-gallery-item img,
.it-gallery-grid.it-layout-slider .it-gallery-item img,
.it-gallery-style-slider .it-gallery-item img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    min-height: 420px;
    object-fit: cover;
    display: block;
    aspect-ratio: 16/9;
}

@media (max-width: 768px) {
    .it-gallery-track .it-gallery-item img,
    .it-gallery-grid.it-layout-slider .it-gallery-item img,
    .it-gallery-style-slider .it-gallery-item img {
        min-height: 280px;
        aspect-ratio: 4/3;
    }
}

/* Slider Controls & Dots */
.it-gallery-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.it-gallery-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--c-bg-card, rgba(20, 24, 33, 0.85));
    border: 1px solid var(--c-gold-border, rgba(193, 154, 91, 0.4));
    color: var(--c-gold, #c19a5b);
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0;
}

.it-gallery-control:hover {
    background: var(--c-gold, #c19a5b);
    color: #0b0f19;
    border-color: var(--c-gold, #c19a5b);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(193, 154, 91, 0.35);
}

.it-gallery-control svg {
    display: block;
    stroke: currentColor;
}

.it-gallery-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.it-gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(120, 130, 150, 0.3);
    border: 1px solid transparent;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.it-gallery-dot:hover {
    background: var(--c-gold, #c19a5b);
    opacity: 0.8;
}

.it-gallery-dot.is-active {
    width: 28px;
    border-radius: 6px;
    background: var(--c-gold, #c19a5b);
    border-color: var(--c-gold, #c19a5b);
}
.it-gallery-style-editorial .it-gallery-grid {
    display: block !important;
    column-count: 2;
    column-gap: 2rem;
}
.it-gallery-style-editorial .it-gallery-item {
    break-inside: avoid;
    margin-bottom: 2rem;
}

/* Location Treatment */
.it-location-style-editorial .it-location-layout {
    flex-direction: column;
    align-items: stretch;
}
.it-location-style-editorial .it-location-text,
.it-location-style-minimal .it-location-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Floating CTA */
.it-floating-cta-disabled .it-floating-cta,
body.it-project-floating-cta-disabled .it-floating-cta {
    display: none !important;
}

.it-floating-cta {
    z-index: 99990;
}

@media (min-width: 768px) {
    .it-floating-cta--vertical,
    body.it-floating-cta-vertical .it-floating-cta {
        flex-direction: column !important;
        align-items: stretch !important;
        border-radius: 18px !important;
        min-width: 175px !important;
        gap: 8px !important;
        padding: 10px !important;
    }
    .it-floating-cta--vertical .it-mobile-sticky-action,
    body.it-floating-cta-vertical .it-floating-cta .it-mobile-sticky-action {
        width: 100% !important;
        justify-content: flex-start !important;
        border-radius: 12px !important;
    }
}

.it-floating-cta--round-icons,
body.it-floating-cta-round-icons .it-floating-cta {
    flex-direction: column !important;
    align-items: center !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    gap: 12px !important;
    bottom: 26px !important;
    right: 22px !important;
    left: auto !important;
    width: auto !important;
}

.it-floating-cta--round-icons .it-mobile-sticky-action,
body.it-floating-cta-round-icons .it-floating-cta .it-mobile-sticky-action {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12) !important;
}

.it-floating-cta--round-icons .it-mobile-sticky-action__copy,
body.it-floating-cta-round-icons .it-floating-cta .it-mobile-sticky-action__copy {
    display: none !important;
}

/* =========================================
   Universal Section Block Spacing Normalization
   (Compact, luxury proportions across all skins)
   ========================================= */
section[class*="it-"],
.it-price-list-section,
.it-projects-section,
.it-project-types,
.it-project-documents,
.it-premium-section,
.it-dynamic-section {
    padding-top: clamp(2.5rem, 5vw, 4rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.it-section-header {
    margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
}

.it-section-label {
    margin-bottom: 0.5rem;
}

.it-section-title {
    margin-bottom: 0.75rem;
}

.it-lead-text {
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

/* Ensure no consecutive massive gaps between nested wrappers */
main > section:first-of-type.it-hero {
    padding-top: clamp(4.5rem, 7vw, 6rem);
}

/* Residence Presentation */
.it-residence-style-visual .it-residence-tabs {
    display: none !important;
}
.it-residence-style-visual .it-residence-cards {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 3.5rem;
}
.it-residence-style-minimal .it-residence-tabs {
    border-bottom: none;
    margin-bottom: 1.5rem;
}
.it-residence-style-minimal .it-res-card {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Amenity Presentation */
.it-amenity-style-visual .it-amenities-list {
    display: none !important;
}
.it-amenity-style-visual .it-amenities-visual {
    flex: 1 1 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
}
.it-amenity-style-visual .it-amenity-img {
    flex: 1 1 calc(50% - 1rem);
    min-width: 300px;
    padding-top: 40%;
}
.it-amenity-style-minimal .it-amenities-visual {
    display: none !important;
}
.it-amenity-style-minimal .it-amenities-list {
    flex: 1 1 100%;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* =========================================
   Admin UI Fixes (when theme CSS is loaded in block editor)
   ========================================= */
.wp-admin {
    --c-text: #3c434a !important;
    --c-text-muted: #646970 !important;
    --c-bg: #f0f0f1 !important;
}

.wp-admin .postbox,
.wp-admin .postbox h1,
.wp-admin .postbox h2,
.wp-admin .postbox h3,
.wp-admin .postbox h4,
.wp-admin .postbox label,
.wp-admin .postbox p,
.wp-admin .postbox div,
.wp-admin .postbox span,
.wp-admin #poststuff,
.wp-admin #poststuff h1,
.wp-admin #poststuff h2,
.wp-admin #poststuff h3,
.wp-admin #poststuff label,
.wp-admin #poststuff p {
    color: #3c434a !important;
}

/* Builder project archive */
.it-archive-hero {
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
}
.it-archive-hero__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 2rem;
}
.it-archive-hero__meta {
    max-width: 720px;
}
.it-archive-hero__meta .it-section-label {
    margin-bottom: 0.75rem;
}
.it-archive-hero__meta .it-section-title {
    margin: 0 0 0.85rem;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    line-height: 1.1;
    font-weight: 700;
}
.it-archive-hero__meta .it-lead-text {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--c-text-muted, #555b68);
}
.it-archive-hero__counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    padding: 1rem 1.4rem;
    background: var(--c-bg-card, #11141c);
    border: 1px solid var(--c-gold-border, rgba(212, 175, 55, 0.25));
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}
.it-counter-num {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--c-gold, #c19a5b);
}
.it-counter-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
    color: var(--c-text-muted, #94a3b8);
}
.it-project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 1.5rem 0 2rem;
    padding: 1.25rem;
    background: var(--c-bg-card, #11141c);
    border: 1px solid var(--c-gold-border, rgba(212, 175, 55, 0.2));
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.it-project-filters label { min-width: 190px; flex: 1 1 180px; }
.it-project-filters input[type="search"],
.it-project-filters select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--c-gold-border, rgba(212, 175, 55, 0.25));
    border-radius: 6px;
    background: var(--c-bg-subtle, #0a0d14);
    color: var(--c-text, #f1f5f9);
    font-size: 0.92rem;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.it-project-filters input[type="search"]::placeholder {
    color: var(--c-text-muted, #64748b);
    opacity: 0.85;
}
.it-project-filters select option {
    background: var(--c-bg-card, #11141c);
    color: var(--c-text, #f1f5f9);
}
.it-project-filters input[type="search"]:focus,
.it-project-filters select:focus {
    outline: none;
    border-color: var(--c-gold, #c19a5b);
    box-shadow: 0 0 0 3px rgba(193, 154, 91, 0.25);
}
.it-project-archive__results {
    margin: 1rem 0 1.75rem;
}
.it-results-meta {
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--c-text-muted, #94a3b8);
    margin: 0;
}
.it-highlight-count {
    color: var(--c-gold, #c19a5b);
    font-weight: 700;
}
.it-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.it-project-card { overflow: hidden; }
.it-project-card__media { display: block; aspect-ratio: 3/2; overflow: hidden; }
.it-project-card__image { width: 100%; height: 100%; object-fit: cover; }
.it-project-card__placeholder { width: 100%; height: 100%; background: rgba(0, 0, 0, 0.06); }
.it-project-card__body { padding: 20px 0; }
.it-project-card__title { margin: 6px 0; }
.it-project-card__location { margin: 0 0 12px; }
.it-project-card__price { font-weight: 600; }
.it-project-grid--list { grid-template-columns: 1fr; }
.it-project-grid--list .it-project-card { display: grid; grid-template-columns: minmax(280px, 34%) 1fr; gap: 28px; border-bottom: 1px solid rgba(0, 0, 0, 0.12); padding-bottom: 28px; }
.it-project-grid--list .it-project-card__body { padding: 8px 0; }
.it-project-card__highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.it-project-card__highlights span { display: flex; flex-direction: column; gap: 4px; font-size: 0.9rem; }
.it-project-card__highlights strong { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.65; }
@media (max-width: 900px) {
    .it-archive-hero__header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .it-archive-hero__counter { align-self: flex-start; }
    .it-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .it-project-grid--list .it-project-card { grid-template-columns: 1fr; }
    .it-project-card__highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .it-project-grid { grid-template-columns: 1fr; }
    .it-project-filters label { min-width: 100%; }
    .it-project-card__highlights { grid-template-columns: 1fr; }
}


/* Builder homepage multi-project portfolio layouts */
.it-projects-list.it-layout-grid,
.it-projects-list.it-layout-featured,
.it-projects-list.it-layout-editorial,
.it-projects-list.it-layout-data {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.it-projects-list.it-layout-list { display: grid; grid-template-columns: 1fr; gap: 24px; }
.it-projects-list.it-layout-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.it-project-card--gallery .it-project-gallery-link { min-height: 280px; transition: transform .25s ease, filter .25s ease; }
.it-project-card--gallery .it-project-gallery-link:hover { filter: brightness(1.06); }
.it-project-card--gallery:nth-child(5n + 1) { grid-row: span 1; }
@media (max-width: 900px) {
    .it-projects-list.it-layout-grid, .it-projects-list.it-layout-featured, .it-projects-list.it-layout-editorial, .it-projects-list.it-layout-data, .it-projects-list.it-layout-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .it-projects-list.it-layout-grid, .it-projects-list.it-layout-featured, .it-projects-list.it-layout-editorial, .it-projects-list.it-layout-data, .it-projects-list.it-layout-gallery { grid-template-columns: 1fr; }
}

.it-proj-title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-family: var(--font-display, var(--font-serif, inherit));
    color: var(--c-text, inherit);
}
.it-proj-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}
.it-proj-title a:hover {
    color: var(--c-gold, #c19a5b);
}
.it-proj-location {
    color: var(--c-text-muted, #94a3b8);
    font-size: 0.88rem;
    margin: 0 0 0.5rem;
}
.it-proj-price {
    color: var(--c-gold, #c19a5b);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}


/* ==========================================================================
   2026 UI stabilization: shared homepage components across all design systems
   Keep layout geometry consistent; design-specific colors remain token-driven.
   ========================================================================== */
:root {
  --it-ui-content-width: 1240px;
  --it-ui-page-gutter: clamp(20px, 4vw, 48px);
}
.it-container {
  width: min(var(--it-ui-content-width), calc(100% - 2 * var(--it-ui-page-gutter)));
  margin-inline: auto;
}
.it-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(620px, 88vh, 900px);
  padding: clamp(120px, 16vh, 190px) 0 clamp(88px, 11vh, 140px);
  overflow: hidden;
  background: var(--c-bg, #0b0d12);
}
.it-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--c-bg, #0b0d12);
  background-image: linear-gradient(115deg, rgba(8,10,14,.88), rgba(8,10,14,.40) 58%, rgba(8,10,14,.72));
  background-position: center;
  background-size: cover;
}
.it-hero-bg[style*="background-image"] {
  background-blend-mode: normal;
}
.it-hero .it-container { position: relative; z-index: 1; }
.it-hero-content { width: min(100%, 760px); }
.it-hero-location:empty, .it-hero-subtitle:empty { display: none; }
.it-hero-title {
  max-width: 12ch;
  margin: 0 0 24px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: .98;
  overflow-wrap: anywhere;
}
.it-hero-subtitle { max-width: 58ch; line-height: 1.7; }
.it-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.it-hero-actions .it-btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.it-about, .it-posts { padding-block: clamp(64px, 8vw, 108px); }
.it-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
}
.it-about-text { min-width: 0; }
.it-about-text > p:not(.it-section-label) { line-height: 1.75; }
.it-about-visuals { position: relative; min-height: 420px; }
.it-about-img-main, .it-about-img-sec {
  background-color: var(--c-bg-card, #171a22);
  background-position: center;
  background-size: cover;
  border: 1px solid var(--c-gold-border, rgba(193,154,91,.25));
  box-shadow: 0 18px 48px rgba(0,0,0,.18);
}
.it-about-img-main { position: absolute; inset: 0 0 42px 48px; }
.it-about-img-sec { position: absolute; width: 42%; aspect-ratio: 1; left: 0; bottom: 0; }
.it-about-img-main[style*="url('')"], .it-about-img-sec[style*="url('')"],
.it-about-img-main[style*='url("")'], .it-about-img-sec[style*='url("")'] {
  display: none;
}
.it-about-visuals:has(.it-about-img-main[style*="url('')"]):has(.it-about-img-sec[style*="url('')"]) {
  display: none;
}
.it-about-badge { z-index: 2; }
.it-about-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(36px, 5vw, 64px);
}
.it-feature-card {
  min-width: 0;
  padding: 22px;
  background: var(--c-bg-card, #11141c);
  border: 1px solid var(--c-gold-border, rgba(193,154,91,.2));
  border-radius: 4px;
}
.it-feature-title { margin: 0 0 10px; line-height: 1.35; }
.it-feature-desc { margin: 0; color: var(--c-text-muted, #a8acb8); font-size: .88rem; line-height: 1.65; }
.it-posts-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.it-posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.it-post-card { min-width: 0; overflow: hidden; border: 1px solid var(--c-gold-border, rgba(193,154,91,.2)); border-radius: 5px; background: var(--c-bg-card, #11141c); }
.it-post-thumb {
  min-height: 220px;
  aspect-ratio: 16 / 9;
  background-color: #25211a;
  background-image: linear-gradient(135deg, rgba(193,154,91,.12), rgba(20,24,33,.2)), linear-gradient(45deg, #171a22, #443820);
  background-position: center;
  background-size: cover;
}
.it-post-thumb--empty { position: relative; }
.it-post-thumb--empty::after {
  content: "The Investors Tree";
  position: absolute;
  inset: auto 20px 18px;
  color: rgba(255,255,255,.72);
  font: 600 .7rem/1.4 Manrope, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.it-post-body { padding: 22px; }
.it-post-date { display: block; margin-bottom: 10px; color: var(--c-text-muted, #a8acb8); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.it-post-title { margin: 0; color: var(--c-text, #f4f1ea); font-size: clamp(1.15rem, 1.7vw, 1.55rem); line-height: 1.3; }
.it-post-title a { color: inherit; text-decoration: none; }
.it-post-title a:hover { color: var(--c-gold, #c19a5b); }
.it-btn, button.it-btn, a.it-btn { max-width: 100%; line-height: 1.35; text-align: center; }
.it-contact-form, .it-consultation-form {
  color: var(--c-text, #f4f1ea);
  min-width: 0;
}
.it-contact-form label, .it-consultation-form label {
  color: inherit;
}
.it-contact-form input:not([type="checkbox"]):not([type="radio"]), .it-contact-form select, .it-contact-form textarea,
.it-consultation-form input:not([type="checkbox"]):not([type="radio"]), .it-consultation-form select, .it-consultation-form textarea {
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  color: var(--c-text, #f4f1ea);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c-gold-border, rgba(193, 154, 91, 0.3));
  border-radius: 4px;
  font: inherit;
  box-sizing: border-box;
}
.it-contact-form input[type="checkbox"], .it-contact-form input[type="radio"],
.it-consultation-form input[type="checkbox"], .it-consultation-form input[type="radio"] {
  width: auto; min-height: 0;
}
.it-contact-form button, .it-consultation-form button { min-height: 44px; }
.site-footer, .it-footer, footer.wp-block-template-part { padding: 44px var(--it-ui-page-gutter); }
.site-footer .wp-block-navigation, .it-footer .wp-block-navigation { gap: 14px; }
@media (max-width: 900px) {
  .it-about-layout { grid-template-columns: minmax(0, 1fr) minmax(220px, .8fr); gap: 28px; }
  .it-about-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .it-posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .it-about-visuals { min-height: 340px; }
}
@media (max-width: 640px) {
  .it-hero { min-height: 650px; padding-block: 130px 88px; }
  .it-hero-title { font-size: clamp(2.45rem, 12vw, 4rem); }
  .it-about-layout { grid-template-columns: minmax(0, 1fr); }
  .it-about-visuals { min-height: 300px; }
  .it-about-features, .it-posts-grid { grid-template-columns: minmax(0, 1fr); }
  .it-posts-header { align-items: flex-start; flex-direction: column; }
  .it-post-thumb { min-height: 190px; }
}


/* Keep the designed About composition stable before and after media is uploaded. */
.it-about-img-main.it-image-placeholder,
.it-about-img-sec.it-image-placeholder {
  background-color: var(--c-bg-card, #171a22);
  background-image:
    linear-gradient(135deg, rgba(193,154,91,.09), transparent 48%),
    linear-gradient(315deg, rgba(255,255,255,.025), transparent 55%);
  border: 1px solid var(--c-gold-border, rgba(193,154,91,.28));
}
.it-about-img-main.it-image-placeholder::after,
.it-about-img-sec.it-image-placeholder::after {
  content: "Image";
  position: absolute;
  inset: auto 0 18px;
  color: var(--c-text-muted, #a8acb8);
  font: 500 .65rem/1.4 Manrope, sans-serif;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
  opacity: .72;
}
.it-about-img-main, .it-about-img-sec { overflow: hidden; }

/* Shared post-skin UI corrections for all five design systems. */
:root { --it-ui-max-width: 1240px; --it-ui-gutter: clamp(20px, 4vw, 52px); }
html, body { max-width: 100%; overflow-x: clip; }
body { line-height: 1.65; }
img, video, iframe { max-width: 100%; }
.it-container { width: min(var(--it-ui-max-width), calc(100% - 2 * var(--it-ui-gutter))); max-width: var(--it-ui-max-width); margin-inline: auto; padding-inline: 0; }
header.wp-block-template-part, .wp-site-blocks > header, .it-site-header { position: relative; z-index: 100; width: 100%; }
.wp-block-site-title { margin: 0; font-size: clamp(1rem, 1.35vw, 1.35rem); line-height: 1.2; overflow-wrap: anywhere; }
.wp-block-site-title a { text-decoration: none; }
.wp-block-site-logo img { display: block; max-height: 64px; width: auto; object-fit: contain; }
.wp-block-navigation { align-items: center; gap: clamp(12px, 1.7vw, 26px); }
.wp-block-navigation .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: 42px; line-height: 1.4; }
.wp-block-navigation__responsive-container.is-menu-open { padding: clamp(24px, 5vw, 48px); z-index: 100000; }
.it-hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(580px, 78vh, 860px); padding: clamp(104px, 12vh, 152px) 0 clamp(72px, 9vh, 112px); overflow: hidden; }
.it-hero-bg { position: absolute; inset: 0; z-index: -1 !important; background-color: var(--c-bg, #10141d); background-image: radial-gradient(ellipse at 78% 34%, color-mix(in srgb, var(--c-gold, #c19a5b) 19%, transparent), transparent 44%), linear-gradient(125deg, var(--c-bg, #10141d), var(--c-bg-card, #191d27)); background-position: center; background-size: cover; }
.it-hero .it-container { position: relative; z-index: 2; }
.it-hero-content { width: min(100%, 760px); min-width: 0; }
.it-hero-title { max-width: 13ch; margin: 0 0 22px; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1.02; overflow-wrap: anywhere; }
.it-hero-subtitle { max-width: 60ch; line-height: 1.75; }
.it-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.it-hero-actions .it-btn { min-height: 44px; }
.it-about, .it-posts { padding-block: clamp(64px, 7.5vw, 104px); }
.it-about-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); align-items: center; gap: clamp(30px, 5vw, 76px); }
.it-about-text, .it-about-visuals { min-width: 0; }
.it-about-visuals { position: relative; min-height: clamp(300px, 34vw, 460px); }
.it-about-img-main, .it-about-img-sec { position: absolute; display: block; background-color: var(--c-bg-card, #171a22); background-image: linear-gradient(135deg, color-mix(in srgb, var(--c-gold, #c19a5b) 12%, transparent), transparent 56%), linear-gradient(315deg, var(--c-bg-subtle, #0d1017), var(--c-bg-card, #171a22)); background-position: center; background-size: cover; border: 1px solid var(--c-gold-border, rgba(193,154,91,.28)); box-shadow: 0 18px 48px rgba(0,0,0,.18); overflow: hidden; }
.it-about-img-main { inset: 0 0 36px 42px; width: auto; height: auto; }
.it-about-img-sec { width: 42%; aspect-ratio: 1; height: auto; left: 0; bottom: 0; }
.it-about-img-main.it-image-placeholder::after, .it-about-img-sec.it-image-placeholder::after { content: "Image"; position: absolute; inset: auto 12px 14px; color: var(--c-text-muted, #a8acb8); font-size: .65rem; letter-spacing: .18em; text-align: center; text-transform: uppercase; opacity: .75; }
.it-about-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(34px, 4.5vw, 60px); }
.it-feature-card { min-width: 0; padding: clamp(16px, 1.8vw, 24px); border: 1px solid var(--c-gold-border, rgba(193,154,91,.2)); background: var(--c-bg-card, #11141c); }
.it-feature-title { line-height: 1.35; overflow-wrap: anywhere; }
.it-feature-desc { line-height: 1.65; color: var(--c-text-muted, #a8acb8); }
.it-posts-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.it-posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.it-post-card { min-width: 0; height: 100%; overflow: hidden; background: var(--c-bg-card, #11141c); border: 1px solid var(--c-gold-border, rgba(193,154,91,.2)); }
.it-post-thumb { position: relative; min-height: 0; aspect-ratio: 16 / 9; background-color: var(--c-bg-subtle, #171a22); background-image: linear-gradient(135deg, color-mix(in srgb, var(--c-gold, #c19a5b) 24%, transparent), transparent 62%), linear-gradient(45deg, var(--c-bg-card, #171a22), var(--c-bg-dark, #443820)); background-position: center; background-size: cover; }
.it-post-thumb--empty::after { content: "The Investors Tree"; position: absolute; inset: auto 18px 16px; color: var(--c-text-muted, #a8acb8); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; }
.it-post-body { padding: clamp(18px, 2vw, 26px); color: var(--c-text, #f4f1ea); background: var(--c-bg-card, #11141c); }
.it-post-date { display: block; margin-bottom: 10px; color: var(--c-text-muted, #a8acb8); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.it-post-title { margin: 0; color: var(--c-text, #f4f1ea); font-size: clamp(1.15rem, 1.7vw, 1.55rem); line-height: 1.3; overflow-wrap: anywhere; }
.it-post-title a { color: inherit; text-decoration: none; }
.it-contact-form, .it-consultation-form, .it-consultation { min-width: 0; color: var(--c-text, #f4f1ea); }
.it-contact-form label, .it-consultation-form label, .it-consultation label { display: block; color: inherit; line-height: 1.5; margin-bottom: 6px; font-size: 0.88rem; }
.it-contact-form input:not([type="checkbox"]):not([type="radio"]), .it-contact-form select, .it-contact-form textarea, .it-consultation-form input:not([type="checkbox"]):not([type="radio"]), .it-consultation-form select, .it-consultation-form textarea { width: 100%; max-width: 100%; min-height: 46px; padding: 12px 14px; color: var(--c-text, #f4f1ea); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--c-gold-border, rgba(193, 154, 91, 0.3)); border-radius: 4px; font: inherit; box-sizing: border-box; transition: border-color 0.25s, box-shadow 0.25s; }
.it-contact-form input:not([type="checkbox"]):not([type="radio"]):focus, .it-contact-form select:focus, .it-contact-form textarea:focus, .it-consultation-form input:not([type="checkbox"]):not([type="radio"]):focus, .it-consultation-form select:focus, .it-consultation-form textarea:focus { outline: none; border-color: var(--c-gold, #c19a5b); box-shadow: 0 0 0 2px rgba(193, 154, 91, 0.25); }
.it-contact-form select option, .it-consultation-form select option { background: #171a22; color: #f4f1ea; }
.it-contact-form input[type="checkbox"], .it-contact-form input[type="radio"], .it-consultation-form input[type="checkbox"], .it-consultation-form input[type="radio"] { width: auto; min-height: 0; accent-color: var(--c-gold, #c19a5b); }
.it-contact-form button, .it-consultation-form button, .it-consultation button { min-height: 46px; max-width: 100%; cursor: pointer; }
/* Premium Site Footer */
.site-footer {
    background-color: var(--c-bg-dark, #07090e);
    color: var(--c-text-muted, #94a3b8);
    border-top: 1px solid var(--c-gold-border, rgba(193, 154, 91, 0.2));
    padding: clamp(48px, 6vw, 80px) 0 clamp(24px, 3vw, 36px);
}

.site-footer__inner {
    width: min(var(--it-ui-max-width, 1240px), calc(100% - 2 * var(--it-ui-gutter, 24px)));
    margin: 0 auto;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1fr;
    gap: clamp(24px, 4vw, 48px);
    margin-bottom: clamp(36px, 5vw, 60px);
}

.site-footer__brand h2 {
    font-family: var(--font-display, var(--font-serif, 'Cinzel', Georgia, serif));
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
    letter-spacing: 0.06em;
}

.site-footer__brand-subtitle {
    color: var(--c-gold, #c19a5b);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0 0 14px;
}

.site-footer__brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--c-text-muted, #94a3b8);
    max-width: 38ch;
}

.site-footer__column h3 {
    font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 20px;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu a {
    color: var(--c-text-muted, #94a3b8);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.25s ease;
}

.footer-menu a:hover {
    color: var(--c-gold, #c19a5b);
}

.site-footer__connect a {
    display: block;
    color: var(--c-text-muted, #94a3b8);
    text-decoration: none;
    font-size: 0.88rem;
    margin-bottom: 8px;
    transition: color 0.25s ease;
}

.site-footer__connect a:hover {
    color: var(--c-gold, #c19a5b);
}

.site-footer__connect address {
    font-style: normal;
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--c-text-muted, #94a3b8);
    margin-top: 12px;
}

.site-footer__social-links {
    display: flex;
    gap: 12px;
}

.site-footer__social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 4px;
    border: 1px solid var(--c-gold-border, rgba(193, 154, 91, 0.25));
    background: rgba(255, 255, 255, 0.04);
    color: var(--c-gold, #c19a5b);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.site-footer__social-links a:hover {
    background: var(--c-gold, #c19a5b);
    color: #07090e;
    transform: translateY(-2px);
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    color: var(--c-text-dim, #64748b);
}

.site-footer__bottom a {
    color: var(--c-text-muted, #94a3b8);
    text-decoration: none;
    transition: color 0.25s ease;
}

.site-footer__bottom a:hover {
    color: var(--c-gold, #c19a5b);
}

@media (max-width: 900px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
    }
    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

footer.wp-block-template-part, .site-footer, .it-footer { padding-block: clamp(36px, 5vw, 64px); }
footer.wp-block-template-part .wp-block-group { min-width: 0; }
footer.wp-block-template-part, .wp-site-blocks > footer { color: var(--c-text, inherit); font-size: .9rem; line-height: 1.7; }
footer.wp-block-template-part a, .wp-site-blocks > footer a { color: inherit; text-underline-offset: .22em; }
.it-btn, a.it-btn, button.it-btn { max-width: 100%; line-height: 1.4; text-align: center; }
@media (max-width: 960px) { .it-about-layout { grid-template-columns: minmax(0, 1fr) minmax(240px, .85fr); gap: 28px; } .it-about-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } .it-posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .it-about-visuals { min-height: 330px; } }
/* Single Post, Comments & Sidebar Styling */
.post-shell {
    width: min(var(--it-ui-max-width, 1240px), calc(100% - 2 * var(--it-ui-gutter, 24px)));
    margin: clamp(40px, 6vw, 80px) auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.post-content {
    min-width: 0;
}

.post-content__header {
    margin-bottom: 2rem;
}

.post-content__title {
    font-family: var(--font-display, var(--font-serif, 'Cinzel', Georgia, serif));
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin: 0.5rem 0 1rem;
    color: var(--c-text, #ffffff);
}

.post-content__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-text-muted, #94a3b8);
}

.post-content__featured {
    margin: 0 0 2.5rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--c-gold-border, rgba(193, 154, 91, 0.25));
}

.post-content__featured img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content__body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--c-text, #f1f5f9);
    margin-bottom: 3rem;
}

.post-content__body p {
    margin-bottom: 1.5rem;
}

.post-content__body a {
    color: var(--c-gold, #c19a5b);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-content__share {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.post-content__share a {
    color: var(--c-gold, #c19a5b);
    text-decoration: none;
    font-weight: 600;
}

.post-content__share a:hover {
    color: #fff;
}

.post-content__nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 3rem;
    font-size: 0.9rem;
}

.post-content__nav a {
    color: var(--c-text-muted, #94a3b8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-content__nav a:hover {
    color: var(--c-gold, #c19a5b);
}

/* Comments Section */
.post-comments {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.post-comments .comments-title,
.post-comments .comment-reply-title {
    font-family: var(--font-display, var(--font-serif, 'Cinzel', Georgia, serif));
    font-size: 1.45rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.post-comments .comment-list {
    list-style: none;
    margin: 0 0 2.5rem;
    padding: 0;
}

.post-comments .comment {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
}

.post-comments .comment-meta {
    font-size: 0.8rem;
    color: var(--c-text-muted, #94a3b8);
    margin-bottom: 0.75rem;
}

.post-comments .comment-meta a {
    color: inherit;
    text-decoration: none;
}

.comment-respond form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.comment-respond label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: #f1f5f9;
}

.comment-respond input:not([type="checkbox"]):not([type="submit"]),
.comment-respond textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--c-gold-border, rgba(193, 154, 91, 0.28));
    border-radius: 4px;
    font: inherit;
    box-sizing: border-box;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.comment-respond input:focus,
.comment-respond textarea:focus {
    outline: none;
    border-color: var(--c-gold, #c19a5b);
    box-shadow: 0 0 0 2px rgba(193, 154, 91, 0.25);
}

.comment-respond input[type="submit"] {
    align-self: flex-start;
    padding: 12px 28px;
    background: var(--c-gold, #c19a5b);
    color: #07090e;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: 1px solid var(--c-gold, #c19a5b);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.comment-respond input[type="submit"]:hover {
    background: #e8cf96;
    border-color: #e8cf96;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(193, 154, 91, 0.35);
}

/* Sidebar Widgets */
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.post-sidebar__widget {
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--c-gold-border, rgba(193, 154, 91, 0.2));
    border-radius: 6px;
}

.post-sidebar__widget h2 {
    font-family: var(--font-display, var(--font-serif, 'Cinzel', Georgia, serif));
    font-size: 1.15rem;
    color: #ffffff;
    margin: 0 0 1.25rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.post-sidebar__widget .search-form {
    display: flex;
    gap: 8px;
}

.post-sidebar__widget .search-form input[type="search"] {
    flex: 1;
    min-height: 42px;
    padding: 10px 12px;
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--c-gold-border, rgba(193, 154, 91, 0.25));
    border-radius: 4px;
    font: inherit;
    box-sizing: border-box;
}

.post-sidebar__widget .search-form input[type="submit"],
.post-sidebar__widget .search-form button {
    padding: 10px 18px;
    background: var(--c-gold, #c19a5b);
    color: #07090e;
    border: 1px solid var(--c-gold, #c19a5b);
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 960px) {
    .post-shell {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ==========================================================================
   Blog Archive & Index Layout
   ========================================================================== */
.it-blog-archive .it-archive-hero {
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
}
.it-blog-grid {
    margin-top: 1.5rem;
    align-items: stretch;
}
.it-blog-grid .it-post-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    background: var(--c-bg-card, #11141c);
    border: 1px solid var(--c-gold-border, rgba(212, 175, 55, 0.2));
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.it-blog-grid .it-post-card:hover {
    transform: translateY(-4px);
    border-color: var(--c-gold-border-hover, var(--c-gold, #c19a5b));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.it-post-thumb-link {
    display: block;
    overflow: hidden;
}
.it-blog-grid .it-post-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--c-bg-subtle, #0a0d14);
    transition: transform 0.5s ease;
}
.it-blog-grid .it-post-card:hover .it-post-thumb {
    transform: scale(1.04);
}
.it-post-thumb--fallback {
    background-image: linear-gradient(135deg, rgba(193, 154, 91, 0.2), rgba(15, 23, 42, 0.7)),
                      linear-gradient(45deg, #11141c, #231c16);
}
.it-blog-grid .it-post-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.6rem;
}
.it-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-text-muted, #94a3b8);
    margin-bottom: 0.75rem;
}
.it-post-category {
    color: var(--c-gold, #c19a5b);
    font-weight: 600;
}
.it-post-sep {
    opacity: 0.5;
}
.it-blog-grid .it-post-title {
    font-family: var(--font-display, var(--font-serif, Georgia, serif));
    font-size: 1.35rem;
    line-height: 1.3;
    margin: 0 0 0.85rem;
    color: var(--c-text, #f1f5f9);
}
.it-blog-grid .it-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.it-blog-grid .it-post-title a:hover {
    color: var(--c-gold, #c19a5b);
}
.it-post-excerpt {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--c-text-muted, #94a3b8);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.it-post-excerpt p {
    margin: 0;
}
.it-post-readmore {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-gold, #c19a5b);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease, color 0.2s ease;
}
.it-post-readmore:hover {
    gap: 10px;
    color: var(--c-text, #ffffff);
}
.it-pagination-wrapper {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    display: flex;
    justify-content: center;
}
.it-pagination-wrapper .pagination {
    display: flex;
    gap: 8px;
    align-items: center;
}
.it-pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 6px;
    background: var(--c-bg-card, #11141c);
    border: 1px solid var(--c-gold-border, rgba(212, 175, 55, 0.25));
    color: var(--c-text, #f1f5f9);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.it-pagination-wrapper .page-numbers:hover,
.it-pagination-wrapper .page-numbers.current {
    background: var(--c-gold, #c19a5b);
    color: #07090e;
    border-color: var(--c-gold, #c19a5b);
}
.it-empty-state {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--c-bg-card, #11141c);
    border: 1px solid var(--c-gold-border, rgba(212, 175, 55, 0.2));
    border-radius: 8px;
    color: var(--c-text-muted, #94a3b8);
}

/* ==========================================================================
   Luxury Lead Modal & Form Styling
   ========================================================================== */
html.it-lead-modal-open, body.it-lead-modal-open {
    overflow: hidden !important;
}

.it-lead-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 20px;
}

.it-lead-modal[hidden] {
    display: none !important;
}

.it-lead-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 14, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.it-lead-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(660px, 100%);
    max-height: min(92vh, 880px);
    overflow: auto;
    padding: clamp(28px, 4vw, 44px);
    background: #0e121a;
    color: #f1f5f9;
    border: 1px solid rgba(193, 154, 91, 0.35);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75);
    border-radius: 12px;
}

.it-lead-modal__close {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #f1f5f9;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.it-lead-modal__close:hover {
    background: rgba(193, 154, 91, 0.25);
    color: var(--c-gold, #c19a5b);
    border-color: rgba(193, 154, 91, 0.5);
}

.it-lead-modal__header {
    padding-right: 42px;
    margin-bottom: 20px;
}

.it-lead-modal__header .it-eyebrow {
    margin: 0 0 6px;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-gold, #c19a5b);
    font-weight: 600;
}

.it-lead-modal__header h2 {
    margin: 0 0 8px;
    font-family: var(--font-display, var(--font-serif, 'Cinzel', Georgia, serif));
    font-size: clamp(24px, 3.2vw, 32px);
    line-height: 1.2;
    color: #ffffff;
    letter-spacing: 0.03em;
}

.it-lead-modal__header p:last-child {
    margin: 0;
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.it-lead-modal__context {
    margin: 0 0 20px;
    padding: 11px 14px;
    border: 1px solid rgba(193, 154, 91, 0.25);
    border-radius: 6px;
    background: rgba(193, 154, 91, 0.08);
    color: #e2cfb2;
    font-size: 13px;
}

.it-lead-modal .it-native-lead-form__progress {
    margin: 0 0 22px;
}

.it-lead-modal .it-native-lead-form__progress-label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.it-lead-modal .it-native-lead-form__progress-track {
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.it-lead-modal .it-native-lead-form__progress-track span {
    display: block;
    width: 50%;
    height: 100%;
    background: var(--c-gold, #c19a5b);
    transition: width 0.25s ease;
}

.it-lead-modal .it-native-lead-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.84rem;
    color: var(--c-text, #f1f5f9);
    letter-spacing: 0.02em;
}

.it-lead-modal .it-native-lead-form input:not([type="checkbox"]):not([type="radio"]),
.it-lead-modal .it-native-lead-form select,
.it-lead-modal .it-native-lead-form textarea {
    width: 100%;
    max-width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    color: var(--c-text, #f1f5f9);
    background: var(--c-bg-card, rgba(255, 255, 255, 0.06));
    border: 1px solid var(--c-gold-border, rgba(193, 154, 91, 0.28));
    border-radius: 4px;
    font: inherit;
    box-sizing: border-box;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.it-lead-modal .it-native-lead-form input:focus,
.it-lead-modal .it-native-lead-form select:focus,
.it-lead-modal .it-native-lead-form textarea:focus {
    outline: none;
    border-color: var(--c-gold, #c19a5b);
    box-shadow: 0 0 0 2px rgba(193, 154, 91, 0.25);
}

.it-lead-modal .it-native-lead-form select option {
    background: var(--c-bg-card, #0e121a);
    color: var(--c-text, #f1f5f9);
}

.it-lead-modal .it-native-lead-form__grid,
.it-native-lead-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
    margin-bottom: 20px;
}

.it-lead-modal .it-native-lead-form__field,
.it-native-lead-form__field {
    margin: 0;
}

.it-lead-modal .it-native-lead-form__field--full,
.it-native-lead-form__field--full {
    grid-column: 1 / -1;
}

@media (max-width: 600px) {
    .it-lead-modal .it-native-lead-form__grid,
    .it-native-lead-form__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

.it-lead-modal .it-native-lead-form__step-controls {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.it-lead-modal .it-native-lead-form__step-controls button,
.it-lead-modal .it-native-lead-form button[type="submit"] {
    min-height: 46px;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
}

.it-lead-modal .it-native-lead-form__step-controls [data-it-native-step-next],
.it-lead-modal .it-native-lead-form button[type="submit"] {
    background: var(--c-gold, #c19a5b);
    color: #07090e;
    border: 1px solid var(--c-gold, #c19a5b);
    box-shadow: 0 4px 14px rgba(193, 154, 91, 0.28);
    flex: 1;
}

.it-lead-modal .it-native-lead-form__step-controls [data-it-native-step-next]:hover,
.it-lead-modal .it-native-lead-form button[type="submit"]:hover {
    background: #e8cf96;
    border-color: #e8cf96;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(193, 154, 91, 0.38);
}

.it-lead-modal .it-native-lead-form__step-controls [hidden],
.it-lead-modal .it-native-lead-form button[type="submit"][hidden] {
    display: none !important;
}

.it-lead-modal .it-native-lead-form__success {
    padding: 14px 18px;
    margin: 0 0 16px;
    border: 1px solid rgba(193, 154, 91, 0.4);
    border-radius: 6px;
    background: rgba(193, 154, 91, 0.12);
    color: #f1f5f9;
}

