:root {
    --color-blue: #2458b8;
    --color-blue-dark: #183f88;
    --color-red: #e32222;
    --color-orange: #f5a000;
    --color-orange-dark: #d88b00;
    --color-text: #1f2937;
    --color-muted: #667085;
    --color-border: #e5e7eb;
    --color-surface: #ffffff;
    --color-surface-muted: #f7f8fa;
    --color-footer: #10284f;
    --shadow-soft: 0 18px 50px rgba(10, 27, 59, 0.08);
    --shadow-card: 0 14px 34px rgba(16, 40, 79, 0.08);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --content-width: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Aptos", "Aptos Narrow", "Segoe UI", Arial, sans-serif;
    color: var(--color-text);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--color-blue);
    text-decoration: none;
}

a:hover {
    color: var(--color-blue-dark);
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.75rem;
    font-family: "Aptos Display", "Aptos", "Segoe UI", Arial, sans-serif;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.3rem, 4vw, 4.6rem);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

h3 {
    font-size: 1.25rem;
}

p,
ul {
    margin: 0 0 1rem;
}

.container {
    width: min(calc(100% - 2rem), var(--content-width));
    margin: 0 auto;
}

.narrow {
    width: min(calc(100% - 2rem), 820px);
}

.section,
.page-hero,
.hero {
    padding: 3.75rem 0;
}

.section-muted,
.page-hero,
.cta-band {
    background: var(--color-surface-muted);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--color-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
}

.lead {
    font-size: 1.125rem;
    color: var(--color-muted);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    backdrop-filter: blur(14px);
}

.header-wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.25rem;
    min-height: 86px;
}

.brand,
.header-cta {
    flex-shrink: 0;
}

.site-nav {
    flex: 1 1 auto;
    min-width: 0;
}

.brand-logo-full {
    width: 186px;
}

.brand-logo-icon {
    display: none;
    width: 58px;
}

.site-nav ul,
.footer-links,
.check-list {
    list-style: none;
    padding: 0;
}

.site-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin: 0;
}

.site-nav a {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.94rem;
    padding: 0.48rem 0.72rem;
    border-radius: 999px;
    white-space: nowrap;
}

.site-nav a.active,
.site-nav a:hover {
    color: var(--color-blue);
    background: rgba(36, 88, 184, 0.08);
}

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 0.25rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: var(--color-text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 52px;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font-family: "Aptos Display", "Aptos", "Segoe UI", Arial, sans-serif;
    font-weight: 700;
    transition: 0.2s ease;
    cursor: pointer;
}

.header-cta .btn {
    min-height: 46px;
    padding: 0.72rem 1rem;
    font-size: 0.92rem;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--color-orange);
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(245, 160, 0, 0.22);
}

.btn-primary:hover {
    background: var(--color-orange-dark);
    color: #ffffff;
}

.btn-secondary {
    background: #ffffff;
    border-color: var(--color-blue);
    color: var(--color-blue);
}

.btn-secondary:hover {
    background: #eef4ff;
}

.hero {
    padding-top: 6rem;
    background:
        radial-gradient(circle at top right, rgba(36, 88, 184, 0.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
}

.hero-grid,
.page-hero-grid,
.two-column,
.contact-grid,
.cta-band-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.hero-copy,
.page-hero-grid > div:first-child {
    max-width: 620px;
}

.hero-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.hero-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hero-actions,
.center-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
}

.trust-line {
    margin-top: 1.25rem;
    font-weight: 700;
    color: var(--color-blue);
}

.media-card,
.feature-card,
.pricing-card,
.step-card,
.form-card,
.contact-info-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.media-card {
    padding: 0;
    overflow: hidden;
}

.media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-card-promo img {
    object-fit: contain;
    background: #ffffff;
}

.card-grid,
.pricing-grid,
.steps-grid {
    display: grid;
    gap: 1.5rem;
}

.card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 2rem;
}

.card-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2rem;
}

.steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.pricing-card,
.step-card,
.form-card,
.contact-info-card {
    padding: 1.5rem;
}

.package-list {
    margin: 1rem 0 0;
    padding-left: 1.15rem;
    color: var(--color-muted);
}

.package-list li {
    margin-bottom: 0.55rem;
}

.step-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(36, 88, 184, 0.1);
    color: var(--color-blue);
    font-weight: 700;
}

.pricing-card.featured {
    border-color: rgba(245, 160, 0, 0.55);
    box-shadow: 0 20px 46px rgba(245, 160, 0, 0.12);
}

.check-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.85rem;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--color-orange);
}

.text-link {
    font-weight: 700;
}

.cta-band {
    padding: 3rem 0;
}

.cta-band-inner {
    background: linear-gradient(135deg, #163b7f 0%, #2458b8 60%, #356dd3 100%);
    color: #ffffff;
    border-radius: 34px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
}

.cta-band .eyebrow,
.cta-band p,
.cta-band h2 {
    color: #ffffff;
}

.cta-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
}

.cta-band .btn-secondary {
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    background: transparent;
}

.faq-list {
    display: grid;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #ffffff;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    border: 0;
    background: #ffffff;
    color: var(--color-text);
    text-align: left;
    font: 700 1rem/1.5 "Montserrat", "Segoe UI", Arial, sans-serif;
    cursor: pointer;
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.25rem;
    color: var(--color-muted);
}

.faq-item.is-open .faq-answer {
    display: block;
}

.contact-grid {
    align-items: start;
}

.contact-panel {
    display: grid;
    gap: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-grid-full {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.input-text {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    font: inherit;
    color: var(--color-text);
    background: #ffffff;
}

.input-text:focus {
    outline: 0;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 4px rgba(36, 88, 184, 0.12);
}

.input-text-area {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    margin-top: 1.5rem;
}

.field-error,
.validation-summary {
    color: var(--color-red);
    font-size: 0.95rem;
}

.validation-summary {
    margin-bottom: 1rem;
}

.form-message {
    padding: 1rem 1.2rem;
    border-radius: 14px;
    margin-bottom: 1rem;
    font-weight: 700;
}

.form-message-success {
    background: #ecfdf3;
    color: #166534;
}

.form-message-error {
    background: #fef2f2;
    color: #991b1b;
}

.page-hero-simple {
    padding-bottom: 2.5rem;
}

.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.center-text {
    text-align: center;
}

.error-logo {
    width: 88px;
    margin: 0 auto 1rem;
}

.site-footer {
    background: var(--color-footer);
    color: rgba(255, 255, 255, 0.86);
    padding: 4rem 0 1.25rem;
}

.site-footer a,
.site-footer h3 {
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-logo {
    width: 220px;
    margin-bottom: 1rem;
}

.footer-note {
    color: rgba(255, 255, 255, 0.75);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.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;
}

@media (max-width: 1024px) {
    .card-grid,
    .card-grid-three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-grid,
    .steps-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--color-border);
        display: none;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .site-nav.is-open {
        display: block;
    }

    .nav-toggle {
        display: inline-block;
    }

    .header-cta {
        display: none;
    }
}

@media (max-width: 820px) {
    .hero,
    .section,
    .page-hero {
        padding: 3rem 0;
    }

    .hero-grid,
    .page-hero-grid,
    .two-column,
    .contact-grid,
    .cta-band-inner {
        grid-template-columns: 1fr;
    }

    .form-grid,
    .card-grid,
    .card-grid-three,
    .pricing-grid,
    .steps-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .brand-logo-full {
        display: none;
    }

    .brand-logo-icon {
        display: block;
    }

    .cta-band-actions {
        justify-content: flex-start;
    }
}
