/* ==========================================================================
   Grand Sukodono Premiere Residence - Main Stylesheet
   Modern Real Estate Landing Page
   ========================================================================== */

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --secondary: #d97706;
    --secondary-hover: #b45309;
    --accent: #10b981;
    --dark: #0f172a;
    --dark-muted: #1e293b;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 36px -4px rgba(15, 23, 42, 0.12);
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    line-height: 1.25;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section {
    padding: 5.5rem 0;
}

.text-center { text-align: center; }

.section-header {
    margin-bottom: 3.5rem;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: 2.25rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 640px;
}

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.grid {
    display: grid;
    gap: 2rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-sm {
    padding: 0.6rem 1.1rem;
    font-size: 0.85rem;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--dark);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary-light);
    color: var(--primary-hover);
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
    background-color: var(--dark);
    color: #cbd5e1;
    font-size: 0.82rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.top-info {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.top-info i {
    color: var(--primary);
    margin-right: 0.3rem;
}
.top-contact a {
    color: #e2e8f0;
    font-weight: 600;
}
.top-contact a:hover {
    color: #ffffff;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}
.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.logo-mark {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--dark);
    line-height: 1.1;
}
.logo-sub {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}
.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-main);
    padding: 0.4rem 0;
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.2s ease;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.35rem;
    color: var(--dark);
    cursor: pointer;
    padding: 0.4rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    padding: 4.5rem 0 3.5rem;
    background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.65) 100%);
    backdrop-filter: blur(2px);
}
.hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}
.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.hero-desc {
    font-size: 1.2rem;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 2.25rem;
    max-width: 720px;
}
.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 1.25rem 2rem;
    backdrop-filter: blur(12px);
    width: fit-content;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.stat-card {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #60a5fa;
    line-height: 1.1;
}
.stat-label {
    font-size: 0.82rem;
    color: #cbd5e1;
    margin-top: 0.2rem;
}
.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Features / About Section
   ========================================================================== */
.about-section {
    background-color: var(--bg-light);
}
.feature-card {
    background: var(--bg-white);
    padding: 2.25rem 1.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}
.bg-blue { background: #dbeafe; color: #1d4ed8; }
.bg-emerald { background: #d1fae5; color: #047857; }
.bg-amber { background: #fef3c7; color: #b45309; }
.bg-purple { background: #f3e8ff; color: #7e22ce; }

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}
.feature-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ==========================================================================
   Properties / Unit Cards
   ========================================================================== */
.properties-section {
    background-color: var(--bg-white);
}

.filter-tabs {
    display: flex;
    background: var(--bg-light);
    padding: 0.35rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    gap: 0.25rem;
}
.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    border: none;
    background: transparent;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn:hover {
    color: var(--dark);
}
.filter-btn.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.property-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.property-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.card-media {
    position: relative;
    height: 230px;
    overflow: hidden;
    background-color: #e2e8f0;
}
.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.property-card:hover .card-media img {
    transform: scale(1.06);
}

.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    backdrop-filter: blur(6px);
    z-index: 2;
}
.badge-popular { background: rgba(225, 29, 72, 0.9); }
.badge-new { background: rgba(13, 148, 136, 0.9); }
.badge-premium { background: rgba(217, 119, 6, 0.95); }

.card-overlay-action {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
}
.property-card:hover .card-overlay-action {
    opacity: 1;
}
.btn-quickview {
    padding: 0.65rem 1.2rem;
    border-radius: var(--radius-full);
    background: white;
    border: none;
    color: var(--dark);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.btn-quickview:hover {
    background: var(--primary);
    color: white;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.card-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}
.unit-type {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}
.unit-price {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.card-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
}
.spec-item {
    font-size: 0.82rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.spec-item i {
    color: var(--primary);
    width: 14px;
}

.card-footer-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: auto;
}

/* ==========================================================================
   Facilities Section
   ========================================================================== */
.facilities-section {
    background-color: var(--bg-light);
}
.facility-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.facility-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.facility-img-wrap {
    height: 170px;
    overflow: hidden;
}
.facility-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.facility-card:hover .facility-img-wrap img {
    transform: scale(1.05);
}
.facility-content {
    padding: 1.4rem;
}
.facility-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.45rem;
}
.facility-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   KPR Calculator Section
   ========================================================================== */
.kpr-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}
.kpr-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: center;
}
.kpr-title {
    font-size: 2.3rem;
    color: white;
    margin-bottom: 1rem;
}
.kpr-desc {
    color: #cbd5e1;
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}
.kpr-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.kpr-perks li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #e2e8f0;
    font-size: 0.92rem;
}
.kpr-perks i {
    color: var(--accent);
}

.kpr-form-box {
    background: #ffffff;
    color: var(--text-main);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.form-row {
    margin-bottom: 1.25rem;
}
.form-row label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.45rem;
}
.input-with-prefix, .input-with-suffix {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-white);
}
.prefix, .suffix {
    padding: 0.65rem 0.9rem;
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}
.input-with-prefix input, .input-with-suffix input {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: none;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--dark);
}
.input-with-prefix input:focus, .input-with-suffix input:focus {
    outline: none;
}
.helper-text {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}
.bold-highlight {
    color: var(--primary);
    font-weight: 700;
}

.range-slider {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 4px;
    outline: none;
    margin: 0.75rem 0 0.35rem;
    accent-color: var(--primary);
}
.range-marks {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.kpr-result-card {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
    margin: 1.5rem 0;
}
.result-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 0.35rem;
}
.result-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary);
}
.result-meta {
    font-size: 0.8rem;
    color: #475569;
    margin-top: 0.4rem;
}

/* ==========================================================================
   Contact & Survey Form
   ========================================================================== */
.contact-section {
    background-color: var(--bg-white);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
    align-items: start;
}
.c-item {
    display: flex;
    gap: 1.1rem;
    margin-bottom: 1.5rem;
}
.c-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.c-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}
.c-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.45;
}
.social-box {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}
.social-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.social-icons {
    display: flex;
    gap: 0.65rem;
}
.social-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: var(--transition);
}
.social-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.contact-form-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}
.form-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}
.form-card-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}
.form-group {
    margin-bottom: 1.15rem;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.4rem;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--dark);
    background: var(--bg-white);
    transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.form-grid-sub {
    margin-bottom: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--dark);
    color: #94a3b8;
    padding-top: 4.5rem;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}
.footer-logo i {
    color: var(--primary);
}
.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 420px;
}
.footer-col h4 {
    color: white;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.footer-col ul a {
    color: #94a3b8;
    font-size: 0.9rem;
}
.footer-col ul a:hover {
    color: white;
}
.text-success { color: #34d399; margin-right: 0.4rem; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    font-size: 0.82rem;
}
.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ==========================================================================
   Floating Widgets & Modal Dialog
   ========================================================================== */
.floating-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25d366;
    color: white;
    border-radius: var(--radius-full);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 998;
    transition: var(--transition);
}
.floating-wa i {
    font-size: 1.4rem;
}
.floating-wa:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
    color: white;
}

.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: white;
    color: var(--dark);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Modal Dialog */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}
.modal-dialog {
    background: white;
    width: 100%;
    max-width: 760px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    z-index: 5;
    transition: var(--transition);
}
.modal-close:hover {
    background: #e2e8f0;
}
.modal-content-body {
    padding: 2.25rem;
}
.modal-header-info {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.25rem;
}
.modal-header-info h2 {
    font-size: 1.75rem;
    margin-bottom: 0.35rem;
}
.modal-header-info .modal-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.9rem;
}
.spec-table tr:nth-child(even) {
    background: var(--bg-light);
}
.spec-table td {
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--border-color);
}
.spec-table td:first-child {
    font-weight: 600;
    width: 35%;
    color: var(--dark);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.75rem; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .kpr-wrapper, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .mobile-toggle { display: block; }
    .nav-btn-cta { display: none; }
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.25rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
    }
    .nav-links.open {
        transform: translateY(0);
    }
    .hero {
        min-height: 90vh;
        padding: 4rem 0 3rem;
    }
    .hero-title { font-size: 2.2rem; }
    .hero-desc { font-size: 1.05rem; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .hero-stats {
        width: 100%;
        justify-content: space-around;
        gap: 1rem;
        padding: 1rem;
    }
    .stat-divider { display: none; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .floating-wa-label { display: none; }
    .floating-wa { padding: 0.85rem; border-radius: 50%; }
}

/* Feedback Alert in Form */
.form-feedback-alert {
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    display: none;
}
.alert-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.alert-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.text-blue-light {
    color: #60a5fa;
}

.modal-img-container {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    max-height: 320px;
    background-color: #f1f5f9;
}
.modal-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
