@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+Thai:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ==========================================
   1. DESIGN SYSTEM & CUSTOM PROPERTIES (LIGHT THEME)
   ========================================== */
:root {
    /* Brand Colors (Based on official Logo) */
    --color-primary: #0D122B;       /* Official Logo Deep Navy */
    --color-primary-light: #1A224E; /* Soft Navy */
    --color-secondary: #BA9E75;     /* Official Logo Warm Gold */
    --color-secondary-light: #D6BD96; /* Pale Gold */
    
    /* Division Accents */
    --color-accent-fire: #C2203C;   /* Crimson Fire Red (600) */
    --color-accent-fire-glow: rgba(194, 32, 60, 0.08);
    --color-accent-solar: #0A9E6E;  /* Emerald Green */
    --color-accent-solar-glow: rgba(10, 158, 110, 0.08);
    --color-accent-warn: #D97706;   /* Amber Gold */
    
    /* Neutrals (Warm, Premium Light Feel) */
    --bg-primary: #FAF9F6;          /* Alabaster/Warm Pearl Off-White */
    --bg-secondary: #FFFFFF;        /* Pure White Surface Card */
    --bg-tertiary: #F1EFEA;         /* Soft Cream Border / Input Bg */
    --bg-glass: rgba(250, 249, 246, 0.85);
    --border-glass: rgba(13, 18, 43, 0.06);
    
    --text-primary: #1E293B;        /* Slate Dark Gray */
    --text-secondary: #475569;      /* Slate Medium Gray */
    --text-muted: #94A3B8;          /* Light Slate Gray */
    
    /* Shadows & Border Radii */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 18px rgba(13, 18, 43, 0.04);
    --shadow-lg: 0 10px 30px rgba(13, 18, 43, 0.06);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   2. GLOBAL RESET & BASE STYLES
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

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

/* Subtle Geometric Pattern Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(186, 158, 117, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(13, 18, 43, 0.02) 0%, transparent 40%),
        linear-gradient(rgba(13, 18, 43, 0.005) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 18, 43, 0.005) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-primary);
}

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

img, svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul {
    list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
}

/* ==========================================
   3. LAYOUT & UTILITIES
   ========================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-secondary);
    margin-bottom: 12px;
    padding: 6px 16px;
    background: rgba(186, 158, 117, 0.08);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(186, 158, 117, 0.15);
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 17px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(13, 18, 43, 0.15);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    box-shadow: 0 6px 20px rgba(13, 18, 43, 0.25);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--color-primary);
    border: 1px solid var(--bg-tertiary);
    box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--color-secondary-light);
    transform: translateY(-2px);
}

.btn-fire {
    background: linear-gradient(135deg, var(--color-accent-fire) 0%, #9F1239 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(194, 32, 60, 0.2);
}
.btn-fire:hover {
    box-shadow: 0 6px 20px rgba(194, 32, 60, 0.35);
    transform: translateY(-2px);
}

.btn-solar {
    background: linear-gradient(135deg, var(--color-accent-solar) 0%, #065F46 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(10, 158, 110, 0.2);
}
.btn-solar:hover {
    box-shadow: 0 6px 20px rgba(10, 158, 110, 0.35);
    transform: translateY(-2px);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ==========================================
   4. NAVIGATION HEADER
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-normal);
}

.header-scrolled {
    padding: 5px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    transition: height var(--transition-normal);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 58px;
    width: auto;
    object-fit: contain;
    transition: height var(--transition-normal);
}

.header-scrolled .logo-img {
    height: 46px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
    margin-right: 20px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    padding: 8px 0;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition-normal);
}

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

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 280px;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: flex;
    flex-direction: column;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.dropdown-link:hover {
    background: var(--bg-primary);
}

.dropdown-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
}

.dropdown-desc {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.nav-btn {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.btn-line {
    background: #06C755;
    color: #FFFFFF;
    border: 1px solid #06C755;
    box-shadow: 0 4px 14px rgba(6, 199, 85, 0.15);
}

.btn-line:hover {
    background: #05B04B;
    border-color: #05B04B;
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.25);
    transform: translateY(-2px);
}

.header-line-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 14px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: none;
    flex-shrink: 0;
}

.header-line-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

@media (min-width: 769px) and (max-width: 1200px) {
    .nav-menu {
        gap: 12px;
        margin-right: 12px;
    }
    .nav-link {
        font-size: 14px;
    }
}


/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-normal);
}

/* ==========================================
   5. HERO SECTION
   ========================================== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 130px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero-subtitle-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(186, 158, 117, 0.08);
    border: 1px solid rgba(186, 158, 117, 0.15);
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent-solar);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(10, 158, 110, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(10, 158, 110, 0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(10, 158, 110, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(10, 158, 110, 0); }
}

.hero-subtitle-text {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-primary);
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--color-secondary);
}

.stat-lbl {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Graphic Card Side */
.hero-graphic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.graphic-bg {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(186, 158, 117, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.graphic-card {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 35px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    z-index: 5;
    position: relative;
}

.graphic-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    border: 1px solid var(--border-glass);
    margin-bottom: 12px;
    transition: var(--transition-normal);
}

.graphic-item:hover {
    border-color: var(--color-secondary-light);
    transform: translateX(5px);
}

.graphic-item:last-child {
    margin-bottom: 0;
}

.graphic-icon-box {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.icon-box-fire {
    background: rgba(194, 32, 60, 0.08);
    color: var(--color-accent-fire);
}

.icon-box-solar {
    background: rgba(10, 158, 110, 0.08);
    color: var(--color-accent-solar);
}

.graphic-text h4 {
    font-size: 15px;
    font-weight: 700;
}

.graphic-text p {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ==========================================
   6. TRUST SIGNALS
   ========================================== */
.trust-bar {
    background: var(--bg-secondary);
    border-top: 1px solid var(--bg-tertiary);
    border-bottom: 1px solid var(--bg-tertiary);
    padding: 35px 0;
}

.trust-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trust-title {
    font-size: 13px;
    font-family: var(--font-heading);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    font-weight: 600;
}

.trust-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
    transition: var(--transition-normal);
}

.partner-logo:hover {
    opacity: 1;
}

.partner-icon {
    font-size: 24px;
}

.partner-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--color-primary);
}

.badge-siemens {
    border: 1px solid rgba(0, 153, 153, 0.2);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: rgba(0, 153, 153, 0.03);
}
.badge-siemens .partner-name {
    color: #009999;
}

/* ==========================================
   7. SERVICES GRID & SILO BLOCKS
   ========================================== */
.silo-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.silo-block {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.silo-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
}

.silo-fire::before { background: var(--color-accent-fire); }
.silo-solar::before { background: var(--color-accent-solar); }

.silo-header { margin-bottom: 40px; }

.silo-badge {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: var(--radius-xl);
    display: inline-block;
    margin-bottom: 16px;
}

.silo-fire .silo-badge {
    background: rgba(194, 32, 60, 0.08);
    color: var(--color-accent-fire);
    border: 1px solid rgba(194, 32, 60, 0.15);
}

.silo-solar .silo-badge {
    background: rgba(10, 158, 110, 0.08);
    color: var(--color-accent-solar);
    border: 1px solid rgba(10, 158, 110, 0.15);
}

.silo-title {
    font-size: 30px;
    font-weight: 800;
}

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

.service-card {
    background: var(--bg-primary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    background: var(--bg-secondary);
    transform: translateY(-5px);
}

.silo-fire .service-card:hover {
    box-shadow: 0 10px 30px var(--color-accent-fire-glow);
    border-color: rgba(194, 32, 60, 0.25);
}

.silo-solar .service-card:hover {
    box-shadow: 0 10px 30px var(--color-accent-solar-glow);
    border-color: rgba(10, 158, 110, 0.25);
}

.card-top { margin-bottom: 24px; }

.service-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.silo-fire .service-card-icon {
    background: rgba(194, 32, 60, 0.08);
    color: var(--color-accent-fire);
}

.silo-solar .service-card-icon {
    background: rgba(10, 158, 110, 0.08);
    color: var(--color-accent-solar);
}

.service-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card-desc {
    color: var(--text-secondary);
    font-size: 14px;
}

.service-card-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
}

.silo-fire .service-card-link { color: var(--color-accent-fire); }
.silo-solar .service-card-link { color: var(--color-accent-solar); }
.service-card-link:hover { gap: 10px; }

/* ==========================================
   8. AI SOLAR PRICING ESTIMATOR WIDGET
   ========================================== */
.estimator-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: start;
}

.estimator-widget {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.estimator-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.estimator-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--bg-tertiary);
    z-index: 1;
}

.step-node {
    width: 32px;
    height: 32px;
    background: var(--bg-secondary);
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    z-index: 2;
    transition: all var(--transition-normal);
}

.step-node.active {
    border-color: var(--color-accent-solar);
    background: var(--color-accent-solar);
    color: #FFFFFF;
    box-shadow: 0 0 15px rgba(10, 158, 110, 0.3);
}

.step-node.completed {
    border-color: var(--color-accent-solar);
    background: var(--color-accent-solar);
    color: #FFFFFF;
}

.estimator-step-content { display: none; }
.estimator-step-content.active {
    display: block;
    animation: fadeIn var(--transition-normal) forwards;
}

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

.step-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 30px;
}

.form-group { margin-bottom: 24px; }

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.form-label span {
    font-weight: 400;
    color: var(--color-accent-fire);
}

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

.option-card {
    background: var(--bg-primary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.option-card:hover {
    background: var(--bg-secondary);
    border-color: var(--color-secondary-light);
}

.option-card.selected {
    background: rgba(186, 158, 117, 0.08);
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-sm);
}

.option-card svg {
    font-size: 28px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.option-card.selected svg {
    color: var(--color-secondary);
}

.option-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
}

.option-desc {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Range Slider */
.range-slider-container { padding: 10px 0; }

.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--bg-tertiary);
    outline: none;
    margin-bottom: 16px;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-secondary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(186, 158, 117, 0.4);
    transition: transform var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

.range-vals {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.range-val-current {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--color-secondary);
    text-align: center;
    margin-bottom: 20px;
}

.input-text {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-sm);
    padding: 14px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition-fast);
}

.input-text:focus {
    border-color: var(--color-secondary);
    background: var(--bg-secondary);
}

.estimator-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    border-top: 1px solid var(--bg-tertiary);
    padding-top: 24px;
}

/* Estimator Results Panel */
.estimator-results {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.results-placeholder {
    text-align: center;
    padding: 60px 0;
}

.results-placeholder svg {
    font-size: 60px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.results-placeholder h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.results-placeholder p {
    color: var(--text-secondary);
    font-size: 14px;
}

.results-content {
    display: none;
    animation: fadeIn var(--transition-normal) forwards;
}

.results-header {
    text-align: center;
    margin-bottom: 30px;
}

.results-header-tag {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-accent-solar);
    letter-spacing: 1px;
    padding: 4px 12px;
    background: rgba(10, 158, 110, 0.08);
    border-radius: var(--radius-xl);
    display: inline-block;
    margin-bottom: 10px;
}

.results-system-size {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.1;
}

.results-system-size span {
    font-size: 20px;
    color: var(--color-accent-solar);
    font-weight: 600;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.result-card {
    background: var(--bg-primary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 18px;
}

.result-card-lbl {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    font-weight: 500;
}

.result-card-val {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
}

.val-highlight { color: var(--color-accent-solar); }
.val-highlight-warn { color: var(--color-accent-warn); }

.roi-badge {
    background: linear-gradient(135deg, rgba(10, 158, 110, 0.06) 0%, rgba(186, 158, 117, 0.06) 100%);
    border: 1px solid rgba(186, 158, 117, 0.2);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    margin-bottom: 24px;
}

.roi-badge-lbl {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 4px;
}

.roi-badge-val {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--color-accent-solar);
}

/* Professional Disclaimer Text */
.disclaimer-text {
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-secondary);
    text-align: justify;
    padding-top: 15px;
    border-top: 1px dashed var(--bg-tertiary);
}

/* ==========================================
   9. ABOUT / TIMELINE
   ========================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--bg-tertiary);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 30px;
    width: 14px;
    height: 14px;
    background: var(--bg-primary);
    border: 3px solid var(--color-secondary);
    border-radius: 50%;
    z-index: 2;
}

.timeline-left { left: 0; text-align: right; }
.timeline-left::after { right: -7px; }

.timeline-right { left: 50%; text-align: left; }
.timeline-right::after { left: -7px; }

.timeline-year {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.timeline-content {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Org Chart */
.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
}

.org-node {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    text-align: center;
    min-width: 220px;
    box-shadow: var(--shadow-sm);
}

.org-node h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
}

.org-node p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.org-level-2 {
    display: flex;
    gap: 30px;
    justify-content: center;
    width: 100%;
}

/* ==========================================
   10. PROJECTS GRID & FILTERS
   ========================================== */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--bg-tertiary);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--color-secondary);
    color: #FFFFFF;
    border-color: var(--color-secondary);
}

.project-card {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-secondary-light);
    box-shadow: var(--shadow-lg);
}

.project-img-container {
    height: 220px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.project-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #FFFFFF;
    background: var(--color-primary);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    z-index: 5;
}

.project-card-content { padding: 24px; }
.project-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.project-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
    border-top: 1px solid var(--bg-tertiary);
    padding-top: 14px;
    margin-top: 14px;
}

/* ==========================================
   11. FAQ ACCORDION
   ========================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.faq-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    padding-right: 20px;
    line-height: 1.4;
}

.faq-icon-wrapper {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    transition: transform var(--transition-normal);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out;
}

.faq-answer-inner {
    padding: 0 24px 24px 24px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.faq-item.active { border-color: var(--color-secondary-light); }
.faq-item.active .faq-icon-wrapper { transform: rotate(180deg); }

/* ==========================================
   12. CONTACT US & FORMS
   ========================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 40px;
    align-items: stretch;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-card {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: var(--shadow-sm);
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: rgba(186, 158, 117, 0.08);
    color: var(--color-secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-info-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.social-btn {
    width: auto;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
}

.social-btn-line {
    background: #06C755;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(6, 199, 85, 0.2);
}
.social-btn-line:hover {
    background: #05B04B;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.35);
}

/* Contact Form Card */
.contact-form-card {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-form-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 30px;
}

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

.textarea-text {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-sm);
    padding: 14px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition-fast);
    resize: vertical;
    min-height: 120px;
}

.textarea-text:focus {
    border-color: var(--color-secondary);
    background: var(--bg-secondary);
}

/* Map Section */
.map-section {
    padding: 0;
    height: 400px;
    border-top: 1px solid var(--bg-tertiary);
    border-bottom: 1px solid var(--bg-tertiary);
}

.map-container { width: 100%; height: 100%; }
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    /* Soft premium light filter for maps */
    filter: grayscale(0.2) contrast(1.1);
}

/* ==========================================
   13. FOOTER
   ========================================== */
.footer {
    background: #0D122B; /* Deep Navy Footer for elegant visual end */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px 0;
    color: #FFFFFF;
}

.footer h1, .footer h2, .footer h3, .footer h4 { color: #FFFFFF; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-info-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-desc {
    font-size: 13px;
    color: #94A3B8;
    line-height: 1.6;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 14px;
    color: #94A3B8;
}

.footer-link:hover {
    color: var(--color-secondary-light);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    font-size: 12px;
    color: #64748B;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    font-size: 12px;
    color: #64748B;
}

.footer-bottom-link:hover { color: #94A3B8; }

/* ==========================================
   14. ANIMATIONS & REVEAL
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ==========================================
   15. RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .estimator-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section-title { font-size: 30px; }
    .hero-title { font-size: 38px; }
    .grid-2 { grid-template-columns: 1fr; gap: 30px; }
    .hero { padding-top: 100px; min-height: auto; }
    .hero-graphic { order: -1; margin-bottom: 40px; }
    .service-cards-grid { grid-template-columns: 1fr; }
    
    .timeline::before { left: 20px; }
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
    }
    .timeline-item::after { left: 13px; }
    .timeline-left::after { left: 13px; }
    .timeline-right { left: 0; }
    
    .projects-grid { grid-template-columns: 1fr; }
    .org-level-2 { flex-direction: column; align-items: center; gap: 20px; }
    .nav-container {
        height: 70px;
    }
    
    .logo-img {
        height: 42px;
    }
    
    .header-line-btn {
        margin-left: auto;
        margin-right: 15px;
        padding: 8px 14px;
        font-size: 13px;
        box-shadow: 0 4px 10px rgba(6, 199, 85, 0.15);
    }
    
    /* Navigation drawer mobile menu */
    .mobile-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-primary);
        border-left: 1px solid var(--bg-tertiary);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 50px;
        gap: 30px;
        transition: right var(--transition-normal);
        z-index: 999;
    }
    .nav-menu.open { right: 0; }
    
    .mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .mobile-toggle.open span:nth-child(2) { opacity: 0; }
    .mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
    
    .dropdown-menu {
        position: static;
        transform: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: var(--bg-secondary);
        margin-top: 10px;
        display: none;
    }
    .nav-dropdown:hover .dropdown-menu { display: block; }
}

@media (max-width: 480px) {
    .options-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 20px; }
}
