@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --midnight: #0F0F1A;
    --canary: #FBD800;
    --azure: #0088CC;
    --mist: #F7F9FB;
    --text-dark: #1A1A1A;
    --text-light: #FFFFFF;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: var(--mist);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Space Grotesk', sans-serif;
}

/* Logo & Navigation */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s;
}

.nav-logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--canary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--midnight);
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(251, 216, 0, 0.2);
}

.logo-text {
    color: white;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 1.25rem;
}

.logo-text span {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    font-size: 0.9rem;
    margin-left: 0.1rem;
}

/* Functional Hero - The Premium Booking Terminal */
.hero-container {
    height: auto;
    min-height: 100vh;
    background: #0F0F1A;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
}

.hero-bg-visual {
    position: absolute;
    inset: 0;
    background: url('../img/alquiler-coches-es-hero-8f1a.webp') center center / cover;
    opacity: 0.6;
    z-index: 0;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 15, 26, 0.95) 30%, rgba(15, 15, 26, 0.4) 100%);
    z-index: 1;
}

.hero-layout {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
}

.hero-text-side {
    flex: 1;
    min-width: 320px;
}

.hero-form-side {
    width: 100%;
    max-width: 480px;
}

.booking-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    padding: 3rem;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.booking-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(251, 216, 0, 0.03), transparent 70%);
    pointer-events: none;
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(251, 216, 0, 0.15);
    border: 1px solid rgba(251, 216, 0, 0.3);
    color: var(--canary);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
    letter-spacing: 0.05em;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.form-input-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.form-input-box:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(251, 216, 0, 0.3);
    transform: translateX(5px);
}

.input-text {
    font-weight: 600;
    color: white;
    font-size: 1rem;
}

.terminal-h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
}

.terminal-h1 span {
    color: var(--canary);
}

.terminal-sub {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.trust-badges {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
}

.trust-item svg {
    color: var(--canary);
}

@media (max-width: 1024px) {
    .hero-layout {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .hero-form-side {
        max-width: 100%;
    }
}

.canary-btn {
    background: var(--canary);
    color: var(--midnight);
    padding: 1.25rem 2rem;
    border-radius: 20px;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 40px -10px rgba(251, 216, 0, 0.3);
}

.canary-btn:hover {
    background: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 25px 50px -10px rgba(251, 216, 0, 0.5);
}

/* Infinite Fleet */
.fleet-scroll {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 2rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.fleet-scroll::-webkit-scrollbar {
    display: none;
}

.fleet-card {
    min-width: 350px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.5s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.fleet-card:hover {
    transform: translateY(-10px);
}

/* Bento-Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 1.5rem;
}

.bento-item {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.bento-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.bento-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item-high {
    grid-row: span 2;
}

/* Reviews Section - The Trust Wall */
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: 32px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.review-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.08);
}

.review-avatar {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    object-fit: cover;
    background: var(--mist);
}

.rating-stars {
    color: var(--canary);
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.quote-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    opacity: 0.05;
    width: 48px;
    height: 48px;
}

/* Custom Utils */
.text-gradient {
    background: linear-gradient(135deg, var(--azure), #00ffcc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.topo-lines {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .hero-widget-row {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 24px;
    }

    .widget-input-group:nth-child(2) {
        border-right: none;
    }

    .review-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-container {
        padding-top: 6rem;
    }

    .hero-widget-row {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .widget-input-group {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0.75rem 0;
    }

    .widget-input-group:last-child {
        border-bottom: none;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }
}