* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Premium homepage refresh */
.premium-home {
    --primary: #0f6bff;
    --primary-dark: #084ec0;
    --ink: #111827;
    --muted: #5f6b7a;
    --line: #dfe6ef;
    --surface: #ffffff;
    --soft: #f5f7fb;
    font-family: 'Manrope', 'Inter', sans-serif;
    background: #ffffff;
    color: var(--ink);
}

.premium-home .container {
    max-width: 1240px;
}

.premium-nav {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(16px);
    padding: 0.8rem 0;
}

.premium-logo {
    color: var(--ink);
    gap: 0.65rem;
    font-size: 1.08rem;
    line-height: 1;
}

.premium-logo .logo-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(145deg, #e8f1ff, #ffffff);
    color: var(--primary);
    box-shadow: inset 0 0 0 1px #d8e7ff;
}

.logo-img {
    width: 80px;
    height: auto;
    margin-right: -19px;
    border-radius: 10px;
    object-fit: contain;
    flex-shrink: 0;
}

.premium-logo .logo-img {
    width: 80px;
    height: auto;
    margin-right: -19px;
}

body:not(.premium-home) .logo-img {
    width: 80px;
    height: auto;
    margin-right: -19px;
}

.premium-home .premium-logo .logo-img {
    width: 55px;
    height: auto;
    margin-right: -2px;
}

.premium-logo small {
    display: block;
    margin-top: 4px;
    color: #4b5563;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0;
}

.premium-nav .nav-menu {
    gap: 1.15rem;
}

.premium-nav .nav-menu a {
    color: #2d3748;
    font-size: 0.94rem;
    font-weight: 700;
}

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

.premium-nav .nav-pill a,
.premium-nav .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #dce5f2;
    border-radius: 999px;
    padding: 0.62rem 1rem;
    background: #fff;
    color: #1f2937 !important;
}

.premium-nav .btn-primary {
    background: #eef4ff;
    border-color: #d8e5fb;
}

.premium-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 108px 0 64px;
    background:
        linear-gradient(180deg, rgba(7, 18, 30, 0.16), rgba(7, 18, 30, 0.52)),
        url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=2200&q=85') center/cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.05), rgba(0,0,0,0.36));
}

.premium-hero-content {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.premium-hero .eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 14px;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 800;
}

.premium-hero .hero-title {
    margin-bottom: 8px;
    font-size: clamp(2.45rem, 5vw, 4.2rem);
    letter-spacing: 0;
    line-height: 1.02;
}

.premium-hero .hero-subtitle {
    max-width: 690px;
    margin: 0 auto 26px;
    color: rgba(255,255,255,0.86);
    font-size: 1.12rem;
}

.premium-search {
    max-width: 1040px;
    padding: 0;
    border-radius: 18px;
    background: transparent;
    box-shadow: none;
}

.premium-tabs {
    width: max-content;
    margin: 0 auto 26px;
    padding: 8px;
    gap: 6px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    background: rgba(31, 41, 55, 0.48);
    backdrop-filter: blur(16px);
}

.premium-tabs .tab-btn {
    min-width: 116px;
    padding: 14px 20px;
    border: 0;
    border-radius: 999px;
    color: #fff;
}

.premium-tabs .tab-btn.active {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 0 0 4px rgba(15, 107, 255, 0.28);
}

.premium-search .search-content {
    border-radius: 18px;
    padding: 22px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.trip-options {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.trip-options select {
    height: 34px;
    min-width: 130px;
    border: 1px solid #dce5f2;
    border-radius: 7px;
    padding: 0 12px;
    background: #fff;
    font-weight: 800;
}

.premium-form-row {
    display: grid;
    grid-template-columns: 1.4fr 1.4fr 1.15fr 1fr 76px;
    gap: 8px;
}

.premium-field {
    min-height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 1px solid #dce5f2;
    border-radius: 8px;
    padding: 8px 14px;
    text-align: left;
}

.premium-autocomplete,
.premium-traveler-field {
    position: relative;
}

.premium-field span {
    color: #6b7280;
    font-size: 0.76rem;
    font-weight: 800;
}

.premium-field span i {
    color: var(--primary);
    margin-right: 4px;
}

.premium-field input,
.premium-field select {
    width: 100%;
    min-width: 0;
    border: 0;
    padding: 0;
    background: transparent;
    color: #111827;
    font: inherit;
    font-weight: 800;
}

.premium-field input:focus,
.premium-field select:focus {
    outline: none;
}

.premium-field:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15, 107, 255, 0.12);
}

.premium-suggestions,
.traveler-popover {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 50;
    display: none;
    width: min(620px, calc(100vw - 32px));
    max-height: 540px;
    overflow-y: auto;
    border: 1px solid #edf1f6;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}

.premium-suggestions.open,
.traveler-popover.open {
    display: block;
}

.premium-suggestions {
    padding: 10px 0;
}

.suggestions-title {
    padding: 0 24px 8px;
    color: #111827;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.25;
}

.suggestion-item {
    width: 100%;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    align-items: center;
    border: 0;
    padding: 5px 24px;
    background: transparent;
    color: #151b34;
    text-align: left;
    cursor: pointer;
    transition: background 0.18s;
}

.suggestion-item:hover,
.suggestion-item:focus {
    outline: none;
    background: #f4f8ff;
}

.suggestion-icon {
    width: 42px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #151b34;
    font-size: 1.15rem;
}

.suggestion-main {
    display: block;
    color: #151b34;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.22;
}

.suggestion-sub {
    display: block;
    margin-top: 2px;
    color: #4b5563;
    font-size: 0.94rem;
    font-weight: 650;
    line-height: 1.22;
}

.traveler-trigger {
    width: 100%;
    display: block;
    border: 0;
    padding: 0;
    background: transparent;
    color: #111827;
    font: inherit;
    font-weight: 800;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.traveler-trigger:focus {
    outline: none;
}

.traveler-popover {
    right: 0;
    left: auto;
    width: min(520px, calc(100vw - 24px));
    padding: 24px;
}

.traveler-popover.viewport-positioned {
    position: fixed;
    right: auto;
    bottom: auto;
    transform: none;
}

.traveler-popover h3 {
    margin: 0 0 22px;
    color: #151b34;
    font-size: 1.25rem;
    line-height: 1.2;
}

.traveler-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px 32px 44px;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    color: #151b34;
}

.traveler-row strong {
    display: block;
    font-size: 1rem;
    line-height: 1.2;
}

.traveler-row small {
    display: block;
    margin-top: 5px;
    color: #4b5563;
    font-size: 0.9rem;
    font-weight: 650;
}

.traveler-row button {
    width: 44px;
    height: 44px;
    border: 2px solid #cfd5df;
    border-radius: 50%;
    background: #fff;
    color: #151b34;
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
}

.traveler-row button:disabled {
    color: #a7afbd;
    cursor: not-allowed;
    opacity: 0.65;
}

.traveler-row [data-counter-value] {
    color: #151b34;
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
}

.cabin-select {
    display: block;
    margin-top: 8px;
    border: 2px solid #d7dde7;
    border-radius: 10px;
    padding: 12px 16px;
    clear: both;
}

.cabin-select span {
    display: block;
    margin-bottom: 5px;
    color: #4b5563;
    font-size: 0.82rem;
    font-weight: 800;
}

.cabin-select select {
    width: 100%;
    border: 0;
    background: transparent;
    color: #151b34;
    font-size: 1.15rem;
    font-weight: 800;
}

.traveler-done {
    float: right;
    margin-top: 22px;
    border: 0;
    border-radius: 999px;
    padding: 14px 28px;
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
}

.premium-submit {
    width: 76px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    font-size: 1.25rem;
}

.premium-submit i {
    margin: 0;
}

.premium-section {
    padding: 48px 0 8px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.section-heading h2 {
    margin: 0 0 4px;
    color: #05070b;
    font-size: 1.7rem;
    line-height: 1.15;
}

.section-heading p {
    color: #2f3742;
    font-size: 1rem;
}

.section-heading a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
}

.flight-deals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.flight-deal {
    display: grid;
    grid-template-columns: 1fr 42px 1fr;
    align-items: center;
    min-height: 94px;
    padding: 18px 20px;
    border: 1px solid #e0e7f0;
    border-radius: 14px;
    background: #f8fafc;
    color: #111827;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.flight-deal:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.flight-deal i {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e8f1ff;
    color: var(--primary);
    font-size: 0.78rem;
}

.flight-deal span:last-child {
    text-align: right;
}

.flight-deal strong,
.product-card h3,
.car-card-premium h3 {
    display: block;
    color: #111827;
    font-size: 1rem;
    line-height: 1.25;
}

.flight-deal small,
.product-card p,
.car-card-premium p {
    display: block;
    margin-top: 8px;
    color: #5c6675;
    font-size: 0.86rem;
    font-weight: 700;
}

.hotel-grid,
.car-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card,
.car-card-premium {
    min-width: 0;
}

.product-card img,
.car-card-premium img {
    width: 100%;
    aspect-ratio: 1.35;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 14px 0 8px;
    color: #111827;
}

.product-meta strong {
    font-size: 1.1rem;
}

.product-meta span {
    color: #111827;
    font-weight: 800;
}

.product-meta .fa-bolt,
.rating .fa-star,
.tour-card small i {
    color: #ff8a00;
}

.product-meta .rating {
    margin-left: auto;
}

.promo-card {
    position: relative;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 8px;
    padding: 18px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 24px 48px rgba(15, 107, 255, 0.18);
}

.promo-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.promo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 7, 11, 0.05), rgba(15, 107, 255, 0.92));
    z-index: 1;
}

.promo-card span,
.promo-card strong {
    position: relative;
    z-index: 2;
}

.promo-card span {
    margin-bottom: 14px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.promo-card strong {
    display: block;
    padding: 11px 16px;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 6px;
}

.tour-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
    gap: 18px;
}

.tour-card {
    position: relative;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 8px;
    padding: 18px;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-decoration: none;
}

.tour-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.72));
}

.tour-card span,
.tour-card small,
.tour-card strong {
    position: relative;
    z-index: 1;
}

.tour-card span {
    max-width: 260px;
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.25;
}

.promo-tour {
    background: linear-gradient(145deg, #eaf2ff, #f8fbff);
    color: #111827;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.promo-tour::before {
    background:
        radial-gradient(circle at 50% 25%, rgba(15,107,255,0.18), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0));
}

.promo-tour strong {
    margin-top: 16px;
    width: 80%;
    padding: 14px;
    border-radius: 6px;
    background: #1f2937;
    color: #fff;
}

.car-card-premium {
    display: flex;
    flex-direction: column;
}

.car-card-premium img {
    padding: 12px;
    border: 1px solid #dfe6ef;
    background: #fff;
    object-fit: cover;
}

.car-card-premium h3 {
    margin-top: 18px;
}

.car-card-premium div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.car-card-premium a {
    padding: 10px 18px;
    border-radius: 7px;
    background: #eef4ff;
    color: #111827;
    text-decoration: none;
    font-weight: 900;
}

.trust-section {
    padding: 76px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.trust-grid article {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfe6ef;
    border-radius: 12px;
    padding: 28px;
    text-align: center;
}

.trust-grid i {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.5rem;
}

.trust-grid h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.trust-grid p {
    color: #2f3742;
}

.app-band {
    overflow: hidden;
    background: #0f6bff;
    color: #fff;
}

.app-band-inner {
    min-height: 310px;
    display: grid;
    grid-template-columns: 190px 1fr 360px;
    align-items: center;
    gap: 44px;
}

.store-buttons {
    display: grid;
    gap: 12px;
}

.store-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 56px;
    border: 1px solid rgba(255,255,255,0.75);
    border-radius: 7px;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
}

.app-band h2 {
    margin-bottom: 12px;
    font-size: 1.9rem;
}

.app-band p {
    max-width: 620px;
    color: rgba(255,255,255,0.9);
    font-size: 1.04rem;
}

.phone-preview {
    position: relative;
    height: 310px;
}

.phone-preview span {
    position: absolute;
    bottom: -42px;
    width: 154px;
    height: 270px;
    border: 10px solid #111827;
    border-radius: 28px;
    background:
        linear-gradient(180deg, #ecf7ff, #fff 38%, #f2f5fb 38%),
        #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.22);
}

.phone-preview span:first-child {
    right: 150px;
    transform: rotate(-3deg);
}

.phone-preview span:last-child {
    right: 42px;
    height: 250px;
    transform: rotate(4deg);
}

.premium-footer {
    margin-top: 0;
    background: #fff;
    color: #111827;
    padding-top: 58px;
}

.premium-footer-grid {
    grid-template-columns: 1.25fr 0.75fr 0.75fr 1.4fr;
    gap: 42px;
    padding-bottom: 34px;
    border-bottom: 1px solid #e5e7eb;
}

.premium-footer .footer-col h4 {
    color: #111827;
    font-size: 1rem;
}

.premium-footer .footer-col p,
.premium-footer .footer-col li a,
.premium-footer .brand-col span,
.premium-footer-bottom p {
    color: #374151;
}

.premium-footer .footer-col li a:hover {
    color: var(--primary);
}

.newsletter-col .newsletter-form {
    display: grid;
    grid-template-columns: 1fr 1fr 170px;
    gap: 8px;
}

.premium-footer .newsletter-form input {
    min-height: 54px;
    border: 1px solid #dfe6ef;
    background: #fff;
    color: #111827;
}

.premium-footer .newsletter-form button {
    min-height: 54px;
    border-radius: 7px;
    font-weight: 900;
}

.premium-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
}

.premium-footer .social-links a {
    background: transparent;
    color: #111827;
}

@media (max-width: 1100px) {
    .premium-form-row,
    .flight-deals-grid,
    .hotel-grid,
    .car-grid,
    .tour-grid,
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .premium-submit {
        width: 100%;
    }

    .app-band-inner,
    .premium-footer-grid {
        grid-template-columns: 1fr;
    }

    .phone-preview {
        display: none;
    }
}

@media (max-width: 768px) {
    .premium-nav .nav-menu {
        gap: 0;
    }

    .premium-hero {
        min-height: auto;
        padding: 106px 0 42px;
    }

    .premium-tabs {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .premium-tabs .tab-btn {
        min-width: 100px;
        padding: 12px 14px;
    }

    .premium-search .search-content {
        padding: 14px;
    }

    .premium-suggestions,
    .traveler-popover {
        position: fixed;
        top: auto;
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: auto;
        max-height: 78vh;
        border-radius: 16px;
    }

    .premium-form-row,
    .flight-deals-grid,
    .hotel-grid,
    .car-grid,
    .tour-grid,
    .trust-grid,
    .newsletter-col .newsletter-form {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .flight-deal {
        grid-template-columns: 1fr 36px 1fr;
        padding: 16px;
    }

    .app-band-inner {
        padding: 44px 20px;
    }

    .premium-footer-bottom {
        gap: 18px;
        flex-direction: column;
    }
}

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #f59e0b;
    --dark: #1f2937;
    --light: #f9fafb;
    --gray: #6b7280;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-primary {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.jpg') center/cover;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* Search Widget */
.search-widget {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.search-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    /* border-bottom: 2px solid var(--light); */
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-btn i {
    margin-right: 0.5rem;
}

.search-form {
    display: none;
}

.search-form.active {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-group label i {
    color: var(--primary);
    margin-right: 0.3rem;
}

.form-group input,
.form-group select {
    padding: 0.8rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-search {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-search:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-search i {
    margin-right: 0.5rem;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Destinations Section */
.destinations {
    padding: 6rem 0;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.destination-card {
    position: relative;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem;
    color: var(--white);
}

.destination-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.destination-overlay p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary);
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    text-align: center;
    color: var(--white);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-cta {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: #9ca3af;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: #9ca3af;
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        z-index: 1000;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .search-widget {
        padding: 1.5rem;
    }

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

    .section-title {
        font-size: 2rem;
    }
}

/* Final premium cascade guard */
.premium-home .premium-nav {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
}

.premium-home .premium-search {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.premium-home .premium-search .search-content {
    padding: 22px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.premium-home .premium-footer {
    margin-top: 0;
    background: #fff;
    color: #111827;
    padding: 58px 0 24px;
}

.premium-home .premium-footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr 0.75fr 1.4fr;
    gap: 42px;
    padding-bottom: 34px;
    border-bottom: 1px solid #e5e7eb;
}

.premium-home .premium-footer .footer-col h4,
.premium-home .premium-footer .footer-col h3 {
    color: #111827;
}

.premium-home .premium-footer .footer-col p,
.premium-home .premium-footer .footer-col li a,
.premium-home .premium-footer .brand-col span,
.premium-home .premium-footer-bottom p {
    color: #374151;
}

.premium-home .premium-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 0;
}

.premium-home .premium-footer .social-links a {
    background: transparent;
    color: #111827;
}

.premium-home .newsletter-col .newsletter-form {
    display: grid;
    grid-template-columns: 1fr 1fr 170px;
    gap: 8px;
}

.premium-home .premium-footer .newsletter-form input {
    min-height: 54px;
    border: 1px solid #dfe6ef;
    background: #fff;
    color: #111827;
}

.premium-home .premium-footer .newsletter-form button {
    min-height: 54px;
    border-radius: 7px;
    font-weight: 900;
}

@media (max-width: 1100px) {
    .premium-home .premium-footer-grid,
    .premium-home .newsletter-col .newsletter-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .premium-home .premium-search .search-content {
        padding: 14px;
    }

    .premium-home .premium-footer-bottom {
        gap: 18px;
        flex-direction: column;
    }
}

/* Sharper KAYAK-style homepage tuning */
.premium-home {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
}

.premium-home .premium-nav {
    padding: 0.68rem 0;
}

.premium-home .premium-logo {
    font-size: 1.02rem;
    font-weight: 900;
}

.premium-home .premium-logo .logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #eef5ff;
}

.premium-home .premium-logo small {
    font-size: 0.58rem;
}

.premium-home .nav-menu {
    gap: 1rem;
}

.premium-home .nav-menu a {
    font-size: 0.9rem;
    font-weight: 750;
}

.premium-home .nav-pill a,
.premium-home .btn-primary {
    padding: 0.56rem 0.9rem;
}

.premium-home .premium-hero {
    min-height: 520px;
    padding: 98px 0 54px;
}

.premium-home .premium-hero .eyebrow {
    padding: 6px 13px;
    font-size: 0.8rem;
}

.premium-home .premium-hero .hero-title {
    font-size: clamp(2.3rem, 4.5vw, 3.85rem);
    line-height: 1;
    font-weight: 900;
}

.premium-home .premium-hero .hero-subtitle {
    font-size: 1.02rem;
    line-height: 1.45;
}

.premium-home .premium-tabs {
    padding: 6px;
}

.premium-home .premium-tabs .tab-btn {
    min-width: 108px;
    padding: 12px 18px;
    font-size: 0.92rem;
    font-weight: 850;
}

.premium-home .premium-search .search-content {
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 18px 54px rgba(15, 23, 42, 0.18);
}

.premium-home .trip-options select {
    height: 32px;
    border-radius: 6px;
    font-size: 0.82rem;
}

.premium-home .premium-form-row {
    gap: 7px;
}

.premium-home .premium-field {
    min-height: 64px;
    height: 64px;
    max-height: none;
    border-radius: 7px;
    padding: 9px 12px;
    gap: 3px;
    overflow: visible;
}

.premium-home .premium-field span {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.18;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.premium-home .premium-field input,
.premium-home .premium-field select {
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.25;
}

.premium-home .traveler-trigger {
    font-size: 0.98rem;
}

.premium-home .premium-submit {
    width: 70px;
    height: 64px;
    border-radius: 7px;
}

.premium-home .premium-section {
    padding: 44px 0 6px;
}

.premium-home .section-heading {
    margin-bottom: 20px;
}

.premium-home .section-heading h2 {
    font-size: 1.55rem;
    font-weight: 900;
}

.premium-home .section-heading p {
    font-size: 0.94rem;
}

.premium-home .flight-deal {
    min-height: 84px;
    padding: 16px 18px;
    border-radius: 10px;
}

.premium-home .flight-deal strong,
.premium-home .product-card h3,
.premium-home .car-card-premium h3 {
    font-size: 0.96rem;
    font-weight: 900;
}

.premium-home .flight-deal small,
.premium-home .product-card p,
.premium-home .car-card-premium p {
    font-size: 0.82rem;
}

.premium-home .hotel-grid,
.premium-home .car-grid {
    gap: 20px;
}

.premium-home .product-card img,
.premium-home .car-card-premium img,
.premium-home .promo-card,
.premium-home .tour-card {
    border-radius: 6px;
}

.premium-home .trust-grid article {
    min-height: 168px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .premium-home .premium-hero {
        padding-top: 96px;
    }

    .premium-home .premium-search .search-content {
        padding: 14px;
    }

    .premium-home .premium-submit {
        width: 100%;
    }
}

/* Site-wide sharp interface system */
body:not(.premium-home) {
    --primary: #0f6bff;
    --primary-dark: #084ec0;
    --secondary: #ff8a00;
    --dark: #111827;
    --light: #f6f8fb;
    --gray: #5f6b7a;
    --white: #ffffff;
    --line: #dfe6ef;
    --shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 46px rgba(15, 23, 42, 0.12);
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    background: #f6f8fb;
    color: #111827;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
}

body:not(.premium-home) .navbar {
    padding: 0.72rem 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(223, 230, 239, 0.9);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(14px);
}

body:not(.premium-home) .logo {
    gap: 0.65rem;
    color: #111827;
    font-size: 1.05rem;
    font-weight: 900;
}

body:not(.premium-home) .logo > i,
body:not(.premium-home) .logo-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #eef5ff;
    color: var(--primary);
    box-shadow: inset 0 0 0 1px #d8e7ff;
    font-size: 1rem;
}

body:not(.premium-home) .nav-menu {
    gap: 1rem;
}

body:not(.premium-home) .nav-menu a {
    color: #1f2937;
    font-size: 0.9rem;
    font-weight: 750;
}

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

body:not(.premium-home) .btn-primary {
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #d8e5fb;
    border-radius: 999px;
    background: #eef4ff;
    color: #111827 !important;
    padding: 0.62rem 1rem;
    font-size: 0.9rem;
    font-weight: 850;
    box-shadow: none;
}

body:not(.premium-home) .btn-primary:hover {
    background: #0f6bff;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 107, 255, 0.18);
}

.sign-in-pill {
    gap: 0.55rem !important;
}

.guest-avatar {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    box-shadow: inset 0 0 0 1px #dbe7fb;
}

.sign-in-pill:hover .guest-avatar {
    color: #0f6bff;
}

body:not(.premium-home) .btn-search,
body:not(.premium-home) .btn-book {
    border-radius: 7px;
    background: var(--primary);
    font-weight: 850;
    box-shadow: none;
}

body:not(.premium-home) input,
body:not(.premium-home) select,
body:not(.premium-home) textarea {
    font-family: inherit;
}

body:not(.premium-home) .form-group input,
body:not(.premium-home) .form-group select,
body:not(.premium-home) .form-group textarea,
body:not(.premium-home) .filter-group input,
body:not(.premium-home) .filter-group select {
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    color: #111827;
    font-weight: 650;
}

body:not(.premium-home) .form-group input:focus,
body:not(.premium-home) .form-group select:focus,
body:not(.premium-home) .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15, 107, 255, 0.1);
}

body:not(.premium-home) .footer {
    margin-top: 0;
    background: #fff;
    color: #111827;
    border-top: 1px solid #e5e7eb;
}

.footer-logo-img {
    width: 36px;
    height: auto;
    vertical-align: middle;
    margin-right: 2px;
    border-radius: 6px;
}

body:not(.premium-home) .footer-section h3,
body:not(.premium-home) .footer-section h4,
body:not(.premium-home) .footer-col h4 {
    color: #111827;
}

body:not(.premium-home) .footer-section p,
body:not(.premium-home) .footer-section li a,
body:not(.premium-home) .footer-bottom,
body:not(.premium-home) .footer-col p,
body:not(.premium-home) .footer-col li a {
    color: #4b5563;
}

body:not(.premium-home) .social-links a {
    background: #eef4ff;
    color: var(--primary);
}

/* Site-wide layout guard */
*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

button,
a,
input,
select,
textarea {
    min-width: 0;
}

.container,
.nav-wrapper,
.search-widget,
.search-content,
.premium-search,
.profile-page,
.account-dashboard,
.checkout-page,
.notifications-page,
.wishlist-page,
.trips-container,
.bookings-page {
    min-width: 0;
}

.profile-panel,
.dashboard-panel,
.checkout-section,
.notification-card,
.wishlist-card,
.trip-card,
.stat-card,
.product-card,
.car-card-premium,
.flight-deal,
.trust-grid article {
    min-width: 0;
    overflow-wrap: anywhere;
}

.profile-panel,
.dashboard-panel,
.checkout-section,
.notification-card,
.wishlist-card,
.trip-card {
    border-radius: 14px;
}

.btn-primary,
.btn-secondary,
.btn-danger,
.btn-book,
.action-btn,
.filter-btn,
.premium-submit,
.primary-search-button {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
}

.footer,
.footer * {
    min-width: 0;
}
