/* ============================================================
   Крымские Экскурсии — base styles
   Plain CSS, no framework. Warm photography-driven, teal accent.
   ============================================================ */

:root {
  /* Primary dark teal — buttons, badges, dark photo overlays (sampled from client mockup) */
  --teal-950: #1c4349;
  --teal-900: #163539;
  --teal-800: #134c50;
  --teal-700: #1a6167;
  --teal-600: #21787f;
  --teal-500: #2b969e;
  --sand-50: #fbf8f3;
  --sand-100: #f5efe4;
  /* Very dark navy — headings/body text on light backgrounds (sampled from client mockup) */
  --ink: #12203f;
  --ink-900: #1c2321;
  --ink-700: #3d4744;
  --ink-500: #6b7573;
  --line: #e4ded2;
  --white: #ffffff;
  --white-off: #fdfdfd;
  --eyebrow: #d5d8df;
  --gold: #d9a441;
  --star: #f5a623;
  --badge-hit: #fb9826;
  --badge-blue: #c8e6fc;
  --danger: #b3402f;
  --danger-bg: #fbeae7;
  --success: #2f7d4f;
  --success-bg: #e8f5ec;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(10, 43, 46, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 43, 46, 0.14);
  --shadow-lg: 0 16px 40px rgba(10, 43, 46, 0.2);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink-900);
  background: var(--sand-50);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { padding-left: 1.2em; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 640px; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.5em;
}
h1 { font-size: 2.1rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; }

/* ---------------- Header ---------------- */
.site-header {
  background: var(--teal-950);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
/* Homepage-only variant: transparent nav overlaid directly on the hero photo,
   no separating bar. Scrolls away with the hero (matches the static mockup;
   no scroll-triggered JS is used to keep things simple on a 1-CPU VPS). */
.site-header--home {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  box-shadow: none;
  z-index: 30;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.2px;
}
.logo span { color: var(--gold); }
.logo-footer { margin-bottom: 10px; color: var(--white); }
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--white);
  border-bottom-color: var(--gold);
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-sm { padding: 6px 14px; font-size: 0.82rem; }
.btn-primary {
  background: var(--teal-950);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--teal-900); }
.btn-light {
  background: var(--white);
  color: var(--ink);
}
.btn-outline {
  background: transparent;
  border-color: var(--teal-600);
  color: var(--teal-700);
}
.btn-outline:hover { background: var(--teal-600); color: var(--white); }
.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background-color: var(--teal-950);
  background-size: cover;
  background-position: center;
  color: var(--white);
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 150px 0 130px;
}
.hero-inner { max-width: 720px; width: 100%; }
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--eyebrow);
  margin-bottom: 16px;
}
.hero h1 { color: var(--white); font-size: 2.9rem; margin-bottom: 0.35em; }
.hero-subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.92); margin-bottom: 2em; max-width: 560px; }

.search-bar {
  background: var(--white-off);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  padding: 8px 8px 8px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 180px;
  padding: 10px 20px;
  border-right: 1px solid var(--line);
}
.search-field:last-of-type { border-right: none; }
.search-field-icon { font-size: 1.05rem; color: var(--teal-950); flex-shrink: 0; }
.search-field-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.search-field-label {
  font-size: 0.72rem;
  color: var(--ink);
  font-weight: 700;
}
.search-field select, .search-field input {
  border: none;
  padding: 0;
  font-size: 0.88rem;
  color: var(--ink-500);
  background: transparent;
  width: 100%;
}
.search-field select:focus, .search-field input:focus { outline: none; }
.search-submit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-950);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 15px 26px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
}
.search-submit:hover { background: var(--teal-900); }

/* Trust badges, overlaid at the very bottom edge of the hero photo */
.trust-badges-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: 26px;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
}
.trust-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ---------------- Categories ---------------- */
.categories { padding: 64px 0 10px; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 20px;
}
.category-item {
  text-align: center;
  transition: transform 0.15s ease;
}
.category-item:hover { transform: translateY(-3px); }
.category-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background-color: var(--line);
  background-size: cover;
  background-position: center;
  margin-bottom: 10px;
}
.category-name { font-weight: 600; font-size: 0.85rem; color: var(--ink); }

/* ---------------- Sections ---------------- */
.section { padding: 56px 0; }
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 26px;
  gap: 16px;
}
.section-subtitle { color: var(--ink-500); margin: 4px 0 0; font-size: 0.95rem; }
.section-link { color: var(--teal-600); font-weight: 600; white-space: nowrap; }

/* ---------------- Tour cards / grid ---------------- */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.featured-tours-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.tour-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tour-card-image {
  height: 190px;
  background-color: var(--line);
  background-size: cover;
  background-position: center;
  position: relative;
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-hit { background: var(--badge-hit); color: var(--white); }
.badge-popular { background: var(--badge-blue); color: var(--ink); }
.tour-card-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.tour-card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tour-card-title { margin: 0; font-size: 1.05rem; color: var(--ink); }
.tour-card-rating { font-size: 0.86rem; color: var(--ink); display: flex; align-items: center; gap: 4px; }
.tour-card-rating .star { color: var(--star); }
.tour-card-reviews { color: var(--ink-500); font-weight: 400; }
.tour-card-duration-row { font-size: 0.86rem; color: var(--ink-500); }
.tour-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.tour-card-price { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.btn-outline-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------------- Promo card + map card (two-column section) ---------------- */
.promo-map-section { padding: 64px 0; }
.promo-map-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
  align-items: stretch;
}
.promo-card {
  position: relative;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  background-color: var(--teal-950);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  color: var(--white);
}
.promo-content { position: relative; z-index: 1; max-width: 420px; }
.promo-label {
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}
.promo-card h3 { color: var(--white); font-size: 1.7rem; margin-bottom: 8px; }
.promo-card p { color: rgba(255, 255, 255, 0.85); margin-bottom: 20px; }

.map-card {
  position: relative;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #deeed9, #cfe7f5);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.map-card-header h3 { margin-bottom: 4px; }
.map-card-header p { color: var(--ink-500); margin: 0; font-size: 0.9rem; }
.map-zoom {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.map-zoom button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(18, 32, 63, 0.15);
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  cursor: default;
}
.map-pins { position: relative; flex: 1; margin-top: 16px; min-height: 220px; }
.map-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transform: translate(-50%, -50%);
}
.map-pin-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}
.map-pin-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.map-card-cta { align-self: flex-end; margin-top: 14px; }

/* ---------------- Benefits ---------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.benefit-item { text-align: center; padding: 10px; }
.benefit-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sand-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 14px;
}
.benefit-item h3 { font-size: 1rem; }
.benefit-item p { font-size: 0.88rem; color: var(--ink-500); margin: 0; }

/* ---------------- Testimonials ---------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.testimonial-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--line); }
.testimonial-name { font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.testimonial-date { font-size: 0.78rem; color: var(--ink-500); }
.stars { margin-bottom: 8px; }
.star-filled { color: var(--star); }
.star-empty { color: var(--line); }
.testimonial-text { font-size: 0.9rem; color: var(--ink-700); margin: 0 0 12px; }
.testimonial-tour-link { display: block; font-size: 0.82rem; color: var(--teal-600); font-weight: 600; margin-bottom: 10px; }
.testimonial-thumb { width: 100%; height: 110px; object-fit: cover; border-radius: 10px; background: var(--line); }

/* ---------------- Bottom CTA band ---------------- */
.cta-band {
  position: relative;
  background-color: var(--teal-950);
  background-size: cover;
  background-position: center;
  padding: 90px 0;
  text-align: center;
  color: var(--white);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 67, 73, 0.9), rgba(28, 67, 73, 0.55));
}
.cta-band-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.cta-band h2 { color: var(--white); font-size: 2rem; }
.cta-band p { color: rgba(255, 255, 255, 0.88); margin-bottom: 26px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--teal-950); color: rgba(255,255,255,0.85); margin-top: 40px; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding: 50px 24px 30px;
}
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,0.75); font-size: 0.88rem; margin-bottom: 8px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 16px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
}

/* ---------------- Page header (generic) ---------------- */
.page-header { background: var(--sand-100); padding: 40px 0; border-bottom: 1px solid var(--line); }
.page-header h1 { margin-bottom: 4px; }
.page-header p { color: var(--ink-500); margin: 0; }

/* ---------------- Content pages ---------------- */
.content-page p { color: var(--ink-700); }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* ---------------- Tours listing ---------------- */
.tours-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: start; }
.filters {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  position: sticky;
  top: 90px;
}
.filter-group { margin-bottom: 16px; display: flex; flex-direction: column; gap: 5px; }
.filter-group label { font-size: 0.82rem; font-weight: 600; color: var(--ink-700); }
.filter-group select, .filter-group input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.9rem;
}
.price-inputs { display: flex; gap: 8px; }
.price-inputs input { width: 0; flex: 1; }
.filters .btn { margin-top: 8px; }

.pagination { display: flex; gap: 8px; margin-top: 30px; justify-content: center; }
.page-link {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink-700);
}
.page-link.active { background: var(--teal-600); color: var(--white); border-color: var(--teal-600); }

/* ---------------- Tour detail ---------------- */
.tour-detail { padding: 40px 0; }
.tour-gallery-main {
  height: 420px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-sm);
}
.tour-gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.tour-gallery-thumb {
  width: 110px; height: 76px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
}
.tour-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  margin-top: 30px;
  align-items: start;
}
.tour-detail-breadcrumbs { font-size: 0.82rem; color: var(--ink-500); margin-bottom: 12px; }
.tour-detail-breadcrumbs a { color: var(--teal-600); }
.tour-detail-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--ink-700); font-size: 0.92rem; margin-bottom: 10px; }
.tour-detail-partner { color: var(--ink-500); }
.tour-detail-description { white-space: pre-line; color: var(--ink-700); }
.reviews-list { display: flex; flex-direction: column; gap: 18px; }
.review-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--white); }

.booking-card {
  position: sticky;
  top: 90px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.booking-price { font-size: 1.5rem; font-weight: 800; color: var(--teal-800); margin-bottom: 16px; }
.booking-price span { font-size: 0.85rem; font-weight: 400; color: var(--ink-500); }
.booking-form label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-700); margin-bottom: 12px; }
.booking-form input, .booking-form textarea {
  display: block; width: 100%; margin-top: 5px;
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; font-size: 0.92rem;
  font-family: inherit;
}
.booking-note { font-size: 0.76rem; color: var(--ink-500); margin-top: 12px; }

/* ---------------- Forms / auth pages ---------------- */
.auth-page { padding: 60px 0; }
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  margin: 20px 0;
}
.form-card label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--ink-700); margin-bottom: 14px; }
.form-card input, .form-card select, .form-card textarea {
  display: block; width: 100%; margin-top: 5px;
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; font-size: 0.92rem;
  font-family: inherit;
}
.form-note { font-size: 0.85rem; color: var(--ink-500); }

.alert { padding: 12px 16px; border-radius: 8px; margin: 16px 0; font-size: 0.9rem; }
.alert ul { margin: 0; }
.alert-error { background: var(--danger-bg); color: var(--danger); }
.alert-success { background: var(--success-bg); color: var(--success); }

/* ---------------- Dashboard / admin ---------------- */
.dashboard { padding: 40px 0; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.dashboard-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form { display: inline-block; }

.admin-nav { display: flex; gap: 16px; margin-bottom: 26px; }
.admin-nav a { background: var(--white); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 0.88rem; }
.admin-nav a:hover { background: var(--teal-600); color: var(--white); border-color: var(--teal-600); }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: var(--shadow-sm); }
.stat-number { font-size: 2.2rem; font-weight: 800; color: var(--teal-700); }
.stat-label { color: var(--ink-500); font-size: 0.9rem; margin-top: 6px; }

.admin-filters { display: flex; gap: 10px; margin-bottom: 20px; }
.admin-filters a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.85rem; font-weight: 600; color: var(--ink-700); }
.admin-filters a.active { background: var(--teal-600); border-color: var(--teal-600); color: var(--white); }

.data-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.data-table th, .data-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 0.88rem; }
.data-table th { background: var(--sand-100); color: var(--ink-700); font-weight: 700; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.status-badge { padding: 3px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; }
.status-pending, .status-pending_review, .status-new { background: #fdf1dc; color: #a3690c; }
.status-approved, .status-published, .status-confirmed { background: var(--success-bg); color: var(--success); }
.status-rejected, .status-cancelled { background: var(--danger-bg); color: var(--danger); }
.status-contacted { background: #e3edfa; color: #2c5da3; }
.status-draft { background: #eee; color: #666; }

.review-forms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 40px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 960px) {
  .tours-grid, .testimonials-grid, .featured-tours-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-map-grid { grid-template-columns: 1fr; }
  .promo-card, .map-card { min-height: 320px; }
  .tour-detail-layout { grid-template-columns: 1fr; }
  .tours-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .review-forms { grid-template-columns: 1fr; }
  .hero { min-height: 680px; padding: 130px 0 120px; }
}
@media (max-width: 640px) {
  .main-nav { display: none; }
  .tours-grid, .testimonials-grid, .categories-grid, .benefits-grid, .stats-grid, .featured-tours-grid {
    grid-template-columns: 1fr;
  }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; padding: 120px 0 150px; }
  .hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .search-bar { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 14px; gap: 10px; }
  .search-field { border-right: none; border-bottom: 1px solid var(--line); padding: 8px 6px; }
  .search-field:last-of-type { border-bottom: none; }
  .search-submit { width: 100%; justify-content: center; }
  .trust-badges { gap: 16px 22px; }
  .trust-badge { font-size: 0.8rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .cta-band h2 { font-size: 1.5rem; }
}
