:root {
    --forest: #143c34;
    --forest-deep: #0d2e29;
    --sage: #dce9d9;
    --lime: #b9d68a;
    --copper: #c66e4e;
    --ink: #1c2924;
    --muted: #65716b;
    --paper: #f6f7f2;
    --line: #dfe4dc;
    --white: #fff;
    --display: 'Playfair Display', Georgia, serif;
    --body: 'DM Sans', sans-serif;
}

html[data-site-theme="emerald"] {
    --forest: #047857;
    --forest-deep: #064e3b;
    --sage: #d1fae5;
    --lime: #6ee7b7;
    --copper: #059669;
    --ink: #17251f;
    --muted: #5d6f65;
    --paper: #f3faf5;
    --line: #cfe6d8;
}

html[data-site-theme="red-yellow-blue"] {
    --forest: #1d4ed8;
    --forest-deep: #153e9b;
    --sage: #dbeafe;
    --lime: #facc15;
    --copper: #c62828;
    --ink: #26252a;
    --muted: #66636d;
    --paper: #fffdf6;
    --line: #e7dfd0;
}

html[data-site-theme="red-green-gold"] {
    --forest: #166534;
    --forest-deep: #14532d;
    --sage: #dcfce7;
    --lime: #d4a017;
    --copper: #b91c1c;
    --ink: #202820;
    --muted: #647267;
    --paper: #f6faf4;
    --line: #d7e5d5;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 15px; line-height: 1.65; }
a { color: inherit; }
.site-header { position: relative; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(20,60,52,.08); }
html[data-site-theme="red-yellow-blue"] .site-header, html[data-site-theme="red-green-gold"] .site-header { border-bottom: 4px solid var(--copper); }
.navbar { min-height: 76px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 11px; color: var(--forest); font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none; max-width: 270px; }
.brand-lockup span:last-child { max-width: 205px; }
.brand-mark { display: inline-grid; place-items: center; flex: 0 0 39px; width: 39px; height: 39px; color: var(--forest); background: var(--lime); border-radius: 50%; font-size: 19px; }
.brand-logo { flex: 0 0 42px; width: 42px; height: 42px; object-fit: contain; }
.nav-link { padding: 10px 13px !important; color: #42504a; font-size: 13px; font-weight: 600; }
.nav-link:hover, .nav-link.active { color: var(--forest); }
.btn-brand { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 11px 17px; border: 1px solid var(--forest); border-radius: 3px; color: #fff; background: var(--forest); font-weight: 700; }
.btn-brand:hover, .btn-brand:focus { border-color: var(--forest-deep); color: #fff; background: var(--forest-deep); }
.btn-outline-brand { padding: 10px 17px; border: 1px solid var(--forest); border-radius: 3px; color: var(--forest); font-weight: 700; }
.btn-outline-brand:hover { color: #fff; background: var(--forest); }

.home-hero { position: relative; display: flex; min-height: 590px; align-items: center; overflow: hidden; color: #fff; background: var(--forest-deep); }
.home-hero::before { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, rgba(6,52,40,.9) 0%, rgba(6,52,40,.65) 44%, rgba(6,52,40,.1) 100%); }
html[data-site-theme="red-yellow-blue"] .home-hero::before { background: linear-gradient(90deg, rgba(65,17,22,.92) 0%, rgba(65,17,22,.66) 44%, rgba(65,17,22,.12) 100%); }
html[data-site-theme="red-green-gold"] .home-hero::before { background: linear-gradient(90deg, rgba(10,50,28,.92) 0%, rgba(10,50,28,.66) 44%, rgba(10,50,28,.12) 100%); }
.home-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.hero-content { position: relative; z-index: 1; width: min(720px, 100%); padding-top: 68px; padding-bottom: 76px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--lime); font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
.eyebrow::before { width: 27px; height: 1px; content: ''; background: currentColor; }
.hero-content h1, .page-heading h1 { max-width: 730px; margin: 0 0 19px; font-family: var(--display); font-size: 64px; font-weight: 500; line-height: 1.08; }
.hero-content p { max-width: 545px; margin: 0 0 28px; color: rgba(255,255,255,.83); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.hero-actions .btn-brand { border-color: var(--lime); color: var(--forest-deep); background: var(--lime); }
.hero-actions .btn-brand:hover { border-color: var(--lime); background: var(--lime); filter: brightness(1.04); }
.hero-actions .btn-outline-light { border-radius: 3px; font-weight: 700; }
.hero-note { position: absolute; right: max(calc((100vw - 1320px) / 2), 24px); bottom: 31px; z-index: 1; color: rgba(255,255,255,.72); font-size: 11px; }

.section { padding: 78px 0; }
.section-paper { background: #fff; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 27px; }
.section-kicker { margin-bottom: 7px; color: var(--copper); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.section-heading h2, .content-heading { margin: 0; color: var(--forest); font-family: var(--display); font-size: 37px; font-weight: 500; line-height: 1.2; }
.section-heading p { max-width: 440px; margin: 10px 0 0; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.text-link:hover { color: var(--copper); }
.package-card { height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
html[data-site-theme="red-yellow-blue"] .package-card, html[data-site-theme="red-green-gold"] .package-card { border-top: 4px solid var(--copper); }
.package-card:hover { transform: translateY(-3px); box-shadow: 0 13px 28px rgba(20,60,52,.08); }
.package-card-top { display: flex; min-height: 88px; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 21px 21px 15px; background: var(--sage); }
.package-days { display: inline-flex; align-items: center; gap: 6px; color: var(--forest); font-size: 12px; font-weight: 700; white-space: nowrap; }
.package-card-top h3 { margin: 0; color: var(--forest); font-family: var(--display); font-size: 22px; font-weight: 600; line-height: 1.2; }
.package-card-body { padding: 18px 21px 21px; }
.package-meta { display: grid; gap: 8px; margin: 0; padding: 0; color: var(--muted); font-size: 12px; list-style: none; }
.package-meta li { display: flex; align-items: center; gap: 9px; }
.package-meta i { width: 15px; color: var(--copper); }
.package-price { margin: 19px 0 13px; color: var(--forest); font-size: 12px; }
.package-price strong { font-size: 22px; }
.package-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 13px; border-top: 1px solid var(--line); }
.package-airline { max-width: 55%; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

.advantages { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.advantage { padding: 24px 27px 14px 0; }
.advantage + .advantage { padding-left: 27px; border-left: 1px solid var(--line); }
.advantage-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 15px; border-radius: 50%; color: var(--forest); background: var(--sage); font-size: 18px; }
html[data-site-theme="red-yellow-blue"] .advantage-icon, html[data-site-theme="red-green-gold"] .advantage-icon { color: #fff; background: var(--copper); }
.advantage h3 { margin: 0 0 7px; color: var(--forest); font-size: 15px; font-weight: 700; }
.advantage p { margin: 0; color: var(--muted); font-size: 13px; }

.page-banner { padding: 58px 0 54px; color: #fff; background: var(--forest); }
html[data-site-theme="red-yellow-blue"] .page-banner, html[data-site-theme="red-green-gold"] .page-banner { border-bottom: 8px solid var(--lime); }
.page-banner .eyebrow { margin-bottom: 11px; }
.page-heading h1 { margin-bottom: 12px; font-size: 48px; }
.page-heading p { max-width: 690px; margin: 0; color: rgba(255,255,255,.78); }
.page-content { padding: 48px 0 86px; }
.filter-bar { display: grid; grid-template-columns: minmax(200px, 1fr) 185px 185px auto; gap: 11px; margin-bottom: 24px; padding: 16px; border: 1px solid var(--line); background: #fff; }
.form-label { margin-bottom: 6px; color: #42504a; font-size: 12px; font-weight: 700; }
.form-control, .form-select { min-height: 44px; border: 1px solid #d6ddd5; border-radius: 3px; color: var(--ink); font-size: 14px; }
.form-control:focus, .form-select:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(20,60,52,.11); }
.filter-submit { align-self: end; min-height: 44px; }
.empty-state { padding: 45px 20px; border: 1px dashed #bcc8bd; color: var(--muted); text-align: center; }

.content-panel { padding: 32px; border: 1px solid var(--line); background: #fff; }
.content-panel p { color: #495650; white-space: pre-line; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 27px; background: var(--line); border: 1px solid var(--line); }
.about-fact { padding: 18px; background: #fff; }
.about-fact span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.about-fact strong { color: var(--forest); font-size: 14px; }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
.contact-info { padding: 27px; color: #fff; background: var(--forest); }
.contact-info h2 { margin: 0 0 20px; font-family: var(--display); font-size: 27px; font-weight: 500; }
.contact-item { display: flex; gap: 13px; margin-top: 19px; color: rgba(255,255,255,.83); font-size: 13px; }
.contact-item i { color: var(--lime); font-size: 17px; }
.contact-form { padding: 28px; border: 1px solid var(--line); background: #fff; }
.contact-form h2 { margin-bottom: 21px; color: var(--forest); font-family: var(--display); font-size: 28px; }

.auth-wrap { display: grid; min-height: calc(100vh - 76px); place-items: center; padding: 48px 18px; background: var(--paper); }
.auth-panel { width: min(470px, 100%); padding: 34px; border: 1px solid var(--line); background: #fff; }
.auth-panel h1 { margin: 0 0 7px; color: var(--forest); font-family: var(--display); font-size: 34px; }
.auth-panel > p { margin-bottom: 23px; color: var(--muted); font-size: 13px; }
.auth-panel .form-label { margin-top: 12px; }
.auth-panel .btn-brand { width: 100%; margin-top: 9px; }
.auth-switch { margin-top: 18px; color: var(--muted); font-size: 13px; text-align: center; }
.auth-switch a { color: var(--forest); font-weight: 700; }

.dashboard-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 25px; }
.dashboard-heading h1 { margin: 0; color: var(--forest); font-family: var(--display); font-size: 37px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.table { min-width: 720px; margin: 0; font-size: 13px; }
.table thead th { padding: 13px 15px; color: var(--forest); background: #edf2eb; font-size: 11px; text-transform: uppercase; white-space: nowrap; }
.table tbody td { padding: 14px 15px; vertical-align: middle; }
.status-pill { display: inline-flex; padding: 4px 9px; border-radius: 20px; color: #314d3a; background: #e7f1e5; font-size: 11px; font-weight: 700; }
.status-pill.pending { color: #815522; background: #f8edda; }
.status-pill.rejected { color: #8d3f36; background: #f7e5e2; }
.upload-box { min-width: 180px; }
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.booking-summary { padding: 24px; color: #fff; background: var(--forest); }
.booking-summary h2 { margin: 0 0 16px; font-family: var(--display); font-size: 24px; }
.booking-summary p { margin: 0 0 8px; color: rgba(255,255,255,.8); font-size: 13px; }

.site-footer { padding: 52px 0 20px; color: rgba(255,255,255,.73); background: var(--forest-deep); font-size: 12px; }
.footer-brand { color: #fff; }
.footer-brand .brand-mark { color: var(--forest-deep); }
.footer-copy { max-width: 360px; }
.footer-heading { margin: 0 0 14px; color: var(--lime); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.site-footer .col-lg-3 a { display: block; width: fit-content; margin: 7px 0; color: rgba(255,255,255,.73); text-decoration: none; }
.site-footer .col-lg-3 a:hover, .footer-bottom a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 33px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.16); font-size: 11px; }
.footer-bottom a { color: var(--lime); text-decoration: none; }
.whatsapp-float { position: fixed; right: 21px; bottom: 20px; z-index: 20; display: grid; place-items: center; width: 54px; height: 54px; border: 2px solid #fff; border-radius: 50%; color: #fff; background: #16875b; box-shadow: 0 5px 18px rgba(10,35,26,.22); font-size: 25px; text-decoration: none; }
.whatsapp-float:hover { color: #fff; background: #116e49; }

.admin-shell { min-height: 100vh; background: var(--paper); }
.admin-topbar { padding: 17px 0; color: #fff; background: var(--forest-deep); }
.admin-main { padding: 38px 0 70px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.admin-nav a { padding: 8px 12px; border: 1px solid var(--line); color: var(--forest); background: #fff; font-size: 12px; font-weight: 700; text-decoration: none; }
.admin-nav a.active { color: #fff; background: var(--forest); border-color: var(--forest); }
.admin-panel { padding: 25px; border: 1px solid var(--line); background: #fff; }
.admin-panel h1, .admin-panel h2 { color: var(--forest); font-family: var(--display); }
.admin-panel textarea { min-height: 150px; }
.theme-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.theme-choice { display: block; height: 100%; cursor: pointer; }
.theme-choice input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.theme-choice-body { display: flex; height: 100%; flex-direction: column; gap: 7px; padding: 17px; border: 1px solid var(--line); border-radius: 3px; background: #fff; }
.theme-choice input:checked + .theme-choice-body { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.theme-choice input:focus-visible + .theme-choice-body { outline: 3px solid var(--lime); outline-offset: 2px; }
.theme-choice-body strong { color: var(--forest); font-size: 14px; }
.theme-choice-description { min-height: 40px; color: var(--muted); font-size: 12px; }
.theme-swatches { display: flex; gap: 7px; margin-top: 5px; }
.theme-swatches i { width: 22px; height: 22px; border: 1px solid rgba(0,0,0,.08); border-radius: 50%; background: var(--swatch); }

@media (max-width: 991.98px) {
    .navbar-collapse { padding: 12px 0 16px; }
    .navbar-nav { align-items: stretch !important; }
    .navbar-nav .btn { margin: 8px 0 0 !important; }
    .home-hero { min-height: 540px; }
    .hero-content { max-width: 650px; }
    .filter-bar { grid-template-columns: 1fr 1fr; }
    .filter-submit { align-self: end; }
}
@media (max-width: 767.98px) {
    .section { padding: 58px 0; }
    .home-hero { min-height: 580px; align-items: end; }
    .home-hero::before { background: linear-gradient(0deg, rgba(8,32,28,.92) 0%, rgba(8,32,28,.58) 70%, rgba(8,32,28,.24) 100%); }
    .home-hero-image { object-position: 59% center; }
    .hero-content { padding-top: 150px; padding-bottom: 60px; }
    .hero-content h1 { font-size: 45px; }
    .hero-content p { font-size: 14px; }
    .hero-note { display: none; }
    .section-heading { display: block; }
    .section-heading .text-link { margin-top: 16px; }
    .section-heading h2 { font-size: 32px; }
    .advantages { grid-template-columns: 1fr; }
    .advantage, .advantage + .advantage { padding: 20px 0; border-left: 0; }
    .advantage + .advantage { border-top: 1px solid var(--line); }
    .page-banner { padding: 42px 0; }
    .page-heading h1 { font-size: 38px; }
    .page-content { padding: 30px 0 55px; }
    .filter-bar { grid-template-columns: 1fr; }
    .filter-submit { width: 100%; }
    .content-panel, .contact-form, .auth-panel { padding: 22px; }
    .about-facts { grid-template-columns: 1fr; }
    .contact-layout, .booking-layout { grid-template-columns: 1fr; }
    .dashboard-heading { align-items: flex-start; flex-direction: column; }
    .dashboard-heading h1 { font-size: 31px; }
    .footer-bottom { flex-direction: column; }
    .theme-choice-grid { grid-template-columns: 1fr; }
    html[data-site-theme="red-yellow-blue"] .home-hero::before { background: linear-gradient(0deg, rgba(65,17,22,.94) 0%, rgba(65,17,22,.68) 70%, rgba(65,17,22,.25) 100%); }
    html[data-site-theme="red-green-gold"] .home-hero::before { background: linear-gradient(0deg, rgba(10,50,28,.94) 0%, rgba(10,50,28,.68) 70%, rgba(10,50,28,.25) 100%); }
}
