:root{
    --bg:#0b3f9c;
    --bg-dark:#072d72;
    --bg-deeper:#052457;
    --panel:#ffffff;
    --panel-soft:#f4f9ff;
    --line:#d8e4f3;
    --line-strong:#bfd2e8;
    --text:#16324d;
    --text-dark:#0f2744;
    --muted:#667a90;
    --muted-light:#c7d9f3;
    --primary:#1e7cff;
    --primary-dark:#125fcf;
    --primary-soft:#e9f3ff;
    --primary-tint:#d8ebff;
    --accent:#25d0e6;
    --accent-dark:#15aec2;
    --warning:#ffd55a;
    --white:#ffffff;
    --success-bg:#def4e8;
    --success-text:#1b6d46;
    --error-bg:#fde6e6;
    --error-text:#9f2f2f;
    --radius:22px;
    --radius-sm:16px;
    --shadow:0 18px 44px rgba(5,23,58,.18);
    --shadow-hover:0 24px 60px rgba(4,19,49,.24);
    --container:1240px;
}

*{box-sizing:border-box}

html,body{
    margin:0;
    padding:0;
    font-family:Inter,Arial,sans-serif;
    color:var(--white);
    background:
        radial-gradient(circle at top right, rgba(37,208,230,.15), transparent 24%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-dark) 55%, var(--bg-deeper) 100%);
}

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

img{
    display:block;
    max-width:100%;
}

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

/* HEADER */

.site-header{
    position:sticky;
    top:0;
    z-index:50;
    backdrop-filter:blur(12px);
    background:rgba(7,45,114,.88);
    border-bottom:1px solid rgba(255,255,255,.12);
    box-shadow:0 4px 18px rgba(0,0,0,.12);
}

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

.logo{
    font-size:2.1rem;
    font-weight:900;
    line-height:1;
    letter-spacing:-.03em;
    color:#fff;
}

.logo span{
    color:var(--accent);
}

.nav-links{
    display:flex;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}

.nav-links a{
    color:#e8f1ff;
    font-weight:800;
    font-size:1rem;
    padding:10px 0;
    transition:.2s ease;
}

.nav-links a:hover{
    color:var(--accent);
}

/* FLASH */

.flash{
    padding:12px 0;
}

.flash.success{
    background:var(--success-bg);
    color:var(--success-text);
}

.flash.error{
    background:var(--error-bg);
    color:var(--error-text);
}

/* TYPO */

h1,h2,h3{
    margin:0 0 14px;
    line-height:1.06;
    letter-spacing:-.03em;
    font-family:Georgia,serif;
}

h1{
    font-size:clamp(2.7rem, 5vw, 5rem);
}

h2{
    font-size:clamp(1.9rem, 3vw, 2.8rem);
}

h3{
    font-size:1.45rem;
}

.lead{
    margin:0;
    max-width:780px;
    line-height:1.7;
    font-size:1.15rem;
    color:var(--muted-light);
}

.lead.small{
    font-size:1rem;
}

.lead.white{
    color:rgba(255,255,255,.94);
}

.eyebrow{
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:0 14px;
    border-radius:999px;
    background:rgba(255,255,255,.1);
    border:1px solid rgba(255,255,255,.14);
    color:#d8e8ff;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.1em;
    margin-bottom:16px;
}

/* BUTTONS */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    padding:0 20px;
    border-radius:14px;
    border:1px solid transparent;
    font-weight:800;
    font-size:1rem;
    cursor:pointer;
    transition:.22s ease;
}

.btn-primary{
    background:linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color:#fff;
    box-shadow:0 12px 22px rgba(18,95,207,.28);
}

.btn-primary:hover{
    transform:translateY(-1px);
    background:linear-gradient(180deg, #2585ff 0%, #0f58bd 100%);
}

.btn-secondary{
    background:rgba(255,255,255,.08);
    color:#fff;
    border-color:rgba(255,255,255,.18);
}

.btn-secondary:hover{
    background:rgba(255,255,255,.13);
    border-color:rgba(255,255,255,.26);
}

.btn-light{
    background:#fff;
    color:var(--primary-dark);
    border-color:#fff;
}

.btn-light:hover{
    background:var(--primary-soft);
    border-color:var(--primary-soft);
}

.btn-block{
    width:100%;
}

.hero-actions,
.dashboard-actions,
.form-actions,
.mini-panel-actions,
.filters-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

/* GENERAL PANELS */

.panel-card,
.content-box,
.booking-card,
.feature-box,
.floating-card,
.mini-panel-card,
.cruise-card,
.filter-card,
.stat-box{
    background:var(--panel);
    color:var(--text);
    border:1px solid rgba(255,255,255,.08);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.content-box p,
.feature-box p,
.panel-card p,
.filter-card p{
    color:var(--muted);
}

.section{
    padding:64px 0;
}

.section-top-border{
    border-top:1px solid rgba(255,255,255,.12);
}

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

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

.cards-2{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:24px;
}

/* HERO */

.hero{
    padding:72px 0 56px;
    background:
        radial-gradient(circle at left top, rgba(37,208,230,.12), transparent 25%);
}

.hero-grid{
    display:grid;
    grid-template-columns:1.18fr .82fr;
    gap:34px;
    align-items:center;
}

.floating-card{
    padding:30px;
    background:linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.08) 100%);
    color:#fff;
    border-color:rgba(255,255,255,.16);
}

.floating-card h2,
.floating-card h3,
.floating-card p,
.floating-card li{
    color:#fff;
}

.floating-kicker{
    font-size:13px;
    font-weight:900;
    color:var(--accent);
    margin-bottom:12px;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.check-list{
    list-style:none;
    padding:0;
    margin:18px 0 0;
    display:grid;
    gap:12px;
}

.check-list li{
    position:relative;
    padding-left:24px;
    color:#e4f0ff;
    line-height:1.6;
}

.check-list li:before{
    content:"✓";
    position:absolute;
    left:0;
    top:0;
    color:var(--accent);
    font-weight:900;
}

/* HOME SEARCH PANEL */

.search-panel{
    padding:22px;
    border-radius:22px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.14);
    box-shadow:var(--shadow);
}

.search-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr) auto;
    gap:12px;
    align-items:end;
}

.field{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.field label{
    font-size:.82rem;
    color:#dce8ff;
    font-weight:800;
}

.field select,
.field input{
    width:100%;
    min-height:50px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.18);
    background:#fff;
    color:var(--text-dark);
    padding:0 14px;
    font-size:.98rem;
}

.preset-row{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:16px;
}

.preset-chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:42px;
    padding:0 15px;
    border-radius:999px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    color:#fff;
    font-weight:800;
    font-size:.94rem;
}

.preset-chip:hover{
    background:rgba(255,255,255,.14);
}

/* FILTER CARD */

.filter-card{
    margin-bottom:24px;
    padding:22px;
    background:linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}

.filters-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:16px;
    align-items:end;
}

.filter-card .filters-actions{
    align-self:end;
}

label span{
    display:block;
    margin-bottom:8px;
    font-weight:800;
    color:var(--text);
}

/* FORMS */

.inquiry-form{
    display:grid;
    gap:12px;
}

.narrow{
    width:min(700px, calc(100% - 32px));
}

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

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

.form-grid .full{
    grid-column:1/-1;
}

input,textarea,select{
    width:100%;
    padding:14px 16px;
    border-radius:14px;
    border:1px solid var(--line);
    background:#fff;
    font:inherit;
    color:var(--text);
    transition:.2s ease;
}

input:focus,textarea:focus,select:focus{
    outline:none;
    border-color:rgba(30,124,255,.45);
    box-shadow:0 0 0 4px rgba(30,124,255,.08);
}

textarea{
    resize:vertical;
}

.checkbox{
    display:flex;
    align-items:center;
    gap:10px;
    padding:4px 0;
}

.checkbox input{
    width:auto;
}

/* TOOLBAR */

.card-toolbar{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:18px;
    margin-bottom:20px;
}

.card-toolbar p{
    font-size:15px;
    line-height:1.6;
    color:var(--muted-light);
}

/* CRUISE CARDS */

.cruise-card{
    overflow:hidden;
    transition:.25s ease;
    background:linear-gradient(180deg,#ffffff 0%, #fbfdff 100%);
}

.cruise-card:hover{
    transform:translateY(-4px);
    box-shadow:var(--shadow-hover);
    border-color:var(--line-strong);
}

.cruise-card img{
    width:100%;
    height:228px;
    object-fit:cover;
    background:#dbeaff;
}

.cruise-card-link{
    display:block;
    color:var(--text);
}

.card-body{
    padding:20px;
}

.card-topline{
    font-size:12px;
    font-weight:900;
    color:var(--primary);
    margin-bottom:10px;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.card-body h3{
    font-size:1.32rem;
    margin-bottom:10px;
    color:var(--text-dark);
}

.card-body p{
    color:var(--muted);
    line-height:1.65;
    min-height:78px;
    margin:0;
}

.card-meta{
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:flex-end;
    margin-top:16px;
    padding-top:14px;
    border-top:1px solid var(--line);
    font-size:14px;
}

.card-meta span{
    color:var(--muted);
    line-height:1.5;
}

.card-meta strong{
    font-size:1rem;
    color:var(--primary-dark);
    white-space:nowrap;
}

/* OFFER PAGE */

.offer-cover{
    min-height:470px;
    background-size:cover;
    background-position:center;
    position:relative;
}

.offer-cover-overlay{
    min-height:470px;
    display:flex;
    align-items:end;
    padding:58px 0;
    background:
        linear-gradient(180deg, rgba(7,22,46,.14), rgba(7,22,46,.78));
}

.breadcrumbs{
    margin-bottom:14px;
    color:rgba(255,255,255,.9);
    font-size:14px;
}

.breadcrumbs a{
    color:#fff;
}

.offer-grid{
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(300px,.72fr);
    gap:28px;
    align-items:start;
}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px;
    margin-bottom:18px;
}

.feature-box{
    padding:20px;
    background:linear-gradient(180deg,#ffffff 0%, #f8fbff 100%);
}

.feature-box span{
    display:block;
    font-size:12px;
    font-weight:900;
    color:var(--muted);
    text-transform:uppercase;
    margin-bottom:8px;
}

.feature-box strong{
    font-size:1.15rem;
    line-height:1.35;
    color:var(--text-dark);
}

.content-box{
    padding:26px;
    margin-bottom:18px;
    background:linear-gradient(180deg,#ffffff 0%, #fbfdff 100%);
}

.content-box p{
    color:var(--muted);
    line-height:1.8;
    margin:0;
}

.content-box h2,
.content-box h3{
    margin-bottom:16px;
    color:var(--text-dark);
}

.split{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.organizer-box{
    display:grid;
    grid-template-columns:72px 1fr;
    gap:18px;
    align-items:start;
}

.organizer-avatar{
    width:72px;
    height:72px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:var(--primary-soft);
    font-size:28px;
    font-weight:900;
    color:var(--primary);
}

.organizer-meta{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    color:var(--muted);
    font-weight:700;
}

.booking-card{
    position:sticky;
    top:96px;
    padding:24px;
    background:linear-gradient(180deg,#ffffff 0%, #f8fbff 100%);
}

.booking-label{
    font-size:13px;
    font-weight:900;
    color:var(--muted);
    text-transform:uppercase;
    margin-bottom:8px;
}

.booking-price{
    font-size:42px;
    font-weight:900;
    line-height:1;
    color:var(--primary-dark);
}

.booking-note{
    color:var(--muted);
    margin:8px 0 18px;
}

.booking-list{
    list-style:none;
    padding:0;
    margin:0 0 18px;
    display:grid;
    gap:0;
}

.booking-list li{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:13px 0;
    border-bottom:1px solid var(--line);
}

.booking-list span{
    color:var(--muted);
}

/* MINI PANELS / DASHBOARD */

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

.mini-panel-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.mini-panel-card{
    padding:22px;
    background:linear-gradient(180deg,#ffffff 0%, #f8fbff 100%);
}

.stat-box{
    padding:20px;
    background:linear-gradient(180deg,#ffffff 0%, #f6fbff 100%);
}

.stat-box strong{
    display:block;
    font-size:1.8rem;
    color:var(--primary-dark);
    margin-bottom:6px;
}

.stat-box span{
    color:var(--muted);
}

/* TABLES */

.table-wrap{
    overflow:auto;
    border-radius:18px;
    border:1px solid var(--line);
    background:#fff;
    box-shadow:var(--shadow);
}

table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    color:var(--text);
}

th,td{
    padding:14px 16px;
    border-bottom:1px solid var(--line);
    text-align:left;
    vertical-align:top;
}

th{
    background:#eef6ff;
    color:var(--text-dark);
    font-size:.92rem;
    font-weight:900;
}

tr:hover td{
    background:#f9fcff;
}

/* FOOTER */

.site-footer{
    margin-top:56px;
    padding:36px 0;
    border-top:1px solid rgba(255,255,255,.12);
    background:rgba(3,21,56,.25);
}

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

.site-footer p,
.site-footer li,
.site-footer a{
    color:var(--muted-light);
    line-height:1.7;
}

/* HELPERS */

.text-dark{color:var(--text-dark)}
.text-muted{color:var(--muted)}
.text-center{text-align:center}
.mt-0{margin-top:0}
.mb-0{margin-bottom:0}

/* RESPONSIVE */

@media (max-width: 1100px){
    h1{font-size:46px}

    .hero-grid,
    .offer-grid,
    .cards,
    .cards-2,
    .footer-grid,
    .split,
    .feature-grid,
    .filters-grid,
    .mini-panel-grid{
        grid-template-columns:1fr;
    }

    .filter-card .filters-actions{
        align-self:auto;
    }

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

@media (max-width: 760px){
    .container{
        width:min(var(--container), calc(100% - 20px));
    }

    .nav{
        flex-direction:column;
        align-items:flex-start;
        gap:12px;
    }

    .nav-links{
        flex-wrap:wrap;
        justify-content:flex-start;
        gap:10px 16px;
    }

    .section-head,
    .dashboard-top,
    .card-toolbar{
        flex-direction:column;
        align-items:flex-start;
    }

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

    .hero{
        padding:48px 0 36px;
    }

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

    .card-body p{
        min-height:auto;
    }

    .cruise-card img{
        height:210px;
    }

    .booking-card{
        position:static;
    }

    .organizer-box{
        grid-template-columns:1fr;
    }
}