/* ============================================
   AVTOEKSKURSII-ALTAY.RU
   Moodboard: alpine night + amber fire + teal mist
   ============================================ */

:root {
  --bg-dark: #0c1210;
  --bg-card: #141c18;
  --bg-elevated: #1a2420;
  --surface: #f4f1eb;
  --surface-warm: #ebe6dc;

  --accent: #e8a020;
  --accent-hover: #f5b833;
  --accent-glow: rgba(232, 160, 32, 0.45);
  --teal: #2a9d8f;
  --teal-dark: #1f7569;

  --text: #f4f1eb;
  --text-muted: #9aa89f;
  --text-dark: #1a2420;
  --text-dark-muted: #5a6560;

  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(26, 36, 32, 0.12);

  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --header-h: 72px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

.container {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--xl { padding: 18px 36px; font-size: 16px; }
.btn--full { width: 100%; }

.btn--pulse {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 24px var(--accent-glow); }
  50% { box-shadow: 0 4px 40px rgba(232, 160, 32, 0.7); }
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.btn--whatsapp:hover {
  background: #1fb855;
  transform: translateY(-2px);
}

.btn--telegram {
  background: #0088cc;
  color: #fff;
  border-color: #0088cc;
}

.btn--telegram:hover {
  background: #0077b5;
  transform: translateY(-2px);
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(12, 18, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(12, 18, 16, 0.97);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__img {
  height: 44px;
  width: auto;
  display: block;
}

.footer .logo__img {
  height: 52px;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav a:hover { color: var(--accent); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__phone {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  transition: color var(--transition);
}

.header__phone:hover { color: var(--accent); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg-dark);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  z-index: 999;
}

.mobile-nav[hidden] { display: none; }

.mobile-nav a {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  padding: 8px 0;
}

.mobile-nav__phone {
  color: var(--accent) !important;
  font-size: 20px !important;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__img[src=""],
.hero__img:not([src]),
.hero__img.broken {
  display: none;
}

.hero__bg:has(.hero__img.broken),
.hero__bg:not(:has(img:not(.broken))) {
  background:
    linear-gradient(135deg, rgba(12, 18, 16, 0.3) 0%, rgba(12, 18, 16, 0.8) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="g" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="%232a4a3a"/><stop offset="1" stop-color="%230c1210"/></linearGradient></defs><rect fill="url(%23g)" width="1200" height="800"/><polygon fill="%231a3a2a" opacity="0.6" points="0,500 300,200 600,350 900,100 1200,300 1200,800 0,800"/></svg>') center/cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(12, 18, 16, 0.4) 0%, rgba(12, 18, 16, 0.2) 40%, rgba(12, 18, 16, 0.85) 100%),
    linear-gradient(to right, rgba(12, 18, 16, 0.7) 0%, transparent 60%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 60px 0 100px;
  max-width: 720px;
}

.hero__badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(232, 160, 32, 0.15);
  border: 1px solid rgba(232, 160, 32, 0.4);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.hero__brand {
  margin: 0 0 28px;
  line-height: 0;
}

.hero__logo {
  width: min(440px, 92vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.55));
}

.hero__subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: #fff;
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.7;
  font-weight: 500;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(0, 0, 0, 0.6);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--accent);
  letter-spacing: 0.05em;
  line-height: 1;
}

.stat span {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce 2s infinite;
  z-index: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- Marquee ---- */
.marquee {
  background: var(--accent);
  color: var(--bg-dark);
  padding: 14px 0;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  gap: 32px;
  animation: marquee 12s linear infinite;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.1em;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Sections ---- */
.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text);
}

.section--booking {
  background: linear-gradient(160deg, var(--bg-dark) 0%, #0f1a16 50%, var(--teal-dark) 100%);
  color: var(--text);
}

.section__head {
  margin-bottom: 56px;
}

.section__head--center {
  text-align: center;
}

.section__head--center .section__desc {
  margin-inline: auto;
}

.section__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.section--dark .section__title,
.section--booking .section__title {
  color: var(--text);
}

.section__desc {
  font-size: 17px;
  color: var(--text-dark-muted);
  max-width: 560px;
  line-height: 1.7;
}

.section--dark .section__desc {
  color: var(--text-muted);
}

/* ---- Route cards ---- */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.route-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.route-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 160, 32, 0.3);
  box-shadow: var(--shadow);
}

.route-card--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.route-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-elevated);
  position: relative;
}

.route-card--featured .route-card__img {
  aspect-ratio: auto;
  min-height: 280px;
}

.route-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.route-card:hover .route-card__img img {
  transform: scale(1.05);
}

.route-card__img img.broken {
  display: none;
}

.route-card__img:has(img.broken),
.route-card__img:not(:has(img:not(.broken))) {
  background: linear-gradient(135deg, var(--bg-elevated), var(--teal-dark));
}

.route-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.route-card__tag {
  display: inline-block;
  width: fit-content;
  padding: 4px 12px;
  background: var(--accent);
  color: var(--bg-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  margin-bottom: 12px;
}

.route-card__body h3 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.route-card__body p {
  color: var(--text-muted);
  font-size: 15px;
  flex: 1;
  margin-bottom: 16px;
}

.route-card__link {
  font-weight: 700;
  color: var(--accent);
  font-size: 14px;
  transition: gap var(--transition);
}

.route-card__link:hover {
  color: var(--accent-hover);
}

/* ---- Locations ---- */
.locations {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
}

.locations__title {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  color: var(--text);
}

.locations__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px 24px;
}

.locations__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--text-muted);
}

.locations__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.locations__note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--accent);
  color: var(--bg-dark);
  padding: 48px 0;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.cta-banner p {
  font-size: 16px;
  opacity: 0.85;
}

.cta-banner .btn--primary {
  background: var(--bg-dark);
  color: var(--text);
  border-color: var(--bg-dark);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.cta-banner .btn--primary:hover {
  background: var(--bg-card);
  transform: translateY(-2px);
}

/* ---- Pricing ---- */
.pricing-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.pricing-tab {
  padding: 12px 24px;
  background: var(--surface-warm);
  border: 2px solid var(--border-light);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-dark-muted);
}

.pricing-tab:hover {
  border-color: var(--accent);
  color: var(--text-dark);
}

.pricing-tab.active {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: var(--text);
}

.pricing-panel {
  display: none;
}

.pricing-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.pricing-grid--wide {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.price-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.price-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.price-card--accent {
  background: var(--bg-dark);
  color: var(--text);
  border-color: var(--accent);
}

.price-card--accent h3 { color: var(--text); }
.price-card--accent .price-card__dur { color: var(--text-muted); }
.price-card--accent .price-card__price { color: var(--accent); }
.price-card--accent li { color: var(--text-muted); }
.price-card--accent li::before { background: var(--accent); }

.price-card--wide {
  grid-column: span 1;
}

.price-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.price-card__dur {
  font-size: 13px;
  color: var(--text-dark-muted);
  margin-bottom: 12px;
}

.price-card__price {
  font-size: 15px;
  color: var(--text-dark-muted);
  margin-bottom: 16px;
}

.price-card__price strong {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.price-card ul {
  margin-top: 12px;
}

.price-card li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--text-dark-muted);
  margin-bottom: 6px;
}

.price-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

.price-card--wide p:last-child {
  font-size: 14px;
  color: var(--text-dark-muted);
  line-height: 1.6;
}

.pricing-note {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-dark-muted);
  font-style: italic;
}

/* ---- Price table ---- */
.price-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: #fff;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.price-table thead {
  background: var(--bg-dark);
  color: var(--text);
}

.price-table th {
  padding: 16px 20px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.price-table th:not(:first-child),
.price-table td:not(:first-child) {
  text-align: right;
  white-space: nowrap;
}

.price-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
}

.price-table tbody tr:hover {
  background: rgba(232, 160, 32, 0.06);
}

.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-table td:not(:first-child) {
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.03em;
}

/* ---- About ---- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__media {
  position: relative;
}

.about__img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
}

.about__img.broken { display: none; }

.about__media:has(.about__img.broken) {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--bg-elevated), var(--teal-dark));
  border-radius: var(--radius-lg);
}

.about__badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--bg-dark);
  padding: 20px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.about__badge span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about__badge strong {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.05em;
}

.about__lead {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about__content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about__content strong {
  color: var(--accent);
}

.about__features {
  margin: 24px 0;
}

.about__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.about__features svg {
  flex-shrink: 0;
  color: var(--teal);
}

.about__note {
  font-size: 14px !important;
  color: var(--text-muted) !important;
  background: var(--bg-elevated);
  padding: 16px;
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.about__messengers {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* ---- Gallery ---- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.gallery__item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--surface-warm);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery__item:hover::after {
  opacity: 1;
}

.gallery__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--surface-warm), #d4cfc4);
  border-radius: var(--radius);
  color: var(--text-dark-muted);
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

/* ---- Booking ---- */
.booking {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.booking__info p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.booking__phone {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 20px;
  transition: color var(--transition);
}

.booking__phone:hover { color: var(--accent-hover); }

.booking__messengers {
  display: flex;
  gap: 12px;
}

.booking__messengers a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  transition: var(--transition);
}

.booking__messengers a:hover {
  background: var(--accent);
  color: var(--bg-dark);
  transform: scale(1.1);
}

.booking__form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
}

.form-group select option {
  background: var(--bg-dark);
  color: var(--text);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.form-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-dark);
  color: var(--text);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__brand p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer__links h4,
.footer__contact h4 {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--accent);
}

.footer__links a,
.footer__contact a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color var(--transition);
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--accent);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer__bottom p {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* ---- FAB (call) ---- */
.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px 8px 8px;
  background: rgba(12, 18, 16, 0.92);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  border-radius: 50px;
  border: 2px solid rgba(232, 160, 32, 0.55);
  backdrop-filter: blur(12px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.45),
    0 0 0 0 rgba(232, 160, 32, 0.4);
  transition: var(--transition);
  animation: fab-ring 2s ease-out infinite;
}

.fab__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(145deg, var(--accent-hover), var(--accent));
  color: var(--bg-dark);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.fab__text {
  padding-right: 4px;
  white-space: nowrap;
}

.fab:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--accent);
  background: rgba(12, 18, 16, 0.98);
}

.fab:hover .fab__icon {
  background: linear-gradient(145deg, #ffd060, var(--accent-hover));
}

@keyframes fab-ring {
  0% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(232, 160, 32, 0.45); }
  70% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 0 14px rgba(232, 160, 32, 0); }
  100% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(232, 160, 32, 0); }
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox[hidden] { display: none; }

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.lightbox__close:hover { opacity: 1; }

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .routes-grid {
    grid-template-columns: 1fr;
  }

  .route-card--featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .about,
  .booking {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero__logo {
    width: min(320px, 88vw);
  }

  .logo__img {
    height: 36px;
  }

  .nav,
  .header__actions {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero__stats {
    gap: 24px;
  }

  .stat strong {
    font-size: 28px;
  }

  .section {
    padding: 72px 0;
  }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner .btn {
    width: 100%;
  }

  .about__badge {
    right: 16px;
    bottom: -16px;
    padding: 14px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .fab {
    bottom: 16px;
    right: 16px;
    padding: 6px 14px 6px 6px;
    font-size: 14px;
  }

  .fab__icon {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .locations {
    padding: 24px;
  }

  .booking__form {
    padding: 24px;
  }
}
