/* ============================================================
   RIACAB
============================================================ */

:root {
    --yellow: #ffc400;
    --yellow-dark: #e7ad00;

    --black: #05090b;
    --dark: #081014;
    --dark-2: #0d161b;
    --dark-3: #121d23;

    --border: rgba(255, 255, 255, .10);

    --white: #ffffff;
    --muted: #9da8ae;

    --container: 1220px;

    --radius: 16px;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.5;
}


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


button,
input {
    font: inherit;
}


.container {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}


/* ============================================================
   HEADER
============================================================ */

.main-header {
    height: 78px;
    background: rgba(4, 10, 13, .96);
    border-bottom: 1px solid rgba(255,255,255,.06);
    position: relative;
    z-index: 100;
}


.header-inner {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}


.brand-icon {
    color: var(--yellow);
    font-size: 29px;
}


.brand-name {
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -.7px;
}


.brand-name span {
    color: var(--yellow);
}


.desktop-nav {
    display: flex;
    align-items: center;
    gap: 38px;
}


.desktop-nav a {
    color: #d9dfe2;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    padding: 29px 0;
}


.desktop-nav a:hover,
.desktop-nav a.active {
    color: white;
}


.desktop-nav a.active:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    margin: auto;
    width: 24px;
    height: 3px;
    border-radius: 5px;
    background: var(--yellow);
}


.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}


.btn-yellow {
    background: var(--yellow);
    color: #070a0b;
    min-height: 43px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border-radius: 9px;
    font-weight: 800;
    font-size: 14px;
}


.btn-yellow:hover {
    background: #ffd02c;
}


.mobile-menu-button {
    border: 0;
    color: white;
    background: transparent;
    font-size: 23px;
    cursor: pointer;
    display: none;
}


.mobile-nav {
    display: none;
}



/* ============================================================
   HERO
============================================================ */

.hero {
    position: relative;
    min-height: 600px;

    background:
        linear-gradient(
            90deg,
            rgba(3,8,11,.98) 0%,
            rgba(3,8,11,.88) 37%,
            rgba(3,8,11,.38) 68%,
            rgba(3,8,11,.72) 100%
        ),
        url("../images/riacab-hero.jpg");

    background-size: cover;
    background-position: center;

    border-bottom: 1px solid var(--border);

    overflow: hidden;
}


.hero:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 150px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            #05090b
        );

    pointer-events: none;
}


.hero-grid {
    min-height: 600px;
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 70px;

    align-items: center;

    padding-top: 45px;
    padding-bottom: 45px;
}


.hero-content {
    max-width: 680px;
}


.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 7px 12px;

    border: 1px solid rgba(255,196,0,.28);
    background: rgba(255,196,0,.06);

    border-radius: 50px;

    color: #d7dadd;

    font-size: 12px;
    font-weight: 600;

    margin-bottom: 20px;
}


.hero-badge span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--yellow);

    box-shadow:
        0 0 10px rgba(255,196,0,.8);
}


.hero h1 {
    margin: 0;
    font-size: clamp(42px, 4vw, 63px);
    line-height: 1.04;
    letter-spacing: -2.7px;
    font-weight: 900;
}


.hero h1 span {
    color: var(--yellow);
}


.hero-description {
    margin: 23px 0 27px;
    max-width: 575px;

    font-size: 17px;
    line-height: 1.75;

    color: #c8d0d4;
}


.hero-benefits {
    display: flex;
    align-items: center;

    gap: 0;

    margin-top: 20px;
}


.hero-benefits > div {
    display: flex;
    align-items: center;
    gap: 9px;

    padding-right: 23px;
    margin-right: 23px;

    border-right: 1px solid rgba(255,255,255,.17);

    color: #e4e7e8;

    font-size: 13px;
    font-weight: 600;
}


.hero-benefits > div:last-child {
    border-right: 0;
}


.hero-benefits i {
    color: var(--yellow);
    font-size: 18px;
}


.hero-operator-note {
    margin-top: 30px;

    padding: 13px 16px;

    max-width: 585px;

    border-left: 3px solid var(--yellow);

    background: rgba(0,0,0,.35);

    display: flex;
    gap: 10px;

    color: #aeb9be;

    font-size: 12px;
}


.hero-operator-note i {
    color: var(--yellow);
    margin-top: 2px;
}



/* ============================================================
   BOOKING CARD
============================================================ */

.booking-card {
    border: 1px solid rgba(255,255,255,.15);

    border-radius: 17px;

    padding: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(20,30,35,.95),
            rgba(10,16,20,.95)
        );

    box-shadow:
        0 30px 80px rgba(0,0,0,.43);

    backdrop-filter: blur(10px);
}


.booking-card-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 22px;
}


.booking-card-heading h2 {
    margin: 0 0 4px;
    font-size: 21px;
}


.booking-card-heading p {
    margin: 0;
    color: #8f9da3;
    font-size: 12px;
}


.booking-heading-icon {
    width: 46px;
    height: 46px;

    border-radius: 12px;

    background: rgba(255,196,0,.11);

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--yellow);
    font-size: 20px;
}


.form-group {
    margin-bottom: 15px;
}


.form-group label {
    display: block;
    margin-bottom: 7px;

    color: #ccd2d5;

    font-size: 11px;
    font-weight: 600;
}


.input-icon {
    position: relative;
}


.input-icon > i {
    position: absolute;

    left: 13px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--yellow);

    z-index: 2;
}


.input-icon input {
    width: 100%;
    height: 47px;

    padding: 0 14px 0 40px;

    border-radius: 8px;

    border: 1px solid rgba(255,255,255,.13);

    background: #172126;

    color: white;

    outline: none;
}


.input-icon input::placeholder {
    color: #77858b;
}


.input-icon input:focus {
    border-color: rgba(255,196,0,.7);
}


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


.search-cab-button {
    border: 0;

    width: 100%;
    min-height: 49px;

    margin-top: 3px;

    border-radius: 8px;

    background: var(--yellow);

    color: #080b0d;

    font-weight: 800;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 10px;

    cursor: pointer;
}


.search-cab-button:hover {
    background: #ffd22f;
}


.booking-card-footer {
    margin-top: 16px;

    padding-top: 15px;

    border-top: 1px solid rgba(255,255,255,.08);

    text-align: center;

    color: #849198;

    font-size: 10px;
}


.booking-card-footer i {
    color: var(--yellow);
    margin-right: 4px;
}



/* ============================================================
   COMMON SECTION
============================================================ */

.section-label {
    color: var(--yellow);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.7px;
}


.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    align-items: end;

    margin-bottom: 35px;
}


.section-heading h2 {
    font-size: 34px;

    margin: 8px 0 0;

    letter-spacing: -1.4px;
}


.section-heading h2 span,
.center-heading h2 span {
    color: var(--yellow);
}


.section-heading > p {
    max-width: 450px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}



/* ============================================================
   SERVICES
============================================================ */

.services-section {
    padding: 80px 0;
}


.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}


.service-card {
    min-height: 220px;

    padding: 26px 23px;

    border-radius: 14px;

    border: 1px solid var(--border);

    background:
        linear-gradient(
            145deg,
            #10191e,
            #0a1115
        );

    position: relative;

    transition:
        transform .2s ease,
        border-color .2s ease;
}


.service-card:hover {
    transform: translateY(-5px);

    border-color: rgba(255,196,0,.42);
}


.service-icon {
    width: 49px;
    height: 49px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    margin-bottom: 26px;

    background: rgba(255,196,0,.08);

    color: var(--yellow);

    font-size: 24px;
}


.service-card h3 {
    margin: 0 0 9px;

    font-size: 18px;
}


.service-card p {
    margin: 0;

    color: #89969c;

    font-size: 13px;

    line-height: 1.6;
}


.service-arrow {
    position: absolute;

    right: 20px;
    bottom: 20px;

    color: #bdc6ca;
}



/* ============================================================
   PLATFORM SECTION
============================================================ */

.platform-section {
    padding: 90px 0;

    background: #091115;

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);
}


.platform-grid {
    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 85px;

    align-items: center;
}


.platform-copy h2 {
    margin: 10px 0 23px;

    font-size: 38px;

    line-height: 1.17;

    letter-spacing: -1.5px;
}


.platform-copy p {
    color: #9aa6ac;

    font-size: 15px;

    line-height: 1.75;
}


.text-link {
    display: inline-flex;

    gap: 8px;

    align-items: center;

    margin-top: 12px;

    font-size: 14px;

    color: var(--yellow);

    font-weight: 700;
}


.platform-features {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 13px;
}


.feature {
    padding: 23px;

    display: flex;

    gap: 15px;

    min-height: 145px;

    border: 1px solid var(--border);

    background: #0d171c;

    border-radius: 13px;
}


.feature-icon {
    width: 42px;
    min-width: 42px;
    height: 42px;

    display: flex;

    justify-content: center;
    align-items: center;

    border-radius: 10px;

    background: rgba(255,196,0,.09);

    color: var(--yellow);
}


.feature h3 {
    margin: 2px 0 8px;

    font-size: 15px;
}


.feature p {
    margin: 0;

    font-size: 12px;

    color: #87949a;

    line-height: 1.6;
}



/* ============================================================
   HOW IT WORKS
============================================================ */

.how-section {
    padding: 90px 0;
}


.center-heading {
    text-align: center;

    margin-bottom: 50px;
}


.center-heading h2 {
    margin: 8px 0 8px;

    font-size: 36px;
}


.center-heading p {
    margin: auto;

    max-width: 620px;

    color: #8e9ba1;

    font-size: 14px;
}


.steps {
    display: grid;

    grid-template-columns:
        1fr 35px
        1fr 35px
        1fr 35px
        1fr;

    align-items: center;
}


.step-card {
    border: 1px solid var(--border);

    border-radius: 14px;

    background: #0c1418;

    padding: 25px;

    min-height: 225px;

    position: relative;
}


.step-number {
    position: absolute;

    top: 16px;
    right: 18px;

    color: rgba(255,255,255,.09);

    font-size: 30px;

    font-weight: 900;
}


.step-icon {
    width: 50px;
    height: 50px;

    border-radius: 50%;

    background: var(--yellow);

    color: #080b0d;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    font-size: 20px;
}


.step-card h3 {
    margin: 0 0 8px;

    font-size: 16px;
}


.step-card p {
    margin: 0;

    color: #88969c;

    font-size: 12px;

    line-height: 1.6;
}


.step-connector {
    text-align: center;

    color: var(--yellow);
}



/* ============================================================
   OPERATOR CTA
============================================================ */

.operator-cta-section {
    padding: 0 0 85px;
}


.operator-cta {
    min-height: 175px;

    display: grid;

    grid-template-columns: 85px 1fr auto;

    gap: 25px;

    align-items: center;

    padding: 30px 36px;

    border-radius: 17px;

    color: #070a0c;

    background:
        linear-gradient(
            110deg,
            #ffcb13,
            #ffb800
        );
}


.operator-cta-icon {
    width: 72px;
    height: 72px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 31px;

    background: rgba(0,0,0,.1);
}


.operator-cta-copy span {
    font-weight: 900;

    font-size: 10px;

    letter-spacing: 1.5px;
}


.operator-cta h2 {
    margin: 5px 0;

    font-size: 24px;
}


.operator-cta p {
    margin: 0;

    font-size: 12px;

    max-width: 650px;
}


.operator-button {
    background: #0a1013;

    color: white;

    padding: 14px 21px;

    border-radius: 9px;

    font-size: 13px;

    font-weight: 700;

    display: flex;

    align-items: center;

    gap: 10px;
}



/* ============================================================
   FOOTER
============================================================ */

.main-footer {
    border-top: 1px solid var(--border);

    background: #071014;
}


.footer-grid {
    display: grid;

    grid-template-columns: 1.6fr repeat(3, 1fr);

    gap: 60px;

    padding-top: 55px;
    padding-bottom: 45px;
}


.footer-brand p {
    max-width: 330px;

    color: #849198;

    font-size: 12px;

    line-height: 1.65;
}


.footer-logo {
    margin-bottom: 15px;
}


.social-links {
    display: flex;

    gap: 9px;

    margin-top: 20px;
}


.social-links a {
    width: 32px;
    height: 32px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.08);

    font-size: 12px;
}


.social-links a:hover {
    background: var(--yellow);

    color: #000;
}


.footer-column h3 {
    font-size: 13px;

    margin: 4px 0 15px;
}


.footer-column a {
    display: block;

    margin: 9px 0;

    color: #8b989e;

    font-size: 12px;
}


.footer-column a:hover {
    color: var(--yellow);
}


.footer-disclaimer {
    border-top: 1px solid rgba(255,255,255,.06);

    padding-top: 22px;
    padding-bottom: 22px;
}


.footer-disclaimer p {
    max-width: 900px;

    margin: 0;

    color: #66747b;

    font-size: 10px;

    line-height: 1.7;
}


.footer-bottom {
    background: #040a0d;

    border-top: 1px solid rgba(255,255,255,.05);
}


.footer-bottom .container {
    min-height: 48px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: #66747b;

    font-size: 10px;
}



/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 1000px) {

    .desktop-nav {
        display: none;
    }


    .mobile-menu-button {
        display: block;
    }


    .mobile-nav.show {
        display: flex;

        flex-direction: column;

        position: absolute;

        left: 0;
        right: 0;
        top: 78px;

        padding: 20px;

        background: #081115;

        border-bottom: 1px solid var(--border);
    }


    .mobile-nav a {
        padding: 12px 0;

        border-bottom: 1px solid rgba(255,255,255,.06);
    }


    .mobile-book-button {
        margin-top: 10px;

        color: #000 !important;

        background: var(--yellow);

        text-align: center;

        border-radius: 8px;
    }


    .hero-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .booking-card {
        max-width: 650px;
    }


    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .platform-grid {
        grid-template-columns: 1fr;
    }


    .steps {
        grid-template-columns: repeat(2, 1fr);

        gap: 15px;
    }


    .step-connector {
        display: none;
    }


    .operator-cta {
        grid-template-columns: 70px 1fr;
    }


    .operator-button {
        grid-column: 2;
        width: max-content;
    }


    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



@media (max-width: 650px) {

    .container {
        width: min(calc(100% - 28px), var(--container));
    }


    .main-header,
    .header-inner {
        height: 67px;
    }


    .brand-name {
        font-size: 22px;
    }


    .brand-icon {
        font-size: 24px;
    }


    .header-actions .btn-yellow {
        display: none;
    }


    .mobile-nav.show {
        top: 67px;
    }


    .hero {
        min-height: auto;

        background-position: 63% center;
    }


    .hero-grid {
        padding-top: 55px;
        padding-bottom: 55px;

        min-height: auto;
    }


    .hero h1 {
        font-size: 39px;

        letter-spacing: -1.8px;
    }


    .hero-description {
        font-size: 14px;
    }


    .hero-benefits {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }


    .hero-benefits > div {
        border: 0;

        padding: 0;

        margin: 0;
    }


    .booking-card {
        padding: 19px;
    }


    .form-row {
        grid-template-columns: 1fr;
    }


    .section-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;
    }


    .service-grid {
        grid-template-columns: 1fr;
    }


    .platform-features {
        grid-template-columns: 1fr;
    }


    .steps {
        grid-template-columns: 1fr;
    }


    .operator-cta {
        grid-template-columns: 1fr;

        text-align: center;

        justify-items: center;

        padding: 28px 20px;
    }


    .operator-button {
        grid-column: auto;
    }


    .footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .footer-bottom .container {
        padding: 13px 0;

        flex-direction: column;

        gap: 4px;
    }
}