:root {
    --primary: #f5b400;
    --dark: #05080a;
    --dark-soft: #111820;
    --white: #ffffff;
    --muted: #c9c9c9;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--dark);
    color: var(--white);
}


.home-page {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.home-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    height: 680px;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease, color 0.6s ease;
}

.hero-dark {
    background-image: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.70) 35%, rgba(0,0,0,.15) 100%), url("../img/fondo_inicio1.png");
    color: #fff;
}

.hero-light {
    background-image: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.70) 35%, rgba(0,0,0,.15) 100%), url("../img/fondo_inicio2.png");
    /*   background-image: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.80) 36%, rgba(255,255,255,.10) 100%), url("../img/fondo_inicio2.png");
    color: #111;*/
    color: #fff;
}

    .hero-light .home-hero-content h1,
    .hero-light .home-hero-content p,
    .hero-light .hero-feature span,
    .hero-light .hero-bottom {
       /* color: #111;*/
        color: #fff;
    }

.hero-dark .home-hero-content h1,
.hero-dark .home-hero-content p,
.hero-dark .hero-feature span,
.hero-dark .hero-bottom {
    color: #fff;
}

.home-hero-content {
    position: absolute;
    left: 90px;
    top: 120px;
    z-index: 2;
    max-width: 540px;
}

.home-hero-title {
    margin: 0;
    font-size: clamp(48px, 5.6vw, 76px);
    line-height: .96;
    font-weight: 900;
    letter-spacing: 0;
}

.home-hero-title span {
    display: block;
}

.home-hero-title span:last-child {
    color: var(--primary);
}

.home-hero-content > p {
    max-width: 610px;
    margin: 0;
    color: #f4f7fb;
    font-size: 20px;
    line-height: 1.48;
    font-weight: 500;
    text-shadow: 0 2px 12px rgba(0,0,0,.28);
}

.home-booking-card {
    position: absolute;
    z-index: 4;
    right: 90px;
    top: 92px;
    width: 360px;
    padding: 18px;
    border: 1px solid rgba(245, 180, 0, .22);
    border-radius: 10px;
    background: rgba(255, 255, 255, .96);
    color: #172033;
    box-shadow: 0 24px 55px rgba(0,0,0,.34);
}

.home-trip-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: #111;
}

.home-trip-switch button {
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #d0d5dd;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.home-trip-switch button.active {
    background: var(--primary);
    color: #05080a;
    box-shadow: 0 1px 4px rgba(0,0,0,.18);
}

.home-field {
    min-height: 43px;
    display: grid;
    grid-template-columns: 34px minmax(86px, auto) minmax(0, 1fr);
    align-items: center;
    border: 1px solid #d9dee7;
    margin-bottom: -1px;
    background: #fff;
}

.home-field.place-field {
    grid-template-columns: 34px minmax(0, 1fr);
}

.home-field i {
    color: #b88700;
    text-align: center;
    font-size: 13px;
}

.home-field label {
    color: #667085;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.home-field input {
    width: 100%;
    height: 42px;
    border: 0;
    outline: 0;
    padding: 0 10px 0 0;
    color: #172033;
    font-size: 13px;
    background: transparent;
}

.home-google-input {
    min-width: 0;
}

.home-google-input gmp-place-autocomplete {
    width: 100%;
    height: 42px;
    display: block;
}

.home-return-field {
    display: none;
}

.home-counters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 13px;
}

.home-counter {
    border: 1px solid #d9dee7;
    padding: 9px;
}

.home-counter span {
    display: block;
    margin-bottom: 7px;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
}

.home-counter div {
    display: grid;
    grid-template-columns: 30px 1fr 30px;
    align-items: center;
}

.home-counter button {
    width: 30px;
    height: 28px;
    border: 0;
    background: #fff7df;
    color: #05080a;
    font-size: 17px;
    cursor: pointer;
}

.home-counter input {
    width: 100%;
    border: 0;
    text-align: center;
    color: #172033;
    font-weight: 700;
}

.home-search-btn {
    width: 100%;
    height: 44px;
    margin-top: 14px;
    border: 0;
    border-radius: 6px;
    background: var(--primary);
    color: #05080a;
    font-weight: 800;
    cursor: pointer;
}

.home-search-btn:hover {
    background: #ffd24a;
}

.home-search-error {
    min-height: 16px;
    margin-top: 8px;
    color: #c1121f;
    font-size: 12px;
    font-weight: 700;
}

.home-search-note {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    margin-top: 8px;
    color: #667085;
    font-size: 11px;
    line-height: 1.25;
}

.home-search-note i {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff7df;
    color: #b88700;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 72%;
    background-image: url('../img/hero-valencia-taxi.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.95;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.9) 28%, rgba(0,0,0,0.42) 58%, rgba(0,0,0,0.2) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.72) 100%);
}

.home-header {
    position: relative;
    z-index: 3;
    height: 88px;
    padding: 0 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-logo img {
    width: 160px;
    height: auto;
    display: block;
}

.home-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.home-nav a {
    color: #eeeeee;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
    padding: 8px 0;
}

.home-nav a.active,
.home-nav a:hover {
    color: var(--primary);
}

.home-nav a.active::after,
.home-nav a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 2px;
    background: var(--primary);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    width: 42px;
    height: 42px;
    cursor: pointer;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 170px);
    display: flex;
    align-items: center;
    padding: 20px 42px 80px;
}

.hero-text {
    max-width: 520px;
}

.hero-text h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.8px;
}

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

.hero-line {
    width: 58px;
    height: 3px;
    background: var(--primary);
    margin: 28px 0 22px;
}

.hero-text p {
    margin: 0 0 34px;
    color: #d5d5d5;
    font-size: 20px;
    line-height: 1.45;
}

.hero-btn {
    width: 230px;
    height: 54px;
    border: 1px solid var(--primary);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    border-radius: 5px;
    transition: all .2s ease;
}

.hero-btn:hover {
    background: var(--primary);
    color: #111;
}

.hero-features {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 45px;
}

.hero-feature {
    min-width: 135px;
    padding: 0 28px;
    border-right: 1px solid rgba(255,255,255,0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 11px;
    color: #e2e2e2;
    font-size: 13px;
    line-height: 1.25;
}

.hero-feature:first-child {
    padding-left: 0;
}

.hero-feature:last-child {
    border-right: none;
}

.hero-feature i {
    color: var(--primary);
    font-size: 31px;
}

.hero-bottom {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 0 42px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.35);
    color: #dcdcdc;
    font-size: 13px;
}

.hero-bottom div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.hero-bottom div:first-child {
    padding-right: 26px;
    border-right: 1px solid rgba(255,255,255,0.14);
}

.hero-bottom i,
.hero-bottom span {
    color: var(--primary);
}

.home-page .main-container {
    padding: 0;
    max-width: 100%;
}

@media (max-width: 900px) {
    .home-hero {
        height: auto;
        min-height: 100vh;
        padding-bottom: 130px;
    }

    .home-hero-content {
        position: relative;
        left: auto;
        top: auto;
        max-width: none;
        padding: 70px 22px 22px;
    }

    .home-booking-card {
        position: relative;
        right: auto;
        top: auto;
        width: auto;
        margin: 0 22px 30px;
    }

    .home-header {
        height: auto;
        padding: 22px;
    }

    .menu-toggle {
        display: block;
    }

    .home-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 22px;
        right: 22px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 15px;
        background: rgba(0,0,0,0.95);
        border: 1px solid rgba(255,255,255,0.12);
    }

    .home-nav.active {
        display: flex;
    }

    .home-nav a {
        width: 100%;
        padding: 12px 0;
    }

    .hero-bg {
        width: 100%;
        opacity: 0.55;
    }

    .hero-content {
        min-height: calc(100vh - 120px);
        padding: 40px 26px 110px;
    }

    .hero-text p {
        font-size: 17px;
    }

    .hero-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .hero-feature {
        border-right: none;
        flex-direction: row;
        padding: 0;
        text-align: left;
    }

    .hero-bottom {
        height: auto;
        min-height: 70px;
        padding: 14px 26px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .hero-bottom div:first-child {
        border-right: none;
        padding-right: 0;
    }
}

@media (max-width: 520px) {
    .home-hero-title {
        font-size: 42px;
        line-height: 1.08;
    }

    .home-counters {
        grid-template-columns: 1fr;
    }
}
