.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 3rem;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    background: #071432;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 20, 50, 0.76) 0%, rgba(7, 20, 50, 0.4) 42%, rgba(7, 20, 50, 0.7) 100%),
        radial-gradient(circle at top left, rgba(215, 154, 30, 0.22), transparent 28%),
        radial-gradient(circle at bottom right, rgba(22, 62, 140, 0.32), transparent 32%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-copy {
    color: var(--brand-white);
    max-width: 640px;
}

.eyebrow,
.quote-kicker {
    color: #f8d37f;
    margin-bottom: 1rem;
}

.hero-copy h1 {
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    line-height: 1.02;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.hero-copy p {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.5rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f9fbff;
    font-size: 0.95rem;
}

.quote-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    padding: 1.7rem;
    box-shadow: var(--brand-shadow);
}

.quote-header h2 {
    font-size: 1.7rem;
    margin: 0.4rem 0 0.5rem;
    color: var(--brand-blue-deep);
}

.quote-header p,
.form-text,
.footer-copy,
.footer-list a,
.footer-list li,
.section-heading p,
.section-intro p,
.service-card p,
.value-card p,
.value-panel p {
    color: var(--brand-muted);
}

.quote-form .form-control {
    border-radius: 16px;
    border: 1px solid rgba(22, 62, 140, 0.12);
    padding: 0.9rem 1rem;
}

.quote-form .form-control:focus {
    border-color: rgba(22, 62, 140, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(22, 62, 140, 0.12);
}

.quote-feedback {
    min-height: 1.25rem;
    font-size: 0.95rem;
    color: var(--brand-blue);
}

.form-section-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-gold);
    margin-top: 0.35rem;
    margin-bottom: -0.15rem;
}

.quote-form .ts-wrapper.single .ts-control {
    min-height: calc(1.5em + 1rem + 2px);
    padding: 0.65rem 0.85rem;
    border-radius: 16px;
    border: 1px solid rgba(22, 62, 140, 0.12);
    box-shadow: none;
}

.quote-form .ts-wrapper.single.focus .ts-control {
    border-color: rgba(22, 62, 140, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(22, 62, 140, 0.12);
}

.quote-form .ts-wrapper.disabled .ts-control {
    background-color: rgba(22, 62, 140, 0.06);
    opacity: 1;
}

.quote-form .quote-field-port .ts-wrapper {
    width: 100%;
    max-width: 100%;
}

.quote-form .quote-field-port .ts-wrapper.single .ts-control {
    display: flex;
    align-items: center;
    overflow: hidden;
    min-width: 0;
}

.quote-form .quote-field-port .ts-wrapper.single .ts-control .item {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1 1 0;
    max-width: 100%;
}

.quote-form .quote-field-port .ts-wrapper.single .ts-control input[type="text"] {
    min-width: 0;
}

.section-intro h2,
.section-heading h2,
.value-panel h2 {
    color: var(--brand-blue-deep);
    font-weight: 800;
    margin-bottom: 1rem;
}

.story-card {
    background: var(--brand-white);
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: var(--brand-shadow);
}

.story-stat + .story-stat {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(22, 62, 140, 0.08);
}

.story-stat strong {
    display: block;
    font-size: 2.2rem;
    color: var(--brand-blue);
}

.services-section {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fd 100%);
}

.services-shell {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(22, 62, 140, 0.08);
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 18px 44px rgba(13, 39, 92, 0.08);
}

.services-intro {
    position: sticky;
    top: 6.8rem;
}

.services-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.services-logo {
    width: 88px;
    height: auto;
    flex-shrink: 0;
}

.services-brand h2 {
    margin-bottom: 0.55rem;
}

.services-brand p,
.services-note span {
    color: var(--brand-muted);
}

.services-note {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    background: rgba(22, 62, 140, 0.06);
    border-radius: 18px;
    color: var(--brand-blue);
    font-weight: 600;
}

.services-note i {
    color: var(--brand-gold);
    font-size: 1.2rem;
}

.service-card,
.value-card {
    height: 100%;
    background: var(--brand-white);
    border-radius: 24px;
    padding: 1.7rem;
    box-shadow: 0 18px 44px rgba(13, 39, 92, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover,
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 54px rgba(13, 39, 92, 0.14);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 62, 140, 0.08);
    color: var(--brand-blue);
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.service-card-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-card-top .service-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.value-card-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.value-icon {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 62, 140, 0.08);
    color: var(--brand-blue);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.service-card h3,
.value-card h3 {
    color: var(--brand-blue-deep);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

.value-strip {
    background: #f1f5fb;
}

.value-panel,
.dark-panel {
    height: 100%;
    border-radius: 28px;
    padding: 2rem;
}

.dark-panel {
    background: linear-gradient(180deg, var(--brand-blue-deep), var(--brand-blue));
    color: var(--brand-white);
    box-shadow: var(--brand-shadow);
}

.dark-panel h2,
.dark-panel p {
    color: var(--brand-white);
}

.text-gold {
    color: #f6cb6c;
}

@keyframes heroZoom {
    from {
        transform: scale(1.02);
    }
    to {
        transform: scale(1.08);
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding-top: 7rem;
    }

    .hero-copy {
        margin-bottom: 1rem;
    }

    .services-intro {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .quote-card,
    .story-card,
    .service-card,
    .value-card,
    .dark-panel {
        border-radius: 22px;
    }

    .hero-copy h1 {
        font-size: 2.4rem;
    }

    .services-shell {
        border-radius: 24px;
        padding: 1.25rem;
    }

    .services-brand {
        align-items: flex-start;
    }

    .services-logo {
        width: 68px;
    }

    .service-card-top {
        align-items: flex-start;
    }

    .value-card-top {
        align-items: flex-start;
    }

    .value-icon {
        width: 3.2rem;
        height: 3.2rem;
    }
}
