:root{
    --blue:#0b5f73;
    --aqua:#18b7c9;
    --green:#22a06b;
    --green-dark:#0b5f4f;
    --sand:#f5f0e7;
    --ink:#102027;
    --muted:#5f6f76;
    --white:#fff;
    --line:#dce8eb;
    --shadow:0 18px 45px rgba(10,40,50,.12);
    --hero-green:linear-gradient(135deg,#0b5f4f,#22a06b);
}

*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:var(--ink);
    background:#fff;
    line-height:1.6;
}

a{
    color:inherit;
}

.container{
    width:min(1120px,92%);
    margin:0 auto;
}

/* Header */
.site-header{
    position:sticky;
    top:0;
    z-index:10;
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
}

.nav-wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:18px 0;
}

.brand{
    text-decoration:none;
    font-size:1.55rem;
    font-weight:800;
    color:var(--blue);
}

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

.main-nav{
    display:flex;
    align-items:center;
    gap:18px;
    font-size:.95rem;
}

.main-nav a{
    text-decoration:none;
    color:var(--ink);
    font-weight:600;
}

/* Buttons */
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:999px;
    background:linear-gradient(135deg,var(--blue),var(--aqua));
    color:#fff!important;
    text-decoration:none;
    font-weight:800;
    padding:13px 22px;
    box-shadow:var(--shadow);
    cursor:pointer;
}

.btn.small{
    padding:9px 15px;
    font-size:.9rem;
}

.btn.secondary{
    background:#fff;
    color:var(--blue)!important;
    border:1px solid var(--line);
    box-shadow:none;
}

/* General Layout */
.hero{
    background:radial-gradient(circle at 80% 10%,#d8fbff,transparent 30%),linear-gradient(135deg,#eafcff,#fff 42%,var(--sand));
    padding:90px 0;
}

.hero-grid{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:48px;
    align-items:center;
}

.eyebrow{
    text-transform:uppercase;
    letter-spacing:.16em;
    color:var(--green);
    font-weight:900;
    font-size:.82rem;
}

.hero h1,
.page-hero h1{
    font-size:clamp(2.4rem,6vw,5rem);
    line-height:1.03;
    margin:.2em 0;
}

.lead,
.page-hero p{
    font-size:1.2rem;
    color:var(--muted);
    max-width:780px;
}

.actions{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    margin-top:28px;
}

.hero-card,
.cards article,
.form-card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:28px;
    padding:30px;
    box-shadow:var(--shadow);
}

.hero-card ul{
    padding-left:22px;
}

.section{
    padding:70px 0;
}

.page-hero{
    background:linear-gradient(135deg,#e9fbfd,#fff);
    padding:70px 0;
    border-bottom:1px solid var(--line);
}

.cards{
    display:grid;
    gap:24px;
}

.cards.three{
    grid-template-columns:repeat(3,1fr);
}

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

.cards article h2{
    margin-top:0;
    color:var(--blue);
}

.form-card form{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.form-card label{
    display:grid;
    gap:6px;
    font-weight:800;
}

.form-card input{
    width:100%;
    padding:14px 16px;
    border:1px solid var(--line);
    border-radius:14px;
    font:inherit;
}

.form-card button{
    width:max-content;
}

/* Footer */
.site-footer{
    background:#0c2d35;
    color:#dceff2;
    padding:50px 0 24px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:30px;
}

.site-footer a{
    display:block;
    color:#dceff2;
    text-decoration:none;
    margin:7px 0;
}

.copyright{
    margin-top:35px;
    color:#9fc4cb;
    font-size:.92rem;
}

/* Booking / Vertical Search Pages */
.booking-hero{
    padding:70px 0 90px;
}

.blue-hero,
.light-hero{
    background:var(--hero-green);
    color:#fff;
}

.booking-hero h1,
.hero-title{
    font-size:clamp(3rem,7vw,5.5rem);
    font-weight:900;
    line-height:1;
    margin:0 0 20px;
    color:#fff;
}

.booking-hero p,
.hero-subtitle{
    font-size:1.35rem;
    max-width:900px;
    line-height:1.6;
    margin-bottom:45px;
    color:#fff;
    opacity:.95;
}

.booking-search-bar{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr 1fr auto;
    background:#fff;
    border:0!important;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 18px 45px rgba(10,40,50,.18);
}

.booking-search-bar.flight-bar{
    grid-template-columns:1.2fr 1.2fr 1fr 1fr 1.3fr auto;
}

.booking-search-bar.transport-bar{
    grid-template-columns:1.7fr 1.4fr 1fr 1fr auto;
}

.search-field{
    background:#fff;
    padding:14px 16px;
    border-right:1px solid var(--line)!important;
    border-bottom:0!important;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.search-field:last-of-type{
    border-right:0!important;
}

.search-field.wide{
    min-width:260px;
}

.search-field label{
    font-size:.82rem;
    color:#666;
    font-weight:800;
    margin-bottom:3px;
}

.search-field input,
.search-field select{
    border:0;
    outline:0;
    font-size:1rem;
    width:100%;
    background:#fff;
    color:#111;
}

.booking-search-bar button{
    border:0;
    background:var(--hero-green);
    color:#fff;
    font-size:1.15rem;
    font-weight:900;
    padding:0 32px;
    cursor:pointer;
}

.booking-search-bar button:hover{
    filter:brightness(.96);
}

/* AI Filter Forms */
.ai-filter-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    align-items:end;
}

.ai-filter-grid label{
    display:grid;
    gap:8px;
    font-weight:800;
}

.ai-filter-grid input,
.ai-filter-grid select{
    width:100%;
    padding:14px;
    border:1px solid var(--line);
    border-radius:12px;
    font:inherit;
}

.vibe-grid{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
    margin-top:24px;
}

.vibe-grid button{
    padding:14px 22px;
    border-radius:999px;
    border:1px solid var(--green);
    background:#fff;
    color:var(--green-dark);
    font-weight:900;
    cursor:pointer;
}

/* Cards */
.travel-card-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
    margin-top:28px;
}

.travel-card{
    border:1px solid var(--line);
    border-radius:18px;
    overflow:hidden;
    background:#fff;
    box-shadow:var(--shadow);
}

.travel-card-image{
    height:190px;
    background-size:cover;
    background-position:center;
}

.travel-card-body{
    padding:18px;
}

.travel-card-body span{
    color:var(--blue);
    font-weight:900;
    font-size:.85rem;
}

.travel-card-body h3{
    margin:8px 0 4px;
    font-size:1.15rem;
}

.travel-card-body p{
    color:var(--muted);
    margin:0 0 12px;
}

.soft-section{
    background:#f6fafb;
}

.section-subtitle{
    color:var(--muted);
    font-size:1.1rem;
}

/* AI Result */
.ai-result-box{
    background:#fff;
    border:1px solid var(--line);
    border-radius:24px;
    padding:30px;
    box-shadow:var(--shadow);
    margin-top:28px;
}

.ai-markdown{
    white-space:normal;
    line-height:1.75;
    font-size:1.05rem;
}

.next-step-box{
    margin-top:35px;
    padding:30px;
    border-radius:24px;
    background:linear-gradient(135deg,#eafcff,#fff);
    border:1px solid var(--line);
}

/* Trip Planner Hero */
body:has(#tripPlannerForm) .section:first-of-type{
    background:var(--hero-green);
    color:#fff;
    padding-top:70px;
    padding-bottom:90px;
}

body:has(#tripPlannerForm) h1{
    font-size:clamp(3rem,7vw,5.5rem);
    font-weight:900;
    line-height:1;
    margin:0 0 20px;
    color:#fff;
}

body:has(#tripPlannerForm) .container > p{
    font-size:1.35rem;
    max-width:900px;
    line-height:1.6;
    color:#fff;
    margin-bottom:45px;
    opacity:.95;
}

body:has(#tripPlannerForm) #wizard-progress{
    color:#fff;
    font-size:1.1rem;
    margin-bottom:30px;
}

/* Trip Planner Form */
#tripPlannerForm{
    background:#fff;
    border:0;
    border-radius:24px;
    padding:36px;
    box-shadow:0 18px 45px rgba(10,40,50,.22);
    margin-top:30px;
    color:var(--ink);
}

#tripPlannerForm h2{
    margin-top:0;
    font-size:2rem;
    color:var(--ink);
}

#tripPlannerForm label{
    font-weight:900;
    color:var(--ink);
    margin-bottom:8px;
    display:block;
}

.form-grid,
#tripPlannerForm .form-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:24px;
    align-items:start;
}

.wizard-input,
#tripPlannerForm .wizard-input,
#tripPlannerForm select,
#tripPlannerForm input,
#tripPlannerForm textarea{
    width:100%;
    min-height:58px;
    padding:15px 18px;
    border:1px solid var(--line);
    border-radius:16px;
    font-size:1rem;
    background:#fff;
    color:var(--ink);
    outline:none;
}

select.wizard-input{
    appearance:auto;
}

#tripPlannerForm textarea{
    min-height:120px;
}

#tripPlannerForm .wizard-input:focus,
#tripPlannerForm select:focus,
#tripPlannerForm input:focus,
#tripPlannerForm textarea:focus{
    border-color:var(--green);
    box-shadow:0 0 0 4px rgba(34,160,107,.12);
}

.wizard-btn,
#tripPlannerForm .wizard-btn{
    background:var(--hero-green);
    color:#fff;
    border:0;
    border-radius:999px;
    padding:15px 28px;
    cursor:pointer;
    font-size:18px;
    font-weight:900;
    box-shadow:var(--shadow);
}

.wizard-btn-secondary,
#tripPlannerForm .wizard-btn-secondary{
    background:#fff;
    color:var(--green-dark);
    border:1px solid var(--line);
    border-radius:999px;
    padding:15px 28px;
    cursor:pointer;
    font-size:18px;
    font-weight:900;
}

/* Trip Planner Options */
.option-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
    margin-top:24px;
}

.option-card,
#tripPlannerForm .option-card{
    border:1px solid var(--line);
    border-radius:18px;
    padding:18px;
    cursor:pointer;
    font-weight:700;
    background:#fff;
    box-shadow:0 8px 20px rgba(10,40,50,.06);
}

.option-card:hover,
#tripPlannerForm .option-card:hover{
    border-color:var(--green);
    box-shadow:0 12px 28px rgba(10,40,50,.12);
}

.option-card input{
    margin-right:8px;
}

/* Traveler Dropdown */
.traveler-dropdown-wrap{
    position:relative;
    width:100%;
}

.traveler-dropdown-button{
    width:100%;
    min-height:58px;
    border:1px solid var(--line);
    border-radius:16px;
    background:#fff;
    padding:15px 18px;
    font-size:1rem;
    display:flex;
    align-items:center;
    justify-content:space-between;
    cursor:pointer;
    text-align:left;
}

.traveler-dropdown-panel{
    position:absolute;
    top:76px;
    left:0;
    width:100%;
    min-width:360px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    padding:20px;
    z-index:99;
    box-shadow:var(--shadow);
}

.traveler-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:16px 0;
    border-bottom:1px solid #edf3f5;
}

.traveler-row:last-child{
    border-bottom:0;
}

.traveler-row strong{
    font-size:18px;
}

.traveler-row span{
    color:#6b7280;
    margin-left:6px;
}

.traveler-controls{
    display:flex;
    align-items:center;
    gap:14px;
    flex-shrink:0;
}

.traveler-controls button{
    width:38px;
    height:38px;
    border-radius:9px;
    border:1px solid #9ca3af;
    background:#fff;
    font-size:22px;
    font-weight:700;
    line-height:1;
    cursor:pointer;
}

.traveler-controls input{
    width:42px;
    text-align:center;
    border:none;
    font-size:22px;
    font-weight:800;
    background:transparent;
    padding:0;
}

/* Old Counter Support */
.traveler-counter{
    display:flex;
    align-items:center;
    gap:10px;
}

.traveler-counter button{
    width:42px;
    height:42px;
    border-radius:10px;
    border:1px solid var(--line);
    background:#fff;
    cursor:pointer;
    font-size:20px;
}

.traveler-counter input{
    width:70px;
    text-align:center;
    border:none;
    font-size:22px;
    font-weight:700;
    background:transparent;
}

/* Itinerary Output */
.itinerary-output{
    font-size:18px;
    line-height:1.75;
}

.itinerary-output h1,
.itinerary-output h2,
.itinerary-output h3{
    margin-top:32px;
    margin-bottom:14px;
}

.itinerary-output strong{
    font-weight:800;
}

.itinerary-output li{
    margin-left:24px;
    margin-bottom:8px;
}

/* Responsive */
@media(max-width:1000px){
    .booking-search-bar,
    .booking-search-bar.flight-bar,
    .booking-search-bar.transport-bar{
        grid-template-columns:1fr;
    }

    .search-field{
        border-right:0!important;
        border-bottom:1px solid var(--line)!important;
    }

    .booking-search-bar button{
        padding:18px;
    }

    .ai-filter-grid,
    .travel-card-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:850px){
    .nav-wrap,
    .main-nav{
        align-items:flex-start;
    }

    .nav-wrap{
        flex-direction:column;
    }

    .main-nav{
        flex-wrap:wrap;
    }

    .hero-grid,
    .cards.three,
    .cards.two,
    .footer-grid,
    .form-card form{
        grid-template-columns:1fr;
    }

    .hero{
        padding:60px 0;
    }

    .section{
        padding:45px 0;
    }
}

@media(max-width:768px){
    body:has(#tripPlannerForm) .section:first-of-type{
        padding-top:45px;
        padding-bottom:60px;
    }

    #tripPlannerForm{
        padding:24px;
    }

    .form-grid,
    #tripPlannerForm .form-grid{
        grid-template-columns:1fr;
    }

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

    .traveler-dropdown-panel{
        position:relative;
        top:12px;
        min-width:100%;
    }
}

@media(max-width:650px){
    .ai-filter-grid,
    .travel-card-grid{
        grid-template-columns:1fr;
    }

    .booking-hero h1,
    .hero-title,
    body:has(#tripPlannerForm) h1{
        font-size:2.4rem;
    }
}