:root {
  --terracotta: #C65D3A;
  --terracotta-dark: #A84A2C;
  --cream: #FAF6F0;
  --cream-2: #F2EBDD;
  --green: #3D5C42;
  --green-dark: #2C4530;
  --ink: #2A211A;
  --muted: #7A6E64;
  --line: #E2D8C6;
  --danger: #B33A3A;
  --shadow: 0 4px 16px rgba(60, 40, 20, 0.08);
  --shadow-lg: 0 12px 32px rgba(60, 40, 20, 0.14);
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--terracotta); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.nowrap { white-space: nowrap; }
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }

/* HEADER */
.site-header,
.admin-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.admin-header {
  background: #fff;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
}
.logo:hover { text-decoration: none; }
.logo-mark { font-size: 1.6rem; }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav a {
  color: var(--ink);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}
.nav a:hover { background: var(--cream-2); text-decoration: none; }
.nav a.active { color: var(--terracotta); }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--terracotta);
  color: #fff;
}
.btn-primary:hover { background: var(--terracotta-dark); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { background: var(--cream-2); color: var(--ink); }
.btn-tg {
  background: var(--green);
  color: var(--cream);
  border: none;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
}
.btn-tg:hover { background: #2F4633; color: var(--cream); }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn-link {
  background: transparent;
  border: none;
  color: var(--terracotta);
  cursor: pointer;
  padding: 4px 8px;
  font-size: 0.9rem;
  text-decoration: none;
  font-family: inherit;
}
.btn-link:hover { text-decoration: underline; }
.btn-danger { color: var(--danger); }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '⛰';
  position: absolute;
  font-size: 24rem;
  right: -60px;
  top: -40px;
  opacity: 0.04;
  color: var(--green);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text { max-width: 720px; position: relative; }
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 600px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(60, 40, 20, 0.18);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .hero { padding: 48px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-image { aspect-ratio: 16 / 10; order: -1; }
}

/* SECTIONS */
.section { padding: 60px 0; }
.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 32px;
  letter-spacing: -0.01em;
}
.page-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

/* TOUR CARDS */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.tour-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s, box-shadow 0.18s;
  display: flex;
  flex-direction: column;
}
.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: inherit;
}
.tour-card-img {
  aspect-ratio: 3 / 2;
  background: var(--cream-2) center/cover no-repeat;
}
.tour-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.tour-card-body h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
}
.tour-card-desc {
  color: var(--muted);
  flex: 1;
  margin: 0 0 16px;
  font-size: 0.95rem;
}
.tour-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--muted);
}
.price { color: var(--terracotta); font-weight: 700; font-size: 1.05rem; }

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.feature {
  background: #fff;
  padding: 28px 24px;
  border-radius: var(--radius);
  text-align: center;
}
.feature-icon { font-size: 2.5rem; margin-bottom: 12px; }
.feature h3 { margin: 0 0 8px; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* TOUR DETAIL */
.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}
.tour-detail {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .tour-detail { grid-template-columns: 1fr; }
}
.tour-gallery { grid-column: 1 / -1; margin-bottom: 32px; }
.tour-gallery-main {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--cream-2) center/cover no-repeat;
  margin-bottom: 12px;
}
.tour-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}
.tour-gallery-thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  background: var(--cream-2) center/cover no-repeat;
}
.tour-info h1 {
  font-size: 2rem;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.tour-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1rem;
}
.price-big { color: var(--terracotta); font-weight: 700; font-size: 1.15rem; }
.tour-description p { margin: 0 0 14px; }
.tour-info h2 {
  margin: 28px 0 12px;
  font-size: 1.3rem;
  font-weight: 700;
}
.tour-program {
  background: var(--cream-2);
  padding: 16px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  white-space: pre-wrap;
  margin: 0;
}

/* BOOKING FORM */
.booking-form-wrap {
  position: sticky;
  top: 90px;
}
.booking-form {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.booking-form h2 {
  margin: 0 0 16px;
  font-size: 1.2rem;
}
.booking-form label,
.admin-form label {
  display: block;
  margin-bottom: 14px;
}
.booking-form label > span,
.admin-form label > span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.booking-form input,
.booking-form textarea,
.booking-form select,
.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}
.booking-form input:focus,
.booking-form textarea:focus,
.admin-form input:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}
.req { color: var(--terracotta); }
.booking-total {
  padding: 12px;
  background: var(--cream-2);
  border-radius: var(--radius-sm);
  margin: 8px 0 14px;
  text-align: center;
  font-size: 1rem;
}
.booking-total strong { color: var(--terracotta); font-size: 1.15rem; }
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 12px 0 0;
  text-align: center;
}

/* SUCCESS */
.success-card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.success-icon { font-size: 4rem; margin-bottom: 12px; }
.success-card h1 { margin: 0 0 12px; font-size: 1.6rem; }
.success-lead { color: var(--muted); margin: 0 0 24px; }
.success-summary {
  text-align: left;
  background: var(--cream);
  padding: 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}
.success-summary > div { padding: 6px 0; }
.success-total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 12px !important;
  font-size: 1.1rem;
}
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* FILTER BAR */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.chip {
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.9rem;
  text-decoration: none;
}
.chip:hover { background: var(--cream-2); text-decoration: none; }
.chip.active {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
}

/* FOOTER */
.site-footer {
  background: #2F4633;
  color: var(--cream);
  padding: 60px 0 24px;
  margin-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 32px;
}
.footer-col { min-width: 0; }
.footer-title { font-weight: 800; font-size: 1.2rem; margin-bottom: 10px; color: var(--cream); }
.footer-text { color: rgba(250, 246, 240, 0.78); margin: 0; font-size: 0.95rem; }
.footer-heading {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 8px; font-size: 0.95rem; }
.footer-list a { color: var(--cream); text-decoration: none; }
.footer-list a:hover { color: var(--terracotta); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(250, 246, 240, 0.12);
  padding-top: 20px;
  font-size: 0.85rem;
  color: rgba(250, 246, 240, 0.6);
}
@media (max-width: 760px) {
  .site-footer { padding: 40px 0 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; margin-bottom: 24px; }
}

/* BREADCRUMBS */
.breadcrumbs {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 4px 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--terracotta); text-decoration: underline; }
.breadcrumbs-sep { color: var(--line); }
.breadcrumbs-current { color: var(--muted); }

/* ABOUT */
.about-hero {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: 70px 0 50px;
  text-align: center;
}
.about-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.about-hero-sub { font-size: 1.15rem; color: var(--muted); margin: 0; }
.about-content { padding-top: 50px; }
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.about-block {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.about-block-icon { font-size: 2rem; margin-bottom: 8px; }
.about-block h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--terracotta);
}
.about-block p { margin: 0; color: var(--ink); }
.about-list { margin: 0; padding-left: 20px; }
.about-list li { margin-bottom: 6px; }
.about-cta {
  margin-top: 50px;
  padding: 40px;
  background: var(--cream-2);
  border-radius: var(--radius);
  text-align: center;
}
.about-cta h2 { font-size: 1.6rem; margin: 0 0 20px; }

/* CONTACTS */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 880px) {
  .contacts-grid { grid-template-columns: 1fr; gap: 32px; }
}
.contacts-h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 20px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s, transform 0.15s;
}
.contact-card:hover {
  border-color: var(--terracotta);
  text-decoration: none;
  color: var(--ink);
  transform: translateY(-1px);
}
.contact-card-static:hover { border-color: var(--line); transform: none; }
.contact-card-icon { font-size: 1.6rem; flex-shrink: 0; }
.contact-card-body { flex: 1; min-width: 0; }
.contact-card-title { font-weight: 700; font-size: 0.95rem; }
.contact-card-value { color: var(--muted); font-size: 0.95rem; }
.contact-card-hint { color: var(--muted); font-size: 0.82rem; margin-top: 2px; }
.contact-card-action { color: var(--terracotta); font-weight: 600; font-size: 0.9rem; flex-shrink: 0; }
.contacts-hours { margin-top: 14px; }

.contacts-form-wrap {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.contacts-form label { display: block; margin-bottom: 16px; }
.contacts-form label > span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.contacts-form input,
.contacts-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}
.contacts-form input:focus,
.contacts-form textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}
.contacts-form textarea { resize: vertical; }
.req { color: var(--terracotta); }
.form-success {
  background: #e6f0e2;
  color: #2c4530;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* SUCCESS PAGE BUTTONS (#6) */
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.success-actions .btn {
  min-height: 48px;
  padding: 12px 24px;
  font-size: 1rem;
  min-width: 200px;
}
@media (max-width: 520px) {
  .success-actions { flex-direction: column; }
  .success-actions .btn { width: 100%; min-width: 0; }
}

/* 404 */
.page-404 { text-align: center; padding: 80px 0 100px; }
.page-404-num {
  font-size: clamp(6rem, 18vw, 11rem);
  font-weight: 800;
  color: var(--terracotta);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.page-404 h1 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  margin: 0 0 12px;
  font-weight: 700;
}
.page-404-sub { color: var(--muted); margin: 0 0 28px; font-size: 1.05rem; }
.page-404-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ADMIN — clickable contacts (#11) */
.contact-link {
  color: inherit;
  text-decoration: underline dotted;
  text-underline-offset: 2px;
}
.contact-link:hover { color: var(--terracotta); text-decoration: underline dotted; }

/* ADMIN — notes (#12) */
.status-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.btn-notes {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
}
.btn-notes:hover { background: var(--cream-2); border-color: var(--terracotta); }
.notes-preview { margin-top: 6px; max-width: 220px; word-break: break-word; }
.notes-row td { background: var(--cream); padding: 16px 20px; }
.notes-form label { display: block; }
.notes-form label > span { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.notes-form textarea {
  width: 100%;
  max-width: 700px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  resize: vertical;
}
.notes-actions { display: flex; gap: 10px; margin-top: 10px; }

/* LOGIN */
.login-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--cream);
  padding: 20px;
}
.login-card {
  width: 100%;
  max-width: 360px;
  background: #fff;
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.login-card h1 {
  margin: 0 0 4px;
  font-size: 1.5rem;
  text-align: center;
}
.login-card p { text-align: center; margin: 0 0 24px; }
.login-card label > span { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.login-card input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 16px;
}
.form-error {
  background: #fde8e8;
  color: var(--danger);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

/* ADMIN */
.admin-body { background: #f7f4ee; }
.filter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  align-items: center;
}
.filter-form select,
.filter-form input {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}
.table-wrap {
  background: #fff;
  border-radius: var(--radius);
  overflow: auto;
  box-shadow: var(--shadow);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.data-table th {
  background: var(--cream-2);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.data-table tr:last-child td { border-bottom: none; }
.row-inactive { opacity: 0.55; }
.actions { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.inline-form { display: inline; margin: 0; }
.inline-form select { padding: 4px 8px; font-size: 0.9rem; }
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--cream-2);
  color: var(--muted);
}
.badge-web { background: #e3edf6; color: #2c5b8a; }
.badge-bot { background: #e6f0e2; color: #3d5c42; }
.badge-on { background: #e6f0e2; color: #3d5c42; }
.badge-off { background: #f0e2e2; color: #8a3d3d; }

/* ADMIN FORM */
.admin-form {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 800px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.form-row label { margin-bottom: 14px; }
.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.checkbox-label input { width: auto; margin: 0; }
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

/* LANG SWITCHER */
.lang-switcher {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin-right: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lang-switcher a {
  color: var(--muted);
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
}
.lang-switcher a.active { color: var(--terracotta); }
.lang-switcher a:hover { color: var(--terracotta); text-decoration: none; }
.lang-switcher span { color: var(--line); }

/* INTL-TEL-INPUT — match form palette */
.iti { width: 100%; display: block; }
.iti__tel-input,
.iti input[type="tel"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}
.iti__tel-input:focus,
.iti input[type="tel"]:focus {
  outline: none;
  border-color: var(--terracotta);
}
.iti--separate-dial-code .iti__selected-flag { background-color: var(--cream-2); }
.iti__country-list { font-family: inherit; }

/* HEADER LOGO with guide name */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 1px;
}
.logo-main {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}
.logo-sub {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
}
@media (max-width: 700px) {
  .logo-sub { display: none; }
}

/* GUIDE CARD on /about */
.guide-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  box-shadow: 0 2px 12px rgba(60, 40, 20, 0.05);
}
.guide-avatar {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), #8B3E22);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(198, 93, 58, 0.3);
}
.guide-initial {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  line-height: 1;
}
.guide-name { font-size: 1.6rem; font-weight: 700; margin: 0 0 4px; color: var(--ink); }
.guide-role { font-size: 1rem; color: var(--muted); margin: 0 0 12px; }
.guide-bio { font-size: 1rem; line-height: 1.6; color: var(--ink); }
.guide-bio p { margin: 0 0 12px; }
.guide-bio p:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
  .guide-card { flex-direction: column; text-align: center; padding: 24px; }
  .guide-avatar { width: 80px; height: 80px; }
  .guide-initial { font-size: 36px; }
}

/* REVIEWS */
.reviews { padding: 80px 0; background: var(--cream-2); }
.reviews .section-title { text-align: center; margin: 0 0 8px; font-size: 2rem; }
.reviews .section-subtitle { text-align: center; color: var(--muted); margin: 0 0 40px; font-size: 1rem; }
.section-subtitle { color: var(--muted); }
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.review-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(60, 40, 20, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-stars { color: #E8B14F; font-size: 1rem; letter-spacing: 2px; }
.review-text { font-size: 0.98rem; line-height: 1.6; color: var(--ink); flex-grow: 1; }
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), #8B3E22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.review-name { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.review-location { font-size: 0.82rem; color: var(--muted); }
.review-location a { color: var(--terracotta); text-decoration: none; }
.review-location a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews { padding: 60px 0; }
  .reviews .section-title { font-size: 1.6rem; }
}

/* GALLERY SLIDER (tour page) */
.gallery { margin-bottom: 32px; }
.gallery-main {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--cream-2);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: var(--ink);
  z-index: 2;
  line-height: 1;
}
.gallery-arrow:hover { background: #fff; }
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 4px;
}
.gallery-thumb {
  flex-shrink: 0;
  width: 100px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--cream-2);
  padding: 0;
  transition: border-color 0.2s, transform 0.2s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.active { border-color: var(--terracotta); }
.gallery-thumb:hover { transform: translateY(-2px); }
@media (max-width: 600px) {
  .gallery-arrow { width: 36px; height: 36px; font-size: 20px; }
  .gallery-thumb { width: 80px; height: 56px; }
}

/* Booking date error highlight */
.booking-form .input-error,
input.input-error { border-color: var(--danger) !important; box-shadow: 0 0 0 2px rgba(179, 58, 58, 0.15); }

/* ADMIN CALENDAR */
.calendar-legend {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}
.calendar-legend li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.calendar-legend .cal-cell {
  width: 18px;
  height: 18px;
  display: inline-block;
  border-radius: 4px;
  padding: 0;
  border: 1px solid var(--line);
}

.calendar-grid {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
  background: #fff;
  padding: 12px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  table-layout: fixed;
}
.calendar-grid th {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 700;
  padding: 4px;
}
.calendar-grid td.cal-td { padding: 0; vertical-align: top; }
.calendar-grid td.cal-td form { margin: 0; }
.calendar-grid td.is-today .cal-cell { box-shadow: 0 0 0 2px var(--terracotta); }
.cal-cell {
  display: block;
  width: 100%;
  min-height: 56px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  position: relative;
  padding: 6px 8px;
  text-align: left;
  font-family: inherit;
}
.cal-cell:hover { transform: translateY(-1px); }
button.cal-cell { width: 100%; }
.cal-day {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  display: block;
}
.cal-tag {
  position: absolute;
  bottom: 4px;
  right: 6px;
  font-size: 0.72rem;
  font-weight: 600;
}
.cal-free { background: #fff; }
.cal-free:hover { background: var(--cream); }
.cal-new { background: #FFF6DD; border-color: #E8C470; }
.cal-auto { background: #FBE3E3; border-color: #E2A2A2; cursor: not-allowed; }
.cal-auto .cal-day { color: #8a3d3d; }
.cal-manual { background: #4A4A4A; border-color: #333; color: #fff; }
.cal-manual .cal-day { color: #fff; }
.cal-manual .cal-tag { color: #fff; }
.cal-past { background: #f0ebe3; opacity: 0.55; cursor: not-allowed; }
@media (max-width: 760px) {
  .calendar-grid { font-size: 0.8rem; }
  .cal-cell { min-height: 44px; padding: 4px 6px; }
}

/* HAMBURGER MENU */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
  z-index: 11;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 800px) {
  .menu-toggle { display: flex; }
  .site-header { position: relative; }
  .nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-top: 1px solid var(--line);
    padding: 20px 24px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    box-shadow: 0 8px 24px rgba(60, 40, 20, 0.1);
    z-index: 10;
  }
  .nav.main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav.main-nav a { padding: 10px 14px; font-size: 1rem; }
  .nav.main-nav .btn-tg { width: 100%; text-align: center; }
  .nav.main-nav .lang-switcher { justify-content: center; padding: 6px 0; }
}

/* MOBILE STICKY CTA on tour page */
.mobile-sticky-cta { display: none; }
@media (max-width: 900px) {
  .mobile-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(250, 246, 240, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    box-shadow: 0 -4px 16px rgba(60, 40, 20, 0.1);
    z-index: 50;
    border-top: 1px solid var(--line);
  }
  .mobile-sticky-cta .btn { width: 100%; min-height: 48px; font-size: 1rem; }
  body { padding-bottom: 80px; }
}

/* ADMIN FORM TABS (tour-edit RU/EN) */
.form-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--line);
}
.form-tab {
  background: none;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  font-weight: 500;
}
.form-tab.active {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
  font-weight: 700;
}
.form-tab-content.hidden { display: none; }
.form-sep { border: none; border-top: 1px solid var(--line); margin: 28px 0 24px; }

/* ADMIN CALENDAR NAV */
.calendar-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0 16px;
}
.calendar-range {
  font-weight: 600;
  color: var(--ink);
  flex: 1;
  text-align: center;
  min-width: 200px;
}
@media (max-width: 600px) {
  .calendar-nav { flex-direction: column; align-items: stretch; }
  .calendar-nav .btn { width: 100%; }
  .calendar-range { padding: 6px 0; }
}

/* Filter chips — bump contrast (#3.5 polish) */
.chip {
  border-color: var(--terracotta);
  color: var(--terracotta);
  font-weight: 600;
}
.chip:hover { background: rgba(198, 93, 58, 0.08); border-color: var(--terracotta); }
.chip.active { color: #fff; }

/* Smaller guide avatar on mobile (#3.5 polish) */
@media (max-width: 600px) {
  .guide-avatar { width: 64px; height: 64px; }
  .guide-initial { font-size: 28px; }
}

/* RESPONSIVE */
@media (max-width: 700px) {
  .hero { padding: 50px 0 60px; }
  .header-inner { gap: 10px; }
  .section { padding: 40px 0; }
  .data-table { font-size: 0.85rem; }
  .data-table th, .data-table td { padding: 8px 10px; }
}
