/* CBS Architecture - Complete Design System */

:root {
    /* Colors from screenshots */
    --primary-blue: #2563eb;
    --dark-blue: #1e3a5f;
    --navy-bg: #1e2936;
    --light-blue-bg: #e0f2fe;
    --amber-gold: #d97706;
    --gray-bg: #f3f4f6;
    --white: #ffffff;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --success-green: #10b981;
    --error-red: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Top Bar with Badges */
.top-bar {
    background: var(--dark-blue);
    color: var(--white);
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.top-bar-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-icon {
    font-size: 1rem;
}

/* Header / Navigation */
.site-header {
    background: var(--white);
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nav {
    position: relative;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
    color: var(--dark-blue);
    transition: all 0.3s ease;
    flex-shrink: 0;
    min-width: 0;
}

.logo:hover {
    opacity: 0.9;
    transform: translateX(2px);
}

.logo-circle {
    background: var(--primary-blue);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.logo-image {
    max-height: 50px;
    height: auto;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    color: var(--dark-blue);
}

.logo-text p {
    font-size: 0.875rem;
    font-style: italic;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.2;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9375rem;
    position: relative;
    white-space: nowrap;
    padding: 0.5rem 0.25rem;
    display: block;
}

.nav-links a.cta-button {
    color: white !important;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    margin-left: 1rem;
    font-size: 0.9375rem;
}

.nav-links a:not(.cta-button):hover {
    color: var(--primary-blue);
    transform: translateY(-1px);
}

.nav-links a:not(.cta-button):hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.25rem;
    right: 0.25rem;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 2px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.nav-links a.active:not(.cta-button) {
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-links a.active:not(.cta-button)::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-blue);
}

.cta-button {
    background: var(--primary-blue) !important;
    color: white !important;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    white-space: nowrap;
    margin-left: 1rem;
    font-size: 0.9375rem;
    line-height: 1.4;
    border: none !important;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    outline: none;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: #1d4ed8 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
    color: white !important;
    border: none !important;
}

.cta-button:focus,
.cta-button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.5);
    outline-offset: 2px;
    background: var(--primary-blue) !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    color: white !important;
    border: none !important;
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(37, 99, 235, 0.3);
    background: #1e40af !important;
    color: white !important;
    border: none !important;
}

/* Ensure button returns to default state when not focused or hovered */
.cta-button:not(:focus):not(:hover):not(:active) {
    background: var(--primary-blue) !important;
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    color: white !important;
    border: none !important;
}

/* Hero Section */
.hero {
    background: var(--navy-bg);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.hero-tagline {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.9375rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #93c5fd 0%, #dbeafe 100%);
    color: var(--navy-bg);
    padding: 0.25rem 1rem;
    border-radius: 0.5rem;
    display: inline-block;
}

.hero-lead {
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 2rem;
    color: #e5e7eb;
}

.hero-promise {
    background: rgba(37, 99, 235, 0.2);
    border: 2px solid var(--primary-blue);
    border-radius: 1rem;
    padding: 1.5rem;
    max-width: 700px;
    margin: 2rem auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.promise-icon {
    font-size: 2.5rem;
}

.promise-content {
    text-align: left;
}

.promise-label {
    font-size: 0.875rem;
    color: #d1d5db;
    margin-bottom: 0.25rem;
}

.promise-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fbbf24;
}

.hero-ambassador {
    background: rgba(217, 119, 6, 0.15);
    border: 1px solid var(--amber-gold);
    color: #fbbf24;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0 2rem;
    font-size: 0.9375rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.0625rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--amber-gold);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.0625rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: #b45309;
    transform: translateY(-2px);
}

/* Hero Benefits Grid */
.hero-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-desc {
    font-size: 0.9375rem;
    color: #d1d5db;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-light {
    background: var(--white);
}

.section-gray {
    background: var(--gray-bg);
}

.section-eco {
    background: var(--light-blue-bg);
}

.section-dark {
    background: var(--navy-bg);
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-dark .section-title {
    color: white;
}

.section-lead {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.section-dark .section-lead {
    color: #d1d5db;
}

/* Story Section - Circular Flow */
.story-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.flow-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.flow-label {
    font-weight: 600;
    font-size: 1rem;
}

.flow-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Systems Grid (5 Cards) */
.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.system-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
}

.system-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
    transform: translateY(-5px);
}

.system-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.system-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.system-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.system-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.system-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.system-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.system-features li::before {
    content: '✓';
    color: var(--success-green);
    font-weight: bold;
    flex-shrink: 0;
}

.spec-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-link:hover {
    text-decoration: underline;
}

/* Comparison Table */
.comparison-table {
    max-width: 600px;
    margin: 2rem auto;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: var(--dark-blue);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.check-icon {
    color: var(--success-green);
    font-size: 1.5rem;
}

.x-icon {
    color: var(--error-red);
    font-size: 1.5rem;
}

/* Triple Advantage Cards */
.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
}

.advantage-number {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.advantage h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.advantage p {
    line-height: 1.8;
    color: var(--text-dark);
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--amber-gold);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.quote {
    font-style: italic;
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.quote::before {
    content: '"';
    color: var(--amber-gold);
    font-size: 2rem;
    line-height: 0;
}

.author strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Calculator Section */
.calculator-form {
    max-width: 900px;
    margin: 2rem auto;
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.calc-title {
    text-align: center;
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-blue);
}

.calc-presets {
    margin-bottom: 2rem;
}

.calc-presets p {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.project-types {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1rem 0 2rem;
    flex-wrap: wrap;
}

.project-type-btn {
    padding: 0.875rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.project-type-btn:hover {
    border-color: var(--primary-blue);
    background: #eff6ff;
}

.project-type-btn.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.calc-inputs {
    margin: 2rem 0;
}

.calc-btn-wrapper {
    text-align: center;
    margin: 2rem 0;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

.calc-results {
    margin-top: 3rem;
    display: none;
}

.calc-results:not(:empty) {
    display: block;
}

.calc-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.calc-result-card {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.calc-result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.result-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.result-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.result-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.calc-legacy {
    background: var(--navy-bg);
    color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    margin-top: 2rem;
}

.calc-legacy p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin: 0;
}

.calc-legacy strong {
    font-weight: 700;
}

.calc-legacy em {
    font-style: italic;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label:not(.checkbox-label) {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input:not([type="checkbox"]) {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:not([type="checkbox"]):focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    display: block;
}

.form-help {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Package Back Navigation */
.package-back-nav {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.9375rem;
}

.back-button:hover {
    background: #eff6ff;
    color: #1d4ed8;
    transform: translateX(-4px);
}

.back-button i {
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .package-back-nav {
        padding: 0.75rem 0;
    }
    
    .back-button {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
    
    .back-button span {
        display: none;
    }
    
    .back-button i {
        font-size: 1rem;
    }
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 2rem auto;
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="number"],
.contact-form textarea,
.contact-form select {
    padding: 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form button[type="submit"] {
    padding: 1rem 2rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.contact-form button[type="submit"]:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.contact-alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.contact-alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.contact-alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
    margin-bottom: 1.5rem;
}

.contact-form label:not(.checkbox-label) {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #1d4ed8;
}

.contact-alert {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
}

.contact-alert-success {
    background: rgba(22, 163, 74, 0.12);
    color: #166534;
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.contact-alert-error {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.contact-form .checkbox-group {
    margin-bottom: 1.5rem;
    display: block;
}

.contact-form .checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: normal;
    cursor: pointer;
    margin: 0;
    width: auto;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label span {
    user-select: none;
    line-height: 1.5;
}

.contact-form-empty {
    text-align: center;
    color: var(--text-muted);
    margin: 2rem 0;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-style: italic;
    color: var(--amber-gold);
}

.footer-section p,
.footer-section li {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #d1d5db;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section li::before {
    content: '✓ ';
    color: var(--success-green);
    font-weight: bold;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

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

.footer-bottom p {
    font-size: 0.875rem;
    color: #9ca3af;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-social-label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom .social-links {
    justify-content: center;
    flex-wrap: wrap;
}

.footer-bottom .social-links a {
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 1.125rem;
}

.footer-bottom .social-links a i {
    color: rgba(255, 255, 255, 0.85);
}

.footer-bottom .social-links a:hover i {
    color: #ffffff;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 0.25rem;
    transition: all 0.3s;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark-blue);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-header {
        padding: 0.875rem 0;
    }
    
    .nav .container {
        gap: 1rem;
    }
    
    .logo-circle {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    
    .logo-image {
        max-height: 45px;
        height: auto;
        max-width: 180px;
    }
    
    .logo-text h1 {
        font-size: 1.125rem;
    }
    
    .logo-text p {
        font-size: 0.8125rem;
    }
    
    .nav-wrapper {
        gap: 0;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
        z-index: 101;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 5rem 0 2rem;
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
        z-index: 100;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .nav-links a:not(.cta-button):hover {
        background: var(--gray-bg);
    }
    
    .cta-button {
        margin: 1rem 2rem 0.5rem;
        text-align: center;
        width: calc(100% - 4rem);
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
        border-radius: 0.5rem;
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
        border: none;
        background: var(--primary-blue);
        color: white !important;
    }
    
    .cta-button:active {
        transform: scale(0.98);
    }
    
    /* Mobile menu overlay */
    .nav-links.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 280px;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .hero-benefits,
    .systems-grid,
    .advantages,
    .testimonials {
        grid-template-columns: 1fr;
    }
    
    .top-bar-badges {
        gap: 1rem;
        font-size: 0.75rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .nav .container {
        gap: 2rem;
    }
    
    .nav-wrapper {
        gap: 2rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.875rem;
    }
    
    .cta-button {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
        margin-left: 0.5rem;
        border-radius: 0.5rem;
        box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .logo-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .logo-image {
        max-height: 40px;
        height: auto;
        max-width: 120px;
    }
    
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .logo-text p {
        font-size: 0.75rem;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .top-bar-badges {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .calc-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .calc-result-card {
        padding: 1.5rem;
    }
    
    .result-value {
        font-size: 1.875rem;
    }
    
    .calc-legacy {
        padding: 1.5rem;
    }
    
    .calc-legacy p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .calc-results-grid {
        grid-template-columns: 1fr;
    }
    
    .project-types {
        flex-direction: column;
    }
    
    .project-type-btn {
        width: 100%;
        justify-content: center;
    }
    
    .calculator-form {
        padding: 2rem 1.5rem;
    }
    
    .calc-title {
        font-size: 1.5rem;
    }
}


