/* ==========================================================================
   KB Electrics - Modern Premium Styling
   Design Aesthetics: Safety Carbon, Electric Gold, Responsive Layout, Micro-animations
   ========================================================================== */

/* 1. Core Variables & Design Tokens */
:root {
    /* Color Palette - HSL Custom Values (Recreated from Facebook Logo) */
    --primary-hsl: 16, 70%, 53%;      /* Burnt Copper Orange */
    --primary: hsl(var(--primary-hsl));
    --primary-light: hsl(16, 75%, 63%);
    --primary-dark: hsl(16, 75%, 43%);
    
    --accent-hsl: 36, 85%, 55%;       /* Warm Amber/Bronze Gold */
    --accent: hsl(var(--accent-hsl));
    --accent-dark: hsl(36, 80%, 42%);
    --accent-light: hsl(36, 90%, 65%);
    
    --success-hsl: 142, 71%, 45%;     /* Safe Signal Green */
    --success: hsl(var(--success-hsl));
    
    --dark-bg: hsl(240, 10%, 4%);      /* Pitch Black/Carbon Base */
    --dark-surface: hsl(240, 10%, 8%);
    
    --light-bg: hsl(240, 5%, 96%);     /* Soft zinc-cool gray */
    --light-surface: hsl(0, 0%, 100%);
    
    --text-dark: hsl(240, 10%, 15%);
    --text-muted: hsl(240, 5%, 45%);
    --text-light: hsl(240, 5%, 96%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(9, 9, 11, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(9, 9, 11, 0.08), 0 4px 6px -2px rgba(9, 9, 11, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(9, 9, 11, 0.1), 0 10px 10px -5px rgba(9, 9, 11, 0.04);
    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    /* Borders & Glassmorphic Highlights */
    --border-radius: 12px;
    --border-radius-lg: 24px;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-shadow: 0 8px 32px 0 rgba(9, 9, 11, 0.15);
    
    /* 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. Reset & Typography */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: hsl(240, 10%, 8%);
}

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

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

ul {
    list-style: none;
}

/* 3. Base Container & Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-amber {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center {
    text-align: center;
}

.text-amber {
    color: var(--accent);
}

.text-success {
    color: var(--success);
}

.animate-pulse {
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

/* 4. Common Elements: Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: var(--dark-bg);
    box-shadow: 0 4px 14px 0 rgba(234, 179, 8, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(234, 179, 8, 0.6);
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--dark-bg);
    box-shadow: 0 4px 14px 0 rgba(234, 179, 8, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(234, 179, 8, 0.5);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* 5. Sticky Glassmorphic Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(24, 24, 27, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition-normal);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
}

.logo-img {
    height: 42px;
    width: auto;
    display: block;
    transition: var(--transition-fast);
}

.logo-img:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

.nav-menu ul {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.25rem 0;
}

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

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-header-call {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    border-radius: 8px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* 6. Hero Section */
.hero-section {
    position: relative;
    padding: 9rem 0 6rem;
    background: radial-gradient(circle at 10% 20%, rgb(24, 24, 27) 0%, rgb(9, 9, 11) 90%);
    color: var(--text-light);
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(234, 179, 8, 0.15);
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-lead strong {
    color: var(--accent);
}

.hero-actions-row {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.hero-trust-metrics {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-trust-metrics .metric {
    display: flex;
    flex-direction: column;
}

.hero-trust-metrics .num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-trust-metrics .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero-trust-metrics .divider {
    width: 1px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.15);
}

/* Glass panel styling */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: all var(--transition-normal);
}

.hero-visual .visual-card {
    background: rgba(39, 39, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.status-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--success);
    color: var(--success);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--success);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: status-pulse 1.2s infinite;
}

@keyframes status-pulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.visual-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
}

.visual-header i {
    font-size: 2.25rem;
}

.visual-header h3 {
    color: var(--text-light);
    font-size: 1.35rem;
}

.visual-header .sub {
    font-size: 0.85rem;
    color: var(--accent);
}

.visual-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.visual-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.visual-features i {
    color: var(--accent);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.phone-box {
    background: rgba(9, 9, 11, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.phone-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.phone-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.phone-num:hover {
    color: var(--text-light);
}

.email-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
}

.email-label a {
    color: var(--accent);
}

/* 7. Trust Bar Section */
.trust-bar {
    background: #09090b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    color: var(--text-light);
}

.trust-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-logo-item {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
}

.trust-logo-item i {
    font-size: 1.25rem;
    color: var(--accent);
}

/* 8. Sections Common Struct */
section {
    padding: 7rem 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 5rem;
}

.subtitle {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* 9. About Section & Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background-color: var(--light-surface);
    border: 1px solid rgba(24, 24, 27, 0.05);
    box-shadow: var(--shadow-md);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(234, 179, 8, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    background: rgba(234, 179, 8, 0.08);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.75rem;
    transition: all var(--transition-fast);
}

.feature-card:hover .icon-box {
    background: var(--accent);
    color: var(--dark-bg);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 10. Services Section & Grid */
.services-section {
    background-color: var(--light-surface);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--light-bg);
    border: 1px solid rgba(24, 24, 27, 0.03);
    padding: 2.5rem 2rem;
}

.service-card:hover {
    background-color: var(--light-surface);
    box-shadow: var(--shadow-lg);
    border-color: rgba(234, 179, 8, 0.08);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.service-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 1px solid rgba(24, 24, 27, 0.05);
    padding-top: 1.25rem;
}

.service-specs li {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-specs i {
    color: var(--success);
    font-size: 0.9rem;
}

/* 11. Estimator Section & Calculator */
.estimator-section {
    position: relative;
    padding: 8rem 0;
    background: radial-gradient(circle at 80% 80%, rgb(24, 24, 27) 0%, rgb(9, 9, 11) 90%);
    color: var(--text-light);
    overflow: hidden;
}

.estimator-section::before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.estimator-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.estimator-info .subtitle {
    color: var(--accent);
}

.estimator-info h2 {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.estimator-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

.estimator-benefits {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.est-feat {
    display: flex;
    gap: 1.25rem;
}

.est-feat i {
    font-size: 1.5rem;
    color: var(--accent);
    background: rgba(234, 179, 8, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.est-feat h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.est-feat p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* Calculator Card */
.estimator-card {
    background: rgba(39, 39, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    padding: 2.5rem;
}

.estimator-title {
    color: var(--text-light);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.estimator-title .text-accent-amber {
    color: var(--accent);
}

.estimator-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.65rem;
}

.form-select, .form-input, .form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(9, 9, 11, 0.6);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-select:focus, .form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.2);
}

.radio-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(9, 9, 11, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.875rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.radio-label input {
    accent-color: var(--accent);
}

.radio-label:hover {
    background: rgba(9, 9, 11, 0.7);
    border-color: rgba(234, 179, 8, 0.3);
}

.radio-label input:checked + span {
    color: var(--accent);
    font-weight: 600;
}

/* Calculator Results */
.calculator-results {
    background: rgba(9, 9, 11, 0.8);
    border: 1px solid rgba(234, 179, 8, 0.2);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    text-align: center;
}

.results-header {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.price-range {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.results-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.specs-pill-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
}

.badge-accent {
    background: rgba(234, 179, 8, 0.1);
    color: var(--accent);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

/* 12. Reviews Section */
.reviews-section {
    background-color: var(--light-bg);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.review-card {
    background-color: var(--light-surface);
    border: 1px solid rgba(24, 24, 27, 0.03);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-rating {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
}

.review-rating i {
    color: #fbbf24;
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(24, 24, 27, 0.05);
    padding-top: 1.25rem;
}

.author-avatar {
    width: 45px;
    height: 45px;
    background: rgba(234, 179, 8, 0.06);
    color: var(--accent-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.review-author h4 {
    font-size: 0.95rem;
}

.review-author .sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* 13. Contact Section & Form */
.contact-section {
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--light-surface) 100%);
}

.contact-container {
    max-width: 800px;
}

.contact-card {
    background-color: var(--light-surface);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(24, 24, 27, 0.05);
    padding: 3.5rem 3rem;
}

.contact-header {
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form .form-input, 
.contact-form .form-select, 
.contact-form .form-textarea {
    background: var(--light-bg);
    border: 1px solid rgba(24, 24, 27, 0.1);
    color: var(--text-dark);
}

.contact-form .form-input:focus, 
.contact-form .form-select:focus, 
.contact-form .form-textarea:focus {
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.15);
    background: var(--light-surface);
}

.form-group.col-6 {
    grid-column: span 1;
}

/* Error States */
.error-msg {
    display: none;
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 0.35rem;
    font-weight: 500;
}

.form-group.error .form-input,
.form-group.error .form-textarea {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.form-group.error .error-msg {
    display: block;
}

/* 14. Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 380px;
}

.toast {
    background: #18181b;
    border-left: 4px solid var(--accent);
    color: var(--text-light);
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: flex-start;
    animation: toast-slide-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes toast-slide-in {
    0% { transform: translateY(100px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.toast-success {
    border-left-color: var(--success);
}

.toast-icon {
    font-size: 1.25rem;
    color: var(--success);
}

.toast-content h4 {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.toast-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.toast-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    font-size: 0.85rem;
}

.toast-close:hover {
    color: var(--text-light);
}

/* 15. Footer */
.main-footer {
    background-color: var(--dark-bg);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 0;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-logo {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.footer-socials a:hover {
    background: var(--accent);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.footer-col h3 {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 1.75rem;
    font-family: 'Outfit', sans-serif;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 0.25rem;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.9rem;
}

.footer-icon {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    width: 16px;
    text-align: center;
}

.footer-contact strong {
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    font-size: 0.8rem;
    text-align: center;
}

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

.designer-tag a {
    color: var(--accent);
    font-weight: 600;
}

.designer-tag a:hover {
    color: var(--text-light);
}

/* 16. Responsive Layouts & Breakpoints */

/* Tablet (Large) */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions-row {
        justify-content: center;
    }
    
    .hero-trust-metrics {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
    }
    
    .estimator-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .estimator-info {
        text-align: center;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .estimator-benefits {
        align-items: center;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .est-feat {
        text-align: left;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-about {
        grid-column: span 2;
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-desc {
        max-width: 500px;
    }
}

/* Tablet (Medium & Small) */
@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: hsl(240, 10%, 8%);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        padding: 6rem 2.5rem 3rem;
        transition: right var(--transition-normal);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1.15rem;
        display: block;
    }
    
    /* Hamburger active state */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hide-mobile {
        display: none;
    }
    
    .btn-header-call {
        padding: 0.5rem;
        border-radius: 50%;
        width: 38px;
        height: 38px;
    }
    
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group.col-6 {
        grid-column: span 2;
    }
    
    .contact-card {
        padding: 2.5rem 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-about {
        grid-column: span 1;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-actions-row {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions-row .btn {
        width: 100%;
    }
    
    .hero-trust-metrics {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-trust-metrics .divider {
        display: none;
    }
    
    .price-range {
        font-size: 2.25rem;
    }
    
    .estimator-card {
        padding: 1.5rem;
    }
    
    .radio-label {
        font-size: 0.85rem;
    }
}
