/* Gergert Tour — кастомные стили публичного сайта (Этап 5).
   Никаких Tailwind arbitrary — только наши классы и переменные. */

:root {
  --color-accent: #E85A4F;
  --color-accent-dark: #d14a40;
  --color-ink: #1A1A1A;
  --color-muted: #666666;
  --color-muted-light: #999999;
  --color-text: #444444;
  --color-bg-soft: #F5F1EC;
  --color-bg-soft2: #F8F6F3;
  --max-width: 1200px;
  --radius: 16px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14);
  --font-serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --font-sans: 'Manrope', 'Manrope Fallback', system-ui, -apple-system, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--color-ink); margin-top: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

.text-center { text-align: center; }

/* ========== Buttons ========== */
.btn-cta, .btn-ghost, .btn-outline, .btn-link-tg, .btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none !important;
  transition: all .2s;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-cta {
  background: var(--color-accent);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(232,90,79,.35);
}
.btn-cta:hover { background: var(--color-accent-dark); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: #fff !important;
  border-color: #fff;
}
.btn-ghost:hover { background: #fff; color: var(--color-ink) !important; }

.btn-outline {
  background: #fff;
  color: var(--color-accent) !important;
  border-color: var(--color-accent);
}
.btn-outline:hover { background: var(--color-accent); color: #fff !important; }

.btn-tertiary {
  background: transparent;
  color: var(--color-muted) !important;
  border-color: #ddd;
}
.btn-tertiary:hover { border-color: var(--color-accent); color: var(--color-accent) !important; }

.btn-link-tg {
  background: var(--color-accent);
  color: #fff !important;
  gap: 8px;
}
.btn-link-tg:hover { background: var(--color-accent-dark); }

.btn-cta.btn-lg, .btn-ghost.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  font-weight: 600;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #f0f0f0;
}
.site-nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-ink) !important;
  font-weight: 700;
  text-decoration: none !important;
}
.logo:hover .brand { color: var(--color-accent); }
.logo img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.logo .brand {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  transition: color .2s;
}
.nav-links {
  display: none;
  gap: 28px;
}
.nav-links a {
  color: var(--color-ink);
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
}
.nav-links a:hover { color: var(--color-accent); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.phone-link {
  display: none;
  color: var(--color-ink) !important;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none !important;
}
.phone-link:hover { color: var(--color-accent) !important; }
.tg-link {
  display: inline-flex;
  width: 38px; height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #229ED9;
  color: #fff !important;
  text-decoration: none !important;
  transition: background .2s, transform .2s;
}
.tg-link svg { display: block; }
.tg-link:hover { background: #1e8bbf; transform: translateY(-1px); }
.nav-cta .btn-cta {
  padding: 10px 20px;
  font-size: .9rem;
  box-shadow: none;
}

/* burger for mobile */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
}
.nav-mobile {
  display: none;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  padding: 16px;
}
.nav-mobile a {
  display: block;
  padding: 10px 0;
  color: var(--color-ink);
  border-bottom: 1px solid #f5f5f5;
  text-decoration: none;
  font-weight: 500;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: block; }

@media (min-width: 900px) {
  .nav-inner { height: 72px; }
  .nav-links { display: flex; }
  .phone-link { display: inline-block; }
  .nav-toggle { display: none; }
}

/* ========== Footer ========== */
.site-footer {
  background: var(--color-ink);
  color: #d4d4d4;
  margin-top: 0;
  padding: 56px 16px 24px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 32px;
}
.footer-col h3, .footer-col h4 {
  color: #fff;
  margin: 0 0 14px;
  font-size: 1.1rem;
}
.footer-col p, .footer-col li { margin: 6px 0; font-size: .95rem; }
.footer-col a { color: #d4d4d4; text-decoration: none; }
.footer-col a:hover { color: var(--color-accent); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col-brand p { color: #b0b0b0; }
.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  color: #d4d4d4 !important;
  transition: all .2s;
}
.footer-socials a:hover { background: var(--color-accent); color: #fff !important; }
.footer-socials svg { width: 20px; height: 20px; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid #333;
  padding-top: 24px;
  font-size: .85rem;
  color: #888;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}
.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: var(--color-accent); }
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (min-width: 1024px) {
  .footer-inner { grid-template-columns: repeat(4, 1fr); }
}

/* ========== Hero (home) ========== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-bg .img-mobile { display: block; }
.hero-bg .img-desktop { display: none; }
@media (min-width: 768px) {
  .hero-bg .img-mobile { display: none; }
  .hero-bg .img-desktop { display: block; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.75), rgba(0,0,0,.55) 50%, rgba(0,0,0,.25));
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 16px 60px;
  width: 100%;
}
.hero-headline {
  max-width: 720px;
}
.hero-headline h1 {
  font-size: 2.4rem;
  line-height: 1.1;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
  font-family: var(--font-serif);
}
.hero-headline .lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,.92);
  margin: 0 0 32px;
  max-width: 580px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.hero-stat .num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat .lbl {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
}
@media (min-width: 768px) {
  .hero-headline h1 { font-size: 3.4rem; }
  .hero-headline .lead { font-size: 1.3rem; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .hero-stat .num { font-size: 2.6rem; }
}
@media (min-width: 1024px) {
  .hero-headline h1 { font-size: 4rem; }
}

/* ========== Section common ========== */
.section {
  padding: 64px 0;
}
.section-soft { background: var(--color-bg-soft); }
.section-dark { background: var(--color-ink); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head {
  text-align: center;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: 1.9rem;
  margin: 0 0 12px;
  font-weight: 700;
}
.section-head .lead {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 640px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .section { padding: 80px 0; }
  .section-head h2 { font-size: 2.4rem; }
}

.section-foot {
  margin-top: 32px;
  text-align: center;
}

/* ========== Card grid ========== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 720px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ========== Tour card ========== */
.tour-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none !important;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.tour-card-cover {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: #eee;
}
.tour-card-cover img {
  object-position: center top;
}
.tour-card-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.tour-card:hover .tour-card-cover img { transform: scale(1.05); }
.tour-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-accent);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
}
.tour-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.tour-card-region {
  font-size: .85rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.tour-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
  line-height: 1.3;
}
.tour-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .9rem;
  color: var(--color-muted);
}
.tour-card-meta .meta-item { display: inline-flex; align-items: center; gap: 5px; }
.tour-card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  gap: 10px;
}
.tour-card-foot-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.tour-card-price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-accent);
  line-height: 1;
}
.tour-card-price small {
  font-size: .8rem;
  color: var(--color-muted);
  font-weight: 400;
  font-family: var(--font-sans);
}
.tour-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 18px;
  border: 1.5px solid var(--color-accent);
  border-radius: 999px;
  color: var(--color-accent);
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.tour-card:hover .tour-card-cta {
  background: var(--color-accent);
  color: #fff;
}
.tour-card-seats {
  font-size: .85rem;
  color: var(--color-muted);
}
.tour-card-seats.warn { color: var(--color-accent); font-weight: 600; }

/* ========== Destination card ========== */
.dest-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none !important;
  color: #fff !important;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.dest-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.dest-card-cover {
  position: absolute;
  inset: 0;
  background: #888;
}
.dest-card-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.dest-card:hover .dest-card-cover img { transform: scale(1.06); }
.dest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.15) 50%, rgba(0,0,0,0));
}
.dest-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
}
.dest-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: #fff;
}
.dest-card-desc {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== Blog card ========== */
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card-cover {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #eee;
}
.blog-card-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.blog-card:hover .blog-card-cover img { transform: scale(1.05); }
.blog-card-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
}
.blog-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
  line-height: 1.3;
  transition: color .2s;
}
.blog-card:hover .blog-card-title { color: var(--color-accent); }
.blog-card-excerpt {
  color: var(--color-muted);
  font-size: .92rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-meta {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  gap: 8px;
  color: var(--color-muted-light);
  font-size: .85rem;
}

/* ========== Breadcrumbs ========== */
.breadcrumbs {
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .9rem;
  color: var(--color-muted);
}
.breadcrumbs a { color: var(--color-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--color-accent); }
.breadcrumbs .sep { color: #ccc; }
.breadcrumbs .current { color: var(--color-ink); font-weight: 500; }

/* ========== Page hero (light variant for inner pages) ========== */
.page-hero {
  background: #fff;
  padding: 40px 0 24px;
}
.page-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 12px;
}
.page-hero .lead {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 720px;
  margin: 0;
}
@media (min-width: 768px) {
  .page-hero { padding: 56px 0 32px; }
  .page-hero h1 { font-size: 2.6rem; }
}
.page-hero-bg {
  position: relative;
  background: var(--color-ink);
  color: #fff;
  padding: 80px 0;
  overflow: hidden;
}
.page-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  opacity: .35;
  z-index: 0;
}
.page-hero-bg .container { position: relative; z-index: 1; }
.page-hero-bg h1 { color: #fff; font-size: 2.4rem; margin: 0 0 16px; }
.page-hero-bg .lead { color: rgba(255,255,255,.9); }
@media (min-width: 768px) {
  .page-hero-bg h1 { font-size: 3rem; }
}

/* ========== Tour detail ========== */
.tour-page-hero {
  background: var(--color-bg-soft);
  padding: 32px 0 48px;
}
.tour-hero-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
.tour-hero-text h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1.1;
  margin: 18px 0 16px;
  color: var(--color-ink);
}
.tour-hero-text .breadcrumbs {
  font-size: .9rem;
  color: var(--color-muted);
}
.tour-hero-sub {
  font-size: 1.05rem;
  color: var(--color-muted);
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tour-hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #eee;
}
.tour-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}
@media (min-width: 768px) {
  .tour-hero-text h1 { font-size: 3.8rem; }
}
@media (max-width: 768px) {
  .tour-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tour-hero-image {
    max-width: 280px;
    margin: 0 auto;
    order: -1;
  }
}

.tour-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 48px 0 64px;
}
@media (min-width: 1024px) {
  .tour-body { grid-template-columns: 1.6fr 1fr; gap: 48px; }
}
.tour-body-single { grid-template-columns: 1fr !important; max-width: 820px; margin: 0 auto; }
.tour-booking .booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tour-booking .booking-actions .btn-cta,
.tour-booking .booking-actions .btn-tertiary {
  flex: 1 1 auto;
  min-width: 200px;
  margin: 0 !important;
  width: auto !important;
}

.tour-meta-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
  margin: 24px 0 0;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 480px) {
  .tour-meta-card {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 14px;
  }
}
.tour-meta-item .lbl {
  font-size: .8rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px;
}
.tour-meta-item .val {
  font-size: 1.05rem;
  color: var(--color-ink);
  font-weight: 600;
}
.tour-meta-item .price-val {
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-size: 1.4rem;
}

.tour-section-block {
  margin-bottom: 32px;
}
.tour-section-block h2 {
  font-size: 1.5rem;
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-weight: 700;
}
.tour-section-block .text-block {
  white-space: pre-wrap;
  line-height: 1.8;
  color: var(--color-text);
}
.tour-included-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.tour-included-list li {
  position: relative;
  padding-left: 28px;
  line-height: 1.5;
}
.tour-included-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 800;
  font-size: 1.1rem;
}

.tour-booking {
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.tour-booking h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}
.tour-booking p { margin: 0 0 20px; color: var(--color-muted); }
.tour-booking .btn-cta { width: 100%; margin-bottom: 10px; }
.tour-booking .btn-tertiary { width: 100%; }
.tour-booking .price-line {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 6px;
}
.tour-booking .price-line small {
  font-size: .85rem;
  color: var(--color-muted);
  font-weight: 400;
  font-family: var(--font-sans);
}
.tour-booking .seats-line {
  font-size: .9rem;
  color: var(--color-muted);
  margin-bottom: 18px;
}

/* ========== Destination page ========== */
.dest-section {
  padding: 48px 0;
}

/* ========== Blog post ========== */
.post-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}
.post-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--color-muted);
  font-size: .9rem;
  margin: 12px 0 24px;
}
.post-cat-chip {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
}
.post-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin: 16px 0 12px;
  line-height: 1.2;
}
.post-cover {
  margin: 24px 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-sm);
}
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) {
  .post-title { font-size: 2.6rem; }
}

.post-body, .prose {
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.75;
}
.post-body p, .prose p { margin: 0 0 16px; }
.post-body h2, .prose h2 {
  font-family: var(--font-serif);
  color: var(--color-ink);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 36px 0 16px;
  line-height: 1.25;
}
.post-body h3, .prose h3 {
  font-family: var(--font-serif);
  color: var(--color-ink);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 28px 0 12px;
}
.post-body ul, .prose ul,
.post-body ol, .prose ol { margin: 16px 0; padding-left: 24px; }
.post-body li, .prose li { margin-bottom: 8px; }
.post-body strong, .prose strong { color: var(--color-ink); font-weight: 700; }
.post-body a, .prose a { color: var(--color-accent); text-decoration: underline; }
.post-body blockquote, .prose blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--color-bg-soft);
  font-style: italic;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.post-body img, .prose img {
  border-radius: var(--radius);
  margin: 16px 0;
}

.post-cta {
  margin-top: 56px;
  padding: 36px 28px;
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  text-align: center;
}
.post-cta h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 0 0 10px;
}
.post-cta p { margin: 0 0 20px; color: var(--color-muted); }
.post-cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ========== CTA section (home) ========== */
.cta-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.cta-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-section-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cta-section-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,.75);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 {
  color: #fff;
  font-size: 2rem;
  margin: 0 0 16px;
}
.cta-section p {
  color: rgba(255,255,255,.9);
  font-size: 1.1rem;
  margin: 0 0 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-section .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
@media (min-width: 768px) {
  .cta-section { padding: 100px 0; }
  .cta-section h2 { font-size: 2.6rem; }
}

/* ========== Static page (about/contacts/reviews) ========== */
/* Контент scraped из Next.js — у него свои секции, grids, hero. Не ограничиваем ширину. */
.static-page-content {
  padding: 0 0 48px;
}
.static-page-content > h1 {
  max-width: var(--max-width);
  margin: 32px auto 16px;
  padding: 0 16px;
}
.static-page-content > .prose {
  /* prose сам разруливает свою ширину через section/container внутри */
}
.static-page-content h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin: 32px 0 14px;
}
.static-page-content h3 { font-size: 1.2rem; margin: 24px 0 10px; }
.static-page-content ul, .static-page-content ol {
  padding-left: 24px;
}
.static-page-content li { margin-bottom: 8px; }

/* ========== Contacts ========== */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 32px 0;
}
@media (min-width: 720px) {
  .contacts-grid { grid-template-columns: repeat(2, 1fr); }
}
.contact-card {
  background: var(--color-bg-soft);
  padding: 28px;
  border-radius: var(--radius);
}
.contact-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 12px;
}
.contact-card p { margin: 6px 0; }
.contact-card a { color: var(--color-accent); font-weight: 600; }

/* ========== About ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin: 40px 0;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: repeat(3, 1fr); }
}
.about-feature {
  text-align: center;
  padding: 24px;
}
.about-feature .num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}
.about-feature h3 { font-size: 1.1rem; margin: 0 0 8px; }
.about-feature p { color: var(--color-muted); font-size: .95rem; margin: 0; }

/* ========== Reviews ========== */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 32px 0;
}
@media (min-width: 768px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
.review-card {
  background: var(--color-bg-soft);
  padding: 24px;
  border-radius: var(--radius);
}
.review-card .stars { color: var(--color-accent); margin-bottom: 8px; }
.review-card .author { font-weight: 600; color: var(--color-ink); margin-top: 12px; }
.review-card .date { font-size: .85rem; color: var(--color-muted); }

/* ========== Empty state ========== */
.empty-state {
  text-align: center;
  padding: 64px 16px;
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  margin: 32px 0;
}
.empty-state p { font-size: 1.1rem; color: var(--color-muted); }

/* ========== 404 ========== */
.error-page {
  text-align: center;
  padding: 80px 16px;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.error-page h1 {
  font-size: 4rem;
  color: var(--color-accent);
  margin: 0 0 12px;
  font-weight: 700;
}
.error-page h2 { font-size: 1.5rem; margin: 0 0 16px; }
.error-page p { color: var(--color-muted); margin: 0 0 32px; max-width: 440px; }
.error-page .cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ========== Destination landing (Этап 5 redesign) ========== */
.destination-page { background: #fff; }

.dest-hero {
  padding: 32px 0 56px;
  background: linear-gradient(180deg, var(--color-bg-soft) 0%, #fff 100%);
}
.dest-hero .breadcrumbs { margin-bottom: 24px; }

.dest-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .dest-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 32px;
  }
}

.dest-hero-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow-md);
  background: #ddd;
}
.dest-hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
@media (min-width: 900px) {
  .dest-hero-photo { min-height: 480px; }
}
.dest-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255,255,255,.92);
  color: var(--color-ink);
  font-weight: 600;
  font-size: .85rem;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 2;
  letter-spacing: .02em;
}

.dest-hero-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}
@media (min-width: 900px) {
  .dest-hero-card { padding: 36px 32px; }
}
.dest-hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 8px;
}
.dest-hero-card h1 {
  font-size: 1.9rem;
  margin: 0 0 12px;
  line-height: 1.15;
}
@media (min-width: 900px) {
  .dest-hero-card h1 { font-size: 2.4rem; }
}
.dest-hero-card .lead {
  font-size: 1.05rem;
  color: var(--color-text);
  margin: 0 0 20px;
}

.dest-quickfacts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 16px;
  margin: 8px 0 24px;
  padding: 18px;
  background: var(--color-bg-soft);
  border-radius: 12px;
}
@media (min-width: 600px) {
  .dest-quickfacts { grid-template-columns: repeat(3, 1fr); }
}
.dest-quickfact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.dest-quickfact .lbl {
  font-size: .78rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.dest-quickfact .val {
  font-weight: 700;
  color: var(--color-ink);
  font-size: .98rem;
  word-break: break-word;
}

.dest-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}
.dest-cta .btn-cta { flex: 1 1 auto; }
.dest-cta .btn-tertiary { flex: 1 1 auto; }

/* ---------- INTRO ---------- */
.dest-intro { padding: 56px 0 24px; }
.dest-intro h2,
.dest-highlights h2,
.dest-activities h2,
.dest-tours h2,
.dest-faq h2 {
  font-size: 1.7rem;
  margin: 0 0 24px;
}
@media (min-width: 768px) {
  .dest-intro h2,
  .dest-highlights h2,
  .dest-activities h2,
  .dest-tours h2,
  .dest-faq h2 { font-size: 2rem; }
}
.dest-intro-card {
  background: var(--color-bg-soft2);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  max-width: 880px;
}
.dest-intro-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0;
}

/* ---------- HIGHLIGHTS ---------- */
.dest-highlights {
  padding: 48px 0;
  background: var(--color-bg-soft);
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 600px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.info-card-icon {
  width: 52px; height: 52px;
  background: rgba(232,90,79,.10);
  color: var(--color-accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.info-card h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-ink);
  margin: 0 0 8px;
}
.info-card p {
  margin: 0;
  font-size: .92rem;
  color: var(--color-muted);
  line-height: 1.55;
}

/* ---------- ACTIVITIES ---------- */
.dest-activities { padding: 56px 0; }
.dest-activities-card {
  background: var(--color-bg-soft2);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.dest-activities-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 720px) {
  .dest-activities-list { grid-template-columns: repeat(2, 1fr); }
}
.dest-activities-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .98rem;
  color: var(--color-text);
}
.dest-tick {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ---------- SEASON + TIPS ---------- */
.dest-season-tips {
  padding: 24px 0 56px;
  background: var(--color-bg-soft);
}
.dest-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 800px) {
  .dest-two-col { grid-template-columns: repeat(2, 1fr); }
}
.dest-info-block {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.dest-info-block h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-ink);
  margin: 0 0 14px;
}
.dest-info-block p { margin: 0; color: var(--color-text); line-height: 1.65; }
.dest-bullet-list {
  list-style: none;
  padding: 0; margin: 0;
}
.dest-bullet-list li {
  position: relative;
  padding-left: 18px;
  margin: 0 0 10px;
  color: var(--color-text);
  line-height: 1.55;
}
.dest-bullet-list li::before {
  content: "•";
  color: var(--color-accent);
  font-weight: 700;
  position: absolute;
  left: 0; top: 0;
}
.dest-bullet-list li:last-child { margin-bottom: 0; }

/* ---------- TOURS section ---------- */
.dest-tours { padding: 56px 0; }

/* ---------- FAQ ---------- */
.dest-faq {
  padding: 24px 0 64px;
}
.dest-faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
}
.dest-faq-item {
  background: var(--color-bg-soft2);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.dest-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 22px;
  font-weight: 600;
  color: var(--color-ink);
  font-size: 1rem;
  position: relative;
  padding-right: 48px;
}
.dest-faq-item summary::-webkit-details-marker { display: none; }
.dest-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--color-accent);
  font-weight: 700;
  transition: transform .2s;
}
.dest-faq-item[open] summary::after { content: "−"; }
.dest-faq-answer {
  padding: 0 22px 18px;
}
.dest-faq-answer p {
  margin: 0;
  color: var(--color-text);
  line-height: 1.65;
}

/* ========== Print ========== */
@media print {
  .site-header, .site-footer, .post-cta, .tour-booking { display: none; }
}

/* === dest-card facts + price (на /destinations/) === */
.dest-card-facts {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: .85rem;
  color: rgba(255,255,255,.85);
}
.dest-card-facts li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dest-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  gap: 12px;
}
.dest-card-price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
}
.dest-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 18px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
  transition: background .2s;
}
.dest-card:hover .dest-card-cta { background: #d14a40; }

/* === Override для arbitrary Tailwind классов в scraped Next.js контенте === */
.bg-\[\#E85A4F\] {
  background-color: #E85A4F !important;
  color: #fff !important;
}
.bg-\[\#E85A4F\]:hover { background-color: #d14a40 !important; }
.bg-\[\#E85A4F\] a,
a.bg-\[\#E85A4F\] {
  color: #fff !important;
  text-decoration: none !important;
}
.text-\[\#E85A4F\] { color: #E85A4F !important; }
.border-\[\#E85A4F\] { border-color: #E85A4F !important; }
.bg-\[\#1A1A1A\] { background-color: #1A1A1A !important; color: #fff !important; }
.text-\[\#1A1A1A\] { color: #1A1A1A !important; }
.bg-\[\#F5F1EC\] { background-color: #F5F1EC !important; }
.hover\:bg-\[\#d14a40\]:hover { background-color: #d14a40 !important; }
.hover\:text-\[\#E85A4F\]:hover { color: #E85A4F !important; }
