:root {
    --navy: #142c43;
    --navy-light: #203e58;
    --teal: #078b8c;
    --teal-dark: #067576;
    --ink: #243447;
    --muted: #718096;
    --pale: #f3f7f9;
    --white: #ffffff;
    --border: #e3eaf0;
    --shadow: 0 18px 50px rgba(15, 39, 60, .13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 5;
}

.nav-wrap {
    max-width: 1200px;
    min-height: 82px;
    margin: auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -.8px;
    white-space: nowrap;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--teal);
    color: white;
    font-size: 23px;
}

.brand-light { font-weight: 500; }

.nav-links, .nav-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a, .nav-login {
    color: #526174;
    font-size: 14px;
    font-weight: 600;
}

.nav-links a:hover, .nav-login:hover { color: var(--teal); }

.nav-button, .cta-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 12px 19px;
    background: var(--teal);
    color: white;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    transition: .2s ease;
}

.nav-button:hover, .cta-button:hover, .search-button:hover {
    background: var(--teal-dark);
    transform: translateY(-1px);
}

.mobile-menu { display: none; }

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(115deg, #142c43 0%, #1c4059 62%, #176b70 100%);
    color: white;
    padding: 76px 28px 86px;
}

.hero-inner {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 460px;
    align-items: center;
    gap: 65px;
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-block;
    color: #28b9b3;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(42px, 5vw, 62px);
    line-height: 1.08;
    letter-spacing: -2.2px;
    margin: 0 0 22px;
    font-weight: 800;
}

.hero h1 span { color: #58d0c5; }

.hero-copy > p {
    max-width: 540px;
    color: #d4e0e8;
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 26px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    color: #e3edf2;
    font-size: 13px;
}

.hero-points b { color: #58d0c5; margin-right: 5px; }

.search-card {
    background: white;
    color: var(--ink);
    border-radius: 14px;
    padding: 27px;
    box-shadow: var(--shadow);
}

.search-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.search-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #e6f6f4;
    color: var(--teal);
    font-size: 26px;
}

.search-heading h2 { margin: 0; font-size: 20px; color: var(--navy); }
.search-heading p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }

.search-card label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #465568;
    margin: 0 0 7px;
}

.search-card input, .search-card select {
    width: 100%;
    height: 45px;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0 12px;
    background: #fbfcfd;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    margin-bottom: 15px;
}

.search-card input:focus, .search-card select:focus {
    outline: 2px solid rgba(7,139,140,.18);
    border-color: var(--teal);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.search-button {
    width: 100%;
    border: 0;
    border-radius: 7px;
    background: var(--teal);
    color: white;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.search-button span { margin-left: 8px; font-size: 20px; }
.search-note { text-align: center; color: #8995a3; font-size: 11px; margin: 13px 0 0; }

.hero-decoration {
    position: absolute;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    right: -150px;
    bottom: -270px;
}

.trust-strip {
    max-width: 1060px;
    margin: -1px auto 0;
    padding: 25px 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.trust-strip div { display: flex; flex-direction: column; gap: 2px; }
.trust-strip strong { color: var(--navy); font-size: 21px; }
.trust-strip span { color: var(--muted); font-size: 12px; }

.intro-section, .steps-section {
    max-width: 1200px;
    margin: auto;
    padding: 82px 28px;
}

.section-heading { max-width: 680px; margin: 0 auto 42px; text-align: center; }
.section-heading h2 {
    color: var(--navy);
    font-size: clamp(29px, 4vw, 39px);
    letter-spacing: -1px;
    line-height: 1.2;
    margin: 0 0 15px;
}
.section-heading p { color: var(--muted); font-size: 15px; margin: 0; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: white;
    transition: .2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(20,44,67,.08);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #e8f6f4;
    color: var(--teal);
    font-size: 25px;
    margin-bottom: 20px;
}

.feature-card h3 { color: var(--navy); font-size: 19px; margin: 0 0 10px; }
.feature-card p { color: var(--muted); font-size: 14px; min-height: 88px; margin: 0 0 18px; }
.feature-card a { color: var(--teal-dark); font-weight: 700; font-size: 13px; }
.feature-card a span { font-size: 18px; margin-left: 5px; }

.steps-section { background: var(--pale); max-width: none; }
.steps-section .section-heading, .steps-grid { max-width: 1144px; margin-left: auto; margin-right: auto; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.step { border-top: 2px solid #c8e9e5; padding-top: 20px; }
.step-number { color: var(--teal); font-size: 13px; font-weight: 800; letter-spacing: 1px; }
.step h3 { color: var(--navy); font-size: 18px; margin: 10px 0 7px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

.cta-section {
    max-width: 1144px;
    margin: 75px auto;
    padding: 38px 42px;
    border-radius: 13px;
    background: var(--navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.cta-section .eyebrow { margin-bottom: 8px; }
.cta-section h2 { margin: 0 0 8px; font-size: 27px; letter-spacing: -.5px; }
.cta-section p { margin: 0; color: #cbd8e1; font-size: 14px; }
.cta-button { background: #17a6a0; white-space: nowrap; }

.site-footer { background: #0f2437; color: white; padding: 48px 28px 20px; }
.footer-main {
    max-width: 1144px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 38px;
}
.footer-logo { color: white; }
.footer-brand p { color: #aebdca; font-size: 13px; max-width: 300px; margin-top: 15px; }
.footer-column { display: flex; flex-direction: column; gap: 11px; }
.footer-column h4 { margin: 0 0 5px; font-size: 13px; color: white; }
.footer-column a { color: #aebdca; font-size: 13px; }
.footer-column a:hover { color: #58d0c5; }
.footer-bottom {
    max-width: 1144px;
    margin: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.13);
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #92a4b3;
    font-size: 11px;
}

@media (max-width: 900px) {
    .nav-links { gap: 15px; }
    .hero-inner { grid-template-columns: 1fr 410px; gap: 28px; }
    .hero { padding-top: 55px; }
    .cta-section { margin-left: 22px; margin-right: 22px; }
}

@media (max-width: 720px) {
    .nav-wrap { min-height: 70px; padding: 0 18px; }
    .nav-links, .nav-actions { display: none; }
    .mobile-menu {
        display: block;
        border: 0;
        background: transparent;
        color: var(--navy);
        font-size: 25px;
        cursor: pointer;
    }
    .nav-links.open {
        display: flex;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        padding: 20px;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: 0 12px 20px rgba(0,0,0,.08);
    }
    .hero { padding: 48px 18px 55px; }
    .hero-inner { grid-template-columns: 1fr; gap: 35px; }
    .hero h1 { font-size: 43px; }
    .hero-copy > p { font-size: 15px; }
    .search-card { padding: 22px; }
    .trust-strip { padding: 22px 10px; }
    .trust-strip strong { font-size: 17px; }
    .trust-strip span { font-size: 10px; }
    .intro-section, .steps-section { padding: 58px 18px; }
    .feature-grid, .steps-grid { grid-template-columns: 1fr; }
    .feature-card p { min-height: 0; }
    .cta-section { margin: 45px 18px; padding: 28px 23px; flex-direction: column; align-items: flex-start; }
    .cta-section h2 { font-size: 24px; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; }
}

@media (max-width: 390px) {
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .hero h1 { font-size: 37px; }
    .brand { font-size: 20px; }
}
