/* =====================================================================
   TOURCENTR — ОСНОВНЫЕ СТИЛИ (Заменяет Elementor и inline-стили)
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Onest:wght@300;400;500;600;700&display=swap');

/* --- ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ И СБРОС --- */
:root {
  --rice-50: #faf8f5;
  --rice-100: #f4efeb;
  --rice-200: #e9e1d6;
  --rice-300: #d8ccc0;
  --charcoal-100: #ecebe8;
  --charcoal-200: #d7d5d0;
  --charcoal-300: #b7b4ac;
  --charcoal-400: #8d897f;
  --charcoal-500: #676359;
  --charcoal-600: #4d4a42;
  --charcoal-700: #393630;
  --charcoal-800: #252320;
  --charcoal-900: #171614;
  --charcoal-950: #0c0b0a;
  --terracotta-100: #faeae4;
  --terracotta-200: #f4d4c8;
  --terracotta-500: #c7674b;
  --terracotta-600: #b04f34;
  --terracotta-700: #913d26;
  --terracotta-800: #763321;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.tc-page, .tc-header, .tc-footer {
  box-sizing: border-box;
  font-family: var(--sans);
  color: var(--charcoal-900);
  -webkit-font-smoothing: antialiased;
}
.tc-page *, .tc-header *, .tc-footer *,
.tc-page *::before, .tc-header *::before, .tc-footer *::before,
.tc-page *::after, .tc-header *::after, .tc-footer *::after {
  box-sizing: border-box;
}

.tc-page {
  background: var(--rice-50);
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

.tc-page img { max-width: 100%; height: auto; display: block; }
.tc-page a, .tc-header a, .tc-footer a { color: inherit; text-decoration: none; transition: color .2s; }
.tc-page ul, .tc-header ul, .tc-footer ul { list-style: none; margin: 0; padding: 0; }
.tc-page h1, .tc-page h2, .tc-page h3, .tc-page h4 { 
  font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; margin: 0; color: var(--charcoal-900); 
}

/* --- УТИЛИТЫ И КОМПОНЕНТЫ --- */
.tc-page .tc-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.tc-page .tc-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--charcoal-600); font-weight: 500;
}
.tc-page .tc-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta-600); }

/* Кнопки */
.tc-page .tc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; font-size: 14px; font-weight: 500; border-radius: 2px;
  transition: .2s; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.tc-page .tc-btn-primary { background: var(--charcoal-900); color: var(--rice-50); }
.tc-page .tc-btn-primary:hover { background: var(--terracotta-700); }
.tc-page .tc-btn-ghost { background: var(--rice-100); color: var(--charcoal-800); border-color: rgba(215,213,208,.7); }
.tc-page .tc-btn-ghost:hover { background: var(--rice-200); }

/* Секции */
.tc-page .tc-sect { padding: 80px 0; border-bottom: 1px solid rgba(215,213,208,.5); }
@media(max-width: 640px) { .tc-page .tc-sect { padding: 56px 0; } }
.tc-page .tc-sect-head { max-width: 720px; margin-bottom: 48px; }
.tc-page .tc-sect-head h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.15; margin: 12px 0 16px; }
.tc-page .tc-sect-head p { color: var(--charcoal-600); font-size: 16px; margin: 0; }

/* Иконки */
.tc-page svg.tc-svg, .tc-header svg.tc-svg {
  width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* =====================================================================
   HEADER (Шапка)
   ===================================================================== */
.tc-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 245, .94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(215,213,208,.5);
}
.tc-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px; max-width: 1280px; margin: 0 auto; padding: 0 20px;
}
.tc-logo { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: .02em; color: var(--charcoal-900); }

/* Навигация */
.tc-nav { display: flex; gap: 26px; align-items: center; }
.tc-nav > li { position: relative; }
.tc-nav > li > a { font-size: 14px; color: var(--charcoal-700); padding: 6px 0; display: inline-flex; align-items: center; gap: 4px; font-weight: 500; }
.tc-nav > li > a:hover { color: var(--terracotta-700); }
.tc-nav .tc-caret { width: 10px; height: 10px; stroke-width: 2.4; }
.tc-nav .tc-sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 190px; background: var(--rice-50); border: 1px solid rgba(215,213,208,.7);
  border-radius: 2px; padding: 8px 0; margin-top: 6px; opacity: 0; visibility: hidden;
  transition: .18s; box-shadow: 0 12px 28px -18px rgba(0,0,0,.35);
}
.tc-nav > li:hover .tc-sub { opacity: 1; visibility: visible; }
.tc-nav .tc-sub a { display: block; padding: 7px 18px; font-size: 13px; color: var(--charcoal-700); }
.tc-nav .tc-sub a:hover { background: var(--rice-100); color: var(--terracotta-700); }

/* CTA и корзина */
.tc-header-cta { display: flex; align-items: center; gap: 14px; }
.tc-header-cart { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--charcoal-700); padding: 8px 0; }
.tc-header-cart:hover { color: var(--terracotta-700); }
.tc-header-cart svg { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Кнопка "Подобрать тур" (Фикс Customify) */
.tc-header-btn-icon { display: none; }
.tc-header-btn {
  display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
  padding: 11px 22px !important; font-size: 14px !important; font-weight: 500 !important; line-height: 1 !important;
  color: var(--rice-50) !important; background: var(--charcoal-900) !important;
  border: 1px solid var(--charcoal-900) !important; border-radius: 2px !important;
  white-space: nowrap; cursor: pointer; font-family: var(--sans) !important;
  text-transform: none !important; letter-spacing: normal !important;
  min-height: 0 !important; box-shadow: none !important; text-decoration: none !important;
  transition: background .2s, border-color .2s !important;
}
.tc-header-btn:hover { background: var(--terracotta-700) !important; border-color: var(--terracotta-700) !important; color: var(--rice-50) !important; }

/* Бургер */
.tc-burger {
  display: none; width: 44px; height: 44px; padding: 0; margin: 0;
  background: transparent; border: 0; cursor: pointer; align-items: center; justify-content: center;
  color: var(--charcoal-900); border-radius: 2px; -webkit-tap-highlight-color: transparent;
}
.tc-burger:hover { background: var(--rice-100); }
.tc-burger svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }

/* Мобильное меню (панель) */
.tc-mobile { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(23,22,20,.5); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; z-index: 999999; }
.tc-mobile.is-open { opacity: 1; visibility: visible; }
.tc-mobile-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 88vw); background: var(--rice-50); transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch; box-shadow: -12px 0 32px -20px rgba(0,0,0,.4); }
.tc-mobile.is-open .tc-mobile-panel { transform: translateX(0); }
.tc-mobile-head { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--charcoal-200); flex: none; }
.tc-mobile-title { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--charcoal-900); margin: 0; }
.tc-mobile-close { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; margin: 0; background: transparent; border: 0; cursor: pointer; color: var(--charcoal-700); border-radius: 2px; }
.tc-mobile-close:hover { background: var(--rice-100); color: var(--charcoal-900); }
.tc-mobile-close svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.tc-mobile-nav { padding: 8px 0; flex: 1; }
.tc-mobile-nav a, .tc-mobile-nav summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; font-size: 15px; color: var(--charcoal-800); font-weight: 500; cursor: pointer; transition: background .15s, color .15s; list-style: none; }
.tc-mobile-nav summary::-webkit-details-marker { display: none; }
.tc-mobile-nav a:hover, .tc-mobile-nav summary:hover { background: var(--rice-100); color: var(--terracotta-700); }
.tc-mobile-nav summary::after { content: ""; width: 8px; height: 8px; flex: none; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: auto; transition: transform .2s; }
.tc-mobile-nav details[open] summary::after { transform: rotate(-135deg); }
.tc-mobile-sub { padding: 0; background: var(--rice-100); }
.tc-mobile-sub a { padding: 12px 20px 12px 36px; font-size: 14px; font-weight: 400; }
.tc-mobile-foot { padding: 16px 20px 24px; border-top: 1px solid var(--charcoal-200); flex: none; }
.tc-mobile-foot .tc-btn { width: 100%; display: flex; }

/* Адаптив шапки */
@media(max-width: 1024px) {
  .tc-nav, .tc-header-cart-text { display: none; }
  .tc-header-inner { height: 64px; padding: 0 16px; gap: 10px; flex-wrap: nowrap; }
  .tc-logo { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 22px; }
  .tc-header-cta { flex: 0 0 auto; gap: 6px; }
  .tc-header-cart { flex: 0 0 auto; padding: 8px 4px; }
  .tc-header-cart svg { width: 22px; height: 22px; }
  .tc-header-btn { flex: 0 0 auto; width: 44px !important; height: 44px !important; padding: 0 !important; gap: 0 !important; }
  .tc-header-btn-text { display: none; }
  .tc-header-btn-icon { display: block !important; width: 18px !important; height: 18px !important; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .tc-burger { display: inline-flex !important; flex: 0 0 auto; }
}

/* =====================================================================
   HERO + SEARCH BAR (с фиксом синей кнопки Customify)
   ===================================================================== */
.tc-hero { position: relative; padding: 72px 0 88px; background: var(--rice-50); }
.tc-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.tc-hero h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; margin: 16px 0 20px; }
.tc-hero-lead { font-size: 18px; color: var(--charcoal-600); max-width: 540px; margin-bottom: 32px; }
.tc-hero-img { aspect-ratio: 4/3; overflow: hidden; border: 1px solid rgba(215,213,208,.7); border-radius: 2px; background: var(--rice-200); }
.tc-hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media(max-width: 900px) { .tc-hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Поисковая строка */
.tc-search { margin-top: 28px; background: var(--rice-100); border: 1px solid rgba(215,213,208,.7); border-radius: 2px; padding: 16px; }
.tc-search-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.tc-search label { position: relative; display: block; }
.tc-search select {
  width: 100%; padding: 13px 40px 13px 16px !important; background-color: var(--rice-50) !important;
  border: 1px solid rgba(215,213,208,.8) !important; border-radius: 2px !important;
  font-family: var(--sans) !important; font-size: 14px !important; color: var(--charcoal-900) !important;
  outline: none !important; appearance: none !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23676359' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
  background-repeat: no-repeat !important; background-position: right 14px center !important; background-size: 14px !important; cursor: pointer;
}
.tc-search select:focus { border-color: var(--terracotta-600) !important; }
.tc-search button {
  padding: 13px 26px !important; background: var(--charcoal-900) !important; color: var(--rice-50) !important;
  border: 0 !important; border-radius: 2px !important; font-family: var(--sans) !important; font-size: 14px !important; font-weight: 500 !important;
  cursor: pointer; transition: .2s; white-space: nowrap; text-transform: none !important; box-shadow: none !important; min-height: 0 !important;
}
.tc-search button:hover { background: var(--terracotta-700) !important; color: var(--rice-50) !important; }
@media(max-width: 640px) { .tc-search-row { grid-template-columns: 1fr; } }

/* =====================================================================
   БАННЕРЫ НАПРАВЛЕНИЙ
   ===================================================================== */
.tc-banners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tc-banner { position: relative; aspect-ratio: 4/5; border-radius: 2px; overflow: hidden; border: 1px solid rgba(215,213,208,.7); background: var(--charcoal-950); display: block; }
.tc-banner img { width: 100%; height: 100%; object-fit: cover; transition: .7s; opacity: .92; }
.tc-banner:hover img { transform: scale(1.06); opacity: 1; }
.tc-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(12,11,10,.85)); pointer-events: none; }
.tc-banner-info { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; color: var(--rice-50); }
.tc-banner-info h3 { font-family: var(--serif); font-size: 22px; line-height: 1.15; color: var(--rice-50); margin-bottom: 4px; }
.tc-banner-info span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(250,248,245,.75); display: block; }
@media(max-width: 900px) { .tc-banners { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 480px) { .tc-banners { grid-template-columns: 1fr; } }

/* =====================================================================
   ОТЗЫВЫ (REVIEWS)
   ===================================================================== */
.tc-reviews { background: rgba(244,239,235,.5); }
.tc-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tc-review { border-radius: 2px; overflow: hidden; background: var(--rice-50); border: 1px solid rgba(215,213,208,.7); display: flex; flex-direction: column; transition: .3s; }
.tc-review:hover { border-color: var(--charcoal-300); transform: translateY(-3px); box-shadow: 0 24px 40px -30px rgba(0,0,0,.3); }
.tc-review-img { aspect-ratio: 16/10; overflow: hidden; background: var(--rice-200); }
.tc-review-img img { width: 100%; height: 100%; object-fit: cover; transition: .6s; }
.tc-review:hover .tc-review-img img { transform: scale(1.05); }
.tc-review-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.tc-review-body h3 { font-family: var(--serif); font-size: 19px; line-height: 1.25; margin: 0; }
.tc-review-body h3 a:hover { color: var(--terracotta-700); }
@media(max-width: 1024px) { .tc-review-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media(max-width: 640px) { .tc-review-grid { grid-template-columns: 1fr; gap: 18px; } }

/* =====================================================================
   ТУРЫ (TOURS)
   ===================================================================== */
.tc-tours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tc-tour { background: var(--rice-50); border: 1px solid rgba(215,213,208,.7); border-radius: 2px; overflow: hidden; display: flex; flex-direction: column; transition: .3s; }
.tc-tour:hover { border-color: var(--charcoal-300); box-shadow: 0 24px 40px -30px rgba(0,0,0,.3); }
.tc-tour-img { position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--rice-200); }
.tc-tour-img img { width: 100%; height: 100%; object-fit: cover; transition: .6s; }
.tc-tour:hover .tc-tour-img img { transform: scale(1.05); }
.tc-tour-price { position: absolute; bottom: 12px; right: 12px; background: rgba(12,11,10,.85); backdrop-filter: blur(6px); padding: 6px 14px; border-radius: 2px; color: var(--rice-50); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tc-tour-loc { position: absolute; top: 12px; left: 12px; background: rgba(250,248,245,.95); backdrop-filter: blur(6px); padding: 4px 12px; border: 1px solid rgba(215,213,208,.6); border-radius: 2px; font-size: 11px; font-weight: 500; color: var(--charcoal-800); display: inline-flex; align-items: center; gap: 5px; }
.tc-tour-loc svg { width: 11px; height: 11px; color: var(--terracotta-600); }
.tc-tour-body { padding: 22px 22px 20px; flex: 1; display: flex; flex-direction: column; }
.tc-tour-body h3 { font-size: 19px; line-height: 1.25; margin: 0 0 10px; }
.tc-tour-body h3 a:hover { color: var(--terracotta-700); }
.tc-tour-desc { font-size: 13.5px; color: var(--charcoal-600); line-height: 1.55; margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tc-tour-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(215,213,208,.6); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tc-tour-meta { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; color: var(--charcoal-500); }
.tc-tour-meta span { display: inline-flex; align-items: center; gap: 6px; }
.tc-tour-meta svg { width: 12px; height: 12px; color: var(--terracotta-600); }
.tc-tour-btn { font-size: 12.5px; font-weight: 500; color: var(--terracotta-700); display: inline-flex; align-items: center; gap: 5px; transition: .2s; }
.tc-tour-btn:hover { gap: 9px; color: var(--terracotta-800); }
.tc-tour-btn svg { width: 13px; height: 13px; }
@media(max-width: 1024px) { .tc-tours { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 640px) { .tc-tours { grid-template-columns: 1fr; } }

/* =====================================================================
   СОБЫТИЯ / ОТЕЛИ (CAROUSEL)
   ===================================================================== */
.tc-carousel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tc-ev { background: var(--rice-50); border: 1px solid rgba(215,213,208,.7); border-radius: 2px; overflow: hidden; transition: .3s; display: flex; flex-direction: column; }
.tc-ev:hover { border-color: var(--charcoal-300); transform: translateY(-3px); box-shadow: 0 24px 40px -30px rgba(0,0,0,.3); }
.tc-ev-img { aspect-ratio: 4/3; overflow: hidden; background: var(--rice-200); }
.tc-ev-img img { width: 100%; height: 100%; object-fit: cover; transition: .6s; }
.tc-ev:hover .tc-ev-img img { transform: scale(1.05); }
.tc-ev-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.tc-ev-body h4 { font-family: var(--serif); font-size: 16px; line-height: 1.3; margin: 0 0 6px; }
.tc-ev-body h4 a:hover { color: var(--terracotta-700); }
.tc-ev-body p { font-size: 12px; color: var(--charcoal-500); margin: 0; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media(max-width: 1024px) { .tc-carousel { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 560px) { .tc-carousel { grid-template-columns: 1fr; } }

/* =====================================================================
   CTA БАННЕР
   ===================================================================== */
.tc-cta { background: rgba(244,239,235,.6); }
.tc-cta-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; border: 1px solid rgba(215,213,208,.7); border-radius: 2px; overflow: hidden; background: var(--rice-50); }
.tc-cta-img { aspect-ratio: 3/2; overflow: hidden; background: var(--rice-200); }
.tc-cta-img img { width: 100%; height: 100%; object-fit: cover; }
.tc-cta-content { padding: 36px 40px; }
.tc-cta-content h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; margin: 10px 0 14px; }
.tc-cta-content p { font-size: 14.5px; color: var(--charcoal-600); margin: 0 0 24px; }
@media(max-width: 820px) { .tc-cta-inner { grid-template-columns: 1fr; } .tc-cta-content { padding: 26px; } }

/* =====================================================================
   FOOTER (Подвал)
   ===================================================================== */
.tc-footer { background: var(--rice-100); border-top: 1px solid rgba(215,213,208,.7); padding: 64px 0 32px; color: var(--charcoal-800); }
.tc-footer .tc-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.tc-footer-grid { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 40px; margin-bottom: 44px; }
.tc-footer h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--charcoal-900); font-weight: 600; margin-bottom: 16px; }
.tc-footer-about p { font-size: 13px; color: var(--charcoal-600); max-width: 360px; margin: 12px 0 20px; }
.tc-footer-about .tc-legal { font-size: 11px; color: var(--charcoal-500); line-height: 1.6; }
.tc-footer-about .tc-legal strong { display: block; color: var(--charcoal-800); font-weight: 500; margin-bottom: 2px; }
.tc-footer ul { display: grid; gap: 10px; }
.tc-footer ul a { font-size: 13px; color: var(--charcoal-600); }
.tc-footer ul a:hover { color: var(--terracotta-700); }
.tc-footer-bottom { padding-top: 24px; border-top: 1px solid rgba(215,213,208,.6); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--charcoal-500); }
.tc-footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }
.tc-footer-bottom a:hover { color: var(--terracotta-700); }
@media(max-width: 820px) { .tc-footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* =====================================================================
   СТРАНИЦА УСЛУГ (Дополнительно)
   ===================================================================== */
.tc-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}
.tc-service-card {
  background: var(--rice-50);
  border: 1px solid rgba(215,213,208,.7);
  border-radius: 2px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: .3s;
}
.tc-service-card:hover {
  border-color: var(--charcoal-300);
  box-shadow: 0 12px 32px -16px rgba(0,0,0,.1);
}
.tc-service-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--rice-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--charcoal-900);
}
.tc-service-icon svg { width: 22px; height: 22px; fill: currentColor; }
.tc-service-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 12px;
  line-height: 1.25;
}
.tc-service-card p {
  font-size: 14px;
  color: var(--charcoal-600);
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.5;
}
.tc-service-card .tc-btn {
  align-self: flex-start;
}

/* Форма */
.tc-form-wrapper {
  background: var(--rice-100);
  padding: 40px;
  border-radius: 2px;
  border: 1px solid rgba(215,213,208,.7);
}
.tc-form-wrapper h2 {
  font-family: var(--serif);
  font-size: 32px;
  margin-bottom: 24px;
  text-align: center;
}
.tc-form-row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.tc-form-col { flex: 1; min-width: 280px; }
.tc-form-col p { margin-bottom: 16px; }
.tc-form-col input[type="text"],
.tc-form-col input[type="email"],
.tc-form-col textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--rice-50);
  border: 1px solid rgba(215,213,208,.8);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--charcoal-900);
  outline: none;
}
.tc-form-col input[type="text"]:focus,
.tc-form-col input[type="email"]:focus,
.tc-form-col textarea:focus {
  border-color: var(--terracotta-600);
}
.tc-form-col input[type="submit"] {
  background: var(--charcoal-900);
  color: var(--rice-50);
  border: none;
  padding: 14px 32px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 2px;
  transition: .2s;
  width: 100%;
  font-size: 14px;
}
.tc-form-col input[type="submit"]:hover {
  background: var(--terracotta-700);
}

/* Чекбоксы CF7 */
.wpcf7-checkbox { display: flex; flex-direction: column; gap: 12px; }
.wpcf7-list-item { margin: 0; display: flex; align-items: flex-start; }
.wpcf7-list-item label { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; color: var(--charcoal-700); }
.wpcf7-list-item input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--charcoal-900); margin: 0; }

/* =====================================================================
   FIND PAGE — Layout, Filters, Pagination
   ===================================================================== */
.tc-find-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .tc-find-layout { grid-template-columns: 1fr; gap: 24px; }
}

/* ── Сайдбар ──────────────────────────────────────────────── */
.tc-filters {
  position: sticky;
  top: 92px;
  background: var(--rice-100);
  border: 1px solid rgba(215, 213, 208, .7);
  border-radius: 2px;
  padding: 20px 20px 24px;
}
@media (max-width: 900px) {
  .tc-filters { position: static; }
}

.tc-filter-group {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(215, 213, 208, .5);
}
.tc-filter-group:last-of-type {
  border-bottom: none;
  margin-bottom: 12px;
}

.tc-filter-group h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--charcoal-900);
  margin: 0 0 10px;
}

.tc-filter-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--charcoal-700);
  padding: 5px 0;
  cursor: pointer;
  transition: color .15s;
  line-height: 1.35;
}
.tc-filter-group label:hover { color: var(--terracotta-700); }
.tc-filter-group input[type="radio"],
.tc-filter-group input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--charcoal-900);
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
}

.tc-filter-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.tc-filter-actions .tc-btn {
  width: 100%;
  padding: 10px 16px;
  font-size: 13px;
}

/* ── Пагинация ────────────────────────────────────────────── */
.tc-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 44px;
}
.tc-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--sans);
  color: var(--charcoal-800);
  background: var(--rice-50);
  border: 1px solid rgba(215, 213, 208, .7);
  border-radius: 2px;
  transition: background .18s, border-color .18s, color .18s;
  text-decoration: none;
}
.tc-pagination .page-numbers:hover {
  background: var(--rice-200);
  border-color: var(--charcoal-300);
  color: var(--terracotta-700);
}
.tc-pagination .page-numbers.current {
  background: var(--charcoal-900);
  border-color: var(--charcoal-900);
  color: var(--rice-50);
  cursor: default;
}
.tc-pagination .page-numbers.dots {
  background: transparent;
  border-color: transparent;
  cursor: default;
}

/* ── Пустое состояние ─────────────────────────────────────── */
.tc-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--rice-100);
  border: 1px solid rgba(215, 213, 208, .7);
  border-radius: 2px;
}
.tc-empty h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 10px;
}
.tc-empty p {
  color: var(--charcoal-600);
  margin-bottom: 24px;
}

/* Сброс стилей для списков в меню */
.tc-mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* =========================================================
   MOBILE MENU — Родитель + кнопка-toggle
   ========================================================= */
.tc-mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tc-mobile-parent {
    display: block;
}

.tc-mobile-row {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    background: transparent;
    border-bottom: 1px solid rgba(215,213,208,.35);
}

.tc-mobile-row .tc-mobile-link {
    flex: 1;
    display: flex !important;
    align-items: center;
    padding: 14px 20px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--charcoal-800) !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
}

.tc-mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    cursor: pointer;
    color: var(--charcoal-700) !important;
    flex: 0 0 auto;
    transition: background .15s;
    box-shadow: none !important;
    min-height: 0 !important;
}

.tc-mobile-toggle:hover {
    background: var(--rice-200) !important;
}

.tc-mobile-toggle .tc-caret {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    transition: transform .2s;
    display: block;
}

.tc-mobile-toggle[aria-expanded="true"] .tc-caret {
    transform: rotate(180deg);
}

/* Подменю — скрыто по умолчанию */
.tc-mobile-parent .tc-mobile-sub {
    display: none !important;
    padding: 0;
    background: var(--rice-100);
    border-bottom: 1px solid rgba(215,213,208,.35);
}

.tc-mobile-parent.is-open .tc-mobile-sub {
    display: block !important;
}

.tc-mobile-parent .tc-mobile-sub a {
    display: block !important;
    padding: 12px 20px 12px 36px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--charcoal-700) !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(215,213,208,.25);
    line-height: 1.3 !important;
}

.tc-mobile-parent .tc-mobile-sub a:last-child {
    border-bottom: none;
}

.tc-mobile-parent .tc-mobile-sub a:hover {
    background: var(--rice-200) !important;
    color: var(--terracotta-700) !important;
}

/* Простой пункт без подменю */
.tc-mobile-simple {
    display: flex !important;
    align-items: center;
    padding: 14px 20px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--charcoal-800) !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(215,213,208,.35);
    line-height: 1.3 !important;
}

.tc-mobile-simple:hover {
    background: var(--rice-100) !important;
    color: var(--terracotta-700) !important;
}