:root {
    --navy: #061827;
    --blue: #0b5f8f;
    --cyan: #18a8d8;
    --teal: #1aa58f;
    --sand: #f3efe6;
    --mist: #f4f8fb;
    --slate: #526171;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(6, 24, 39, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--navy);
    font-family: "Open Sans", Arial, sans-serif;
    background: var(--white);
    line-height: 1.7;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(6, 24, 39, 0.08);
    backdrop-filter: blur(14px);
}

.nav-wrap,
.section,
.hero-inner,
.footer-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 28px;
}

.brand {
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo-brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    letter-spacing: 0;
}

.logo-brand img {
    width: 190px;
    max-height: 58px;
    height: auto;
    object-fit: contain;
}

.footer-logo img {
    width: 180px;
    max-height: 56px;
    height: auto;
    object-fit: contain;
}

.brand span {
    display: block;
    color: var(--navy);
    font-size: 1.55rem;
    line-height: 1;
}

.brand small {
    display: block;
    color: var(--cyan);
    font-size: 0.72rem;
    letter-spacing: 0.36em;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
}

.nav a {
    color: var(--navy);
    text-decoration: none;
}

.nav a.active,
.nav a:hover,
.nav-dropdown.active summary,
.nav-dropdown summary:hover {
    color: var(--cyan);
}

.nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.mobile-menu-button {
    display: none;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mobile-menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 999px;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown summary {
    list-style: none;
    border: 0;
    padding: 0;
    color: var(--navy);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.nav-dropdown summary::after {
    content: "▾";
    margin-left: 6px;
    font-size: 0.72rem;
}

.nav-dropdown[open] summary::after {
    content: "▴";
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    min-width: 220px;
    padding: 12px;
    border: 1px solid rgba(6, 24, 39, 0.08);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--navy);
    text-transform: none;
}

.dropdown-menu a:hover {
    background: var(--mist);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown[open] .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.hero {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 24, 39, 0.88), rgba(6, 24, 39, 0.48), rgba(6, 24, 39, 0.18));
}

.hero-inner,
.page-hero .section {
    position: relative;
    z-index: 1;
}

.eyebrow {
    color: var(--cyan);
    font-weight: 800;
    letter-spacing: 0.16em;
    margin: 0 0 14px;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.08;
}

h1 {
    max-width: 920px;
    font-size: clamp(2.75rem, 6vw, 5.9rem);
    letter-spacing: -0.055em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.65rem);
    letter-spacing: -0.04em;
}

h3 {
    font-size: 1.35rem;
}

.lead {
    max-width: 740px;
    font-size: clamp(1.08rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.86);
}

.hero-text {
    max-width: 740px;
    font-size: clamp(1.08rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.86);
}

.section .hero-text {
    color: var(--white);
}

.section .lead {
    color: var(--slate);
}

.hero-text
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    color: var(--white);
    background: var(--cyan);
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
}

.button.secondary {
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.38);
}

.section {
    padding: 96px 0;
}

.section.alt {
    width: 100%;
    max-width: none;
    padding-left: max(20px, calc((100% - 1180px) / 2));
    padding-right: max(20px, calc((100% - 1180px) / 2));
    background: var(--mist);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: 58px;
}

.panel {
    padding: 34px;
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.panel.dark {
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), #0a3d5d);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 40px;
}

.card,
.stat {
    border: 1px solid rgba(6, 24, 39, 0.08);
    border-radius: 24px;
    padding: 28px;
    background: var(--white);
    box-shadow: 0 18px 45px rgba(6, 24, 39, 0.07);
}

.card img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    margin-bottom: 22px;
}

.stat strong {
    display: block;
    color: var(--blue);
    font-size: 2.4rem;
    line-height: 1;
}

.image-card {
    overflow: hidden;
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.image-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.image-card .copy {
    padding: 28px;
}

.page-hero {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.timeline {
    display: grid;
    gap: 18px;
    margin-top: 32px;
}

.timeline-item {
    padding: 26px;
    border-left: 5px solid var(--cyan);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 12px 35px rgba(6, 24, 39, 0.07);
}

.testimonials-section {
    overflow: hidden;
}

.testimonial-heading {
    max-width: 840px;
}

.testimonial-slider {
    position: relative;
    margin-top: 44px;
}

.testimonial-track {
    position: relative;
    min-height: 360px;
}

.testimonial-card {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: center;
    gap: 34px;
    padding: 42px;
    border: 1px solid rgba(6, 24, 39, 0.08);
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(24, 168, 216, 0.14), transparent 34%),
        var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateX(36px) scale(0.985);
    transition: opacity 280ms ease, transform 280ms ease;
}

.testimonial-card.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
}

.testimonial-avatar {
    width: 132px;
    height: 132px;
    border: 7px solid var(--white);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 18px 40px rgba(6, 24, 39, 0.18);
}

.testimonial-copy p {
    margin: 0 0 22px;
    color: var(--navy);
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 700;
    line-height: 1.55;
}

.testimonial-copy h3 {
    margin-bottom: 4px;
    color: var(--blue);
}

.testimonial-copy span {
    color: var(--slate);
    font-weight: 700;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 26px;
}

.testimonial-control {
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    padding: 0 18px;
    color: var(--white);
    background: var(--navy);
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.testimonial-control:hover {
    background: var(--blue);
}

.testimonial-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.testimonial-dots button {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: rgba(6, 24, 39, 0.22);
    cursor: pointer;
}

.testimonial-dots button.active {
    width: 34px;
    border-radius: 999px;
    background: var(--cyan);
}

.team-intro {
    max-width: 840px;
    margin-top: 78px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.team-card {
    display: grid;
    align-content: start;
    gap: 18px;
    padding: 22px;
    border: 1px solid rgba(6, 24, 39, 0.08);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 18px 45px rgba(6, 24, 39, 0.07);
}

.team-card img {
    width: 96px;
    height: 96px;
    border: 6px solid var(--mist);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 14px 28px rgba(6, 24, 39, 0.14);
}

.team-card h3 {
    margin-bottom: 6px;
    color: var(--navy);
    font-size: 1.08rem;
}

.team-card span {
    display: block;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
}

.team-card p {
    margin: 14px 0 0;
    color: var(--slate);
    font-size: 0.92rem;
    line-height: 1.65;
}

.map-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-grid label,
.form-grid .full {
    display: grid;
    gap: 8px;
}

.form-grid .full {
    grid-column: 1 / -1;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(6, 24, 39, 0.16);
    border-radius: 14px;
    padding: 14px 16px;
    font: inherit;
}

.site-footer {
    padding: 48px 0;
    color: rgba(255, 255, 255, 0.76);
    background: var(--navy);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 28px;
}

.footer-inner a {
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 46px;
    align-items: start;
}

.footer-tagline {
    max-width: 360px;
    margin-top: 18px;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links h3,
.footer-contact h3 {
    margin: 0 0 12px;
    color: var(--white);
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--white);
}

@media (max-width: 900px) {
    .nav-wrap,
    .split {
        display: block;
    }

    .nav-wrap {
        min-height: auto;
        padding: 14px 0;
    }

    .logo-brand img {
        width: 150px;
        max-height: 48px;
    }

    .mobile-menu-button {
        position: absolute;
        top: 28px;
        right: 20px;
        display: grid;
    }

    .mobile-menu-button strong {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .nav {
        display: none;
        margin-top: 16px;
        padding: 16px;
        border: 1px solid rgba(6, 24, 39, 0.08);
        border-radius: 20px;
        background: var(--white);
        box-shadow: 0 18px 45px rgba(6, 24, 39, 0.08);
        font-size: 0.92rem;
    }

    .nav-toggle:checked ~ .nav {
        display: grid;
        gap: 10px;
    }

    .nav a,
    .nav-dropdown summary {
        display: block;
        width: 100%;
        padding: 10px 0;
        text-align: left;
    }

    .dropdown-menu {
        position: static;
        display: none;
        min-width: 0;
        padding: 4px 0 4px 16px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-dropdown[open] .dropdown-menu,
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 8px 0;
        color: var(--slate);
    }

    .grid,
    .map-grid,
    .form-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-track {
        min-height: 520px;
    }

    .testimonial-card {
        grid-template-columns: 1fr;
        align-content: start;
        justify-items: start;
        padding: 30px;
    }

    .testimonial-avatar {
        width: 106px;
        height: 106px;
    }

    .testimonial-controls {
        align-items: stretch;
        flex-direction: column;
    }

    .testimonial-dots {
        order: -1;
    }

    .section,
    .section.alt {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
