/* PrivyetRussia — photo-led travel site styles */

:root {
  --primary: #3667A6;
  --primary-600: #2B5288;
  --primary-50: #EAF1FA;
  --accent: #E0672E;
  --accent-600: #C4531F;
  --dark: #121A2E;
  --dark-2: #1B2540;
  --text: #2B2F3A;
  --muted: #6B7280;
  --line: #E5E7EB;
  --bg: #F5F7FA;
  --white: #FFFFFF;
  --star: #F6B100;
  --green: #2EB872;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 14px 34px rgba(16, 24, 40, 0.16);
  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --container: 1200px;
  --gutter: 16px;
  --header-h: 72px;
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--primary);
}

/* Base ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .banner { background-attachment: scroll !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; color: var(--dark); margin: 0 0 0.5em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw + 0.5rem, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2vw + 0.6rem, 2rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }
img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--dark); color: #fff; border-radius: 6px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 24px; } }

.section { padding-block: 72px; }
@media (min-width: 992px) { .section { padding-block: 96px; } }
.section-gray { background: var(--bg); }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-title h2 { text-transform: uppercase; letter-spacing: 0.04em; font-weight: 800; }
.section-title h2 span { color: var(--accent); }
.section-title p { color: var(--muted); font-size: 1.05rem; }
.section-title.left { text-align: left; margin-left: 0; }

/* Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 24px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
  border-radius: 6px; border: 2px solid transparent; cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-600); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-600); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-50); color: var(--primary-600); }
.btn-white { background: #fff; color: var(--dark); }
.btn-white:hover { background: #f1f3f6; color: var(--dark); }
.btn-ghost-white { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.7); backdrop-filter: blur(4px); }
.btn-ghost-white:hover { background: #fff; color: var(--dark); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { min-height: 54px; padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* Top bar + header ---------------------------------------------------- */

.topbar { background: var(--dark); color: #C7CFDD; font-size: 0.8rem; position: relative; z-index: 101; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar ul { display: flex; gap: 20px; }
.topbar li { display: inline-flex; align-items: center; gap: 6px; }
.topbar a { color: #fff; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar svg { width: 14px; height: 14px; color: var(--accent); }
.topbar .right { display: none; }
@media (min-width: 768px) { .topbar .right { display: flex; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; box-shadow: var(--shadow);
  transition: background-color 200ms ease, box-shadow 200ms ease;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--dark); font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand img { width: 38px; height: 42px; }
.brand span b { color: var(--primary); font-weight: 800; }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; background: none; border-radius: 6px; color: var(--dark); cursor: pointer; margin-right: -8px; }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { display: none; }
.site-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: var(--shadow-lg); padding: 8px var(--gutter) 20px; max-height: calc(100vh - var(--header-h)); overflow: auto; }
.site-nav > ul { display: flex; flex-direction: column; }
.site-nav > ul > li > a, .site-nav .has-sub > button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 8px; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--dark); background: none; border: 0; border-radius: 6px; text-align: left; cursor: pointer; }
.site-nav > ul > li > a:hover, .site-nav .has-sub > button:hover { background: var(--bg); color: var(--primary); }
.site-nav a[aria-current="page"] { color: var(--primary); }
.site-nav .has-sub { position: relative; }
.site-nav .has-sub > button svg { width: 16px; height: 16px; transition: transform 160ms ease; }
.site-nav .has-sub > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.site-nav .sub { display: none; padding: 4px 0 8px 16px; }
.site-nav .has-sub > button[aria-expanded="true"] + .sub { display: block; }
.site-nav .sub a { display: block; padding: 9px 10px; color: var(--text); border-radius: 6px; font-size: 0.92rem; }
.site-nav .sub a:hover { background: var(--bg); color: var(--primary); }
.site-nav > ul > li > a.nav-cta, .has-hero .site-header .site-nav > ul > li > a.nav-cta, .has-hero .site-header.is-scrolled .site-nav > ul > li > a.nav-cta { background: var(--accent); color: #fff; padding: 9px 18px; justify-content: center; margin-top: 12px; }
.site-nav > ul > li > a.nav-cta:hover, .has-hero .site-header .site-nav > ul > li > a.nav-cta:hover, .has-hero .site-header.is-scrolled .site-nav > ul > li > a.nav-cta:hover { background: var(--accent-600); color: #fff; }

@media (min-width: 992px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; background: none; box-shadow: none; padding: 0; max-height: none; overflow: visible; }
  .site-nav > ul { flex-direction: row; align-items: center; gap: 4px; }
  .site-nav > ul > li > a, .site-nav .has-sub > button { width: auto; padding: 10px 14px; }
  .site-nav .sub { display: block; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border-radius: 8px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 160ms ease, transform 160ms ease, visibility 160ms; }
  .site-nav .has-sub:hover .sub, .site-nav .has-sub:focus-within .sub, .site-nav .has-sub > button[aria-expanded="true"] + .sub { opacity: 1; visibility: visible; transform: none; }
  .site-nav > ul > li > a.nav-cta, .has-hero .site-header .site-nav > ul > li > a.nav-cta, .has-hero .site-header.is-scrolled .site-nav > ul > li > a.nav-cta { margin: 0 0 0 12px; }
}

/* Overlay header on the home page */
.has-hero .site-header { position: absolute; top: 36px; left: 0; right: 0; background: transparent; box-shadow: none; }
.has-hero .site-header .brand, .has-hero .site-header .nav-toggle, .has-hero .site-header .site-nav > ul > li > a, .has-hero .site-header .site-nav .has-sub > button { color: #fff; }
.has-hero .site-header .brand span b { color: #fff; }
.has-hero .site-header .site-nav > ul > li > a:hover, .has-hero .site-header .site-nav .has-sub > button:hover { background: rgba(255,255,255,0.14); color: #fff; }
.has-hero .site-header .brand img { filter: brightness(0) invert(1); }
.has-hero .site-header .site-nav.is-open { background: #fff; }
.has-hero .site-header .site-nav.is-open > ul > li > a, .has-hero .site-header .site-nav.is-open .has-sub > button { color: var(--dark); }
.has-hero .site-header.is-scrolled { position: fixed; top: 0; background: #fff; box-shadow: var(--shadow); }
.has-hero .site-header.is-scrolled .brand, .has-hero .site-header.is-scrolled .nav-toggle, .has-hero .site-header.is-scrolled .site-nav > ul > li > a, .has-hero .site-header.is-scrolled .site-nav .has-sub > button { color: var(--dark); }
.has-hero .site-header.is-scrolled .brand span b { color: var(--primary); }
.has-hero .site-header.is-scrolled .brand img { filter: none; }
.has-hero .site-header.is-scrolled .site-nav > ul > li > a:hover, .has-hero .site-header.is-scrolled .site-nav .has-sub > button:hover { background: var(--bg); color: var(--primary); }

/* Hero slider --------------------------------------------------------- */

.hero { position: relative; height: min(82vh, 760px); min-height: 560px; background: var(--dark); color: #fff; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 900ms ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,16,30,0.55) 0%, rgba(10,16,30,0.3) 45%, rgba(10,16,30,0.7) 100%); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding-top: 60px; padding-bottom: 90px; }
.hero-content .hero-title { font-size: clamp(2rem, 4vw + 0.5rem, 3.25rem); font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 0.02em; text-shadow: 0 2px 20px rgba(0,0,0,0.35); max-width: 820px; }
.hero-content p { font-size: clamp(1.05rem, 1vw + 0.8rem, 1.35rem); max-width: 640px; color: rgba(255,255,255,0.92); margin-bottom: 28px; }
.hero-caption { display: none; }
.hero-caption.is-active { display: block; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 96px; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.hero-dots button { position: relative; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.hero-dots button[aria-pressed="true"] { background: #fff; }
.hero-dots button::before { content: ""; position: absolute; inset: -12px; }

.search-panel { position: relative; z-index: 5; margin-top: -56px; }
.search-panel form { background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); padding: 16px; display: grid; gap: 12px; }
@media (min-width: 768px) { .search-panel form { grid-template-columns: 1.4fr 1fr 1fr auto; align-items: end; padding: 20px; } }
.search-panel label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 6px; }
.search-panel .field { position: relative; }
.search-panel .field svg { position: absolute; left: 12px; bottom: 15px; width: 18px; height: 18px; color: var(--primary); pointer-events: none; }
.search-panel .field input, .search-panel .field select { width: 100%; min-height: 48px; padding: 10px 12px 10px 38px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); font-size: 0.95rem; }
.search-panel input:focus-visible, .search-panel select:focus-visible { border-color: var(--primary); box-shadow: var(--focus); }
.search-panel .btn { min-height: 48px; }

/* Mosaic -------------------------------------------------------------- */

.mosaic { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) { .mosaic { grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: 230px 230px; } .mosaic .tile-big { grid-row: span 2; } .mosaic .tile-wide { grid-column: span 2; } }
.tile { position: relative; display: block; min-height: 180px; border-radius: var(--radius); overflow: hidden; background: var(--dark); color: #fff; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.72) 100%); }
.tile .label { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; }
.tile .label strong { display: block; font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.05rem; }
.tile .label span { font-size: 0.85rem; color: rgba(255,255,255,0.85); }
.tile:hover { color: #fff; }

/* Tour cards ---------------------------------------------------------- */

.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform 200ms ease, box-shadow 200ms ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.6) 100%); pointer-events: none; }
.ribbon { position: absolute; top: 18px; left: -34px; z-index: 2; width: 140px; padding: 5px 0; text-align: center; transform: rotate(-45deg); font-family: var(--font-head); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; background: var(--accent); box-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.ribbon.green { background: var(--green); }
.ribbon.blue { background: var(--primary); }
.card-cat { position: absolute; left: 14px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 0.8rem; font-weight: 600; }
.card-cat svg { width: 16px; height: 16px; }
.card-price { position: absolute; right: 14px; bottom: 12px; z-index: 2; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; line-height: 1; text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
.card-price small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.7rem; text-align: right; opacity: 0.9; margin-bottom: 2px; }
.card-body { padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { font-size: 1rem; margin: 0; }
.card-body h3 a { color: var(--dark); }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-body h3 a:hover { color: var(--primary); }
.card-body p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.card-meta { display: flex; gap: 14px; font-size: 0.82rem; color: var(--muted); }
.card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.card-meta svg { width: 15px; height: 15px; color: var(--primary); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 15px; height: 15px; color: #D1D5DB; }
.stars svg.on { color: var(--star); }
.wish { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; transition: color 160ms ease, border-color 160ms ease; flex: none; }
.wish svg { width: 18px; height: 18px; }
.wish:hover, .wish[aria-pressed="true"] { color: #E0245E; border-color: #E0245E; }
.wish[aria-pressed="true"] svg { fill: currentColor; }
.cards-more { text-align: center; margin-top: 40px; }

/* Features ------------------------------------------------------------ */

.features { display: grid; gap: 32px; text-align: center; }
@media (min-width: 768px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature .icon { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--primary-50); display: grid; place-items: center; color: var(--primary); }
.feature .icon svg { width: 38px; height: 38px; }
.feature h3 { font-size: 1.05rem; }
.feature p { color: var(--muted); max-width: 320px; margin-inline: auto; font-size: 0.95rem; }

/* Banner -------------------------------------------------------------- */

.banner { position: relative; padding-block: 110px; background-size: cover; background-position: center; background-attachment: fixed; color: #fff; }
@media (max-width: 991px) { .banner { background-attachment: scroll; padding-block: 80px; } }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,16,30,0.78) 0%, rgba(10,16,30,0.35) 70%, rgba(10,16,30,0.15) 100%); }
.banner .container { position: relative; z-index: 1; }
.banner h2 { color: #fff; text-transform: uppercase; font-weight: 800; letter-spacing: 0.03em; max-width: 560px; }
.banner p { font-size: 1.15rem; color: rgba(255,255,255,0.9); max-width: 520px; margin-bottom: 26px; }
.banner.center { text-align: center; }
.banner.center::before { background: rgba(10,16,30,0.6); }
.banner.center h2, .banner.center p { margin-inline: auto; }

/* Testimonials -------------------------------------------------------- */

.quotes { display: grid; gap: 24px; }
@media (min-width: 768px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.quote blockquote { margin: 0; }
.quote p { color: var(--text); font-size: 0.98rem; font-style: italic; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #5A9BD8); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; flex: none; }
.quote .who strong { display: block; font-size: 0.95rem; color: var(--dark); }
.quote .who span { font-size: 0.82rem; color: var(--muted); }
.quote .who .avatar { color: #fff; font-size: 1rem; }

/* Blog posts ---------------------------------------------------------- */

.posts { display: grid; gap: 24px; }
@media (min-width: 768px) { .posts { grid-template-columns: 1fr 1fr; } }
.post { display: grid; grid-template-columns: 140px 1fr; gap: 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.post-media { position: relative; min-height: 140px; }
.post-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-date { position: absolute; right: -1px; top: 14px; background: var(--accent); color: #fff; font-family: var(--font-head); text-align: center; padding: 6px 8px; line-height: 1.1; border-radius: 4px 0 0 4px; }
.post-date b { display: block; font-size: 1.2rem; }
.post-date span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; }
.post-body { padding: 16px 16px 16px 0; }
.post-body .meta { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 4px; }
.post-body .meta b { color: var(--accent); }
.post-body h3 { font-size: 1rem; margin-bottom: 6px; }
.post-body h3 a { color: var(--dark); }
.post-body h3 a:hover { color: var(--primary); }
.post-body p { font-size: 0.9rem; color: var(--muted); }

/* Footer -------------------------------------------------------------- */

.site-footer { background: var(--dark); color: #B9C2D3; padding-top: 64px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; } }
.site-footer h3 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; }
.site-footer a { color: #D7DEEA; }
.site-footer a:hover { color: #fff; }
.site-footer :focus-visible { box-shadow: 0 0 0 3px var(--dark), 0 0 0 6px #fff; }
.site-footer ul li { margin-bottom: 10px; font-size: 0.92rem; }
.help li { display: flex; gap: 12px; align-items: flex-start; }
.help svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.help strong { display: block; color: #fff; font-size: 1.05rem; }
.help span { font-size: 0.85rem; color: #94A0B8; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; }
.footer-brand img { width: 38px; height: 42px; filter: brightness(0) invert(1); }
.site-footer .settings label { display: block; font-size: 0.8rem; color: #94A0B8; margin-bottom: 4px; }
.site-footer .settings select { width: 100%; min-height: 42px; padding: 8px 12px; border-radius: 6px; border: 1px solid #2C3756; background: var(--dark-2); color: #fff; margin-bottom: 12px; }
.social { display: flex; justify-content: center; gap: 10px; margin: 44px 0 0; }
.social a { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #2C3756; align-items: center; justify-content: center; color: #fff; transition: background-color 160ms ease; }
.social a:hover { background: var(--primary); border-color: var(--primary); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 28px; padding: 18px 0 22px; border-top: 1px solid #2C3756; text-align: center; font-size: 0.82rem; color: #94A0B8; }
.footer-bottom p { margin: 0 0 4px; }

/* Inner page banner --------------------------------------------------- */

.page-banner { position: relative; padding: 90px 0 70px; background: var(--dark) center / cover no-repeat; color: #fff; text-align: center; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(10,16,30,0.55); }
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px; }
.page-banner p { font-size: 1.1rem; color: rgba(255,255,255,0.9); max-width: 620px; margin: 0 auto; }
.crumbs { background: var(--bg); border-bottom: 1px solid var(--line); font-size: 0.85rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #9CA3AF; }
.crumbs li[aria-current] { color: var(--muted); }

/* Listing with filters ------------------------------------------------ */

.listing { display: grid; gap: 32px; }
@media (min-width: 992px) { .listing { grid-template-columns: 280px 1fr; align-items: start; } }
.filters-toggle { display: inline-flex; margin-bottom: 8px; }
@media (min-width: 992px) { .filters-toggle { display: none; } }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: none; }
.filters.is-open { display: block; }
@media (min-width: 992px) { .filters { display: block; position: sticky; top: calc(var(--header-h) + 16px); } }
.filters h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }
.filter-group { padding: 14px 0; border-top: 1px solid var(--line); }
.filter-group:first-of-type { border-top: 0; }
.filter-group h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; color: var(--muted); }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 0.93rem; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); margin: 0; }
.check .count { margin-left: auto; color: var(--muted); font-size: 0.8rem; }
.range { width: 100%; accent-color: var(--primary); }
.range-out { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--muted); }
.filters .btn { margin-top: 12px; }
.sort-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.sort-bar p { margin: 0; color: var(--muted); }
.sort-bar label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.sort-bar select { min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.empty { padding: 48px 24px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); grid-column: 1 / -1; }

/* Tour detail --------------------------------------------------------- */

.detail-head { padding: 28px 0 20px; }
.detail-head .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; }
.detail-head h1 { font-size: clamp(1.6rem, 2.5vw + 0.5rem, 2.4rem); margin-bottom: 6px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 0.92rem; }
.detail-meta span { display: inline-flex; align-items: center; gap: 6px; }
.detail-meta svg { width: 16px; height: 16px; color: var(--primary); }
.detail-actions { display: flex; align-items: center; gap: 14px; }
.detail-actions .rating { font-size: 0.9rem; }
.gallery { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg); min-height: 160px; }
.gallery .g-main { grid-column: span 2; min-height: 240px; }
@media (min-width: 768px) { .gallery { grid-template-columns: 2fr 1fr; grid-template-rows: 230px 230px; } .gallery .g-main { grid-column: auto; grid-row: span 2; } }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: none; cursor: zoom-in; }
.gallery button:focus-visible { box-shadow: inset 0 0 0 4px var(--primary); }

.detail-grid { display: grid; gap: 40px; padding: 36px 0 80px; }
@media (min-width: 992px) { .detail-grid { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
@media (max-width: 991px) { .detail-grid aside { order: -1; } .booking { position: static; } }
.detail-main h2 { font-size: 1.35rem; margin: 36px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-50); }
.detail-main h2:first-child { margin-top: 0; }
.detail-main p { color: #4B5563; max-width: 72ch; }
.detail-main .lede { font-size: 1.1rem; font-weight: 500; color: var(--dark); }
.highlights { display: grid; gap: 10px; }
@media (min-width: 640px) { .highlights { grid-template-columns: 1fr 1fr; } }
.highlights li, .inc li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.highlights svg, .inc svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.highlights svg { color: var(--green); }
.inc { display: grid; gap: 24px; }
@media (min-width: 640px) { .inc { grid-template-columns: 1fr 1fr; } }
.inc h3 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 10px; }
.inc ul { display: grid; gap: 8px; }
.inc .yes svg { color: var(--green); }
.inc .no svg { color: #EF4444; }

.timeline { position: relative; padding-left: 30px; display: grid; gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -27px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); }
.timeline .time { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); }
.timeline h3 { font-size: 1rem; margin: 2px 0 4px; }
.timeline p { font-size: 0.92rem; }

.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius); background: var(--bg); margin-top: 14px; }

.reviews { display: grid; gap: 18px; }
.review { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.review .head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin-bottom: 6px; }
.review strong { color: var(--dark); }
.review .date { font-size: 0.8rem; color: var(--muted); }
.review p { font-size: 0.93rem; margin: 6px 0 0; }
.score { display: flex; align-items: center; gap: 16px; padding: 18px; background: var(--primary-50); border-radius: var(--radius); margin-bottom: 20px; }
.score .num { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--primary); line-height: 1; }
.score strong { display: block; color: var(--dark); }
.score span { font-size: 0.85rem; color: var(--muted); }

.booking { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.booking .head { padding: 18px 22px; background: var(--primary); color: #fff; display: flex; justify-content: space-between; align-items: baseline; }
.booking .head small { font-size: 0.8rem; opacity: 0.9; }
.booking .head strong { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; }
.booking .body { padding: 20px 22px; display: grid; gap: 14px; }
.booking label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 5px; }
.booking input, .booking select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.booking input:focus-visible, .booking select:focus-visible { border-color: var(--primary); box-shadow: var(--focus); }
.booking .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.booking .total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); }
.booking .total strong { font-family: var(--font-head); font-size: 1.4rem; }
.booking .assure { padding: 0 22px 20px; display: grid; gap: 8px; font-size: 0.85rem; color: var(--muted); }
.booking .assure li { display: flex; gap: 8px; align-items: center; }
.booking .assure svg { width: 16px; height: 16px; color: var(--green); }
.booking .note { font-size: 0.8rem; color: var(--muted); margin: 0; }

/* Forms --------------------------------------------------------------- */

.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: span 2; } }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; font-size: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; transition: border-color 150ms ease; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9CA3AF; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--primary); box-shadow: var(--focus); }
.field [aria-invalid="true"] { border-color: #EF4444; }
.field .error { display: none; color: #B91C1C; font-size: 0.85rem; margin-top: 5px; }
.field [aria-invalid="true"] ~ .error { display: block; }
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-status { display: none; margin-top: 14px; padding: 14px 16px; border-radius: 6px; background: #ECFDF3; color: #166534; border: 1px solid #BBF7D0; }
.form-status.is-visible { display: block; }
.contact-cards { display: grid; gap: 20px; }
@media (min-width: 768px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; text-align: center; }
.contact-card .icon { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; }
.contact-card .icon svg { width: 26px; height: 26px; }
.contact-card h3 { font-size: 1rem; }
.contact-card p { color: var(--muted); font-size: 0.92rem; }
.contact-layout { display: grid; gap: 40px; }
@media (min-width: 992px) { .contact-layout { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.card-plain { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }

/* About --------------------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; text-align: center; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat span { color: var(--muted); font-size: 0.9rem; }
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 992px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split p { color: #4B5563; }
.team { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.member { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 20px; text-align: center; }
.member .avatar { width: 84px; height: 84px; font-size: 1.8rem; margin: 0 auto 14px; }
.member h3 { font-size: 1rem; margin-bottom: 2px; }
.member .role { color: var(--primary); font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }
.member p { font-size: 0.88rem; color: var(--muted); }

/* FAQ ----------------------------------------------------------------- */

.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 10px; }
.faq summary { padding: 16px 20px; cursor: pointer; font-weight: 600; color: var(--dark); list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 20px 18px; color: #4B5563; }

/* Blog page ----------------------------------------------------------- */

.articles { display: grid; gap: 40px; max-width: 800px; margin: 0 auto; }
.article { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.article img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.article .body { padding: 28px; }
.article .meta { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 8px; }
.article .meta b { color: var(--accent); }
.article h2 { font-size: 1.4rem; }
.article p { color: #4B5563; }
.article ul { list-style: disc; padding-left: 20px; color: #4B5563; margin-bottom: 1em; }
.article li { margin-bottom: 6px; }

/* Lightbox ------------------------------------------------------------ */

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8,12,22,0.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 6px; }
.lightbox .close { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.15); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox .close svg { width: 22px; height: 22px; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
