:root {
    --navy: #16264a;
    --navy-soft: #2c3c63;
    --orange: #f4901e;
    --orange-dark: #e07b0a;
    --cream: #fdf7ef;
    --peach: #fbead9;
    --peach-line: #f3d9bd;
    --white: #ffffff;
    --ink-soft: #5c6784;
    --radius-lg: 28px;
    --radius-md: 18px;
    --shadow-card: 0 20px 40px -18px rgba(22, 38, 74, 0.22);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: var(--cream);
    color: var(--navy);
    -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
.logo-text {
    font-family: "Poppins", sans-serif;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
}
.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== visually-hidden focus-safe skip ===== */
:focus-visible {
    outline: 3px solid var(--orange-dark);
    outline-offset: 2px;
}

/* ===================== HEADER ===================== */
header {
    position: relative;
    z-index: 30;
    padding: 20px 0 0;
}
.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo svg {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}
.logo-text {
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text img {
    width: 80px;
}

.logo-text .small {
    font-size: 12px;
    font-weight: 600;
    color: var(--navy-soft);
    letter-spacing: 0.3px;
    max-width: 80px;
    position: relative;
    top: 5px;
}
.logo-text .small span {
    color: var(--orange);
}

nav.desktop-nav {
    display: none;
}
nav.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 36px;
    margin: 0;
    padding: 0;
}
nav.desktop-nav a {
    font-weight: 600;
    font-size: 15px;
    color: var(--navy);
    opacity: 0.85;
    transition: opacity 0.2s;
}
nav.desktop-nav a:hover {
    opacity: 1;
    color: var(--orange-dark);
}
.header-cta {
    display: none;
}

.burger {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
    position: relative;
    z-index: 60;
    transition: background 0.2s;
}
.burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy);
    position: relative;
    transition: background 0.2s;
}
.burger span::before,
.burger span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--navy);
    transition:
        transform 0.25s,
        top 0.25s,
        opacity 0.2s;
}
.burger span::before {
    top: -6px;
}
.burger span::after {
    top: 6px;
}
.burger.is-open span {
    background: transparent;
}
.burger.is-open span::before {
    top: 0;
    transform: rotate(45deg);
}
.burger.is-open span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ===== mobile nav panel ===== */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(16, 26, 52, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    z-index: 50;
}
.mobile-nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 78%;
    max-width: 320px;
    background: var(--white);
    z-index: 55;
    box-shadow: -14px 0 40px -12px rgba(22, 38, 74, 0.35);
    padding: 100px 30px 40px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.mobile-nav-panel.is-open {
    transform: translateX(0);
}
.mobile-nav-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.mobile-nav-panel a {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
}
.mobile-nav-panel .btn-cta {
    justify-content: center;
    width: 100%;
}

/* ===================== HERO ===================== */
.hero {
    position: relative;
    margin-top: 18px;
    min-height: 100vh;
}
.hero-inner {
    position: relative;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    overflow: hidden;
    min-height: 640px;
    display: flex;
    align-items: flex-end;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}
.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(100deg, rgba(16, 26, 52, 0.82) 0%, rgba(16, 26, 52, 0.55) 100%, rgba(16, 26, 52, 0) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 64px 24px 110px;
    color: var(--white);
    max-width: 560px;
}
.hero-content h1 {
    font-size: clamp(30px, 7vw, 42px);
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 16px;
}
.hero-content h1 .accent {
    color: var(--orange);
}
.hero-content p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 28px;
    max-width: 400px;
}
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--orange);
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
    padding: 16px 26px;
    border-radius: 14px;
    box-shadow: 0 14px 26px -10px rgba(244, 144, 30, 0.65);
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px -10px rgba(244, 144, 30, 0.75);
}
.btn-cta svg {
    width: 18px;
    height: 18px;
}

/* search card */
.search-card {
    position: relative;
    z-index: 5;
    margin: -56px 24px 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.search-field {
    display: flex;
    align-items: center;
    gap: 14px;
}
.search-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--peach);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.search-icon svg {
    width: 20px;
    height: 20px;
    color: var(--orange-dark);
}
.search-field .label {
    font-size: 12px;
    color: var(--ink-soft);
    font-weight: 600;
}
.search-field .value {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-top: 2px;
}
.search-divider {
    height: 1px;
    background: #eee;
}
.search-submit {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    background: var(--orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
}
.search-submit svg {
    width: 18px;
    height: 18px;
}

/* ===================== ANNOUNCE BANNER ===================== */
.announce-wrap {
    padding: 56px 24px 0;
}
.announce {
    background: var(--peach);
    border: 1px solid var(--peach-line);
    border-radius: var(--radius-md);
    padding: 30px 24px 34px;
    text-align: center;
}
.announce-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: var(--shadow-card);
}
.announce-icon svg {
    width: 32px;
    height: 32px;
    color: var(--orange);
}
.announce-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--navy);
    font-size: 22px;
    margin-bottom: 14px;
}
.announce-title .dash {
    width: 26px;
    height: 2px;
    background: var(--orange);
}
.announce p {
    margin: 6px 0;
    color: var(--navy-soft);
    font-size: 15px;
}
.announce p.lead {
    font-weight: 600;
    color: var(--navy);
    font-size: 17px;
}

/* ===================== FEATURES ===================== */
.section {
    padding: 70px 24px 0;
}
.section-head {
    text-align: center;
    margin-bottom: 40px;
}
.section-head h2 {
    font-size: clamp(24px, 5vw, 34px);
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}
.section-head h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    border-radius: 4px;
    background: var(--orange);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}
.feature {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 26px;
    box-shadow: var(--shadow-card);
}
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--peach);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--orange-dark);
}
.feature h3 {
    font-size: 18px;
    margin: 0 0 8px;
    font-weight: 700;
}
.feature p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.6;
}
.feature-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.stars {
    color: var(--orange);
    font-size: 15px;
    letter-spacing: 2px;
}
.rating-num {
    font-weight: 700;
    font-size: 14px;
    color: var(--navy);
}
.pill {
    background: var(--peach);
    color: var(--navy-soft);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}

/* ===================== STATS ===================== */
.stats {
    margin: 60px 24px 0;
    background: var(--navy);
    border-radius: var(--radius-md);
    padding: 38px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 16px;
}
.stat {
    text-align: center;
    color: #fff;
}
.stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}
.stat-icon svg {
    width: 22px;
    height: 22px;
    color: var(--orange);
}
.stat .num {
    font-size: 22px;
    font-weight: 800;
}
.stat .label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 4px;
    line-height: 1.4;
}

/* ===================== NEWSLETTER ===================== */
.newsletter-wrap {
    padding: 60px 24px 90px;
}
.newsletter {
    background: linear-gradient(120deg, var(--peach) 0%, #fdf1e4 100%);
    border: 1px solid var(--peach-line);
    border-radius: var(--radius-md);
    padding: 30px 22px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
}
.newsletter-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
    flex-shrink: 0;
}
.newsletter-icon svg {
    width: 28px;
    height: 28px;
    color: var(--orange-dark);
}
.newsletter h3 {
    font-size: 19px;
    margin: 0 0 6px;
    font-weight: 800;
}
.newsletter p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.5;
}
.newsletter .btn-cta {
    white-space: nowrap;
    padding: 14px 22px;
    font-size: 14px;
}
.newsletter-row {
    display: flex;
    gap: 16px;
    align-items: center;
    width: 100%;
}
.newsletter-text {
    flex: 1;
}

footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 26px 24px;
    font-size: 13px;
}
footer a {
    color: var(--orange);
    font-weight: 600;
}

/* ===================== SUBSCRIBE MODAL ===================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(16, 26, 52, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s;
    padding: 0 15px;
}
.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.modal {
    background: var(--white);
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
    padding: 34px 26px 30px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-overlay.is-open .modal {
    transform: translateY(0);
}
.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--peach);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
}
.modal-close svg {
    width: 16px;
    height: 16px;
}
.modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--peach);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.modal-icon svg {
    width: 26px;
    height: 26px;
    color: var(--orange-dark);
}
.modal h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 8px;
}
.modal p {
    font-size: 14px;
    color: var(--ink-soft);
    margin: 0 0 22px;
    line-height: 1.55;
}
.modal label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}
.modal-input-row {
    position: relative;
    margin-bottom: 18px;
}
.modal-input-row svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--ink-soft);
}
.modal input[type="email"] {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    border: 1.5px solid #e7e2d8;
    background: var(--cream);
    padding: 0 16px 0 46px;
    font-size: 15px;
    color: var(--navy);
    font-family: inherit;
}
.modal input[type="email"]:focus {
    border-color: var(--orange);
    outline: none;
}
.modal .btn-cta {
    width: 100%;
    justify-content: center;
}
.modal-note {
    font-size: 12px;
    color: var(--ink-soft);
    margin-top: 14px;
    text-align: center;
}
.modal-success {
    display: none;
    text-align: center;
    padding: 10px 0 4px;
}
.modal-success.is-shown {
    display: block;
}
.modal-success .check {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--peach);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.modal-success .check svg {
    width: 28px;
    height: 28px;
    color: var(--orange-dark);
}
.modal-form.is-hidden {
    display: none;
}

@media (min-width: 640px) {
    .modal-overlay {
        align-items: center;
    }
    .modal {
        border-radius: 24px;
    }
}

/* ===================== DESKTOP ===================== */
@media (min-width: 1024px) {
    .wrap {
        padding: 0 48px;
    }
    header {
        padding: 28px 0 0;
    }
    .header-row {
        padding: 0 48px;
    }
    .logo svg {
        width: 58px;
        height: 58px;
    }
    .logo-text .big {
        font-size: 29px;
    }
    nav.desktop-nav {
        display: block;
    }
    .header-cta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: var(--navy);
        color: #fff;
        font-weight: 700;
        font-size: 14px;
        padding: 13px 22px;
        border-radius: 12px;
    }
    .burger {
        display: none;
    }
    .mobile-nav-overlay,
    .mobile-nav-panel {
        display: none !important;
    }
    .header-row {
        align-items: center;
    }
    .header-actions {
        display: flex;
        align-items: center;
        gap: 28px;
    }

    .hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-inner {
        min-height: auto;
        border-radius: var(--radius-lg);
        margin: 0 48px;
        overflow: visible;
        align-items: center;
        width: 100%;
    }
    .hero-bg {
        grid-column: 2;
        border-radius: var(--radius-lg);
        overflow: hidden;
    }
    .hero-bg-mobile {
        display: none;
    }
    .hero-scrim-mobile {
        display: none;
    }
    .hero-content {
        grid-column: 1;
        grid-row: 1;
        max-width: none;
        color: var(--navy);
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        align-items: center;
        text-align: center;
    }
    .hero-content h1 {
        color: #fff;
        font-size: 48px;
    }
    .hero-content p {
        font-size: 17px;
    }

    .search-card {
        width: 100%;
        margin: 0 48px;
        flex-direction: row;
        align-items: center;
        padding: 26px 32px;
        max-width: 900px;
    }
    .search-field {
        flex: 1;
    }
    .search-divider {
        width: 1px;
        height: 44px;
    }
    .search-submit {
        width: auto;
        padding: 0 34px;
    }

    .announce-wrap {
        padding: 20px 48px 0;
    }
    .section {
        padding: 90px 48px 0;
    }
    .feature-list {
        max-width: none;
    }
    .feature {
        padding: 34px 32px;
    }

    .stats {
        margin: 80px 48px 0;
        grid-template-columns: repeat(4, 1fr);
        padding: 44px 30px;
    }

    .newsletter-wrap {
        padding: 80px 48px 100px;
    }
    .newsletter {
        flex-direction: row;
        align-items: center;
        padding: 36px 44px;
    }
    .newsletter-row {
        flex-direction: row;
    }
}

@media (min-width: 1024px) and (min-height: 0) {
    .feature-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 26px;
    }
    .feature {
        flex-direction: column;
    }
    .feature-icon {
        margin-bottom: 6px;
    }
}
