/* Escape to Albania — base styles shared by all 4 models.
   Each model's theme.css overrides the tokens below and adds its own hero/shape styles. */

:root {
  --bg: #fff; --bg-alt: #f4f4f4; --surface: #fff; --ink: #111; --muted: #666; --line: rgba(0,0,0,.12);
  --brand: #1F6FB2; --cta: #E8743F; --cta-ink: #fff; --accent: #E8743F; --eyebrow: var(--brand);
  --dark: #0F2A3D; --dark-ink: #fff;
  --header-bg: var(--bg); --header-ink: var(--ink); --header-border: 1px solid var(--line);
  --font-title: 'Bricolage Grotesque', sans-serif; --font-body: 'Figtree', sans-serif;
  --title-w: 800; --title-ls: -.02em; --title-tt: none;
  --radius: 14px; --btn-radius: 10px; --shadow: 0 10px 30px rgba(0,0,0,.08);
  /* scene palette (sky top, sky bottom, sun, far, mid, near, water, roof, wall) */
  --s1: #bfe0f5; --s2: #f3e9d7; --s3: #E8743F; --s4: #7fb0d6; --s5: #1F6FB2; --s6: #0F2A3D; --s7: #3f8fcf; --s8: #E8743F; --s9: #fbf8f2;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-title); font-weight: var(--title-w); letter-spacing: var(--title-ls); text-transform: var(--title-tt); line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.4vw, 78px); }
h2 { font-size: clamp(30px, 4vw, 50px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); color: var(--header-ink); border-bottom: var(--header-border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; color: inherit; }
.logo__mark { width: 2.4em; height: 2.4em; flex: none; }
.logo__mark svg { width: 100%; height: 100%; overflow: visible; }
.logo__wm { display: flex; flex-direction: column; align-items: flex-start; line-height: .95; font-size: 1em; }
.logo__wm span { white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; opacity: .88; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; border-color: var(--accent); }
.nav .btn { opacity: 1; border-bottom: 0; padding: 10px 18px; font-size: 15px; }
.nav-toggle { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 24px; height: 2.5px; background: currentColor; border-radius: 2px; position: relative; margin: auto; content: ""; transition: .2s; }
.nav-toggle span::before { position: absolute; top: -7px; left: 0; }
.nav-toggle span::after { position: absolute; top: 7px; left: 0; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--header-bg); flex-direction: column; align-items: flex-start; padding: 20px; gap: 14px; border-bottom: var(--header-border); display: none; }
  .nav.open { display: flex; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border-radius: var(--btn-radius); font: 700 16px/1 var(--font-body); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--cta); color: var(--cta-ink); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--small { padding: 10px 16px; font-size: 14px; }
.link { background: none; border: 0; padding: 0; font: 700 14px var(--font-body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; color: inherit; }

/* ---------- Generic blocks ---------- */
.section { padding: clamp(56px, 8vw, 108px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: var(--dark-ink); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--eyebrow); margin-bottom: 14px; }
.section--dark .eyebrow { color: var(--accent); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.section__head p { max-width: 460px; color: var(--muted); }
.section--dark .section__head p { color: inherit; opacity: .8; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; max-width: 560px; }
.scene { position: relative; overflow: hidden; background: var(--s2); }
.scene > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene > *:not(svg) { position: relative; }

.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 32px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; }
.facts li::before { content: "✓"; margin-right: 8px; color: var(--accent); font-weight: 800; }

/* page hero (inner pages) */
.page-hero { padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 6vw, 72px); }
.page-hero p { margin-top: 20px; }

/* ---------- Tour cards ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { font: 700 14px var(--font-body); padding: 10px 18px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; transition: .15s; }
.chip:hover { background: var(--bg-alt); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.tour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px; }
.tour { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.tour:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tour[hidden] { display: none; }
.tour__img { aspect-ratio: 4/3; }
.tour__tag { position: absolute !important; top: 14px; left: 14px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--surface); color: var(--ink); }
.tour__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 24px; flex: 1; }
.tour__meta { display: flex; gap: 16px; font-size: 13px; font-weight: 700; color: var(--muted); }
.tour__body p { color: var(--muted); font-size: 15.5px; }
.tour__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.price { margin-right: auto; font-size: 14px; color: var(--muted); }
.price b { font-size: 24px; color: var(--ink); font-family: var(--font-title); font-weight: var(--title-w); }

/* ---------- Steps / features ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; counter-reset: s; }
.step { counter-increment: s; }
.step::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--font-title); font-weight: var(--title-w); font-size: 56px; line-height: 1; color: var(--accent); margin-bottom: 16px; }
.step h3 { margin-bottom: 10px; }
.step p { opacity: .8; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature { padding: 28px; background: var(--surface); border-radius: var(--radius); }
.feature .ico { width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; }
.feature h3 { font-size: 21px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15.5px; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.review { background: var(--surface); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.review__stars { color: var(--accent); letter-spacing: 3px; font-size: 18px; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.5; }
.review footer { margin-top: auto; font-size: 14px; color: var(--muted); }
.review footer b { color: var(--ink); display: block; }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(56px, 8vw, 96px) 0; background: var(--brand); color: #fff; text-align: center; }
.cta-band h2 { margin-bottom: 18px; }
.cta-band p { max-width: 520px; margin: 0 auto 32px; opacity: .9; }
.cta-band .btn--primary { background: var(--cta); color: var(--cta-ink); }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.portrait { aspect-ratio: 4/5; }
.prose p + p { margin-top: 18px; }
.prose p { font-size: 18px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 24px; margin-top: 40px; }
.stat b { display: block; font-family: var(--font-title); font-weight: var(--title-w); font-size: clamp(34px, 4vw, 52px); line-height: 1; color: var(--brand); }
.stat span { font-size: 14px; color: var(--muted); font-weight: 600; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline time { font-family: var(--font-title); font-weight: var(--title-w); font-size: 24px; color: var(--accent); }
.timeline h3 { font-size: 20px; margin-bottom: 4px; }
.timeline p { color: var(--muted); font-size: 15.5px; }

/* ---------- Contact ---------- */
.form-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
.form { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea { font: 500 16px var(--font-body); padding: 14px 16px; border: 2px solid var(--line); border-radius: calc(var(--radius) * .6); background: var(--bg); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.field textarea { min-height: 130px; resize: vertical; }
.form__note { font-size: 13.5px; color: var(--muted); }
.success { display: none; text-align: center; padding: 48px 20px; }
.success.show { display: block; }
.success .tick { width: 72px; height: 72px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 34px; margin: 0 auto 20px; }
.success h3 { margin-bottom: 10px; }
.contact-card { display: grid; gap: 22px; }
.contact-card .item { display: flex; gap: 16px; align-items: flex-start; }
.contact-card .item i { font-style: normal; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; }
.contact-card .item b { display: block; }
.contact-card .item span, .contact-card .item a { color: var(--muted); font-size: 15.5px; }
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--font-title); font-weight: var(--title-w); font-size: 21px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-ink); padding: 72px 0 32px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-body); font-weight: 800; opacity: .6; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; opacity: .88; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.site-footer .tagline { margin-top: 18px; opacity: .75; max-width: 300px; }
.site-footer .legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; opacity: .65; font-size: 13.5px; }

/* ---------- Tour dialog ---------- */
dialog.tour-dialog { border: 0; padding: 0; width: min(780px, 94vw); max-height: 92vh; border-radius: var(--radius); background: var(--surface); color: var(--ink); overflow: auto; }
dialog.tour-dialog::backdrop { background: rgba(10, 20, 30, .6); backdrop-filter: blur(3px); }
.dlg__img { aspect-ratio: 16/7; }
.dlg__body { padding: 28px clamp(22px, 4vw, 40px) 34px; display: grid; gap: 18px; }
.dlg__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink); font-size: 22px; cursor: pointer; }
.dlg__cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
@media (max-width: 640px) { .dlg__cols { grid-template-columns: 1fr; } }
.dlg__body h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-weight: 800; }
.dlg__body ol, .dlg__body ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15.5px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ======================= MOBILE-FIRST REFINEMENTS ======================= */
html, body { overflow-x: clip; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.mobile-cta { display: none; }

@media (max-width: 860px) {
  .nav { max-height: calc(100dvh - 64px); overflow-y: auto; gap: 2px; padding: 8px 16px 22px; }
  .nav a { width: 100%; padding: 14px 0; font-size: 19px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-color: var(--accent); }
  .nav .btn { margin-top: 14px; padding: 16px 18px; font-size: 17px; border-bottom: 0; }
}

@media (max-width: 700px) {
  body { font-size: 16px; padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  body.page-contact { padding-bottom: 0; }
  .container { width: calc(100% - 32px); }
  .site-header .container { height: 64px; }
  .logo { font-size: 15px; }
  .nav { top: 64px; }
  h1 { font-size: clamp(34px, 10.4vw, 46px); }
  h2 { font-size: clamp(26px, 7.6vw, 34px); }
  h3 { font-size: 20px; }
  .section { padding: 48px 0; }
  .section__head { margin-bottom: 26px; gap: 16px; }
  .section__head > .btn { width: 100%; }
  .section__head p { max-width: none; }
  .lead { font-size: 17px; }
  .btn { min-height: 52px; padding: 14px 22px; font-size: 16px; }
  .btn--small { min-height: 44px; padding: 10px 18px; }
  .link { min-height: 44px; display: inline-flex; align-items: center; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 24px; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: 14px; margin-top: 24px; }
  .tour-grid { grid-template-columns: 1fr; gap: 20px; }
  .tour__img { aspect-ratio: 16/9; }
  .tour__body { padding: 16px 18px 18px; gap: 8px; }
  .tour__body p { font-size: 15px; line-height: 1.45; }
  .tour__foot { gap: 6px 14px; }
  .tour__foot .price { flex: 1 0 100%; margin: 0; }
  .tour__foot .btn { flex: 1; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 4px 16px 16px; margin-bottom: 8px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; min-height: 46px; padding: 10px 20px; }
  .steps { gap: 26px; }
  .step::before { font-size: 44px; margin-bottom: 8px; }
  .feature-grid, .review-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature, .review { padding: 22px; }
  .page-hero { padding: 40px 0 36px; }
  .page-hero p { margin-top: 14px; }
  .timeline li { grid-template-columns: 62px 1fr; gap: 14px; padding: 18px 0; }
  .timeline time { font-size: 20px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
  .portrait { aspect-ratio: 4/4.4; }
  .prose p { font-size: 17px; }
  .form { padding: 20px; gap: 16px; }
  .form .btn { width: 100%; }
  .field input, .field select, .field textarea { padding: 15px 14px; font-size: 16px; min-height: 52px; }
  .contact-card .item { align-items: center; }
  .contact-card .item a { text-decoration: none; }
  .faq summary { font-size: 18px; padding: 4px 0; min-height: 44px; align-items: center; }
  .site-footer { padding: 44px 0 24px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .site-footer .cols > div:first-child { grid-column: 1 / -1; }
  .site-footer .legal { flex-direction: column; margin-top: 36px; }
  .cta-band { padding: 52px 0; }
  .cta-band .btn { width: 100%; }

  /* tour details as a bottom sheet */
  dialog.tour-dialog { width: 100vw; max-width: 100vw; margin: auto 0 0; max-height: 92dvh; border-radius: 22px 22px 0 0; }
  .dlg__img { aspect-ratio: 16/9; }
  .dlg__body { padding: 22px 18px 28px; gap: 16px; }
  .dlg__body .tour__foot .btn { flex: 1 0 100%; }

  /* sticky booking bar */
  .mobile-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--header-bg); color: var(--header-ink); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0,0,0,.08); }
  .mobile-cta .btn { flex: 1; min-height: 50px; padding: 12px 14px; }
  .mobile-cta .btn--ghost { flex: 0 0 42%; }
  body.page-contact .mobile-cta { display: none; }

}
@media (max-width: 380px) { .mobile-cta .btn--ghost { flex-basis: 38%; } .facts { grid-template-columns: 1fr; } }

.hero h1 + .lead { margin-top: 18px; }
