/* ===========================
   KOMUNAH SAN CRISANTO
   Emotional Journey Landing
   =========================== */

/* --- Design Tokens --- */
:root {
    --primary: #ff647d;
    --primary-dark: #e84d66;
    --secondary: #efa21b;
    --secondary-light: rgba(239, 162, 27, 0.15);
    --tertiary: #6fb1c8;
    --bg-dark: #000624;
    --bg-darker: #000418;
    --bg-light: #f8f6f2;
    --chukum: #f0ede6;
    --white: #ffffff;
    --text-dark: #0c1d18;
    --text-muted: #6b7280;
    --coral: #ff647d;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Manrope', sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* --- Utility --- */
.ksc-section {
    padding: 6rem 1.5rem;
    position: relative;
}

.ksc-section-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Reveal Animation --- */
.ksc-reveal {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ksc-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

.delay-4 {
    transition-delay: 0.6s;
}

.text-premium-shadow {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8),
        0 4px 12px rgba(0, 0, 0, 0.4);
}

.text-backdrop-glow {
    position: relative;
    z-index: 1;
}

.text-backdrop-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 125%;
    height: 160%;
    background: radial-gradient(ellipse at center, rgba(0, 6, 36, 0.7) 0%, rgba(0, 6, 36, 0) 75%);
    z-index: -1;
    filter: blur(25px);
}

/* ===========================
   NAVIGATION
   =========================== */
.ksc-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 1.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ksc-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 2rem;
    border-radius: 100px;
    background: rgba(0, 6, 36, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s;
}

.ksc-nav.scrolled .ksc-nav-inner {
    background: rgba(0, 6, 36, 0.92);
    border: 1px solid rgba(255, 100, 125, 0.15);
    box-shadow: 0 20px 40px -15px rgba(0, 6, 36, 0.5);
    padding: 0.6rem 2rem;
}

.ksc-logo {
    display: flex;
    align-items: center;
}

.ksc-logo-img {
    height: 32px;
    width: auto;
    transition: all 0.4s;
}

.ksc-nav.scrolled .ksc-logo-img {
    height: 28px;
}

.ksc-nav-links {
    display: none;
    list-style: none;
    gap: 2.5rem;
}

.ksc-nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s;
}

.ksc-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.ksc-nav-links a:hover {
    color: var(--white);
}

.ksc-nav-links a:hover::after {
    width: 100%;
}

.ksc-nav-cta {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(255, 100, 125, 0.15);
    backdrop-filter: blur(8px);
    transition: all 0.3s;
}

.ksc-nav-cta:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.ksc-mobile-toggle {
    color: var(--white);
    font-size: 1.75rem;
    transition: color 0.3s;
}

/* Mobile Menu */
.ksc-mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 6, 36, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    transition: opacity 0.4s;
}

.ksc-mobile-menu.open {
    display: flex;
    opacity: 1;
}

.ksc-mobile-menu a {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--white);
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.ksc-mobile-menu a:hover {
    color: var(--primary);
}

.ksc-mobile-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--white);
    font-size: 2rem;
}

/* ===========================
   HERO (Cinematic)
   =========================== */
.ksc-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ksc-hero-bg {
    position: absolute;
    inset: 0;
}

.ksc-hero-bg img,
.ksc-hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 25s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

.ksc-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 6, 36, 0.3) 0%, rgba(0, 6, 36, 0.5) 50%, rgba(0, 6, 36, 0.85) 100%),
        linear-gradient(to bottom, rgba(0, 6, 36, 0.4) 0%, transparent 40%, rgba(0, 6, 36, 0.9) 100%);
    z-index: 1;
}

.ksc-hero-texture {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.5'/%3E%3C/svg%3E");
}

.ksc-hero-content {
    position: relative;
    z-index: 3;
    padding: 0 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    animation: heroFadeIn 1.5s ease-out forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ksc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.ksc-hero-badge .material-symbols-outlined {
    font-size: 0.9rem;
    color: var(--primary);
}

.ksc-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 6.5vw, 4.8rem); /* Slightly smaller max (was 6.2rem) */
    font-weight: 400;
    color: var(--white);
    line-height: 1.1; /* Tighter line-height for better focus */
    margin-bottom: 1.5rem; /* Reduced margin (was 2rem) */
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.01em;
}

.ksc-hero h1 .italic {
    font-style: italic;
    color: var(--primary);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.ksc-hero-sub {
    font-size: clamp(0.95rem, 1.4vw, 1.1rem); /* More discreet (was 1/1.8/1.25) */
    color: rgba(255, 255, 255, 0.8); /* Slightly more transparent white (was 0.95) */
    font-weight: 400; /* Lighter weight for better contrast with H1 */
    line-height: 1.8; /* More air between lines */
    max-width: 600px; /* More compact (was 650px) */
    margin: 0 auto 2.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.02em;
}

.ksc-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: var(--primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 100px;
    transition: all 0.4s;
    box-shadow: 0 10px 30px -8px rgba(255, 100, 125, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px -8px rgba(255, 100, 125, 0.5);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 100px;
    backdrop-filter: blur(8px);
    transition: all 0.4s;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: var(--bg-dark);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 100px;
    transition: all 0.4s;
    box-shadow: 0 10px 25px -8px rgba(0, 6, 36, 0.4);
}

.btn-dark:hover {
    background: var(--primary);
    box-shadow: 0 15px 30px -8px rgba(255, 100, 125, 0.3);
}

/* Hero scroll indicator */
.ksc-hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    animation: scrollBounce 2s ease-in-out infinite;
}

.ksc-hero-scroll span {
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 600;
}

.ksc-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

/* ===========================
   SECTION COMMON ELEMENTS
   =========================== */
.ksc-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ksc-label-line {
    width: 2rem;
    height: 2px;
    background: var(--primary);
}

.ksc-label span {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--primary);
}

.ksc-heading {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.12;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.ksc-heading .accent {
    color: var(--primary);
    font-style: italic;
}

/* ===========================
   CONCEPT SECTION
   =========================== */
.ksc-concept {
    background: var(--bg-light);
    overflow: hidden;
}

.ksc-concept-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.ksc-concept-text p {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.ksc-concept-text p strong {
    color: var(--text-dark);
    font-weight: 600;
}

.ksc-concept-visual {
    position: relative;
}

.ksc-concept-visual img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: transform 1s;
}

.ksc-concept-visual:hover img {
    transform: scale(1.03);
}

.ksc-float-badge {
    position: absolute;
    bottom: -1rem;
    right: -0.5rem;
    background: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.15);
    max-width: 220px;
    border-left: 3px solid var(--secondary);
}

.ksc-float-badge h4 {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.ksc-float-badge p {
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 0 !important;
    line-height: 1.4 !important;
}

/* ===========================
   LIFESTYLE GALLERY (Horizontal Scroll)
   =========================== */
.ksc-lifestyle {
    background: var(--bg-dark);
    padding: 5rem 0;
    overflow: hidden;
}

.ksc-lifestyle-header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ksc-lifestyle-header .ksc-label span {
    color: var(--secondary);
}

.ksc-lifestyle-header .ksc-label-line {
    background: var(--secondary);
}

.ksc-lifestyle-header .ksc-heading {
    color: var(--white);
}

.ksc-lifestyle-header .ksc-heading .accent {
    color: var(--primary);
}

.ksc-lifestyle-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    max-width: 500px;
    line-height: 1.7;
    border-left: 2px solid var(--primary);
    padding-left: 1.5rem;
}

.ksc-lifestyle-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0 1.5rem 2rem;
    scroll-snap-type: x mandatory;
}

.ksc-lifestyle-card {
    position: relative;
    min-width: 85vw;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 0.75rem;
    cursor: pointer;
    scroll-snap-align: center;
    flex-shrink: 0;
}

.ksc-lifestyle-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ksc-lifestyle-card:hover img {
    transform: scale(1.06);
}

.ksc-lifestyle-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 6, 36, 0.8) 0%, rgba(0, 6, 36, 0.2) 40%, transparent 100%);
    transition: background 0.5s;
}

.ksc-lifestyle-card:hover .ksc-lifestyle-card-overlay {
    background: linear-gradient(to top, rgba(0, 6, 36, 0.9) 0%, rgba(0, 6, 36, 0.3) 50%, transparent 100%);
}

.ksc-lifestyle-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 2;
    transform: translateY(0.5rem);
    transition: transform 0.5s;
}

.ksc-lifestyle-card:hover .ksc-lifestyle-card-content {
    transform: translateY(0);
}

.ksc-lifestyle-card-content .ksc-line {
    width: 3rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s 0.1s;
}

.ksc-lifestyle-card:hover .ksc-lifestyle-card-content .ksc-line {
    transform: scaleX(1);
}

.ksc-lifestyle-card-content h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--white);
    font-style: italic;
    margin-bottom: 0.75rem;
}

.ksc-lifestyle-card-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(0.5rem);
    transition: all 0.5s 0.1s;
}

.ksc-lifestyle-card:hover .ksc-lifestyle-card-content p {
    opacity: 1;
    transform: translateY(0);
}

.ksc-lifestyle-hint {
    text-align: center;
    padding: 1.5rem 1.5rem 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.ksc-lifestyle-hint span:first-child,
.ksc-lifestyle-hint span:last-child {
    width: 2rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

/* ===========================
   BEACH CLUB
   =========================== */
.ksc-beach {
    background: var(--white);
    overflow: hidden;
}

.ksc-beach-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.ksc-beach-quote {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--primary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary);
}

.ksc-beach-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.ksc-beach-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.ksc-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ksc-live-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.ksc-beach-img {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
}

.ksc-beach-img img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform 1.2s;
}

.ksc-beach-img:hover img {
    transform: scale(1.04);
}

/* ===========================
   PARALLAX QUOTE
   =========================== */
.ksc-parallax-quote {
    position: relative;
    height: 50vh;
    min-height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ksc-parallax-quote img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 2s;
}

.ksc-parallax-quote:hover img {
    transform: scale(1.05);
}

.ksc-parallax-quote-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 6, 36, 0.55);
    z-index: 1;
    transition: background 0.7s;
}

.ksc-parallax-quote:hover .ksc-parallax-quote-overlay {
    background: rgba(0, 6, 36, 0.4);
}

.ksc-parallax-quote blockquote {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 700px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.3rem, 3vw, 2.25rem);
    color: var(--white);
    line-height: 1.5;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ksc-parallax-quote blockquote .accent-line {
    display: block;
    width: 3rem;
    height: 2px;
    background: var(--primary);
    margin: 0 auto 1.5rem;
}

/* ===========================
   MASTER PLAN
   =========================== */
.ksc-masterplan {
    background: var(--bg-dark);
    color: var(--white);
}

.ksc-masterplan .ksc-label span {
    color: var(--secondary);
}

.ksc-masterplan .ksc-label-line {
    background: var(--secondary);
}

.ksc-masterplan .ksc-heading {
    color: var(--white);
}

.ksc-masterplan .ksc-heading .accent {
    color: var(--secondary);
}

.ksc-masterplan-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    line-height: 1.7;
    max-width: 650px;
    margin-bottom: 3rem;
}

.ksc-lot-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.ksc-lot-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    aspect-ratio: 4/5;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ksc-lot-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ksc-lot-card:hover img {
    transform: scale(1.08);
}

.ksc-lot-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 6, 36, 0.9) 0%, rgba(0, 6, 36, 0.2) 50%, transparent 100%);
    z-index: 1;
}

.ksc-lot-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 2;
}

.ksc-lot-tag {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
}

.ksc-lot-tag.residencial {
    background: var(--primary);
    border-color: var(--primary);
}

.ksc-lot-tag.vacacional {
    background: var(--tertiary);
    border-color: var(--tertiary);
}

.ksc-lot-tag.inversion {
    background: var(--secondary);
    border-color: var(--secondary);
}

.ksc-lot-tag.premium {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
}

.ksc-lot-card h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.ksc-lot-card-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
    margin-bottom: 0.75rem;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s;
}

.ksc-lot-card:hover .ksc-lot-card-line {
    transform: scaleX(1);
}

.ksc-lot-card-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(0.75rem);
    transition: all 0.5s 0.1s;
}

.ksc-lot-card:hover .ksc-lot-card-desc {
    opacity: 1;
    transform: translateY(0);
}

.ksc-lot-details {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    letter-spacing: 0.05em;
    opacity: 0;
    transition: opacity 0.5s 0.2s;
}

.ksc-lot-card:hover .ksc-lot-details {
    opacity: 1;
}

/* ===========================
   CERTEZA (Trust Section)
   =========================== */
.ksc-certeza {
    background: var(--chukum);
    position: relative;
}

.ksc-certeza-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.ksc-certeza-header .ksc-label {
    justify-content: center;
}

.ksc-certeza-header .ksc-label span {
    color: var(--secondary);
}

.ksc-certeza-header .ksc-label-line {
    background: var(--secondary);
}

.ksc-certeza-header p {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.7;
}

.ksc-certeza-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.ksc-certeza-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s, box-shadow 0.4s;
}

.ksc-certeza-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.12);
}

.ksc-certeza-icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 100, 125, 0.1), rgba(111, 177, 200, 0.1));
    border: 1px solid rgba(255, 100, 125, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s;
}

.ksc-certeza-item:hover .ksc-certeza-icon {
    transform: scale(1.1);
}

.ksc-certeza-icon .material-symbols-outlined {
    font-size: 2rem;
    color: var(--primary);
}

.ksc-certeza-item h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.ksc-certeza-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.7;
}

/* ===========================
   POR QUÉ KOMUNAH — Narrativo
   =========================== */
.ksc-why-komunah {
    background: linear-gradient(180deg, var(--chukum) 0%, rgba(0, 6, 36, 0.02) 100%);
    position: relative;
}

.ksc-why-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.ksc-why-header .ksc-label {
    justify-content: center;
}

.ksc-why-header .ksc-label span {
    color: var(--primary);
}

.ksc-why-header .ksc-label-line {
    background: var(--primary);
}

.ksc-why-header .ksc-heading {
    font-size: 2.5rem;
    margin: 0.75rem 0;
}

.ksc-why-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.8;
    margin-top: 1.5rem;
}

/* Grid 2x2 */
.ksc-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.ksc-why-card {
    padding: 2.5rem;
    background: var(--white);
    border: 1px solid rgba(255, 100, 125, 0.1);
    border-radius: 1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.ksc-why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.ksc-why-card:hover {
    border-color: rgba(255, 100, 125, 0.2);
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.08);
    transform: translateY(-6px);
}

.ksc-why-card:hover::before {
    transform: scaleX(1);
}

.ksc-why-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 100, 125, 0.15), rgba(111, 177, 200, 0.1));
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s;
}

.ksc-why-card:hover .ksc-why-card-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(255, 100, 125, 0.25), rgba(111, 177, 200, 0.2));
}

.ksc-why-card-icon .material-symbols-outlined {
    font-size: 1.8rem;
    color: var(--primary);
}

.ksc-why-card h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.ksc-why-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.ksc-why-proof {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 100, 125, 0.1);
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ksc-why-proof .material-symbols-outlined {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Cierre Emocional */
.ksc-why-closing {
    text-align: center;
    padding: 3.5rem 2.5rem;
    background: linear-gradient(135deg, rgba(255, 100, 125, 0.08), rgba(111, 177, 200, 0.05));
    border: 2px solid rgba(255, 100, 125, 0.15);
    border-radius: 1.5rem;
    position: relative;
}

.ksc-why-quote p {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.ksc-why-quote span {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ksc-why-quote span::before {
    content: '— ';
}

/* Mobile */
@media (max-width: 768px) {
    .ksc-why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .ksc-why-card {
        padding: 1.75rem;
    }

    .ksc-why-header .ksc-heading {
        font-size: 2rem;
    }

    .ksc-why-subtitle {
        font-size: 1rem;
    }

    .ksc-why-quote p {
        font-size: 1.2rem;
    }

    .ksc-why-closing {
        padding: 2.5rem 1.75rem;
    }
}

/* ===========================
   AMENIDADES
   =========================== */
.ksc-amenities {
    background: var(--bg-light);
    overflow: hidden;
}

.ksc-amenities-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.ksc-amenities-header>p {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.7;
    max-width: 500px;
    border-left: 2px solid var(--primary);
    padding-left: 1.5rem;
}

.ksc-amen-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.ksc-amen-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    min-height: 350px;
    cursor: pointer;
}

.ksc-amen-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.ksc-amen-card:hover img {
    transform: scale(1.06);
}

.ksc-amen-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 6, 36, 0.75) 0%, rgba(0, 6, 36, 0.15) 50%, transparent 100%);
    z-index: 1;
    transition: background 0.5s;
}

.ksc-amen-card:hover .ksc-amen-card-overlay {
    background: linear-gradient(to top, rgba(0, 6, 36, 0.85) 0%, rgba(0, 6, 36, 0.25) 60%, transparent 100%);
}

.ksc-amen-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 2;
    color: var(--white);
}

.ksc-amen-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.ksc-amen-card h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.ksc-amen-card-content p {
    font-size: 0.85rem;
    font-weight: 300;
    opacity: 0.85;
    max-width: 350px;
    line-height: 1.5;
}

/* Centered card variant */
.ksc-amen-card.centered .ksc-amen-card-overlay {
    background: rgba(0, 6, 36, 0.45);
}

.ksc-amen-card.centered .ksc-amen-card-content {
    bottom: auto;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
}

.ksc-amen-card.centered .material-symbols-outlined {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* ===========================
   CONTACT / CONVERSION
   =========================== */
.ksc-contact {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.ksc-contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 33%;
    height: 100%;
    background: rgba(255, 100, 125, 0.04);
    transform: skewX(-12deg) translateX(5rem);
    pointer-events: none;
}

.ksc-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ksc-contact-info h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.ksc-contact-info h2 .accent {
    color: var(--primary);
    font-style: italic;
}

.ksc-contact-info>p {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Benefit Items — Visual & Premium */
.ksc-contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 3rem;
}

.ksc-benefit-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: flex-start;
    padding: 2.25rem 0;
    position: relative;
}

.ksc-benefit-number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    opacity: 0.4;
    min-width: 4rem;
    line-height: 1;
}

.ksc-benefit-content h4 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.ksc-benefit-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.7;
}

.ksc-benefit-divider {
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 100, 125, 0.2) 50%,
            transparent);
    margin: 0;
}

/* Hover effect */
.ksc-benefit-item:hover .ksc-benefit-content h4 {
    color: var(--primary);
    transition: color 0.3s;
}

.ksc-form-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
}

.ksc-form-interest-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: block;
}

.ksc-interest-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.ksc-interest-chip {
    position: relative;
}

.ksc-interest-chip input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.ksc-interest-chip label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #6b7280;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.ksc-interest-chip label .material-symbols-outlined {
    font-size: 1.1rem;
}

.ksc-interest-chip input:checked+label {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.ksc-interest-chip label:hover {
    background: #f3f4f6;
}

.ksc-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.ksc-form-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.ksc-form-steps-indicator .step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.ksc-form-steps-indicator .step.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 0 15px rgba(255, 100, 125, 0.4);
}

.ksc-form-steps-indicator .line {
    width: 40px;
    height: 2px;
    background: #f3f4f6;
}

.ksc-form-step {
    display: none;
    animation: fadeInStep 0.5s ease forwards;
}

.ksc-form-step.active {
    display: block;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ksc-form-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.ksc-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.ksc-form-group label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ksc-form-group input,
.ksc-form-group select {
    width: 100%;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: transparent;
    transition: border-color 0.3s;
    outline: none;
}

.ksc-form-group input:focus,
.ksc-form-group select:focus {
    border-color: var(--primary);
}

.ksc-interest-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.ksc-interest-chip {
    cursor: pointer;
}

.ksc-interest-chip input {
    display: none;
}

.ksc-interest-chip span {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.3s;
}

.ksc-interest-chip input:checked+span {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(255, 100, 125, 0.2);
}

.ksc-form-privacy {
    font-size: 0.7rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 1.5rem;
}

/* ===========================
   FOOTER (Minimalist Project Style)
   =========================== */
.ksc-footer-project {
    background: #000624;
    padding: 5rem 1.5rem;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ksc-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.5rem;
}

.ksc-footer-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.ksc-footer-isotipo {
    height: 40px;
    opacity: 0.7;
}

.ksc-footer-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
}

.ksc-footer-project-name {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    color: var(--primary);
    text-transform: uppercase;
}

.ksc-footer-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.ksc-footer-socials {
    display: flex;
    gap: 1rem;
}

.ksc-footer-social-link {
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.ksc-footer-social-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.ksc-footer-tagline {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.15);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.ksc-footer-copy {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    max-width: 320px;
}

@media (max-width: 768px) {
    .ksc-footer-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .ksc-footer-left {
        flex-direction: column;
        gap: 1rem;
    }

    .ksc-footer-divider {
        display: none;
    }

    .ksc-footer-right {
        align-items: center;
        text-align: center;
    }

    .ksc-footer-copy {
        margin: 0 auto;
    }
}

/* ===========================
   WHATSAPP BUTTON
   =========================== */
.ksc-whatsapp {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    z-index: 90;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ksc-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.ksc-whatsapp svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* ===========================
   RESPONSIVE — TABLET
   =========================== */
@media (min-width: 768px) {
    .ksc-section {
        padding: 8rem 2rem;
    }

    .ksc-nav-links {
        display: flex;
    }

    .ksc-nav-cta {
        display: inline-flex;
    }

    .ksc-mobile-toggle {
        display: none;
    }

    .ksc-concept-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .ksc-beach-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .ksc-lot-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ksc-certeza-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ksc-amen-grid {
        grid-template-columns: repeat(12, 1fr);
    }

    .ksc-amen-grid .ksc-amen-card:nth-child(1) {
        grid-column: span 8;
        min-height: 500px;
    }

    .ksc-amen-grid .ksc-amen-card:nth-child(2) {
        grid-column: span 4;
        min-height: 500px;
    }

    .ksc-amen-grid .ksc-amen-card:nth-child(3) {
        grid-column: span 5;
    }

    .ksc-amen-grid .ksc-amen-card:nth-child(4) {
        grid-column: span 7;
    }

    .ksc-lifestyle-card {
        min-width: 400px;
    }

    .ksc-lifestyle-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }

    .ksc-form-row {
        grid-template-columns: 1fr 1fr;
    }

    .ksc-footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }

    .ksc-footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .ksc-footer-legal {
        justify-content: flex-end;
    }

    .ksc-ubicacion-stats {
        flex-direction: row;
        justify-content: center;
    }

    .ksc-stat-divider {
        display: block;
    }

    .ksc-ubicacion-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .ksc-map-container {
        flex-direction: row;
    }

    .ksc-map-wrapper {
        flex: 1;
    }

    .ksc-map-legend {
        width: 320px;
        flex-shrink: 0;
        border-top: none;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }

    .ksc-infra-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ksc-financing-bar {
        flex-direction: row;
        text-align: left;
    }
}

/* ===========================
   RESPONSIVE — DESKTOP
   =========================== */
@media (min-width: 1024px) {
    .ksc-lot-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .ksc-contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ksc-lifestyle-card {
        min-width: 480px;
    }

    .ksc-amenities-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }

    .ksc-infra-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .ksc-ubicacion-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .ksc-ubic-feature {
        grid-template-columns: auto 1fr;
        padding: 1.5rem;
    }
}


/* ===========================
   UBICACIÓN SECTION
   =========================== */
.ksc-ubicacion {
    background: var(--bg-dark);
    color: var(--white);
}

.ksc-ubicacion .ksc-heading {
    color: var(--white);
}

.ksc-ubicacion .ksc-heading .accent {
    color: var(--coral);
}

.ksc-ubicacion-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.ksc-ubicacion-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.05rem;
    margin-top: 1rem;
}

.ksc-ubicacion-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    margin-bottom: 3rem;
}

.ksc-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    min-width: 120px;
}

.ksc-stat-item .material-symbols-outlined {
    font-size: 1.8rem;
    color: var(--coral);
    margin-bottom: 0.25rem;
}

.ksc-stat-item strong {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 600;
}

.ksc-stat-item>span:last-child {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ksc-stat-divider {
    display: none;
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    align-self: center;
}

.ksc-ubicacion-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.ksc-ubic-feature {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--tertiary);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.ksc-ubic-feature:hover {
    border-left-color: var(--primary);
    background: rgba(255, 100, 125, 0.05);
    transform: translateX(4px);
}

.ksc-ubic-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ksc-ubic-icon .material-symbols-outlined {
    font-size: 2rem;
    color: var(--tertiary);
    transition: color 0.3s;
}

.ksc-ubic-feature:hover .ksc-ubic-icon .material-symbols-outlined {
    color: var(--primary);
}

.ksc-ubic-content {
    text-align: left;
}

.ksc-ubic-feature h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin: 0 0 0.35rem 0;
    color: var(--white);
}

.ksc-ubic-feature p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
    margin: 0;
}


/* ===========================
   MASTER PLAN — Interactive Explorer
   =========================== */
.ksc-masterplan {
    background: var(--bg-dark);
    color: var(--white);
    padding: 8rem 1.5rem;
}

.ksc-masterplan-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.ksc-masterplan-header p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
}

.ksc-map-explorer {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.ksc-interactive-map {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #000;
}

.ksc-map-bg-wrapper {
    position: absolute;
    inset: 0;
}

.ksc-map-visual-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: saturate(0.5) contrast(1.1);
    transition: transform 10s linear;
}

.ksc-interactive-map:hover .ksc-map-visual-bg {
    transform: scale(1.15);
}

.ksc-map-overlay-layer {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 6, 36, 0.4) 100%);
}

/* Hotspots */
.ksc-hotspot {
    position: absolute;
    z-index: 10;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.ksc-hotspot-pulse {
    width: 20px;
    height: 20px;
    background: var(--coral);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 rgba(255, 100, 125, 0.4);
    animation: pulse 2s infinite;
}

.ksc-hotspot-pulse.active {
    background: var(--tertiary);
    animation: pulse-alt 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 100, 125, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 100, 125, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 100, 125, 0);
    }
}

@keyframes pulse-alt {
    0% {
        box-shadow: 0 0 0 0 rgba(111, 177, 200, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(111, 177, 200, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(111, 177, 200, 0);
    }
}

.ksc-hotspot-label {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--text-dark);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.ksc-hotspot:hover .ksc-hotspot-label {
    opacity: 1;
    top: -45px;
}

/* Info Panel */
.ksc-map-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
}

.ksc-zone-tag {
    display: inline-block;
    color: var(--coral);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}

.ksc-zone-content h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.ksc-zone-content p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.ksc-zone-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.ksc-zone-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.ksc-zone-features li .material-symbols-outlined {
    color: var(--tertiary);
    font-size: 1.2rem;
}

/* Connectivity Line */
.ksc-connectivity-line {
    display: flex;
    align-items: center;
    margin: 2rem 0;
}

.ksc-conn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.ksc-conn-item span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
}

.ksc-conn-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--bg-dark);
}

.ksc-conn-dot.highlight {
    background: var(--coral);
    box-shadow: 0 0 15px var(--coral);
}

.ksc-conn-item.active span {
    color: var(--white);
    font-weight: 600;
}

.ksc-conn-item.active .ksc-conn-dot {
    background: var(--white);
}

.ksc-conn-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 -1px;
}

/* Media Queries for Explorer */
@media (min-width: 1024px) {
    .ksc-map-explorer {
        flex-direction: row;
        padding: 3rem;
    }

    .ksc-interactive-map {
        flex: 1.5;
        aspect-ratio: auto;
        min-height: 500px;
    }

    .ksc-map-details {
        flex: 1;
        padding-left: 2rem;
        justify-content: center;
    }
}

/* --- Infrastructure Grid (Amenities) --- */
.ksc-infra-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 3.5rem;
}

.ksc-infra-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 2rem 1.25rem;
    border-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.25rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.ksc-infra-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--primary), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 0;
}

.ksc-infra-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 100, 125, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.ksc-infra-item:hover::before {
    opacity: 0.05;
}

.ksc-infra-item .material-symbols-outlined {
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.5s;
    z-index: 1;
}

.ksc-infra-item:hover .material-symbols-outlined {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px var(--primary));
}

.ksc-infra-item span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    z-index: 1;
    transition: color 0.5s;
}

.ksc-infra-item:hover span {
    color: var(--white);
}

.villas-logo-table {
    height: 38px;
    width: auto;
    display: block;
    margin-bottom: 0.25rem;
}

/* Financing Bar */
.ksc-financing-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 100, 125, 0.08), rgba(111, 177, 200, 0.08));
    border: 1px solid rgba(255, 100, 125, 0.15);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 3rem;
}

.ksc-financing-text {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ksc-financing-text .material-symbols-outlined {
    font-size: 2.5rem;
    color: var(--coral);
    flex-shrink: 0;
}

.ksc-financing-text div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ksc-financing-text strong {
    font-size: 1.15rem;
    color: var(--text-dark);
}

.ksc-financing-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===========================
   TERRENOS SECTION
   =========================== */
.ksc-terrenos {
    background: var(--bg-light);
}

.ksc-terrenos .ksc-masterplan-subtitle {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* Tabla de Terrenos */
.ksc-terrenos-table {
    margin: 3rem 0;
    border-collapse: collapse;
    width: 100%;
}

.ksc-terrenos-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1.2fr;
    gap: 2rem;
    align-items: center;
    padding: 1.75rem 2rem;
    border-bottom: 1px solid rgba(255, 100, 125, 0.1);
    transition: background-color 0.3s ease;
}

.ksc-terrenos-row:hover {
    background-color: rgba(255, 100, 125, 0.03);
}

.ksc-terrenos-header {
    border-bottom: 2px solid rgba(255, 100, 125, 0.25);
    background-color: rgba(0, 6, 36, 0.02);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 1.5rem 2rem;
}

.ksc-terrenos-header .ksc-terrenos-cell span {
    display: block;
}

.ksc-terrenos-cell {
    display: flex;
    align-items: center;
}

.ksc-terrenos-cell-type {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ksc-terrenos-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.ksc-terrenos-icon.residencial {
    background: linear-gradient(135deg, var(--primary), rgba(255, 100, 125, 0.6));
}

.ksc-terrenos-icon.vacacional {
    background: linear-gradient(135deg, var(--tertiary), rgba(111, 177, 200, 0.6));
}

.ksc-terrenos-icon.inversion {
    background: linear-gradient(135deg, var(--secondary), rgba(102, 170, 100, 0.6));
}

.ksc-terrenos-icon.premium {
    background: linear-gradient(135deg, #d4af37, rgba(212, 175, 55, 0.4));
}

.ksc-terrenos-cell-type h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.ksc-terrenos-cell-type .ksc-lot-tag {
    font-size: 0.5rem;
    padding: 0.25rem 0.6rem;
}

.ksc-terrenos-cell-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.ksc-terrenos-cell-desc p {
    margin: 0;
}

.ksc-terrenos-cell-size {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    padding: 0 1rem;
}

.ksc-terrenos-cell-price {
    text-align: right;
    padding-right: 1rem;
}

.ksc-terrenos-cell-price strong {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 700;
}

/* NEW Financing Bar — Premium */
.ksc-financing-premium {
    background: linear-gradient(135deg,
            rgba(255, 100, 125, 0.08) 0%,
            rgba(111, 177, 200, 0.05) 100%) !important;
    border: 2px solid rgba(255, 100, 125, 0.2) !important;
    border-radius: 1.25rem !important;
    padding: 2.5rem !important;
    margin-top: 4rem !important;
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    gap: 2.5rem !important;
    text-align: left !important;
    align-items: center !important;
    flex-direction: row !important;
}

.ksc-financing-icon {
    font-size: 3rem;
    opacity: 0.6;
}

.ksc-financing-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
}

.ksc-financing-main h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--text-dark);
    margin: 0 0 1.5rem 0;
    font-weight: 600;
}

.ksc-financing-details {
    display: flex;
    gap: 0;
    align-items: center;
}

.ksc-financing-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 1.25rem;
}

.ksc-financing-divider {
    width: 1px;
    height: 2.5rem;
    background: rgba(255, 100, 125, 0.15);
    margin: 0 0.5rem;
}

.ksc-financing-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.ksc-financing-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.btn-financing {
    white-space: nowrap;
    padding: 1rem 2rem !important;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1200px) {

    .ksc-terrenos-row,
    .ksc-terrenos-header {
        grid-template-columns: 1fr 1.5fr 0.9fr 1rem;
        gap: 1.5rem;
        padding: 1.25rem 1.5rem;
    }
}

@media (max-width: 768px) {

    .ksc-terrenos-row,
    .ksc-terrenos-header {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1.5rem 1.25rem;
    }

    .ksc-terrenos-cell {
        display: block;
    }

    .ksc-terrenos-header {
        display: none;
    }

    .ksc-terrenos-row::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-muted);
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        display: block;
        margin-bottom: 0.5rem;
    }

    .ksc-terrenos-cell-type {
        margin-bottom: 1rem;
    }

    .ksc-financing-premium {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .ksc-financing-content {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-financing {
        width: 100% !important;
        justify-content: center !important;
    }

    .ksc-financing-details {
        flex-direction: column;
        gap: 1rem;
    }

    .ksc-financing-divider {
        display: none;
    }

    /* Benefits responsive */
    .ksc-benefit-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .ksc-benefit-number {
        font-size: 2.5rem;
    }
}


/* ===========================
   INTERACTIVE MASTER PLAN SVG
   =========================== */

/* --- Cluster Filter Bar --- */
.ksc-cluster-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.ksc-cluster-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(0, 6, 36, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(0, 6, 36, 0.1);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.ksc-cluster-chip:hover {
    background: rgba(0, 6, 36, 0.1);
    color: var(--text-dark);
    border-color: rgba(0, 6, 36, 0.2);
    transform: translateY(-1px);
}

.ksc-cluster-chip.active {
    background: var(--bg-dark);
    color: var(--white);
    border-color: var(--bg-dark);
    box-shadow: 0 4px 15px -4px rgba(0, 6, 36, 0.4);
}

.ksc-cluster-chip .material-symbols-outlined {
    font-size: 0.85rem;
}

.ksc-chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* --- Map Explorer Layout --- */
.ksc-map-explorer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* --- Interactive SVG Map Container --- */
.ksc-interactive-map {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--bg-dark);
    min-height: 350px;
    aspect-ratio: auto;
}

.ksc-map-bg-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.ksc-masterplan-svg {
    width: 100%;
    height: auto;
    max-height: 550px;
    display: block;
    filter: drop-shadow(0 0 8px rgba(255, 100, 125, 0.1));
    transition: filter 0.5s;
}

.ksc-map-overlay-layer {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 60%, rgba(0, 6, 36, 0.6) 100%);
    pointer-events: none;
    z-index: 1;
}

/* --- Zoom Controls --- */
.ksc-map-controls {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ksc-map-ctrl {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0, 6, 36, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    cursor: pointer;
}

.ksc-map-ctrl:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05);
}

.ksc-map-ctrl .material-symbols-outlined {
    font-size: 1.1rem;
}

/* --- Cluster Tooltip --- */
.ksc-cluster-tooltip {
    position: absolute;
    z-index: 10;
    background: rgba(0, 6, 36, 0.92);
    backdrop-filter: blur(12px);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    pointer-events: none;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.25s, transform 0.25s;
    border: 1px solid rgba(255, 100, 125, 0.3);
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
}

.ksc-cluster-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Info Panel (Side) --- */
.ksc-map-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.08);
}

.ksc-zone-content {
    transition: opacity 0.4s, transform 0.4s;
}

.ksc-zone-tag {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(255, 100, 125, 0.08);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.ksc-zone-content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.ksc-zone-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 300;
}

.ksc-zone-features {
    list-style: none;
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ksc-zone-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
}

.ksc-zone-features li .material-symbols-outlined {
    font-size: 1rem;
    color: var(--primary);
}

/* --- Cluster Legend --- */
.ksc-cluster-legend {
    padding: 1.25rem;
    background: var(--bg-light);
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.ksc-cluster-legend h4 {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.ksc-legend-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ksc-legend-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: var(--text-dark);
    font-weight: 500;
}

.ksc-legend-swatch {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px -2px rgba(0, 0, 0, 0.2);
}



/* --- Masterplan section subtitle --- */
.ksc-masterplan-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.7;
    max-width: 700px;
    margin-bottom: 2rem;
}

/* ===========================
   RESPONSIVE — Master Plan
   =========================== */
@media (min-width: 768px) {
    .ksc-infra-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .ksc-interactive-map {
        min-height: 450px;
    }

    .ksc-lifestyle-card {
        min-width: 45vw;
        aspect-ratio: 16/10;
    }
}

@media (min-width: 1024px) {
    .ksc-map-explorer {
        grid-template-columns: 1.5fr 1fr;
        gap: 2.5rem;
        align-items: start;
    }

    .ksc-interactive-map {
        min-height: 520px;
    }

    .ksc-masterplan-svg {
        max-height: 600px;
    }

    .ksc-lifestyle-card {
        min-width: 30vw;
    }
}

.ksc-zone-status-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    align-items: center;
}

.status-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
}

.lots-count,
.size-range {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.lots-count b {
    color: var(--text-dark);
}

/* Masterplan shadow refinement */
.ksc-interactive-map {
    box-shadow: 0 30px 60px -15px rgba(0, 6, 36, 0.4);
}

/* Tooltip pointer */
.ksc-cluster-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 6, 36, 0.92);
}

@media (max-width: 767px) {
    .ksc-zone-status-bar {
        gap: 0.5rem;
    }
}

/* ===========================
   LEGAL & PLUSVALÍA
   =========================== */
/* ===========================
   LEGAL & PLUSVALÍA (Dynamic Version)
   =========================== */
.ksc-legal-plusvalia {
    background: var(--bg-dark);
    color: var(--white);
    overflow: hidden;
    position: relative;
    padding: 10rem 1.5rem;
}

.ksc-plus-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(239, 162, 27, 0.08) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 1;
}

.ksc-legal-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ksc-layout-staggered {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

@media (min-width: 1024px) {
    .ksc-layout-staggered {
        flex-direction: row;
        align-items: center;
        gap: 10rem;
    }

    .ksc-plusvalia-side {
        flex: 1.2;
    }

    .ksc-certeza-side {
        flex: 0.8;
    }
}

/* Plusvalía Side */
.ksc-plusvalia-visual {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 3rem;
    padding: 4rem 3rem;
    backdrop-filter: blur(20px);
    position: relative;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.4);
}

.ksc-chart-wrapper {
    margin-top: 4rem;
    height: 350px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    height: 100%;
    justify-content: flex-end;
}

.bar-box {
    width: 100%;
    max-width: 60px;
    background: linear-gradient(to top, rgba(239, 162, 27, 0.1), var(--secondary));
    border-radius: 12px 12px 4px 4px;
    height: 0;
    transition: height 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
}

.ksc-reveal.visible .bar-box {
    height: var(--h);
}

.bar-val {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--secondary);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s 1s;
}

.ksc-reveal.visible .bar-val {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delay for Bars */
.bar-item:nth-child(1) .bar-box {
    transition-delay: 0.1s;
}

.bar-item:nth-child(2) .bar-box {
    transition-delay: 0.2s;
}

.bar-item:nth-child(3) .bar-box {
    transition-delay: 0.3s;
}

.bar-item:nth-child(4) .bar-box {
    transition-delay: 0.4s;
}

.bar-item:nth-child(5) .bar-box {
    transition-delay: 0.5s;
}

.bar-item:nth-child(1) .bar-val {
    transition-delay: 0.8s;
}

.bar-item:nth-child(2) .bar-val {
    transition-delay: 0.9s;
}

.bar-item:nth-child(3) .bar-val {
    transition-delay: 1.0s;
}

.bar-item:nth-child(4) .bar-val {
    transition-delay: 1.1s;
}

.bar-item:nth-child(5) .bar-val {
    transition-delay: 1.2s;
}

.bar-year {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
    position: absolute;
    bottom: -2.5rem;
}

.bar-item.highlight .bar-box {
    background: linear-gradient(to top, var(--secondary), var(--primary));
    box-shadow: 0 0 30px rgba(255, 100, 125, 0.3);
}

.bar-item.highlight .bar-val {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Certeza Side (Asymmetric Cards) */
.ksc-certeza-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
}

@media (min-width: 640px) {
    .ksc-certeza-cards {
        grid-template-columns: 1fr 1fr;
    }
}

.certeza-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2.5rem 2rem;
    border-radius: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.certeza-card:nth-child(even) {
    transform: translateY(2rem);
}

.certeza-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-0.5rem);
    border-color: var(--secondary);
}

.certeza-card .material-symbols-outlined {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    display: block;
}

.certeza-card h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.certeza-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    line-height: 1.6;
}

/* Trust Subheadings Refinement */
.ksc-subheading-trust {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.ksc-subheading-trust .accent {
    color: var(--primary);
    font-style: italic;
}

@media (max-width: 1023px) {
    .ksc-subheading-trust {
        font-size: 1.8rem;
    }

    .certeza-card:nth-child(even) {
        transform: none;
    }

    .ksc-plusvalia-visual {
        padding: 3rem 1.5rem;
    }

    .ksc-chart-wrapper {
        height: 250px;
        gap: 0.5rem;
    }

    .bar-box {
        max-width: 40px;
    }
}

/* ── Lightbox ── */
#lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 6, 36, 0.98);
    backdrop-filter: blur(25px);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

#lightbox.active {
    display: flex;
    animation: kscFadeIn 0.4s ease forwards;
}

#lightbox-img {
    max-width: 90%;
    max-height: 70vh;
    border-radius: 1.5rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 30px;
}

#lightbox.active #lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 3.5rem;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s;
    z-index: 10;
}

.lightbox-close:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3.5rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    user-select: none;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

.lightbox-caption {
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.lightbox-caption h3 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--white);
    margin: 0;
    font-style: italic;
    text-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption p {
    font-size: 0.85rem;
    color: var(--white);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    margin-top: 12px;
    font-weight: 700;
}

@keyframes kscFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ═══════════════ ZONA MAP SECTION ═══════════════ */
.ksc-zona {
    background: var(--bg-dark);
    color: var(--white);
    padding: 6rem 1.5rem;
}

.ksc-zona .ksc-heading {
    color: var(--white);
}

.ksc-zona .ksc-masterplan-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.ksc-zona-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.ksc-zona-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.ksc-zona-chip .material-symbols-outlined {
    font-size: 1rem;
}

.ksc-zona-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.ksc-zona-chip.active {
    background: var(--coral);
    color: #fff;
    border-color: var(--coral);
    box-shadow: 0 0 20px rgba(255, 100, 125, 0.3);
}

.ksc-zona-explorer {
    width: 100%;
    margin: 0 auto;
}

.ksc-zona-map {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 6, 36, 0.9), rgba(0, 20, 60, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.06);
    aspect-ratio: 1128/604;
}

.ksc-zona-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.ksc-zona-tooltip {
    position: absolute;
    background: rgba(0, 6, 36, 0.95);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 100;
    border: 1px solid rgba(255, 164, 0, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.ksc-zona-tooltip.visible {
    opacity: 1;
}

.ksc-zona-overlay-panel {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 380px;
    max-width: calc(100% - 4rem);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255,255,255,0.2) inset;
    color: var(--bg-darker);
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ksc-zona-overlay-panel.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.ksc-zona-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 6, 36, 0.05);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: rgba(0, 6, 36, 0.6);
    cursor: pointer;
    transition: all 0.2s;
}

.ksc-zona-close:hover {
    background: rgba(0, 6, 36, 0.1);
    color: var(--bg-darker);
}

.ksc-zona-overlay-panel h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    line-height: 1.2;
    padding-right: 2rem; /* space for close button */
}

.ksc-zona-overlay-panel p {
    font-size: 0.92rem;
    color: rgba(0, 6, 36, 0.65);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.ksc-zona-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.ksc-zona-stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.8rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ksc-zona-stat.distance {
    background: rgba(255, 164, 0, 0.12);
    color: #d48800;
}

.ksc-zona-stat.time {
    background: rgba(0, 204, 255, 0.1);
    color: #0099cc;
}

.ksc-zona-stat.type {
    background: rgba(255, 100, 125, 0.1);
    color: var(--coral);
}

@media (max-width: 1024px) {
    .ksc-zona-overlay-panel {
        bottom: 1.5rem;
        right: 1.5rem;
        left: 1.5rem;
        width: auto;
        max-width: none;
    }
}

@media (max-width: 600px) {
    .ksc-zona-filters {
        gap: 0.35rem;
    }

    .ksc-zona-chip {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }

    .ksc-zona-overlay-panel {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        padding: 1.5rem;
    }

    .ksc-zona-overlay-panel h3 {
        font-size: 1.3rem;
    }
}/* ── Iframe Modal ── */
#ksc-iframe-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#ksc-iframe-modal.active {
    display: flex;
    opacity: 1;
}

#ksc-iframe-modal .modal-content-wrapper {
    width: 100%;
    max-width: 1200px;
    height: 90vh;
    background: #1a110a;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

#close-iframe-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

#close-iframe-modal:hover {
    background: rgba(255, 255, 255, 0.25);
}

#ksc-quoter-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ── WhatsApp Floating Button ── */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #20ba5a;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}
