:root {
    --green: #0B3B2F;
    --green-2: #135846;
    --gold: #D4AF37;
    --ink: #17231F;
    --muted: #6C7772;
    --line: #E5E8E4;
    --soft: #F5F5F5;
    --cream: #FBFAF6;
    --white: #FFFFFF;
    --blue: #315C72;
    --danger: #B93A32;
    --shadow: 0 18px 45px rgba(9, 31, 25, .12);
    --radius: 18px;
    --max: 1400px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: Inter, Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    overflow-x: hidden;
}

body:not(.admin-body):not(.login-body) {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

main {
    min-height: 70vh;
}

body:not(.admin-body):not(.login-body) main {
    flex: 1 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 14px clamp(18px, 4vw, 44px);
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(11, 59, 47, .1);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
}

.brand-mark,
.service-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--green);
    color: var(--gold);
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
    line-height: 1.05;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
}

.desktop-nav {
    display: flex;
    gap: 6px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
}

.desktop-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
}

.desktop-nav a.active,
.desktop-nav a:hover {
    background: var(--green);
    color: var(--white);
}

.header-actions,
.detail-actions,
.package-actions,
.admin-actions,
.table-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 800;
    transition: transform .18s ease, opacity .18s ease, background .18s ease;
}

.btn:active,
.bottom-tabs a:active,
.package-card:active {
    opacity: .72;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--gold);
    color: #201703;
    box-shadow: 0 10px 22px rgba(212, 175, 55, .25);
}

.btn-outline,
.btn-ghost {
    background: rgba(255, 255, 255, .78);
    color: var(--green);
    border-color: rgba(11, 59, 47, .16);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-small {
    min-height: 36px;
    padding: 6px 12px;
    font-size: 13px;
}

.wide {
    width: 100%;
}

.hero {
    position: relative;
    min-height: clamp(620px, 86vh, 920px);
    display: grid;
    align-items: end;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .26;
    background-image:
        linear-gradient(30deg, rgba(212, 175, 55, .26) 1px, transparent 1px),
        linear-gradient(150deg, rgba(255, 255, 255, .14) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.92), transparent 92%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(var(--max), calc(100% - 36px));
    margin: 0 auto;
    padding: 110px 0 70px;
    color: var(--white);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    gap: 30px;
    align-items: end;
}

.eyebrow {
    display: inline-flex;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 0;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(44px, 7vw, 92px);
    line-height: .95;
    letter-spacing: 0;
    margin-bottom: 18px;
}

h2 {
    font-size: clamp(26px, 3vw, 44px);
    line-height: 1.08;
    letter-spacing: 0;
}

h3 {
    font-size: 21px;
}

.hero-content p {
    max-width: 720px;
    font-size: clamp(17px, 2vw, 22px);
    color: rgba(255, 255, 255, .86);
}

.glass-panel {
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 24px;
    background: rgba(255, 255, 255, .16);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow);
}

.hero-copy {
    min-width: 0;
}

.hero-command {
    grid-template-columns: 1fr;
    padding: 22px;
    border-radius: 26px;
    align-self: end;
    background: linear-gradient(150deg, rgba(255,255,255,.2), rgba(255,255,255,.08));
}

.hero-command h2 {
    color: var(--white);
    font-size: clamp(24px, 3vw, 38px);
    margin-bottom: 0;
}

.qibla-mark {
    width: 112px;
    height: 112px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(212, 175, 55, .55);
    background:
        linear-gradient(45deg, transparent 42%, rgba(212,175,55,.5) 43%, rgba(212,175,55,.5) 57%, transparent 58%),
        linear-gradient(135deg, transparent 42%, rgba(255,255,255,.25) 43%, rgba(255,255,255,.25) 57%, transparent 58%),
        rgba(11, 59, 47, .78);
    color: var(--gold);
    border-radius: 28px;
    font-weight: 900;
}

.hero-meter {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
}

.hero-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--gold), #76C893, #7FB3D5);
    animation: meterGlow 2.6s ease-in-out infinite alternate;
}

.hero-stats,
.route-pulse {
    display: grid;
    gap: 10px;
}

.hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-stats div,
.route-pulse span {
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 18px;
    background: rgba(255, 255, 255, .12);
}

.hero-stats strong,
.hero-stats span {
    display: block;
}

.hero-stats strong {
    color: var(--gold);
    font-size: 25px;
}

.hero-stats span,
.route-pulse span {
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    font-weight: 800;
}

.route-pulse {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.route-pulse span {
    position: relative;
    text-align: center;
}

.route-pulse span::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 auto 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 8px rgba(212,175,55,.14);
}

@keyframes meterGlow {
    from { filter: saturate(1); }
    to { filter: saturate(1.5) brightness(1.15); }
}

label span,
.passenger-stepper > span {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-weight: 800;
    font-size: 13px;
}

.quick-search label span {
    color: rgba(255, 255, 255, .82);
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 11px 13px;
    background: var(--white);
    color: var(--ink);
    outline: none;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, .14);
}

.section,
.page-hero,
.packages-layout,
.detail-layout,
.booking-form-shell,
.tracking-panel,
.contact-layout {
    width: min(var(--max), calc(100% - 36px));
    margin: 0 auto;
}

.section {
    padding: 82px 0;
}

.muted-band {
    width: 100%;
    max-width: none;
    padding-left: max(18px, calc((100vw - var(--max)) / 2));
    padding-right: max(18px, calc((100vw - var(--max)) / 2));
    background: var(--soft);
}

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

.section-heading a {
    color: var(--green);
    font-weight: 900;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.package-card,
.testimonial-card,
.content-block,
.booking-panel,
.contact-card,
.contact-form,
.admin-card,
.lead-card,
.login-card {
    background: var(--white);
    border: 1px solid rgba(11, 59, 47, .08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.package-card {
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 60px rgba(9, 31, 25, .18);
}

.package-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--green);
}

.package-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--green);
    background: var(--gold);
    font-size: 12px;
    font-weight: 900;
}

.package-body {
    padding: 18px;
}

.package-meta,
.detail-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.package-meta span,
.detail-meta span,
.status-pill {
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(11, 59, 47, .08);
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
}

.package-body h3 {
    margin-bottom: 8px;
}

.package-body p,
.content-block p,
.contact-card p,
.login-card p,
.lead-card p {
    color: var(--muted);
}

.package-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 14px 0;
}

.package-price strong {
    color: var(--green);
    font-size: 22px;
}

.old-price {
    color: var(--muted);
    text-decoration: line-through;
}

.icon-link,
.icon-button {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--green);
    font-weight: 900;
}

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

.journey-cockpit {
    position: relative;
}

.journey-cockpit::before {
    content: "";
    position: absolute;
    inset: 36px max(18px, calc((100vw - var(--max)) / -2));
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(11,59,47,.08) 1px, transparent 1px),
        linear-gradient(rgba(11,59,47,.08) 1px, transparent 1px);
    background-size: 34px 34px;
}

.cockpit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.cockpit-grid article,
.departure-strip a {
    border: 1px solid rgba(11, 59, 47, .1);
    background: linear-gradient(160deg, #FFFFFF, #F7FAF9);
    box-shadow: var(--shadow);
}

.cockpit-grid article {
    min-height: 210px;
    padding: 22px;
    border-radius: 18px;
}

.cockpit-grid strong {
    color: var(--gold);
    font-size: 34px;
}

.cockpit-grid p {
    color: var(--muted);
}

.next-departures {
    padding-top: 24px;
}

.departure-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.departure-strip a {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    border-radius: 18px;
}

.departure-strip span {
    width: max-content;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--green);
    background: rgba(212, 175, 55, .22);
    font-size: 12px;
    font-weight: 900;
}

.departure-strip strong {
    color: var(--green);
    font-size: 20px;
}

.departure-strip small {
    color: var(--muted);
    font-weight: 800;
}

.service-grid article {
    padding: 26px;
    border-radius: 18px;
    background: linear-gradient(160deg, #FFFFFF, #F5F8F7);
    border: 1px solid var(--line);
}

.split-section {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 44px;
    align-items: center;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.trust-grid div {
    min-height: 130px;
    padding: 20px;
    border-radius: 18px;
    color: var(--white);
    background: linear-gradient(145deg, var(--green), var(--blue));
}

.trust-grid strong,
.trust-grid span {
    display: block;
}

.trust-grid strong {
    color: var(--gold);
    font-size: 24px;
}

.testimonial-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 1fr);
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    padding: 22px;
    scroll-snap-align: start;
}

.stars {
    color: var(--gold);
    font-weight: 900;
    margin-bottom: 10px;
}

.accordion {
    display: grid;
    gap: 12px;
}

.accordion details,
.admin-detail {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
}

.accordion summary,
.admin-detail summary {
    cursor: pointer;
    font-weight: 900;
}

.site-footer {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px 28px;
    padding: 36px clamp(18px, 4vw, 44px) 110px;
    color: rgba(255, 255, 255, .78);
    background: var(--green);
}

.site-footer a {
    display: inline-flex;
    margin-left: 18px;
    color: var(--white);
    font-weight: 800;
}

.footer-credit {
    grid-column: 1 / -1;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .74);
    font-size: 14px;
}

.footer-contact {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .72);
}

.footer-contact a {
    margin-left: 0;
    color: var(--gold);
}

.footer-credit a {
    margin-left: 4px;
    color: var(--gold);
}

.admin-credit,
.login-credit {
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.admin-credit {
    padding: 0 24px 26px;
}

.admin-credit a,
.login-credit a {
    color: var(--green);
    font-weight: 900;
}

.login-credit {
    padding-top: 8px;
}

.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 70;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #062513;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}

.bottom-tabs {
    display: none;
}

.offline-banner {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 100;
    display: none;
    padding: 10px;
    text-align: center;
    color: var(--white);
    background: var(--danger);
    font-weight: 800;
}

.offline-banner.show {
    display: block;
}

.flash {
    width: min(var(--max), calc(100% - 36px));
    margin: 18px auto;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 800;
}

.flash-success {
    color: var(--green);
    background: #E7F7EF;
}

.flash-error {
    color: var(--danger);
    background: #FFF0EF;
}

.compact-hero {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 22px;
    padding: 72px 0 28px;
}

.compact-hero h1 {
    max-width: 850px;
    color: var(--green);
    font-size: clamp(34px, 5vw, 66px);
}

.compact-hero p {
    max-width: 720px;
    color: var(--muted);
}

.packages-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
    padding: 26px 0 84px;
}

.filter-panel {
    position: sticky;
    top: 92px;
    align-self: start;
    padding: 18px;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.filter-form,
.stack-form,
.contact-form,
.settings-form {
    display: grid;
    gap: 14px;
}

.range-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.results-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    color: var(--muted);
}

.results-head strong {
    color: var(--ink);
}

.mobile-filter-trigger,
.bottom-sheet {
    display: none;
}

.detail-hero {
    width: min(var(--max), calc(100% - 36px));
    margin: 26px auto 0;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 28px;
    align-items: center;
}

.detail-hero img {
    width: 100%;
    height: clamp(360px, 48vw, 610px);
    object-fit: cover;
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.detail-hero h1 {
    color: var(--green);
    font-size: clamp(38px, 5vw, 74px);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    padding: 54px 0 90px;
}

.detail-main {
    display: grid;
    gap: 22px;
}

.content-block,
.booking-panel {
    padding: 24px;
}

.itinerary-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}

.itinerary-card {
    scroll-snap-align: start;
    padding: 18px;
    border-radius: 18px;
    background: var(--soft);
    border: 1px solid var(--line);
}

.itinerary-card span {
    color: var(--gold);
    font-weight: 900;
}

.two-columns,
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.checklist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.booking-panel {
    position: sticky;
    top: 96px;
    align-self: start;
}

.mobile-fixed-cta {
    display: none;
}

.booking-form-shell,
.tracking-panel,
.contact-layout {
    padding: 28px 0 90px;
}

.booking-form {
    padding: 24px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
}

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

.form-grid.compact {
    gap: 10px;
}

.wide-field {
    grid-column: 1 / -1;
}

.passenger-stepper div {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 50px;
}

.passenger-stepper button {
    min-height: 48px;
    border: 1px solid var(--line);
    background: var(--green);
    color: var(--white);
    font-weight: 900;
}

.passenger-stepper input {
    border-radius: 0;
    text-align: center;
}

.passenger-stepper button:first-child {
    border-radius: 14px 0 0 14px;
}

.passenger-stepper button:last-child {
    border-radius: 0 14px 14px 0;
}

.upload-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.upload-grid label {
    padding: 14px;
    border: 1px dashed rgba(11, 59, 47, .3);
    border-radius: 16px;
    background: var(--soft);
}

.file-preview {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.file-preview span {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(11, 59, 47, .08);
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
}

.tracking-hero {
    align-items: center;
}

.tracking-search {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 10px;
    min-width: min(520px, 100%);
}

.tracking-panel {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 24px;
}

.tracking-summary,
.timeline {
    padding: 24px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.tracking-summary h2 {
    color: var(--green);
}

.progress-bar {
    height: 12px;
    border-radius: 999px;
    background: var(--line);
    overflow: hidden;
    margin: 20px 0 10px;
}

.progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--gold), #70B77E);
}

.timeline {
    display: grid;
    gap: 0;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    min-height: 68px;
    color: var(--muted);
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 22px;
    bottom: -6px;
    width: 2px;
    background: var(--line);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 4px solid var(--line);
    background: var(--white);
}

.timeline-item.done,
.timeline-item.active {
    color: var(--ink);
}

.timeline-item.done .timeline-dot,
.timeline-item.active .timeline-dot {
    border-color: var(--gold);
    background: var(--green);
}

.contact-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 24px;
}

.contact-card,
.contact-form {
    padding: 24px;
}

.auth-shell,
.client-hero,
.client-dashboard {
    width: min(var(--max), calc(100% - 36px));
    margin: 0 auto;
}

.auth-shell {
    min-height: 68vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
    gap: 28px;
    align-items: center;
    padding: 58px 0 92px;
}

.auth-copy {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 34px;
    border-radius: 28px;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(11, 59, 47, .96), rgba(49, 92, 114, .84)),
        url('https://images.unsplash.com/photo-1564769625905-50e93615e769?auto=format&fit=crop&w=1200&q=80') center/cover;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.auth-copy::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .2;
    background-image:
        linear-gradient(30deg, rgba(212, 175, 55, .5) 1px, transparent 1px),
        linear-gradient(150deg, rgba(255, 255, 255, .22) 1px, transparent 1px);
    background-size: 42px 42px;
}

.auth-copy > * {
    position: relative;
    z-index: 1;
}

.auth-copy h1 {
    color: var(--white);
    font-size: clamp(36px, 5vw, 66px);
}

.auth-copy p {
    max-width: 640px;
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
}

.auth-card,
.client-card,
.client-stat-grid article,
.client-booking-card {
    border: 1px solid rgba(11, 59, 47, .08);
    background: var(--white);
    box-shadow: var(--shadow);
}

.auth-card {
    display: grid;
    gap: 14px;
    padding: 24px;
    border-radius: 24px;
}

.auth-switch {
    margin: 0;
    text-align: center;
    color: var(--muted);
}

.auth-switch a {
    color: var(--green);
    font-weight: 900;
}

.client-hero {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    padding: 58px 0 28px;
}

.client-hero h1 {
    max-width: 860px;
    color: var(--green);
    font-size: clamp(34px, 5vw, 64px);
}

.client-hero p {
    max-width: 760px;
    color: var(--muted);
}

.client-actions,
.support-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.client-dashboard {
    display: grid;
    gap: 20px;
    padding-bottom: 92px;
}

.client-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.client-stat-grid article {
    padding: 20px;
    border-radius: 18px;
    color: var(--white);
    background: linear-gradient(145deg, var(--green), var(--blue));
}

.client-stat-grid span,
.client-stat-grid strong {
    display: block;
}

.client-stat-grid span {
    color: rgba(255, 255, 255, .72);
    font-weight: 800;
    font-size: 13px;
}

.client-stat-grid strong {
    color: var(--gold);
    font-size: 30px;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.client-card {
    padding: 22px;
    border-radius: 20px;
}

.client-card h2 {
    font-size: 28px;
}

.profile-card p {
    margin-bottom: 8px;
    color: var(--muted);
}

.compact-heading {
    margin-bottom: 16px;
}

.client-booking-list {
    display: grid;
    gap: 14px;
}

.client-booking-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .5fr);
    gap: 18px;
    padding: 18px;
    border-radius: 18px;
}

.client-booking-card h3 {
    color: var(--green);
}

.client-booking-card p,
.mini-list p {
    color: var(--muted);
}

.client-progress a {
    color: var(--green);
    font-weight: 900;
}

.mini-list {
    display: grid;
    gap: 10px;
}

.mini-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    background: var(--soft);
}

.mini-list span {
    color: var(--muted);
    font-size: 13px;
    text-align: right;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.blog-card {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--white);
}

.blog-card img {
    aspect-ratio: 16 / 10;
    width: 100%;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 14px;
}

.empty-state {
    padding: 34px;
    text-align: center;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid var(--line);
}

.login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 18px;
    background: radial-gradient(circle at 20% 10%, rgba(212, 175, 55, .18), transparent 32%), linear-gradient(145deg, var(--green), #091F19);
}

.login-body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    background-image:
        linear-gradient(30deg, rgba(212,175,55,.36) 1px, transparent 1px),
        linear-gradient(150deg, rgba(255,255,255,.2) 1px, transparent 1px);
    background-size: 44px 44px;
}

.login-card {
    width: min(460px, 100%);
    padding: 28px;
    position: relative;
    z-index: 1;
}

.admin-body {
    display: grid;
    grid-template-columns: 276px minmax(0, 1fr);
    min-height: 100vh;
    background: #F1F4F2;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 18px;
    background: var(--green);
    color: var(--white);
}

.admin-brand {
    margin-bottom: 20px;
}

.admin-brand .brand-mark {
    background: var(--gold);
    color: var(--green);
}

.admin-brand small,
.admin-sidebar a {
    color: rgba(255, 255, 255, .74);
}

.admin-sidebar nav {
    display: grid;
    gap: 6px;
}

.admin-sidebar nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 9px 12px;
    border-radius: 12px;
    font-weight: 800;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
    color: var(--green);
    background: var(--gold);
}

.admin-shell {
    min-width: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: rgba(241, 244, 242, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.admin-topbar h1 {
    margin: 0;
    color: var(--green);
    font-size: 32px;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-content {
    padding: 24px;
    flex: 1 0 auto;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.stat-grid article {
    padding: 18px;
    border-radius: 16px;
    color: var(--white);
    background: linear-gradient(145deg, var(--green), var(--blue));
}

.stat-grid span,
.stat-grid strong {
    display: block;
}

.stat-grid span {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.stat-grid strong {
    margin-top: 8px;
    color: var(--gold);
    font-size: 28px;
}

.admin-grid {
    display: grid;
    gap: 20px;
}

.admin-grid.two {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.admin-card {
    padding: 20px;
}

.responsive-table {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

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

th {
    color: var(--green);
    font-size: 13px;
}

.booking-admin-list,
.customer-list,
.document-list {
    display: grid;
    gap: 14px;
}

.booking-row,
.document-row,
.customer-card,
.mini-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.status-form {
    display: grid;
    grid-template-columns: 210px minmax(180px, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.inline-filter {
    display: flex;
    gap: 10px;
    align-items: center;
}

.kanban-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(240px, 1fr));
    gap: 16px;
    overflow-x: auto;
}

.kanban-column {
    min-height: 420px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .7);
    border: 1px solid var(--line);
}

.lead-card {
    padding: 14px;
    margin-bottom: 12px;
}

.lead-card form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.mini-row {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.check-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-row input {
    width: auto;
    min-height: auto;
}

.backup-card {
    max-width: 720px;
}

@media (max-width: 1180px) {
    .package-grid,
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .upload-grid,
    .kanban-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .desktop-nav,
    .header-actions,
    .desktop-filter {
        display: none;
    }

    .site-header {
        position: relative;
    }

    .hero {
        min-height: 720px;
    }

    .hero-content {
        padding: 70px 0 42px;
    }

    .glass-panel {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .section {
        padding: 54px 0;
    }

    .package-grid,
    .service-grid,
    .split-section,
    .detail-hero,
    .detail-layout,
    .form-grid,
    .upload-grid,
    .tracking-panel,
    .contact-layout,
    .blog-grid,
    .admin-grid.two,
    .checklist-grid,
    .two-columns {
        grid-template-columns: 1fr;
    }

    .packages-layout {
        grid-template-columns: 1fr;
        padding-bottom: 100px;
    }

    .mobile-filter-trigger {
        display: inline-flex;
    }

    .bottom-sheet {
        position: fixed;
        inset: 0;
        z-index: 90;
        display: block;
        pointer-events: none;
        opacity: 0;
        transition: opacity .2s ease;
    }

    .bottom-sheet.open {
        opacity: 1;
        pointer-events: auto;
    }

    .sheet-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, .46);
    }

    .sheet-panel {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        max-height: 86vh;
        overflow-y: auto;
        padding: 12px 18px 28px;
        border-radius: 24px 24px 0 0;
        background: var(--white);
        transform: translateY(100%);
        transition: transform .22s ease;
    }

    .bottom-sheet.open .sheet-panel {
        transform: translateY(0);
    }

    .sheet-handle {
        width: 54px;
        height: 5px;
        border-radius: 999px;
        margin: 4px auto 14px;
        background: var(--line);
    }

    .sheet-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
    }

    .detail-hero img {
        height: 360px;
        border-radius: 20px;
    }

    .booking-panel {
        position: static;
    }

    .mobile-fixed-cta {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 76px;
        z-index: 65;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 10px;
        border-radius: 20px;
        background: rgba(255, 255, 255, .9);
        box-shadow: var(--shadow);
        backdrop-filter: blur(14px);
    }

    .floating-whatsapp {
        display: none;
    }

    .bottom-tabs {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 10px;
        z-index: 75;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 4px;
        padding: 8px;
        border-radius: 22px;
        background: rgba(11, 59, 47, .94);
        box-shadow: 0 18px 42px rgba(0, 0, 0, .22);
        backdrop-filter: blur(18px);
    }

    .bottom-tabs a {
        min-height: 50px;
        display: grid;
        place-items: center;
        border-radius: 16px;
        color: rgba(255, 255, 255, .72);
        font-size: 12px;
        font-weight: 900;
    }

    .bottom-tabs a.active {
        color: var(--green);
        background: var(--gold);
    }

    .site-footer {
        display: block;
        padding-bottom: 120px;
    }

    .site-footer a {
        margin: 10px 16px 0 0;
    }

    .admin-body {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: relative;
        height: auto;
    }

    .admin-sidebar nav {
        grid-auto-flow: column;
        grid-auto-columns: max-content;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .admin-topbar,
    .booking-row,
    .document-row,
    .customer-card,
    .mini-row {
        align-items: stretch;
        flex-direction: column;
    }

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

@media (max-width: 560px) {
    :root {
        --radius: 20px;
    }

    body {
        font-size: 15px;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .site-header {
        padding: 12px;
    }

    h1 {
        font-size: 44px;
    }

    h2 {
        font-size: 28px;
    }

    .section,
    .page-hero,
    .packages-layout,
    .detail-layout,
    .booking-form-shell,
    .tracking-panel,
    .contact-layout,
    .detail-hero {
        width: calc(100% - 24px);
    }

    .compact-hero {
        align-items: stretch;
        flex-direction: column;
        padding-top: 42px;
    }

    .package-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .package-card {
        border-radius: 20px;
        margin: 0;
    }

    .package-actions {
        display: grid;
        grid-template-columns: 1fr 1fr 44px;
    }

    .range-row,
    .tracking-search,
    .mobile-fixed-cta {
        grid-template-columns: 1fr;
    }

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

    .booking-form,
    .tracking-summary,
    .timeline,
    .contact-card,
    .contact-form,
    .admin-card {
        padding: 18px;
    }

    .stat-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 76%;
        overflow-x: auto;
        grid-template-columns: none;
        padding-bottom: 10px;
    }

    .admin-content {
        padding: 14px;
    }

    .admin-topbar {
        padding: 14px;
    }

    .admin-topbar h1 {
        font-size: 24px;
    }
}

@media (max-width: 1180px) {
    .hero-content {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .hero-command {
        width: min(720px, 100%);
    }

    .cockpit-grid,
    .departure-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .site-header {
        position: sticky;
        top: 0;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        width: calc(100% - 24px);
        padding: 44px 0 34px;
        gap: 18px;
    }

    .hero-command {
        border-radius: 20px;
        padding: 16px;
    }

    .hero-stats,
    .route-pulse,
    .cockpit-grid,
    .departure-strip {
        grid-template-columns: 1fr 1fr;
    }

    .qibla-mark {
        width: 84px;
        height: 84px;
        border-radius: 22px;
    }

    .journey-cockpit::before {
        inset: 20px -12px;
    }

    .detail-actions,
    .admin-actions,
    .inline-filter {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        border-radius: 0 0 22px 22px;
    }

    .admin-sidebar nav a {
        white-space: nowrap;
    }

    .admin-content {
        padding-bottom: 100px;
    }

    .site-footer {
        display: grid;
        grid-template-columns: 1fr;
    }

    .site-footer a {
        margin: 8px 16px 0 0;
    }
}

@media (max-width: 560px) {
    .hero-bg {
        background-position: center top;
    }

    .hero-content h1 {
        font-size: 40px;
        line-height: 1;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-command h2 {
        font-size: 24px;
    }

    .hero-stats,
    .route-pulse,
    .cockpit-grid,
    .departure-strip {
        grid-template-columns: 1fr;
    }

    .hero-stats div,
    .route-pulse span,
    .cockpit-grid article,
    .departure-strip a {
        border-radius: 20px;
    }

    .cockpit-grid article,
    .departure-strip a {
        min-height: auto;
    }

    .quick-search .btn,
    .filter-form .btn,
    .contact-form .btn,
    .booking-form .btn,
    .login-card .btn {
        width: 100%;
    }

    .package-actions {
        grid-template-columns: 1fr;
    }

    .package-actions .icon-link {
        width: 100%;
        border-radius: 999px;
    }

    .detail-meta span,
    .package-meta span {
        flex: 1 1 auto;
        text-align: center;
    }

    .tracking-search {
        width: 100%;
    }

    .timeline-item {
        min-height: 76px;
    }

    .login-card {
        padding: 22px;
        border-radius: 22px;
    }

    .login-card h1 {
        font-size: 32px;
    }

    .admin-topbar {
        position: relative;
    }

    .admin-user {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-user .btn {
        width: 100%;
    }

    .responsive-table table,
    .responsive-table thead,
    .responsive-table tbody,
    .responsive-table tr,
    .responsive-table th,
    .responsive-table td {
        display: block;
        width: 100%;
    }

    .responsive-table thead {
        display: none;
    }

    .responsive-table tr {
        margin-bottom: 12px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: var(--white);
    }

    .responsive-table td {
        border-bottom: 1px solid rgba(11, 59, 47, .08);
        padding: 8px 0;
    }

    .responsive-table td:last-child {
        border-bottom: 0;
    }

    .site-footer {
        padding: 28px 18px 118px;
    }

    .footer-credit {
        font-size: 13px;
    }
}

@media (max-width: 1180px) {
    .auth-shell,
    .client-grid,
    .client-booking-card {
        grid-template-columns: 1fr;
    }

    .client-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .auth-shell,
    .client-hero,
    .client-dashboard {
        width: calc(100% - 24px);
    }

    .auth-shell {
        grid-template-columns: 1fr;
        padding: 30px 0 84px;
    }

    .auth-copy {
        min-height: 320px;
        border-radius: 22px;
        padding: 24px;
    }

    .client-hero {
        align-items: stretch;
        flex-direction: column;
        padding-top: 38px;
    }

    .client-actions,
    .support-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .client-actions .btn,
    .support-actions .btn {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .auth-copy h1,
    .client-hero h1 {
        font-size: 34px;
    }

    .auth-card,
    .client-card,
    .client-booking-card {
        border-radius: 20px;
        padding: 18px;
    }

    .client-stat-grid {
        grid-template-columns: 1fr;
    }

    .mini-list div {
        align-items: flex-start;
        flex-direction: column;
    }

    .mini-list span {
        text-align: left;
    }
}
