:root {
    --color-primary: #184461;
    --color-primary-dark: #123349;
    --color-secondary: #2B2A2B;
    --color-text-dark: #1A1A1A;
    --color-text-gray: #4A4A4A;
    --color-text-light: #FFFFFF;
    --color-bg-light: #F9FAFB;
    --color-bg-white: #FFFFFF;

    --font-main: 'Instrument Sans', sans-serif;

    --border-radius-sm: 4px;
    --border-radius-lg: 12px;
    --spacing-container: 1200px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Form Specific */
    --color-accent: #3b82f6;
    --input-border: #d1d5db;
    --input-focus: #184461;
}

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

body {
    font-family: var(--font-main);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-bg-white);
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

h1 {
    font-size: 3.5rem;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-gray);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

/* Utilities */
.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text-light);
    font-size: 0.9rem;
    padding: 10px 20px;
}

.btn-secondary:hover {
    background-color: #000;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.btn-light-outline {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-light-outline:hover {
    background-color: #fff;
    color: var(--color-primary);
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-phone {
    margin-right: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    display: none;
    /* Hidden on mobile by default */
}

@media (min-width: 769px) {
    .header-phone {
        display: inline-block;
    }
}

.header-actions .btn {
    display: none;
}

@media (min-width: 769px) {
    .header-actions .btn {
        display: inline-block;
    }
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 24px;
    width: auto;
    object-fit: contain;
}

@media (min-width: 769px) {
    .logo img {
        height: 28px;
    }
}

.main-nav ul {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-secondary);
}

.main-nav a:hover {
    color: var(--color-primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-secondary);
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0;
    background-color: var(--color-bg-light);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(24, 68, 97, 0.05), transparent 40%),
        radial-gradient(circle at bottom left, rgba(24, 68, 97, 0.05), transparent 40%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(24, 68, 97, 0.1);
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--color-text-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--color-bg-light);
    border-radius: var(--border-radius-lg);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background-color: var(--color-bg-light);
}

.section-sub {
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(24, 68, 97, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(24, 68, 97, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.check-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

.check-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

/* Banner Section */
.banner-section {
    padding: 5rem 0;
    background-color: var(--color-primary);
    color: #fff;
    text-align: center;
}

.banner-content h2 {
    color: #fff;
    margin-bottom: 2rem;
}

/* Footer */
.site-footer {
    background-color: var(--color-secondary);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0;
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-info h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-info p {
    color: #fff;
}

.footer-info a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

/* Form Wizard Styling */
.form-page {
    padding-top: 2rem;
    padding-bottom: 4rem;
    background-color: var(--color-bg-light);
    min-height: 80vh;
}

.form-wizard {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    overflow: hidden;
}

/* Progress Bar */
.wizard-header {
    margin-bottom: 2.5rem;
}

.progress-container {
    height: 6px;
    background-color: #eee;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--color-primary);
    width: 25%;
    transition: width 0.3s ease;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-step h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.form-step>p {
    text-align: center;
    margin-bottom: 2rem;
}

/* Selection Cards (Radio/Checkbox visual) */
.selection-grid {
    display: grid;
    gap: 1.5rem;
}

.selection-grid.two-col {
    grid-template-columns: 1fr 1fr;
}

.selection-card {
    position: relative;
    cursor: pointer;
}

.selection-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.selection-card .card-content {
    background: #fff;
    border: 2px solid var(--input-border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.2s;
}

.selection-card input:checked+.card-content {
    border-color: var(--color-primary);
    background-color: rgba(24, 68, 97, 0.05);
}

.selection-card:hover .card-content {
    border-color: var(--color-primary);
}

.selection-card .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

/* Radio List */
.selection-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-item {
    cursor: pointer;
    border: 2px solid var(--input-border);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    transition: 0.2s;
}

.radio-item:hover {
    border-color: var(--color-primary);
}

.radio-item input {
    margin-right: 1rem;
    accent-color: var(--color-primary);
}

.radio-item:has(input:checked) {
    border-color: var(--color-primary);
    background-color: rgba(24, 68, 97, 0.02);
}

/* Chip Grid */
.chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.chip {
    cursor: pointer;
}

.chip input {
    display: none;
}

.chip span {
    display: block;
    padding: 0.6rem 1.2rem;
    background: #f3f4f6;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.2s;
    border: 1px solid transparent;
}

.chip input:checked+span {
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="tel"] {
    padding: 12px;
    border: 1px solid var(--input-border);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    width: 100%;
    transition: 0.2s;
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 3px rgba(24, 68, 97, 0.1);
}

.phone-input {
    display: flex;
    align-items: stretch;
}

.phone-input .prefix {
    padding: 0 1rem;
    background: #f3f4f6;
    border: 1px solid var(--input-border);
    border-right: none;
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
    display: flex;
    align-items: center;
    color: var(--color-text-gray);
    font-weight: 500;
}

.phone-input input {
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.checkbox-consent {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 1rem;
}

.checkbox-consent input {
    margin-top: 3px;
    accent-color: var(--color-primary);
}

.checkbox-consent a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Wizard Footer */
.wizard-footer {
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

/* Animations */
.animate-hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}


/* Responsive */
@media (max-width: 900px) {
    h1 {
        font-size: 2.75rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
    }

    h1 {
        font-size: 2.5rem;
        /* Slightly smaller */
        line-height: 1.1;
    }

    .hero-lead {
        font-size: 1.125rem;
    }

    .hero-section {
        padding: 4rem 0 3rem;
        /* Reduced padding */
    }

    .about-section,
    .services-section,
    .banner-section {
        padding: 3rem 0;
        /* Reduced section padding */
    }

    .about-stats {
        grid-template-columns: 1fr;
        /* Stack stats */
        gap: 1rem;
    }

    .form-wizard {
        padding: 1.5rem 1rem;
    }

    .wizard-header {
        margin-bottom: 2rem;
    }

    .selection-grid.two-col {
        grid-template-columns: 1fr;
        /* Stack selection cards */
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .wizard-footer {
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .wizard-footer .btn {
        width: 100%;
    }

    /* Mobile Form Compactness */
    .form-step h2 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .form-step>p {
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
    }

    .selection-card .card-content {
        padding: 1.25rem;
        /* Reduced padding */
    }

    .selection-card .icon {
        font-size: 2rem;
        /* Smaller icon */
        margin-bottom: 0.5rem;
    }

    .selection-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0;
    }

    .chip-grid {
        gap: 0.5rem;
    }

    .chip span {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .radio-item {
        padding: 0.75rem 1rem;
    }
}