/* ─── CSS VARIABLES ─────────────────────────────────── */
:root {
  --white: #ffffff;
  --off-white: #f7f9fc;
  --bg: #f0f5ff;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-dark: #1d4ed8;
  --green: #22c55e;
  --green-light: #86efac;
  --green-dark: #16a34a;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --shadow-blue: 0 4px 20px rgba(37,99,235,.25);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --font: 'Nunito', system-ui, sans-serif;
  --font-display: 'Raleway', system-ui, sans-serif;
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
}

/* ─── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--off-white); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input, textarea, select { font-family: inherit; outline: none; }

/* ─── UTILITIES ─────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ─── HEADER ─────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.header__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  color: var(--text);
}
.logo__icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem;
}
.logo__dot { color: var(--blue); }
.header__nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  padding: 8px 16px; border-radius: 8px; font-size: .9rem; font-weight: 600;
  color: var(--text-secondary); transition: var(--transition);
}
.nav-link:hover { background: var(--bg); color: var(--blue); }
.nav-link.active { color: var(--blue); }

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #eef4ff 0%, #f0fdf4 100%);
  padding: 72px 24px 56px;
  text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(37,99,235,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero__tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(34,197,94,.12); color: var(--green-dark);
  border: 1px solid rgba(34,197,94,.25);
  padding: 5px 14px; border-radius: 100px; font-size: .82rem; font-weight: 700;
  margin-bottom: 20px; letter-spacing: .04em;
}
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15; color: var(--text);
  margin-bottom: 16px;
}
.hero__title span { color: var(--blue); }
.hero__subtitle {
  font-size: 1.1rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto 40px;
}
.hero__stats {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.hero__stat { text-align: center; }
.hero__stat-num {
  font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--blue);
}
.hero__stat-label { font-size: .85rem; color: var(--text-muted); font-weight: 600; }

/* ─── NOTIFICATION TOAST ─────────────────────────────── */
.toast-container {
  position: fixed; bottom: 28px; left: 28px; z-index: 999;
  max-width: 360px; width: calc(100vw - 56px);
}
.toast {
  background: white; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: 14px 18px;
  display: flex; align-items: flex-start; gap: 12px;
  border-left: 4px solid var(--green);
  animation: slideInToast .4s cubic-bezier(.34,1.56,.64,1) both;
  pointer-events: none;
}
.toast.hiding { animation: slideOutToast .3s ease forwards; }
.toast__icon {
  width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--green) 0%, #4ade80 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.toast__text { font-size: .87rem; line-height: 1.5; color: var(--text); }
.toast__text strong { color: var(--blue); }
@keyframes slideInToast {
  from { opacity: 0; transform: translateX(-100%) scale(.9); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes slideOutToast {
  to { opacity: 0; transform: translateX(-120%) scale(.9); }
}

/* ─── FILTERS ─────────────────────────────────────────── */
.filters {
  background: white; border-bottom: 1px solid var(--border);
  padding: 20px 24px; position: sticky; top: 68px; z-index: 50;
}
.filters__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.filter-select, .filter-btn {
  height: 44px; border-radius: 10px; padding: 0 16px;
  font-size: .9rem; font-weight: 600; transition: var(--transition);
  border: 2px solid var(--border);
}
.filter-select {
  background: var(--off-white); color: var(--text);
  padding-right: 36px; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  cursor: pointer;
}
.filter-select:focus { border-color: var(--blue); }
.filter-btn {
  background: var(--off-white); color: var(--text-secondary);
  cursor: pointer;
}
.filter-btn:hover { border-color: var(--blue-light); color: var(--blue); background: var(--bg); }
.filter-btn.active { border-color: var(--blue); color: var(--blue); background: #eff6ff; }
.filter-countries { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }

/* ─── TOURS GRID ─────────────────────────────────────── */
.tours-section { padding: 48px 24px; }
.tours-section__header {
  max-width: 1200px; margin: 0 auto 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.section-title {
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--text);
}
.tours-count { font-size: .9rem; color: var(--text-muted); font-weight: 600; }
.tours-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px;
}
.no-tours {
  max-width: 500px; margin: 0 auto; text-align: center; padding: 60px 24px;
}
.no-tours__icon { font-size: 3rem; margin-bottom: 16px; }
.no-tours__text { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; }

/* ─── TOUR CARD ──────────────────────────────────────── */
.tour-card {
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tour-card__img-wrap {
  position: relative; overflow: hidden; aspect-ratio: 16/10; flex-shrink: 0;
}
.tour-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.tour-card:hover .tour-card__img { transform: scale(1.05); }
.tour-card__badge {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white; font-size: .72rem; font-weight: 800;
  padding: 4px 10px; border-radius: 6px; letter-spacing: .06em;
  text-transform: uppercase;
}
.tour-card__discount {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,.6); backdrop-filter: blur(8px);
  color: white; font-size: .8rem; font-weight: 700;
  padding: 4px 10px; border-radius: 6px;
}
.tour-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.tour-card__meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.tour-card__country {
  font-size: .78rem; font-weight: 700; color: var(--blue);
  background: #eff6ff; padding: 3px 10px; border-radius: 6px;
  letter-spacing: .04em; text-transform: uppercase;
}
.tour-card__nights { font-size: .82rem; color: var(--text-muted); font-weight: 600; }
.tour-card__title {
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  color: var(--text); line-height: 1.35;
}
.tour-card__desc { font-size: .87rem; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.tour-card__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 6px;
  background: #f1f5f9; color: var(--text-secondary);
}
.tour-card__footer {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 16px 20px; border-top: 1px solid var(--border);
  margin-top: auto;
}
.tour-card__price { }
.tour-card__old-price {
  font-size: .8rem; color: var(--text-muted);
  text-decoration: line-through; margin-bottom: 2px;
}
.tour-card__current-price {
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--text);
}
.tour-card__current-price span { font-size: .85rem; font-weight: 600; color: var(--text-muted); }
.tour-card__rating {
  display: flex; align-items: center; gap: 4px;
  font-size: .85rem; font-weight: 700; color: var(--text);
}
.star { color: #f59e0b; font-size: .9rem; }
.tour-card__btn {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: white; padding: 10px 20px; border-radius: 10px;
  font-size: .87rem; font-weight: 700; letter-spacing: .02em;
  transition: var(--transition); box-shadow: 0 2px 8px rgba(37,99,235,.3);
}
.tour-card__btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-blue); }

/* ─── LOAD MORE ──────────────────────────────────────── */
.load-more-wrap { text-align: center; margin-top: 40px; }
.btn-load-more {
  background: white; color: var(--blue); border: 2px solid var(--blue);
  padding: 14px 40px; border-radius: 12px; font-size: .95rem; font-weight: 700;
  transition: var(--transition);
}
.btn-load-more:hover { background: var(--blue); color: white; box-shadow: var(--shadow-blue); }
.btn-load-more:disabled { opacity: .5; cursor: not-allowed; }

/* ─── CONTACT SECTION ────────────────────────────────── */
.contact-section {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #0284c7 100%);
  padding: 64px 24px; text-align: center;
}
.contact-section__title {
  font-family: var(--font-display); font-weight: 800; font-size: 2rem;
  color: white; margin-bottom: 12px;
}
.contact-section__sub { color: rgba(255,255,255,.8); font-size: 1rem; margin-bottom: 36px; }
.contact-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-tg, .btn-max {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 12px;
  font-weight: 700; font-size: .95rem; transition: var(--transition);
}
.btn-tg {
  background: white; color: #0088cc;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.btn-tg:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-max {
  background: rgba(255,255,255,.15); color: white;
  border: 2px solid rgba(255,255,255,.35);
}
.btn-max:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); }
.btn-icon { font-size: 1.2rem; }

/* ─── WHY US ──────────────────────────────────────────── */
.why-section { padding: 72px 24px; background: var(--off-white); }
.why-section .section-title { text-align: center; margin-bottom: 48px; }
.why-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px;
}
.why-card {
  background: white; border-radius: var(--radius); padding: 32px 28px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card__icon {
  width: 60px; height: 60px; border-radius: 14px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
}
.why-card:nth-child(1) .why-card__icon { background: #eff6ff; }
.why-card:nth-child(2) .why-card__icon { background: #f0fdf4; }
.why-card:nth-child(3) .why-card__icon { background: #fffbeb; }
.why-card:nth-child(4) .why-card__icon { background: #fdf2f8; }
.why-card__title { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; margin-bottom: 10px; }
.why-card__text { font-size: .9rem; color: var(--text-secondary); line-height: 1.65; }

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  background: var(--text); color: rgba(255,255,255,.7);
  padding: 48px 24px;
}
.footer__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer__logo { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: white; }
.footer__copy { font-size: .85rem; margin-top: 6px; }
.footer__links { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer__link {
  font-size: .88rem; color: rgba(255,255,255,.6); padding: 8px 14px;
  border-radius: 8px; transition: var(--transition); font-weight: 600;
}
.footer__link:hover { background: rgba(255,255,255,.1); color: white; }
.footer__contact { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px;
  font-size: .85rem; font-weight: 700; transition: var(--transition);
}
.footer__btn--tg { background: #0088cc; color: white; }
.footer__btn--max { background: rgba(255,255,255,.1); color: white; border: 1px solid rgba(255,255,255,.2); }
.footer__btn:hover { opacity: .85; transform: translateY(-1px); }

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: white; padding: 14px 28px; border-radius: 12px;
  font-weight: 700; font-size: 1rem; transition: var(--transition);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,99,235,.4); }
.btn-green {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--green) 0%, #4ade80 100%);
  color: white; padding: 14px 28px; border-radius: 12px;
  font-weight: 700; font-size: 1rem; transition: var(--transition);
  box-shadow: 0 4px 16px rgba(34,197,94,.3);
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(34,197,94,.4); }

/* ─── LOADER ─────────────────────────────────────────── */
.loader {
  display: flex; justify-content: center; padding: 60px;
}
.spinner {
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--blue);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── TOUR PAGE ──────────────────────────────────────── */
.tour-page { max-width: 900px; margin: 0 auto; padding: 48px 24px; }
.tour-page__back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue); font-weight: 700; font-size: .9rem; margin-bottom: 32px;
  transition: var(--transition);
}
.tour-page__back:hover { gap: 4px; }
.tour-gallery {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; aspect-ratio: 16/9; margin-bottom: 36px;
  background: var(--border);
}
.tour-gallery__main { width: 100%; height: 100%; object-fit: cover; }
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--text); transition: var(--transition);
  box-shadow: var(--shadow);
}
.gallery-arrow:hover { background: white; box-shadow: var(--shadow-lg); }
.gallery-arrow--prev { left: 16px; }
.gallery-arrow--next { right: 16px; }
.gallery-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.gallery-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.5); transition: var(--transition);
}
.gallery-dot.active { background: white; width: 20px; border-radius: 4px; }

.tour-header { margin-bottom: 32px; }
.tour-header__meta {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.tour-header__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.2; margin-bottom: 16px;
}
.tour-header__info {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: .9rem; color: var(--text-secondary); font-weight: 600;
}
.tour-header__info span { display: flex; align-items: center; gap: 6px; }
.tour-price-block {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 28px; margin-bottom: 32px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.tour-price-block__label { font-size: .85rem; color: var(--text-muted); font-weight: 600; margin-bottom: 4px; }
.tour-price-block__old { font-size: .9rem; color: var(--text-muted); text-decoration: line-through; }
.tour-price-block__price {
  font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--text);
}
.tour-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.guarantees {
  background: white; border-radius: var(--radius); border: 1px solid var(--border);
  padding: 28px; margin-bottom: 32px;
}
.guarantees__title { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; margin-bottom: 20px; }
.guarantees__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.guarantee-item { display: flex; align-items: flex-start; gap: 10px; }
.guarantee-item__icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.guarantee-item__text { font-size: .87rem; color: var(--text-secondary); line-height: 1.5; }
.guarantee-item__text strong { color: var(--text); font-weight: 700; display: block; }

.tour-description h3 {
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; margin-bottom: 16px;
}
.tour-description p {
  color: var(--text-secondary); line-height: 1.8; font-size: .95rem; margin-bottom: 16px;
}

/* ─── ABOUT PAGE ─────────────────────────────────────── */
.about-page { max-width: 800px; margin: 0 auto; padding: 48px 24px; }
.about-hero {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border-radius: var(--radius-lg); padding: 48px; margin-bottom: 48px; text-align: center;
}
.about-hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 16px;
}
.about-hero__sub { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; max-width: 600px; margin: 0 auto; }
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px;
}
.about-stat {
  background: white; border-radius: var(--radius); border: 1px solid var(--border);
  padding: 24px; text-align: center;
}
.about-stat__num { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--blue); }
.about-stat__label { font-size: .85rem; color: var(--text-muted); font-weight: 600; margin-top: 4px; }
.about-text { background: white; border-radius: var(--radius); border: 1px solid var(--border); padding: 40px; }
.about-text h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin-bottom: 16px; color: var(--text); }
.about-text p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; font-size: .95rem; }
.about-text p:last-child { margin-bottom: 0; }

/* ─── ADMIN ──────────────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px; background: var(--text); padding: 0;
  display: flex; flex-direction: column; flex-shrink: 0;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-sidebar__logo {
  padding: 24px 20px; font-family: var(--font-display); font-weight: 800;
  font-size: 1.2rem; color: white; border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-sidebar__logo span { color: var(--green-light); }
.admin-nav { padding: 16px 12px; flex: 1; }
.admin-nav__item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 10px; margin-bottom: 4px;
  color: rgba(255,255,255,.6); font-weight: 600; font-size: .9rem;
  transition: var(--transition); cursor: pointer;
}
.admin-nav__item:hover { background: rgba(255,255,255,.08); color: white; }
.admin-nav__item.active { background: var(--blue); color: white; }
.admin-nav__icon { font-size: 1rem; width: 20px; }
.admin-main { flex: 1; background: var(--off-white); overflow-y: auto; }
.admin-topbar {
  background: white; border-bottom: 1px solid var(--border);
  padding: 0 32px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 10;
}
.admin-topbar__title { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.admin-content { padding: 32px; }

.admin-card {
  background: white; border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.admin-card__header {
  padding: 20px 24px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.admin-card__title { font-family: var(--font-display); font-weight: 800; font-size: 1rem; }

.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: .85rem; font-weight: 700; color: var(--text);
  margin-bottom: 7px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  border: 2px solid var(--border); background: var(--off-white);
  font-size: .9rem; color: var(--text); transition: var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue); background: white;
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: .8rem; color: var(--text-muted); margin-top: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.form-check input { width: 18px; height: 18px; cursor: pointer; accent-color: var(--blue); }

.btn-admin-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: white; padding: 10px 22px; border-radius: 10px;
  font-weight: 700; font-size: .9rem; transition: var(--transition);
  display: inline-flex; align-items: center; gap: 7px;
}
.btn-admin-primary:hover { box-shadow: var(--shadow-blue); transform: translateY(-1px); }
.btn-admin-danger {
  background: #fef2f2; color: #dc2626; padding: 8px 16px; border-radius: 8px;
  font-weight: 700; font-size: .85rem; border: 1px solid #fecaca; transition: var(--transition);
}
.btn-admin-danger:hover { background: #dc2626; color: white; }
.btn-admin-edit {
  background: var(--bg); color: var(--blue); padding: 8px 16px; border-radius: 8px;
  font-weight: 700; font-size: .85rem; border: 1px solid #bfdbfe; transition: var(--transition);
}
.btn-admin-edit:hover { background: var(--blue); color: white; }
.btn-admin-secondary {
  background: var(--off-white); color: var(--text); padding: 10px 22px; border-radius: 10px;
  font-weight: 700; font-size: .9rem; border: 2px solid var(--border); transition: var(--transition);
}
.btn-admin-secondary:hover { border-color: var(--text); }

.tours-table { width: 100%; border-collapse: collapse; }
.tours-table th {
  text-align: left; padding: 12px 16px; font-size: .82rem; font-weight: 700;
  color: var(--text-muted); border-bottom: 2px solid var(--border); background: var(--off-white);
  text-transform: uppercase; letter-spacing: .06em;
}
.tours-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tours-table tr:last-child td { border-bottom: none; }
.tours-table tr:hover td { background: var(--off-white); }
.tour-table-img {
  width: 64px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
}
.tour-table-name { font-weight: 700; font-size: .9rem; color: var(--text); }
.tour-table-sub { font-size: .8rem; color: var(--text-muted); margin-top: 2px; }
.table-actions { display: flex; gap: 8px; }

.alert {
  padding: 12px 16px; border-radius: 10px; font-size: .88rem; font-weight: 600;
  margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.alert-success { background: #f0fdf4; color: var(--green-dark); border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

.photo-upload-area {
  border: 2px dashed var(--border); border-radius: var(--radius-sm);
  padding: 32px; text-align: center; cursor: pointer; transition: var(--transition);
  background: var(--off-white);
}
.photo-upload-area:hover { border-color: var(--blue); background: #eff6ff; }
.photo-upload-area.drag-over { border-color: var(--blue); background: #eff6ff; }
.photo-upload-area__icon { font-size: 2rem; margin-bottom: 10px; }
.photo-upload-area__text { font-size: .9rem; color: var(--text-secondary); }
.photo-upload-area__text strong { color: var(--blue); }
.photo-preview-grid { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.photo-preview-item {
  position: relative; width: 96px; height: 72px;
  border-radius: 8px; overflow: hidden; flex-shrink: 0;
}
.photo-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-preview-remove {
  position: absolute; top: 4px; right: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0,0,0,.6); color: white; font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); border: none;
}
.photo-preview-remove:hover { background: #dc2626; }

.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal {
  background: white; border-radius: var(--radius-lg); padding: 0;
  max-width: 700px; width: 100%; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg); animation: modalIn .25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal__header {
  padding: 24px 28px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: white; z-index: 1;
}
.modal__title { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.modal__close {
  width: 32px; height: 32px; border-radius: 8px; background: var(--off-white);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  cursor: pointer; transition: var(--transition); border: none;
}
.modal__close:hover { background: #fef2f2; color: #dc2626; }
.modal__body { padding: 28px; }
.modal__footer { padding: 20px 28px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 48px 16px 40px; }
  .hero__stats { gap: 32px; }
  .tours-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .about-stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: static; }
  .admin-nav { display: flex; flex-wrap: wrap; gap: 4px; padding: 12px; }
  .admin-nav__item { flex: 1; min-width: 120px; justify-content: center; }
  .tour-price-block { flex-direction: column; align-items: flex-start; }
  .tour-cta-btns { width: 100%; }
  .tour-cta-btns .btn-primary, .tour-cta-btns .btn-green { flex: 1; justify-content: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-btns { flex-direction: column; align-items: center; }
  .hero__stat-num { font-size: 1.5rem; }
  .about-hero { padding: 32px 20px; }
}

/* ─── FILTERS MOBILE FIX ─────────────────────────────── */
.filters {
  padding: 14px 0 0 !important;
}
.filters__inner {
  padding: 0 16px 14px;
  flex-wrap: nowrap !important;
}
.filter-countries-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 16px 14px;
  border-top: 1px solid var(--border);
}
.filter-countries-scroll::-webkit-scrollbar { display: none; }
.filter-countries {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px;
  width: max-content;
}
.filter-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ─── FILTERS RESPONSIVE FIX v2 ──────────────────────── */
/* Сброс предыдущего патча */
.filters {
  padding: 20px 24px !important;
}
.filters__inner {
  padding: 0 !important;
  border: none !important;
  flex-wrap: wrap !important;
  margin-bottom: 12px;
}
.filter-countries-scroll {
  border-top: none !important;
  padding: 0 !important;
  overflow: visible;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.filter-countries {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px;
  width: auto !important;
}

/* Мобильный — горизонтальный скролл в одну строку */
@media (max-width: 768px) {
  .filters {
    padding: 14px 0 0 !important;
  }
  .filters__inner {
    padding: 0 16px 12px !important;
    margin-bottom: 0;
  }
  .filter-countries-scroll {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 16px 14px !important;
    border-top: 1px solid var(--border) !important;
  }
  .filter-countries-scroll::-webkit-scrollbar { display: none; }
  .filter-countries {
    flex-wrap: nowrap !important;
    width: max-content !important;
  }
  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
}
