:root {
    --orange: #f45108;
    --orange-dark: #d94300;
    --orange-light: #fff1e9;

    --ink: #17283d;
    --text: #26364a;
    --muted: #657387;

    --white: #ffffff;
    --background: #f5f7fa;
    --line: #d9dfe7;

    --radius: 18px;
    --shadow: 0 20px 55px rgba(27, 37, 53, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);
    background: var(--background);

    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea {
    font: inherit;
}


/* =====================================
   HERO
===================================== */

.hero {
    position: relative;

    min-height: 100vh;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.95) 0%,
            rgba(255,255,255,.84) 30%,
            rgba(255,255,255,.35) 62%,
            rgba(23,40,61,.08) 100%
        ),
        url("../images/hero-road.jpg")
        center / cover
        no-repeat;
}

.hero::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 45% 40%,
            rgba(255,220,149,.35),
            transparent 30%
        );
}


/* =====================================
   NAVBAR
===================================== */

.navbar {
    position: relative;
    z-index: 100;

    height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 clamp(20px, 4vw, 70px);

    background: rgba(255,255,255,.88);

    backdrop-filter: blur(15px);

    border-bottom:
        1px solid rgba(0,0,0,.04);
}

.brand {
    flex-shrink: 0;

    text-decoration: none;
}

.brand img {
    width: 170px;
    height: auto;
}


/* DESKTOP NAV */

.nav-links {
    display: flex;
    align-items: center;

    gap: clamp(16px, 2.5vw, 42px);

    height: 100%;
}

.nav-links a {
    position: relative;

    display: flex;
    align-items: center;

    height: 100%;

    color: var(--text);

    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    white-space: nowrap;

    transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--orange);
}

.nav-links a.active::after {
    content: "";

    position: absolute;

    left: 5px;
    right: 5px;
    bottom: 17px;

    height: 2px;

    background: var(--orange);

    border-radius: 20px;
}


/* AUTH */

.auth {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 20px;

    border: 1px solid #e3a07e;
    border-radius: 11px;

    color: var(--ink);

    background: var(--white);

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    color: var(--white);

    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            var(--orange),
            #ff4900
        );
}


/* MOBILE MENU BUTTON */

.menu {
    display: none;

    width: 44px;
    height: 44px;

    padding: 0;

    border:
        1px solid rgba(244,81,8,.18);

    border-radius: 10px;

    background: var(--white);

    cursor: pointer;
}

.menu span {
    display: block;

    width: 21px;
    height: 2px;

    margin: 4px auto;

    background: var(--ink);

    border-radius: 10px;

    transition:
        transform .25s ease,
        opacity .25s ease;
}

.menu.is-open span:nth-child(1) {
    transform:
        translateY(6px)
        rotate(45deg);
}

.menu.is-open span:nth-child(2) {
    opacity: 0;
}

.menu.is-open span:nth-child(3) {
    transform:
        translateY(-6px)
        rotate(-45deg);
}


/* MOBILE MENU */

.mobile-menu {
    display: none;
}


/* =====================================
   HERO MAIN
===================================== */

.main {
    position: relative;
    z-index: 2;

    width: min(1536px, 100%);

    margin: auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(320px, .85fr);

    align-items: center;

    gap: clamp(35px, 5vw, 70px);

    padding:
        45px
        clamp(25px, 4vw, 65px)
        130px;
}


/* HERO TEXT */

.eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 9px 16px;

    border:
        1px solid rgba(244,81,8,.25);

    border-radius: 999px;

    background:
        rgba(255,255,255,.6);

    color: var(--orange);

    font-size: 15px;
    font-weight: 700;
}

h1 {
    margin: 22px 0 18px;

    max-width: 650px;

    color: var(--ink);

    font-size:
        clamp(42px, 4.2vw, 60px);

    line-height: 1.05;

    letter-spacing: -3px;
}

h1 span {
    display: block;

    color: var(--orange);
}

.hero-copy p {
    max-width: 600px;

    margin: 0;

    color: #344154;

    font-size: 17px;

    line-height: 1.65;
}


/* CTA */

.cta-row {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 28px;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 55px;

    padding: 0 25px;

    border-radius: 11px;

    text-decoration: none;

    font-size: 16px;
    font-weight: 750;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.cta:hover {
    transform: translateY(-2px);
}

.cta.orange {
    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--orange),
            #ff4900
        );

    box-shadow:
        0 10px 25px
        rgba(244,81,8,.18);
}

.cta.outline {
    color: var(--ink);

    border:
        1px solid #e79065;

    background:
        rgba(255,255,255,.7);
}

.play-icon {
    display: grid;
    place-items: center;

    width: 27px;
    height: 27px;

    border:
        1.5px solid var(--orange);

    border-radius: 50%;

    color: var(--orange);

    font-size: 12px;
}


/* =====================================
   SLIDER
===================================== */

.trip-slider {
    position: relative;

    width: 100%;
    max-width: 450px;

    justify-self: end;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: var(--radius);

    background: #e8edf3;

    box-shadow: var(--shadow);

    isolation: isolate;
}

.trip-slider__viewport {
    position: relative;

    width: 100%;
    height: 100%;
}

.trip-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .6s ease,
        visibility .6s ease;
}

.trip-slide.is-active {
    opacity: 1;

    visibility: visible;
}

.trip-slider__dots {
    position: absolute;

    z-index: 5;

    left: 50%;
    bottom: 12px;

    display: flex;

    gap: 8px;

    padding: 7px 10px;

    transform:
        translateX(-50%);

    border-radius: 999px;

    background:
        rgba(0,0,0,.20);

    backdrop-filter: blur(6px);
}

.trip-slider__dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: none;

    border-radius: 999px;

    background:
        rgba(255,255,255,.6);

    cursor: pointer;

    transition:
        width .25s ease,
        background .25s ease;
}

.trip-slider__dot.is-active {
    width: 24px;

    background: var(--orange);
}


/* =====================================
   QUICK FEATURES
===================================== */

.quick-features {
    position: absolute;

    z-index: 3;

    left: 50%;
    bottom: 15px;

    width:
        min(80%, 1212px);

    transform:
        translateX(-50%);

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    padding: 20px 25px;

    background:
        rgba(255,255,255,.94);

    backdrop-filter:
        blur(14px);

    border-radius: 20px;

    box-shadow:
        0 12px 35px
        rgba(24,33,45,.14);
}

.quick-feature {
    display: flex;
    align-items: center;

    gap: 14px;

    padding: 0 20px;

    border-right:
        1px solid var(--line);
}

.quick-feature:last-child {
    border-right: none;
}

.quick-icon {
    display: grid;
    place-items: center;

    width: 43px;
    height: 43px;

    flex: 0 0 43px;

    border-radius: 12px;

    background:
        var(--orange-light);

    font-size: 21px;
}

.quick-feature strong,
.quick-feature span {
    display: block;
}

.quick-feature strong {
    color: var(--ink);

    font-size: 15px;
}

.quick-feature span {
    margin-top: 3px;

    color: var(--muted);

    font-size: 13px;
}


/* =====================================
   COMMON SECTIONS
===================================== */

.section-container {
    width:
        min(1180px, calc(100% - 40px));

    margin: 0 auto;
}

.section-heading {
    max-width: 700px;

    margin:
        0 auto 55px;

    text-align: center;
}

.section-tag {
    display: inline-flex;

    padding: 8px 15px;

    border-radius: 999px;

    background:
        rgba(244,81,8,.10);

    color: var(--orange);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1px;
}

.section-heading h2,
.about-content h2,
.contact-info h2 {
    margin: 18px 0 15px;

    color: var(--ink);

    font-size:
        clamp(32px, 4vw, 48px);

    line-height: 1.15;

    letter-spacing: -1.5px;
}

.section-heading h2 span,
.about-content h2 span,
.contact-info h2 span {
    display: block;

    color: var(--orange);
}

.section-heading p {
    color: var(--muted);

    font-size: 16px;

    line-height: 1.65;
}


/* =====================================
   FEATURES SECTION
===================================== */

.features-section {
    padding: 100px 0;

    background: var(--white);
}

.features-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}

.feature-card {
    padding: 30px;

    border:
        1px solid #e5eaf0;

    border-radius: 18px;

    background: var(--white);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.feature-card:hover {
    transform:
        translateY(-6px);

    border-color:
        rgba(244,81,8,.25);

    box-shadow:
        0 18px 40px
        rgba(24,33,45,.09);
}

.feature-card-icon {
    display: grid;
    place-items: center;

    width: 58px;
    height: 58px;

    margin-bottom: 20px;

    border-radius: 16px;

    background: var(--orange-light);

    font-size: 28px;
}

.feature-card h3 {
    margin: 0 0 10px;

    color: var(--ink);

    font-size: 20px;
}

.feature-card p {
    margin: 0;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.65;
}


/* =====================================
   HOW IT WORKS
===================================== */

.how-it-works {
    padding: 100px 0;

    background: #f7f9fc;
}

.steps-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.step-card {
    position: relative;

    padding: 35px 30px;

    border:
        1px solid #e5eaf0;

    border-radius: 20px;

    background: var(--white);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.step-card:hover {
    transform:
        translateY(-6px);

    box-shadow:
        0 18px 40px
        rgba(24,33,45,.10);
}

.step-number {
    position: absolute;

    top: 20px;
    right: 22px;

    color:
        rgba(23,40,61,.08);

    font-size: 42px;

    font-weight: 900;
}

.step-icon {
    display: grid;
    place-items: center;

    width: 62px;
    height: 62px;

    margin-bottom: 20px;

    border-radius: 16px;

    background: var(--orange-light);

    font-size: 30px;
}

.step-card h3 {
    margin: 0 0 10px;

    color: var(--ink);

    font-size: 21px;
}

.step-card p {
    margin: 0;

    color: var(--muted);

    line-height: 1.65;
}


/* =====================================
   ABOUT
===================================== */

.about-section {
    padding: 110px 0;

    background: var(--white);
}

.about-grid {
    display: grid;

    grid-template-columns:
        1fr
        minmax(350px, 460px);

    align-items: center;

    gap:
        clamp(45px, 7vw, 100px);
}

.about-content > p {
    max-width: 600px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.7;
}

.about-points {
    display: grid;

    gap: 17px;

    margin-top: 30px;
}

.about-point {
    display: flex;
    align-items: center;

    gap: 14px;
}

.about-check {
    display: grid;
    place-items: center;

    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--orange),
            #ff4900
        );

    color: var(--white);

    font-weight: 800;
}

.about-point strong,
.about-point span {
    display: block;
}

.about-point strong {
    color: var(--ink);
}

.about-point span {
    margin-top: 3px;

    color: var(--muted);

    font-size: 14px;
}

.about-button {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    margin-top: 35px;

    padding: 15px 22px;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            var(--orange),
            #ff4900
        );

    color: var(--white);

    text-decoration: none;

    font-weight: 700;
}

.about-visual {
    min-height: 430px;

    display: flex;
    align-items: center;

    padding: 35px;

    overflow: hidden;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            var(--ink),
            #254b75
        );
}

.about-visual-card {
    width: 100%;

    display: grid;

    gap: 16px;
}

.about-stat {
    padding: 22px 25px;

    border:
        1px solid rgba(255,255,255,.12);

    border-radius: 16px;

    background:
        rgba(255,255,255,.10);

    backdrop-filter:
        blur(10px);
}

.about-stat strong,
.about-stat span {
    display: block;
}

.about-stat strong {
    color: var(--white);

    font-size: 26px;
}

.about-stat span {
    margin-top: 5px;

    color:
        rgba(255,255,255,.7);

    font-size: 14px;
}


/* =====================================
   CONTACT
===================================== */

.contact-section {
    padding: 100px 0;

    background: #f7f9fc;
}

.contact-wrapper {
    display: grid;

    grid-template-columns:
        .9fr
        1.1fr;

    overflow: hidden;

    border-radius: 26px;

    box-shadow:
        0 20px 60px
        rgba(23,40,61,.10);
}

.contact-info {
    padding:
        clamp(35px, 5vw, 65px);

    background:
        linear-gradient(
            135deg,
            var(--ink),
            #24476e
        );
}

.light-tag {
    background:
        rgba(255,255,255,.12);

    color: var(--white);
}

.contact-info h2 {
    color: var(--white);
}

.contact-info h2 span {
    color: #ff7a38;
}

.contact-info p {
    color:
        rgba(255,255,255,.72);

    line-height: 1.7;
}

.contact-details {
    display: grid;

    gap: 20px;

    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;

    gap: 15px;
}

.contact-icon {
    display: grid;
    place-items: center;

    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    border-radius: 14px;

    background:
        rgba(255,255,255,.10);

    color: var(--white);
}

.contact-item span,
.contact-item strong {
    display: block;
}

.contact-item span {
    color:
        rgba(255,255,255,.55);

    font-size: 13px;
}

.contact-item strong {
    margin-top: 4px;

    color: var(--white);

    font-size: 14px;

    word-break: break-word;
}


/* CONTACT FORM */

.contact-form {
    padding:
        clamp(35px, 5vw, 65px);

    background: var(--white);
}

.form-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--ink);

    font-size: 14px;

    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;

    border:
        1px solid #dce2e9;

    outline: none;

    border-radius: 10px;

    background: #fbfcfd;

    color: var(--ink);

    padding: 0 15px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.form-group input {
    height: 52px;
}

.form-group textarea {
    min-height: 140px;

    padding: 14px 15px;

    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--orange);

    box-shadow:
        0 0 0 4px
        rgba(244,81,8,.10);
}

.contact-button {
    width: 100%;
    min-height: 55px;

    border: none;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            var(--orange),
            #ff4900
        );

    color: var(--white);

    font-weight: 700;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.contact-button:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 12px 25px
        rgba(244,81,8,.22);
}


/* =====================================
   FOOTER
===================================== */

.footer {
    background: #101f32;
}

.footer-container {
    width:
        min(1180px, calc(100% - 40px));

    margin: auto;

    padding: 50px 0 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;
}

.footer-logo img {
    width: 165px;

    margin-bottom: 12px;
}

.footer-logo p {
    max-width: 370px;

    margin: 0;

    color:
        rgba(255,255,255,.60);

    font-size: 14px;

    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 25px;
}

.footer-links a {
    color:
        rgba(255,255,255,.75);

    text-decoration: none;

    font-size: 14px;
}

.footer-links a:hover {
    color: #ff6b22;
}

.footer-bottom {
    padding: 20px;

    border-top:
        1px solid rgba(255,255,255,.08);

    text-align: center;
}

.footer-bottom p {
    margin: 0;

    color:
        rgba(255,255,255,.5);

    font-size: 13px;
}


/* =====================================
   TABLET
===================================== */

@media (max-width: 1100px) {

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .btn {
        padding: 0 15px;
    }

    .main {
        grid-template-columns: 1fr;

        padding-bottom: 50px;
    }

    .trip-slider {
        max-width: 600px;

        justify-self: center;
    }

    .quick-features {
        position: relative;

        left: auto;
        bottom: auto;

        width: 90%;

        margin: 0 auto 30px;

        transform: none;
    }

    .hero {
        min-height: auto;
    }

    .features-grid,
    .steps-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;

        align-items: flex-start;
    }

    .footer-links {
        justify-content: flex-start;
    }

}


/* =====================================
   MOBILE
===================================== */

@media (max-width: 760px) {

    html {
        scroll-padding-top: 70px;
    }

    .navbar {
        height: 68px;

        padding: 0 18px;
    }

    .brand img {
        width: 140px;
    }

    .nav-links,
    .auth {
        display: none;
    }

    .menu {
        display: block;

        position: relative;
        z-index: 200;
    }

    .mobile-menu {
        display: block;

        position: absolute;

        top: 68px;
        left: 0;
        right: 0;

        z-index: 90;

        max-height: 0;

        overflow: hidden;

        opacity: 0;

        visibility: hidden;

        background:
            rgba(255,255,255,.98);

        box-shadow:
            0 18px 35px
            rgba(20,30,45,.12);

        transition:
            max-height .35s ease,
            opacity .25s ease,
            visibility .35s ease;
    }

    .mobile-menu.is-open {
        max-height: 550px;

        opacity: 1;

        visibility: visible;
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;

        padding: 12px 18px 20px;
    }

    .mobile-nav > a {
        display: flex;
        align-items: center;

        min-height: 52px;

        padding: 0 10px;

        border-bottom:
            1px solid rgba(0,0,0,.07);

        color: var(--ink);

        text-decoration: none;

        font-weight: 600;
    }

    .mobile-auth {
        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap: 12px;

        margin-top: 20px;
    }

    .mobile-login,
    .mobile-signup {
        display: flex;
        align-items: center;
        justify-content: center;

        min-height: 48px;

        border-radius: 10px;

        text-decoration: none;

        font-weight: 700;
    }

    .mobile-login {
        border:
            1px solid #e3a07e;

        color: var(--ink);
    }

    .mobile-signup {
        background:
            linear-gradient(
                135deg,
                var(--orange),
                #ff4900
            );

        color: var(--white);
    }

    .main {
        display: flex;
        flex-direction: column;

        gap: 30px;

        padding: 35px 18px 30px;
    }

    .eyebrow {
        font-size: 13px;
    }

    h1 {
        font-size:
            clamp(40px, 12vw, 54px);

        letter-spacing: -2px;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .cta-row {
        flex-direction: column;
    }

    .cta {
        width: 100%;
    }

    .trip-slider {
        width: 100%;
        max-width: 100%;
    }

    .quick-features {
        width:
            calc(100% - 36px);

        grid-template-columns:
            1fr 1fr;

        margin: 0 18px 20px;

        padding: 10px;
    }

    .quick-feature {
        padding: 12px 7px;

        border-right: none;
    }

    .quick-feature:nth-child(odd) {
        border-right:
            1px solid var(--line);
    }

    .quick-feature:nth-child(-n + 2) {
        border-bottom:
            1px solid var(--line);
    }

    .quick-feature strong {
        font-size: 13px;
    }

    .quick-feature span {
        font-size: 12px;
    }

    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .how-it-works,
    .features-section,
    .about-section,
    .contact-section {
        padding: 70px 0;
    }

    .section-container {
        width:
            min(100% - 36px, 1180px);
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .about-visual {
        min-height: 350px;

        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .contact-info,
    .contact-form {
        padding: 30px 22px;
    }

    .footer-container {
        width:
            calc(100% - 36px);

        padding: 40px 0 30px;
    }

    .footer-links {
        gap: 15px 20px;
    }

}


/* =====================================
   SMALL MOBILE
===================================== */

@media (max-width: 380px) {

    .brand img {
        width: 125px;
    }

    h1 {
        font-size: 40px;
    }

    .quick-icon {
        width: 38px;
        height: 38px;

        flex: 0 0 38px;

        font-size: 18px;
    }

}


/* =====================================
   ACCESSIBILITY
===================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }

}

.seo-content-section {
    padding: 70px 0;
    background: var(--white);
}

.seo-content-section .container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}
