:root {
  --ink: #10231d;
  --muted: #61726b;
  --paper: #f7f3e9;
  --surface: #fffdf7;
  --forest: #123e32;
  --forest-2: #1f5a49;
  --sage: #dce8df;
  --gold: #dba85a;
  --gold-soft: #f5e4c4;
  --rust: #a64f31;
  --line: rgba(16, 35, 29, .12);
  --shadow: 0 20px 55px rgba(16, 35, 29, .12);
  --shadow-sm: 0 10px 28px rgba(16, 35, 29, .08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-sm { padding: 54px 0; }
.section-head { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 34px; }
.section-head h2, .page-hero h1 { margin: 0; font-family: Georgia, 'Times New Roman', serif; letter-spacing: -.035em; line-height: 1.05; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.6rem); max-width: 720px; }
.section-head p { max-width: 540px; color: var(--muted); margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--forest-2); }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gold); border-radius: 999px; }
.kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 800; }
.muted { color: var(--muted); }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(247,243,233,.88); backdrop-filter: blur(18px); border-bottom: 1px solid transparent; transition: .2s ease; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 26px rgba(16,35,29,.07); }
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; }
.brand-mark { width: 39px; aspect-ratio: 1; border-radius: 50% 50% 50% 8px; display: grid; place-items: center; background: var(--forest); color: white; box-shadow: inset 0 0 0 5px rgba(255,255,255,.08); }
.brand strong { font-family: Georgia, serif; font-size: 1.12rem; }
.nav-links { display: flex; align-items: center; gap: 25px; font-size: .94rem; font-weight: 700; }
.nav-links a { color: #2e413a; }
.nav-links a:hover, .nav-links a.active { color: var(--rust); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.mobile-toggle { display: none; border: 0; background: transparent; font-size: 1.35rem; }

.btn { border: 0; border-radius: 999px; padding: 13px 20px; font-weight: 800; display: inline-flex; justify-content: center; align-items: center; gap: 9px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--forest); color: white; box-shadow: 0 10px 24px rgba(18,62,50,.22); }
.btn-primary:hover { background: var(--forest-2); }
.btn-secondary { background: var(--gold-soft); color: #643d08; }
.btn-ghost { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); color: white; }
.btn-outline { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-sm { padding: 10px 15px; font-size: .88rem; }
.btn-block { width: 100%; }

.hero { padding: 26px 0 58px; }
.hero-card { position: relative; overflow: hidden; min-height: 620px; border-radius: 38px; background: var(--forest); box-shadow: var(--shadow); color: white; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.hero-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,27,21,.91) 0%, rgba(7,27,21,.58) 48%, rgba(7,27,21,.12) 80%), linear-gradient(0deg, rgba(7,27,21,.34), transparent 55%); }
.hero-content { position: relative; z-index: 2; max-width: 630px; padding: clamp(40px, 6vw, 72px); }
.hero h1 { max-width: 590px; margin: 18px 0 20px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.8rem, 5.6vw, 5.6rem); line-height: .98; letter-spacing: -.05em; }
.hero p { max-width: 520px; margin: 0; font-size: 1.04rem; line-height: 1.55; color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; color: rgba(255,255,255,.78); font-size: .9rem; font-weight: 700; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }

.search-panel { position: relative; z-index: 5; width: min(1020px, calc(100% - 56px)); margin: -65px auto 0; background: var(--surface); border: 1px solid rgba(255,255,255,.6); box-shadow: var(--shadow); border-radius: 24px; padding: 16px; display: grid; grid-template-columns: 1.2fr 1fr .85fr auto; gap: 12px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .77rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); background: white; border-radius: 12px; color: var(--ink); outline: none; }
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest-2); box-shadow: 0 0 0 4px rgba(31,90,73,.1); }
.field.error input, .field.error select { border-color: #b42318; }
.field-error { color: #b42318; font-size: .78rem; font-weight: 700; }

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

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.tour-card { display: flex; flex-direction: column; min-height: 100%; }
.tour-card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.tour-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.tour-card:hover .tour-card-media img { transform: scale(1.045); }
.badge { position: absolute; top: 14px; left: 14px; padding: 7px 10px; border-radius: 999px; background: rgba(255,253,247,.92); font-size: .73rem; font-weight: 900; color: var(--forest); }
.tour-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.tour-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; color: var(--muted); font-size: .84rem; }
.tour-card h3 { margin: 10px 0 9px; font-family: Georgia, serif; font-size: 1.55rem; line-height: 1.12; }
.tour-card p { margin: 0 0 18px; color: var(--muted); }
.tour-card-footer { border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto; display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.price-label { font-size: .72rem; text-transform: uppercase; color: var(--muted); letter-spacing: .08em; font-weight: 800; }
.price { font-size: 1.28rem; font-weight: 900; color: var(--forest); }

.destination-card { position: relative; min-height: 360px; color: white; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); }
.destination-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.destination-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,27,21,.88), rgba(7,27,21,.02) 70%); }
.destination-card-content { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; }
.destination-card h3 { font-family: Georgia, serif; font-size: 2rem; margin: 0 0 5px; }
.destination-card p { margin: 0; color: rgba(255,255,255,.75); }

.feature-card { padding: 26px; background: rgba(255,255,255,.45); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.icon-box { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--gold-soft); font-size: 1.25rem; }
.feature-card h3 { margin: 18px 0 8px; font-size: 1.1rem; }
.feature-card p { color: var(--muted); margin: 0; }

.steps { counter-reset: step; }
.step-card { position: relative; padding: 24px 22px 22px 78px; border-top: 1px solid var(--line); }
.step-card::before { counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 22px; width: 42px; height: 42px; display: grid; place-items: center; background: var(--forest); color: white; border-radius: 50%; font-weight: 900; }
.step-card h3 { margin: 0 0 4px; }
.step-card p { margin: 0; color: var(--muted); }

.quote { padding: 32px; background: var(--forest); color: white; border-radius: var(--radius-xl); }
.quote blockquote { margin: 0 0 18px; font-family: Georgia, serif; font-size: 1.42rem; line-height: 1.45; }
.quote cite { color: rgba(255,255,255,.68); font-style: normal; }

.cta-band { background: var(--forest); color: white; border-radius: 34px; padding: clamp(32px, 6vw, 62px); display: flex; justify-content: space-between; gap: 34px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: rgba(219,168,90,.12); right: -50px; top: -100px; }
.cta-band h2 { font-family: Georgia, serif; font-size: clamp(2.2rem, 4vw, 4rem); margin: 0 0 10px; line-height: 1; }
.cta-band p { color: rgba(255,255,255,.72); margin: 0; max-width: 600px; }
.cta-band .btn { position: relative; z-index: 2; white-space: nowrap; }

.page-hero { padding: 68px 0 50px; }
.page-hero-inner { background: var(--forest); color: white; border-radius: 32px; padding: clamp(38px, 7vw, 76px); position: relative; overflow: hidden; }
.page-hero-inner.hero-photo { background-image: var(--hero-image); background-size: cover; background-position: center; }
.page-hero-inner.hero-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,27,21,.86), rgba(7,27,21,.48) 62%, rgba(7,27,21,.16)); }
.page-hero-inner.hero-photo > * { position: relative; z-index: 1; }
.page-hero-inner::after { content: ''; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; right: -120px; top: -220px; box-shadow: 0 0 0 70px rgba(255,255,255,.03); }
.page-hero h1 { font-size: clamp(3rem, 6vw, 5.8rem); max-width: 850px; }
.page-hero p { color: rgba(255,255,255,.72); max-width: 680px; font-size: 1.06rem; }
.breadcrumbs { color: rgba(255,255,255,.62); font-size: .86rem; margin-bottom: 18px; }

.filter-bar { display: grid; grid-template-columns: 1.2fr repeat(3, .8fr); gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 28px; }
.result-count { margin: 16px 0 24px; color: var(--muted); font-weight: 700; }
.empty-state { text-align: center; padding: 70px 20px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-lg); }

.detail-hero { display: grid; grid-template-columns: 1.5fr .8fr; gap: 22px; }
.detail-gallery-main { border-radius: 28px; overflow: hidden; min-height: 520px; }
.detail-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.detail-side { display: grid; gap: 22px; }
.detail-side img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; min-height: 249px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 50px; align-items: start; }
.detail-title { font-family: Georgia, serif; font-size: clamp(2.7rem, 5vw, 5rem); line-height: .98; letter-spacing: -.04em; margin: 12px 0 18px; }
.info-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; }
.info-chip { padding: 9px 13px; background: var(--sage); border-radius: 999px; font-size: .84rem; font-weight: 800; }
.content-block { padding: 30px 0; border-top: 1px solid var(--line); }
.content-block h2 { font-family: Georgia, serif; font-size: 2rem; margin: 0 0 16px; }
.itinerary-day { display: grid; grid-template-columns: 54px 1fr; gap: 17px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.day-number { width: 48px; height: 48px; border-radius: 50%; background: var(--gold-soft); display: grid; place-items: center; font-weight: 900; color: #6b4108; }
.check-list, .cross-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.check-list li::before { content: '✓'; color: var(--forest-2); font-weight: 900; margin-right: 10px; }
.cross-list li::before { content: '–'; color: var(--rust); font-weight: 900; margin-right: 10px; }
.booking-card { position: sticky; top: 105px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 24px; box-shadow: var(--shadow); }
.booking-card h3 { margin: 0 0 4px; font-family: Georgia, serif; font-size: 1.7rem; }
.booking-card .price { font-size: 2rem; }
.booking-summary { background: var(--sage); border-radius: 14px; padding: 15px; margin: 18px 0; }
.summary-row { display: flex; justify-content: space-between; gap: 18px; padding: 7px 0; }
.summary-row.total { border-top: 1px solid rgba(16,35,29,.15); margin-top: 7px; padding-top: 13px; font-weight: 900; }

.form-shell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(24px, 5vw, 48px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-section-title { grid-column: 1/-1; padding-top: 10px; margin-top: 8px; border-top: 1px solid var(--line); }
.form-section-title h3 { margin: 14px 0 0; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; }
.checkbox input { margin-top: 5px; }
.notice { padding: 15px 17px; border-radius: 14px; background: #fff4d6; color: #684507; font-size: .9rem; border: 1px solid #f1d894; }
.notice.info { background: #e8f1ed; color: #244f41; border-color: #cce0d8; }
.notice.danger { background: #fcebea; color: #8a241c; border-color: #f1c9c5; }

.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 36px; align-items: start; }
.checkout-steps { display: flex; gap: 6px; margin-bottom: 25px; }
.checkout-step { flex: 1; height: 6px; background: var(--line); border-radius: 999px; }
.checkout-step.active { background: var(--forest); }
.payment-option { border: 1px solid var(--line); border-radius: 15px; padding: 16px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.payment-option.selected { border-color: var(--forest); background: var(--sage); }

.confirmation { text-align: center; max-width: 760px; margin: 0 auto; }
.success-icon { width: 86px; height: 86px; margin: 0 auto 22px; border-radius: 50%; background: var(--forest); color: white; display: grid; place-items: center; font-size: 2.2rem; }
.booking-code { display: inline-flex; padding: 12px 18px; border-radius: 12px; background: var(--gold-soft); color: #684507; font-weight: 900; letter-spacing: .08em; }

.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-button { width: 100%; background: transparent; border: 0; text-align: left; display: flex; justify-content: space-between; gap: 18px; padding: 20px 4px; font-weight: 900; color: var(--ink); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .25s ease; color: var(--muted); }
.accordion-panel p { margin: 0 0 20px; }
.accordion-item.open .accordion-panel { max-height: 220px; }

.status-pill { display: inline-flex; align-items: center; padding: 7px 11px; border-radius: 999px; background: var(--sage); color: var(--forest); font-size: .76rem; font-weight: 900; }
.status-pill.pending { background: #fff4d6; color: #6b4707; }
.status-pill.cancelled { background: #fcebea; color: #8a241c; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: .9rem; }
th { font-size: .73rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }

.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; background: #eef1ed; }
.admin-sidebar { background: var(--forest); color: white; padding: 28px 20px; }
.admin-sidebar .brand { margin-bottom: 35px; }
.admin-nav { display: grid; gap: 7px; }
.admin-nav a { padding: 11px 13px; border-radius: 12px; color: rgba(255,255,255,.7); font-weight: 700; }
.admin-nav a.active, .admin-nav a:hover { background: rgba(255,255,255,.1); color: white; }
.admin-main { padding: 35px; }
.admin-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 28px; }
.admin-top h1 { margin: 0; font-family: Georgia, serif; font-size: 2.4rem; }
.metric-card { background: white; border-radius: 18px; padding: 21px; box-shadow: var(--shadow-sm); }
.metric-card .metric-value { font-size: 2rem; font-weight: 900; margin-top: 8px; }
.admin-panel { background: white; border-radius: 20px; padding: 24px; margin-top: 24px; box-shadow: var(--shadow-sm); }

.site-footer { padding: 70px 0 25px; background: #0c2b23; color: white; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, .7fr); gap: 40px; }
.footer-brand p { color: rgba(255,255,255,.62); max-width: 390px; }
.footer-col h4 { margin: 0 0 14px; }
.footer-col a { display: block; color: rgba(255,255,255,.64); padding: 5px 0; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 45px; padding-top: 20px; color: rgba(255,255,255,.54); font-size: .84rem; display: flex; justify-content: space-between; gap: 20px; }

.toast { position: fixed; right: 22px; bottom: 22px; z-index: 100; max-width: 360px; padding: 15px 18px; background: var(--ink); color: white; border-radius: 14px; box-shadow: var(--shadow); transform: translateY(120px); opacity: 0; transition: .25s ease; }
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 980px) {
  .nav-links { position: fixed; inset: 78px 20px auto; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: none; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: block; }
  .nav-actions .btn { display: none; }
  .search-panel { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .detail-layout, .checkout-layout { grid-template-columns: 1fr; }
  .booking-card { position: static; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-side { grid-template-columns: 1fr 1fr; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 2 / 4; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 24px, var(--max)); }
  .section { padding: 64px 0; }
  .hero { padding-top: 12px; }
  .hero-card { min-height: 550px; border-radius: 25px; }
  .hero-content { max-width: 100%; padding: 34px 24px; }
  .hero h1 { max-width: 430px; font-size: 2.55rem; line-height: 1.02; margin-bottom: 16px; }
  .hero p { max-width: 390px; font-size: .98rem; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .btn-ghost { background: transparent; border: 0; padding-inline: 2px; text-decoration: underline; box-shadow: none; }
  .hero-trust { flex-wrap: nowrap; overflow-x: auto; gap: 14px; margin-top: 22px; padding-bottom: 3px; font-size: .78rem; white-space: nowrap; }
  .search-panel { width: calc(100% - 36px); grid-template-columns: 1fr; margin-top: -42px; }
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .form-grid .full, .form-section-title { grid-column: auto; }
  .section-head { align-items: start; flex-direction: column; }
  .cta-band { align-items: flex-start; flex-direction: column; }
  .filter-bar { grid-template-columns: 1fr; }
  .detail-gallery-main { min-height: 360px; }
  .detail-side { grid-template-columns: 1fr; }
  .detail-side img { min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .admin-main { padding: 22px 14px; }
  .admin-top { align-items: flex-start; flex-direction: column; }
}
