/* =============================================
   Экскурсии по Дании — Стили
   ============================================= */

:root {
  color-scheme: light;

  /* Danish flag inspired palette */
  --color-red: #c8102e;
  --color-red-hover: #a50d25;
  --color-red-light: rgba(200, 16, 46, 0.08);
  --color-red-soft: rgba(200, 16, 46, 0.15);

  --color-white: #ffffff;
  --color-bg: #eef0f3;
  --color-bg-alt: #e2e5ea;
  --color-surface: #f5f6f8;

  --color-text: #1a2332;
  --color-text-muted: #5a6578;
  --color-text-light: #8892a4;

  --color-border: #d5dae0;
  --color-border-light: #dfe3e8;

  --color-header-bg: rgba(245, 246, 248, 0.92);
  --color-hero-gradient: linear-gradient(160deg, var(--color-surface) 0%, var(--color-bg) 60%, var(--color-red-light) 100%);
  --color-footer-bg: #1a2332;
  --color-footer-text: rgba(255, 255, 255, 0.75);
  --color-accent-number: rgba(200, 16, 46, 0.2);
  --color-image-overlay: rgba(26, 35, 50, 0.3);

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(26, 35, 50, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 35, 50, 0.08);
  --shadow-lg: 0 8px 32px rgba(26, 35, 50, 0.1);

  --header-height: 72px;
  --transition: 0.25s ease;
}

[data-theme='dark'] {
  color-scheme: dark;

  --color-red-light: rgba(200, 16, 46, 0.16);
  --color-red-soft: rgba(200, 16, 46, 0.28);

  --color-bg: #0f1419;
  --color-bg-alt: #171d26;
  --color-surface: #1c2430;

  --color-text: #eef1f5;
  --color-text-muted: #a8b2c4;
  --color-text-light: #7a8496;

  --color-border: #2d3848;
  --color-border-light: #252f3f;

  --color-header-bg: rgba(15, 20, 25, 0.92);
  --color-hero-gradient: linear-gradient(160deg, var(--color-surface) 0%, var(--color-bg) 55%, rgba(200, 16, 46, 0.12) 100%);
  --color-footer-bg: #080b0f;
  --color-footer-text: rgba(255, 255, 255, 0.7);
  --color-accent-number: rgba(200, 16, 46, 0.35);
  --color-image-overlay: rgba(0, 0, 0, 0.45);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.45);
}

/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition), color var(--transition);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section */
.section {
  padding: 80px 0;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
  margin-bottom: 16px;
}

.section__title--center {
  text-align: center;
}

.section__lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* Danish flag decorative element */
.danish-flag {
  display: inline-block;
  background-color: var(--color-red);
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}

.danish-flag::before,
.danish-flag::after {
  content: '';
  position: absolute;
  background-color: var(--color-white);
}

.danish-flag--sm {
  width: 28px;
  height: 20px;
}

.danish-flag--sm::before {
  width: 4px;
  height: 100%;
  left: 8px;
  top: 0;
}

.danish-flag--sm::after {
  width: 100%;
  height: 3px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.danish-flag--decorative {
  width: 80px;
  height: 56px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  position: absolute;
  bottom: -16px;
  left: -24px;
  z-index: 2;
}

.danish-flag--decorative::before {
  width: 10px;
  height: 100%;
  left: 24px;
  top: 0;
}

.danish-flag--decorative::after {
  width: 100%;
  height: 8px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: background-color var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-red);
  color: var(--color-white);
  border: 2px solid var(--color-red);
}

.btn--primary:hover {
  background-color: var(--color-red-hover);
  border-color: var(--color-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.25);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-red);
  border: 2px solid var(--color-red);
}

.btn--outline:hover {
  background-color: var(--color-red-light);
  transform: translateY(-1px);
}

.btn--ghost {
  background-color: var(--color-bg-alt);
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-red);
  color: var(--color-red);
  background-color: var(--color-red-light);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  height: var(--header-height);
  transition: box-shadow var(--transition), background-color var(--transition), border-color var(--transition);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  flex-shrink: 0;
}

.logo__flag {
  display: inline-block;
  width: 24px;
  height: 17px;
  background-color: var(--color-red);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.logo__flag::before,
.logo__flag::after,
.logo__flag--sm::before,
.logo__flag--sm::after {
  content: '';
  position: absolute;
  background-color: var(--color-white);
}

.logo__flag::before,
.logo__flag--sm::before {
  width: 3px;
  height: 100%;
  left: 7px;
  top: 0;
}

.logo__flag::after,
.logo__flag--sm::after {
  width: 100%;
  height: 2px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.logo__flag--sm {
  width: 20px;
  height: 14px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-red);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-red);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.header__cta {
  flex-shrink: 0;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
  transition: color var(--transition), background-color var(--transition), border-color var(--transition);
}

.theme-toggle:hover {
  color: var(--color-red);
  border-color: var(--color-red);
  background-color: var(--color-red-light);
}

.theme-toggle__icon {
  display: block;
}

.theme-toggle__icon--moon {
  display: none;
}

[data-theme='dark'] .theme-toggle__icon--sun {
  display: none;
}

[data-theme='dark'] .theme-toggle__icon--moon {
  display: block;
}

/* Burger menu */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition);
}

.burger:hover {
  background-color: var(--color-bg-alt);
}

.burger__line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.burger--active .burger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger--active .burger__line:nth-child(2) {
  opacity: 0;
}

.burger--active .burger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 80px;
  background: var(--color-hero-gradient);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--color-text);
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--color-text-muted);
  margin-bottom: 12px;
  max-width: 520px;
}

.hero__guide {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-red);
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__visual {
  position: relative;
}

.hero__image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero__image-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--color-image-overlay), transparent);
  pointer-events: none;
}

/* About */
.about {
  background-color: var(--color-surface);
}

.about__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: center;
}

.about__photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-slider {
  position: relative;
  aspect-ratio: 3 / 4;
  background-color: var(--color-bg-alt);
  touch-action: pan-y;
}

.about-slider__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.about-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.about-slider__slide--active {
  opacity: 1;
  pointer-events: auto;
}

.about-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.about-slider__btn:hover {
  background-color: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

.about-slider__btn--prev {
  left: 12px;
}

.about-slider__btn--next {
  right: 12px;
}

[data-theme='dark'] .about-slider__btn {
  background-color: rgba(28, 36, 48, 0.92);
  color: var(--color-text);
  border-color: var(--color-border);
}

.about__text {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about__text:last-child {
  margin-bottom: 0;
}

/* Tours info */
.tours-info {
  background-color: var(--color-bg-alt);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.feature-card {
  background-color: var(--color-surface);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 12px;
}

.feature-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Routes */
.routes {
  background-color: var(--color-surface);
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}

.route-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.route-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.route-card__image-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.route-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
}

.route-card__image--top {
  object-position: center 28%;
}

.route-card:hover .route-card__image {
  transform: scale(1.04);
}

.route-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.route-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.35;
}

.route-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.route-card__tag {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 10px;
  background-color: var(--color-red-light);
  color: var(--color-red);
  border-radius: 100px;
}

.route-card__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  flex: 1;
}

.route-card__link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-red);
  transition: gap var(--transition);
}

.route-card__link:hover {
  text-decoration: underline;
}

/* Why us */
.why-us {
  background-color: var(--color-bg-alt);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.why-card {
  background-color: var(--color-surface);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.why-card__number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent-number);
  line-height: 1;
  margin-bottom: 16px;
}

.why-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.why-card__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Reviews */
.reviews {
  background-color: var(--color-surface);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.review-card {
  background-color: var(--color-bg);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  transition: box-shadow var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
}

.review-card__text {
  font-size: 0.975rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}

.review-card__text::before {
  content: '\201C';
  font-size: 2rem;
  color: var(--color-red);
  opacity: 0.4;
  line-height: 0;
  display: block;
  margin-bottom: 8px;
}

.review-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-card__name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.review-card__route {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

/* Pricing */
.pricing {
  background-color: var(--color-bg-alt);
}

.pricing__box {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 40px;
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.pricing__text {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

/* Tour gallery */
.tour-gallery {
  background-color: var(--color-bg-alt);
  padding-top: 0;
}

.tour-gallery .section__title {
  margin-bottom: 32px;
}

.tour-gallery__slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 588px;
  margin: 0 auto;
  overflow: visible;
  touch-action: pan-y;
}

.tour-gallery__slides {
  order: 2;
  flex: 1;
  min-width: 0;
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-color: var(--color-surface);
  box-shadow: var(--shadow-md);
}

.tour-gallery__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.tour-gallery__slide--active {
  opacity: 1;
  pointer-events: auto;
}

.tour-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.tour-gallery__image--top {
  object-position: center 28%;
}

.tour-gallery__btn {
  position: static;
  transform: none;
  flex-shrink: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.tour-gallery__btn:hover {
  background-color: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

.tour-gallery__btn--prev {
  order: 1;
}

.tour-gallery__btn--next {
  order: 3;
}

[data-theme='dark'] .tour-gallery__btn {
  background-color: rgba(28, 36, 48, 0.92);
  color: var(--color-text);
  border-color: var(--color-border);
}

/* How to order */
.how-to-order {
  background-color: var(--color-surface);
}

.steps {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 72px;
  bottom: 0;
  width: 2px;
  background-color: var(--color-border);
}

.step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-red);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.step__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.step__text {
  color: var(--color-text-muted);
  font-size: 0.975rem;
}

/* Contacts */
.contacts {
  background-color: var(--color-bg-alt);
}

.contacts__grid {
  display: flex;
  justify-content: center;
}

.contacts__info {
  width: 100%;
  max-width: 480px;
  text-align: center;
}

.contacts__avatar {
  width: 168px;
  height: 168px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.contacts__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contacts__name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-red);
  margin-bottom: 24px;
}

.contacts__list {
  margin-bottom: 24px;
}

.contacts__list li {
  margin-bottom: 16px;
}

.contacts__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contacts__value {
  font-size: 1.05rem;
  color: var(--color-text);
  transition: color var(--transition);
}

.contacts__value:hover {
  color: var(--color-red);
}

.contacts__messengers-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.contacts__messengers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 420px;
  margin: 0 auto 28px;
}

.messenger-link {
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 20px;
  background-color: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: 100px;
  color: var(--color-text-muted);
  text-align: center;
  transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}

.messenger-link:hover {
  border-color: var(--color-red);
  color: var(--color-red);
  background-color: var(--color-red-light);
}

.messenger-link--stub {
  cursor: default;
  opacity: 0.7;
}

.messenger-link--stub:hover {
  border-color: var(--color-border);
  color: var(--color-text-muted);
  background-color: var(--color-surface);
}

.contacts__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
  margin: 0 auto;
}

.contacts__buttons .btn {
  justify-content: center;
}

/* Form */
.form-wrap {
  background-color: var(--color-surface);
  padding: 36px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-md);
}

.form-wrap__title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.form__group {
  margin-bottom: 18px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form__input {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--color-text);
  background-color: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form__input:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px var(--color-red-light);
}

.form__input::placeholder {
  color: var(--color-text-light);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a6578' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form__textarea {
  resize: vertical;
  min-height: 100px;
}

.form__success {
  margin-top: 20px;
  padding: 16px 20px;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  color: #065f46;
  font-size: 0.9375rem;
  text-align: center;
}

.form__success[hidden] {
  display: none;
}

/* Footer */
.footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--color-white);
}

.footer__contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
}

.footer__contacts a {
  transition: color var(--transition);
}

.footer__contacts a:hover {
  color: var(--color-white);
}

.footer__sep {
  opacity: 0.4;
}

.footer__copy {
  font-size: 0.8125rem;
  opacity: 0.6;
}

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 1024px) {
  .header__inner {
    gap: 16px;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding var(--transition);
    box-shadow: var(--shadow-md);
  }

  .nav--open {
    max-height: 360px;
    padding: 16px 20px 24px;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav__list li {
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-border-light);
  }

  .nav__link::after {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__content {
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__guide {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__photo-wrap {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .about__content .section__title {
    text-align: center;
  }

  .routes-grid {
    max-width: none;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .section {
    padding: 56px 0;
  }

  .section__lead {
    margin-bottom: 36px;
    font-size: 1rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 48px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__visual {
    max-width: none;
  }

  .about__photo-wrap {
    max-width: none;
  }

  .about-slider {
    aspect-ratio: 4 / 5;
    min-height: 300px;
  }

  .about-slider__btn {
    width: 44px;
    height: 44px;
  }

  .about-slider__btn--prev {
    left: 8px;
  }

  .about-slider__btn--next {
    right: 8px;
  }

  .tour-gallery__slider {
    gap: 10px;
    max-width: min(100%, 488px);
  }

  .tour-gallery__btn {
    width: 40px;
    height: 40px;
  }

  .about__text {
    font-size: 1rem;
  }

  .routes-grid {
    gap: 20px;
  }

  .route-card__body {
    padding: 20px;
  }

  .review-card {
    padding: 24px 20px;
  }

  .pricing__box {
    padding: 40px 24px;
  }

  .step {
    gap: 16px;
    padding: 24px 0;
  }

  .step:not(:last-child)::after {
    left: 19px;
    top: 60px;
  }

  .step__number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .contacts__avatar {
    width: 148px;
    height: 148px;
  }

  .contacts__info {
    max-width: none;
  }

  .contacts__messengers {
    max-width: none;
  }

  .messenger-link {
    padding: 12px 16px;
    font-size: 0.9375rem;
  }

  .danish-flag--decorative {
    width: 60px;
    height: 42px;
    bottom: -12px;
    left: -16px;
  }

  .form-wrap {
    padding: 24px 20px;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .logo__text {
    font-size: 0.875rem;
  }

  .header__inner {
    gap: 10px;
  }

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

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

  .route-card__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .contacts__messengers {
    gap: 10px;
  }

  .footer {
    padding: 32px 0;
  }
}
