@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
  /* Apple System Colors - Light Mode (HIG Standard) */
  --background: #f5f5f7;
  --card-background: #ffffff;
  --text-primary: #1d1d1f;        /* HIG primary */
  --text-secondary: #6e6e73;      /* HIG secondary */
  --text-tertiary: #86868b;       /* HIG tertiary */
  --accent: #0071e3;             /* Apple Blue */
  --accent-hover: #0077ed;
  --accent-bg: rgba(0, 113, 227, 0.06);
  --border: rgba(0, 0, 0, 0.08);
  --input-bg: #f5f5f7;
  --input-border: transparent;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);
  
  --header-bg: rgba(245, 245, 247, 0.72);
  --filter-bg: rgba(255, 255, 255, 0.72);
  
  --success: #1d9d35;
  --success-bg: rgba(29, 157, 53, 0.08);
  --success-border: rgba(29, 157, 53, 0.15);
  
  --transition-bezier: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-duration: 0.4s;
}

.dark {
  /* Apple System Colors - Dark Mode (HIG & Apple.com standard) */
  --background: #161617;         /* Apple dark canvas */
  --card-background: #1d1d1f;    /* Apple dark card tile */
  --text-primary: #f5f5f7;       /* Apple primary text */
  --text-secondary: #8e8e93;     /* Apple secondary HIG text */
  --text-tertiary: #6e6e73;      /* Apple tertiary HIG text */
  --accent: #2997ff;             /* Apple dark blue link */
  --accent-hover: #54aeff;
  --accent-bg: rgba(41, 151, 255, 0.1);
  --border: rgba(255, 255, 255, 0.08);
  --input-bg: #2d2d30;
  --input-border: transparent;
  --shadow: none;
  --shadow-hover: none;
  
  --header-bg: rgba(22, 22, 23, 0.75); /* Translucent Apple dark header */
  --filter-bg: rgba(29, 29, 31, 0.75);
  
  --success: #30d158;
  --success-bg: rgba(48, 209, 88, 0.12);
  --success-border: rgba(48, 209, 88, 0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.47;
  letter-spacing: -0.011em;
  transition: background-color var(--transition-duration) var(--transition-bezier);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-duration) var(--transition-bezier);
}

button,
input,
select {
  font: inherit;
  letter-spacing: inherit;
}

input::placeholder {
  color: var(--text-tertiary);
  opacity: 1; /* Переопределяет стандартную прозрачность браузера */
}

/* Header style */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 14px clamp(20px, 6vw, 80px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition-duration) var(--transition-bezier);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.022em;
  color: var(--text-primary);
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
  color: #ffffff;
  background: linear-gradient(135deg, #0071e3, #1f94ff);
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.2);
  letter-spacing: 0;
  transition: all 0.3s var(--transition-bezier);
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 6px 16px rgba(0, 113, 227, 0.3);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav a {
  transition: color var(--transition-duration) var(--transition-bezier);
}

.nav a:hover {
  color: var(--text-primary);
}

.header-phone {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 20px;
  background: var(--card-background);
  transition: all var(--transition-duration) var(--transition-bezier);
}

.header-phone:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-bg);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle {
  background: var(--card-background);
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all var(--transition-duration) var(--transition-bezier);
  position: relative;
  overflow: hidden;
  outline: none;
}

.theme-toggle:hover {
  background: var(--accent-bg);
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.05);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle svg {
  grid-area: 1 / 1;
  transition: transform 0.5s var(--transition-bezier), opacity 0.5s var(--transition-bezier);
}

/* Скрытие/показ иконок в зависимости от темы с вращением */
.theme-toggle .moon-icon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

.theme-toggle .sun-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.dark .theme-toggle .moon-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.dark .theme-toggle .sun-icon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: clamp(500px, 75vh, 700px);
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #000000;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  filter: saturate(1.1) brightness(0.85);
  transition: transform 6s var(--transition-bezier);
}

.hero:hover .hero-image {
  transform: scale(1.03);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 820px;
  padding: 80px clamp(24px, 6vw, 80px) 110px;
  color: #ffffff;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #2997ff;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(38px, 6.2vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 4.2vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-copy {
  max-width: 600px;
  margin-bottom: 36px;
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.47;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Button & Interactive Elements */
.button,
.select-tour {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 0;
  border-radius: 24px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s var(--transition-bezier);
  text-align: center;
}

.button.primary {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.15);
}

.button.primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 18px rgba(0, 113, 227, 0.25);
}

.button.primary:active {
  transform: translateY(0) scale(0.98);
}

.button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px) scale(1.02);
}

.button.secondary:active {
  transform: translateY(0) scale(0.98);
}

/* Quick Search Filters in Apple Segmented Controls Style */
.quick-search-container {
  max-width: 1040px;
  margin: -48px auto 0;
  padding: 24px;
  position: relative;
  z-index: 10;
  background: var(--filter-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  transition: all var(--transition-duration) var(--transition-bezier);
}

.quick-search-container:hover {
  box-shadow: var(--shadow-hover);
}

.search-filters-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.group-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Segmented Control Base */
.segmented-control {
  display: flex;
  background: var(--input-bg);
  padding: 3px;
  border-radius: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.segmented-control::-webkit-scrollbar {
  display: none;
}
.segment-item {
  flex: 1;
  min-width: max-content;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 9px;
  transition: all 0.2s var(--transition-bezier);
}

.segment-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.segment-item span {
  position: relative;
  z-index: 2;
}

/* Active Segment State */
.segment-item:has(input[type="radio"]:checked) {
  color: var(--text-primary);
  background: var(--card-background);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 1px rgba(0, 0, 0, 0.04);
}

.dark .segment-item:has(input[type="radio"]:checked) {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(0, 0, 0, 0.2);
}

/* Budget Range Slider */
.budget-group {
  display: flex;
  flex-direction: column;
}

.budget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.budget-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.slider-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.slider-container input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
  padding: 0;
  margin: 10px 0;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.15);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.15s var(--transition-bezier);
}

.dark .slider-container input[type="range"]::-webkit-slider-thumb {
  background: #ffffff;
  border-color: rgba(255,255,255,0.2);
}

.slider-container input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-container input[type="range"]::-webkit-slider-thumb:active {
  transform: scale(0.95);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* Page Section Layout */
.section,
.benefits,
.request-section {
  max-width: 1140px;
  margin: 0 auto;
}
.section-heading {
  max-width: 700px;
  margin-bottom: 44px;
}

.section-heading h2 {
  margin-top: 6px;
}

.tour-showcases {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: 40px;
}

.tour-card {
  display: flex;
  flex-direction: column;
  background: var(--card-background);
  border: 1px solid var(--border);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition-duration) var(--transition-bezier);
}

.tour-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 113, 227, 0.15);
}

.dark .tour-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.tour-card[hidden] {
  display: none;
}

.tour-media {
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.tour-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--transition-bezier);
}

.tour-card:hover .tour-media img {
  transform: scale(1.05);
}

.tour-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
}

.tour-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px clamp(20px, 4vw, 48px);
  width: 100%;
}

.tour-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.tour-showcase h3 {
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-primary);
}

.tour-description {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Specs grid styled like Apple comparison specifications */
.tour-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 6px 0;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-value {
  font-size: clamp(24px, 3.8vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.spec-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

/* Action Bar with price and button */
.tour-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}

.tour-price {
  display: flex;
  flex-direction: column;
}

.price-from {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

.price-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.select-tour {
  background: var(--accent-bg);
  color: var(--accent);
  font-weight: 600;
  border-radius: 20px;
  min-height: 40px;
  padding: 0 20px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  transition: all 0.2s var(--transition-bezier);
}

.select-tour:hover {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-1px) scale(1.02);
}

.select-tour:active {
  transform: translateY(0) scale(0.98);
}

/* Empty State filters */
.empty-state {
  padding: 36px;
  margin: 32px 0 0;
  border: 1px dashed var(--accent);
  border-radius: 20px;
  color: var(--accent);
  background: var(--accent-bg);
  text-align: center;
  font-weight: 500;
  font-size: 15px;
}

/* --- Bento Grid for Benefits --- */
.benefits-section {
  padding: 96px 24px;
}

.benefit-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.bento-card {
  display: flex;
  background: var(--card-background);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px;
  transition: all var(--transition-duration) var(--transition-bezier);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 113, 227, 0.15);
}

.dark .bento-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.bento-card.bento-wide {
  grid-column: span 2;
}

.bento-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.bento-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 768px) {
  .bento-card.bento-wide .bento-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }
}

.bento-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-bg);
  color: var(--accent);
  flex-shrink: 0;
}

.bento-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

.bento-content p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
}

/* --- iOS Settings Console Request Form with Glassmorphism --- */
.request-section-centered {
  background: var(--background);
  padding: 96px 24px;
  transition: all var(--transition-duration) var(--transition-bezier);
}

.request-container {
  max-width: 600px;
  margin: 0 auto;
}

.request-form-console {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 44px;
}

.console-group {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition-duration) var(--transition-bezier);
}

.dark .console-group {
  background: rgba(29, 29, 31, 0.65);
  border-color: rgba(255, 255, 255, 0.08);
}

.console-row {
  display: flex;
  align-items: center;
  padding: 8px 24px;
  border-bottom: 1px solid var(--border);
  min-height: 56px;
  transition: background-color 0.2s var(--transition-bezier);
}

.console-row:last-child {
  border-bottom: 0;
}

.console-row:focus-within {
  background: rgba(0, 113, 227, 0.02);
}

.dark .console-row:focus-within {
  background: rgba(41, 151, 255, 0.02);
}

.console-label {
  width: 130px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  flex-shrink: 0;
  text-align: left;
}

.console-row input {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  min-height: auto;
  font-size: 14px;
  color: var(--text-primary);
  flex-grow: 1;
}

.console-row input:focus {
  background: transparent;
  border: 0;
  box-shadow: none;
  outline: none;
}

.console-button {
  width: 100%;
  min-height: 52px;
  font-size: 16px;
  border-radius: 26px;
}

.form-note {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.form-note.success {
  color: var(--success);
  font-weight: 600;
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  border-radius: 16px;
  padding: 18px;
  text-align: left;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(48, 209, 88, 0.05);
  margin-top: 20px;
}

/* Apple-style Multi-column Footer */
.site-footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  padding: 64px clamp(20px, 6vw, 80px) 48px;
  border-top: 1px solid var(--border);
  background: var(--card-background);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition-duration) var(--transition-bezier);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.footer-brand strong {
  font-size: 18px;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.footer-brand span {
  line-height: 1.5;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 60px;
  text-align: left;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.footer-col a {
  transition: color var(--transition-duration) var(--transition-bezier);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  grid-column: span 2;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-tertiary);
  text-align: left;
}

/* Responsive Styles */
@media (min-width: 901px) {
  .tour-showcase {
    flex-direction: row;
    min-height: 440px;
  }
  
  .tour-showcase:nth-child(even) {
    flex-direction: row-reverse;
  }
  
  .tour-showcase .tour-media {
    width: 45%;
    min-height: 100%;
  }
  
  .tour-showcase .tour-body {
    width: 55%;
  }
}

@media (min-width: 861px) {
  .search-filters-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 20px 24px;
  }
  
  .search-group {
    flex: 1;
    min-width: 250px;
  }
  
  .budget-group {
    flex: 1.2;
    min-width: 260px;
  }
}

@media (max-width: 1024px) {
  .benefit-bento-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-card.bento-wide {
    grid-column: span 1;
  }
  
  .quick-search-container {
    margin: -36px 20px 0;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 16px 24px;
  }

  .nav {
    grid-row: 2;
    grid-column: span 2;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 0;
    scrollbar-width: none;
  }
  
  .nav::-webkit-scrollbar {
    display: none;
  }

  .quick-search-container {
    margin: -24px 16px 0;
    padding: 20px;
  }

  .benefits,
  .request-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .request-section {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .site-footer {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
    gap: 40px;
  }
  
  .footer-brand {
    text-align: center;
  }
  
  .footer-bottom {
    grid-column: span 1;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .site-header {
    gap: 12px;
  }
  
  .header-phone {
    font-size: 13px;
    padding: 6px 12px;
  }

  .hero {
    min-height: 520px;
  }

  .hero-content {
    padding: 60px 24px 80px;
  }

  .tour-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .benefits-section,
  .request-section-centered {
    padding: 64px 20px;
  }

  .request-form {
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 32px 24px;
  }
}

/* Кастомный эффект перехода для View Transition API (расширяющийся круг) */
::view-transition-image-pair(root) {
  isolation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
  display: block;
  height: 100%;
}

::view-transition-old(root) {
  z-index: 1;
}

::view-transition-new(root) {
  z-index: 9999;
}

/* Отключение CSS-переходов во время активного View Transition для чистого рендеринга */
.no-transition,
.no-transition * {
  transition: none !important;
}
