/* ==========================================================================
   Comfort-Bus — design system + layout
   ========================================================================== */

:root {
  --color-bg: #0a0e14;
  --color-bg-soft: #10151d;
  --color-surface: #161c26;
  --color-surface-2: #1d2430;
  --color-border: #2a3240;
  --color-text: #eef1f6;
  --color-text-dim: #9aa5b4;
  --color-primary: #2f6feb;
  --color-primary-dim: #1f4fb0;
  --color-accent: #ffb020;
  --color-accent-dim: #d99411;
  --color-success: #35c37a;

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

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

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0;
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 68px 0;
}

@media (max-width: 640px) {
  .section {
    padding: 44px 0;
  }
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}

.section-sub {
  color: var(--color-text-dim);
  max-width: 620px;
  font-size: 17px;
  margin-bottom: 34px;
}

.section-head {
  text-align: center;
  margin: 0 auto;
}
.section-head .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: var(--color-success);
  color: #06210f;
  box-shadow: 0 8px 24px rgba(53, 195, 122, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(53, 195, 122, 0.45);
}
.btn-telegram {
  background: #2aabee;
  color: #06212f;
  box-shadow: 0 8px 24px rgba(42, 171, 238, 0.35);
}
.btn-telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(42, 171, 238, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  background: rgba(47, 111, 235, 0.08);
}
.btn-accent {
  background: var(--color-accent);
  color: #2b1900;
  box-shadow: 0 8px 24px rgba(255, 176, 32, 0.35);
}
.btn-accent:hover {
  transform: translateY(-2px);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}
.btn-block {
  width: 100%;
}
.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header.is-scrolled {
  padding: 12px 0;
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: grid;
  place-items: center;
  font-size: 16px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-dim);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-switch {
  display: flex;
  gap: 4px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 4px;
}
.lang-switch a {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  color: var(--color-text-dim);
}
.lang-switch a.active.lang-ua {
  background: var(--color-accent);
  color: #2b1900;
}
.lang-switch a.active.lang-en {
  background: #fff;
  color: #111;
}
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  align-items: center;
  justify-content: center;
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-text);
  position: relative;
  transition: transform 0.2s, opacity 0.2s;
}
.burger span::before {
  position: absolute;
  top: -6px;
}
.burger span::after {
  position: absolute;
  top: 6px;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 100px 24px 40px;
  transform: translateY(-100%);
  transition: transform 0.35s var(--ease);
}
.mobile-nav.is-open {
  transform: translateY(0);
}
.mobile-nav a {
  font-size: 22px;
  font-weight: 700;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav .btn-row {
  margin-top: 24px;
}

@media (max-width: 900px) {
  .nav-links,
  .header-actions .btn {
    display: none;
  }
  .burger {
    display: grid;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(47, 111, 235, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(255, 176, 32, 0.15), transparent 60%),
    linear-gradient(180deg, #0a0e14 0%, #0a0e14 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, black, transparent);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 20, 0.4), var(--color-bg) 95%);
}
.hero-inner {
  max-width: 760px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(36px, 6vw, 68px);
  letter-spacing: -0.01em;
}
.hero-title .word {
  display: inline-block;
}
.hero-sub {
  margin-top: 20px;
  font-size: 19px;
  color: var(--color-text-dim);
  max-width: 560px;
}
.hero-actions {
  margin-top: 36px;
}
.hero-chips {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-dim);
}
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}
.scroll-cue-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--color-text-dim), transparent);
  animation: scrollcue 2s infinite;
}
@keyframes scrollcue {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   Routes
   ========================================================================== */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.route-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.route-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.route-cities {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
}
.route-arrow {
  color: var(--color-accent);
}
.route-meta {
  margin-top: 14px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--color-text-dim);
  font-size: 13px;
}
.route-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.route-card .btn {
  margin-top: 22px;
}

/* ==========================================================================
   Advantages
   ========================================================================== */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.adv-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
}
.adv-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(47, 111, 235, 0.15);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.adv-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.adv-card p {
  color: var(--color-text-dim);
  font-size: 14px;
  margin: 0;
}

/* ==========================================================================
   Stats counters
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 40px;
  padding-top: 34px;
  border-top: 1px solid var(--color-border);
}
.stat {
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  color: var(--color-accent);
}
.stat-label {
  color: var(--color-text-dim);
  font-size: 13px;
  margin-top: 6px;
}

/* ==========================================================================
   Fleet slider
   ========================================================================== */
.fleet-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.fleet-slide {
  flex: 0 0 auto;
  width: min(340px, 78vw);
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.fleet-slide img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.fleet-slide-body {
  padding: 18px 20px;
}
.fleet-slide-body h3 {
  font-size: 16px;
  margin-bottom: 2px;
}
.fleet-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 6px;
}
.fleet-slide-body p {
  color: var(--color-text-dim);
  font-size: 13px;
  margin: 0;
}

/* ==========================================================================
   Steps
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 24px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.step-num {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--color-primary);
  opacity: 0.6;
  margin-bottom: 14px;
}
.step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.step p {
  color: var(--color-text-dim);
  font-size: 14px;
  margin: 0;
}

/* ==========================================================================
   Schedule table
   ========================================================================== */
.schedule-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.schedule-table th,
.schedule-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.schedule-table th {
  color: var(--color-text-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  background: var(--color-surface-2);
}
.schedule-table tr:last-child td {
  border-bottom: none;
}
.schedule-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--color-text-dim);
}
.table-scroll {
  overflow-x: auto;
}

@media (max-width: 640px) {
  .schedule-table thead {
    display: none;
  }
  .schedule-table,
  .schedule-table tbody,
  .schedule-table tr,
  .schedule-table td {
    display: block;
    width: 100%;
  }
  .schedule-table tr {
    padding: 14px 18px;
    border-bottom: 1px solid var(--color-border);
  }
  .schedule-table td {
    padding: 3px 0;
    border: none;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
  }
  .schedule-table td::before {
    content: attr(data-label);
    color: var(--color-text-dim);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .schedule-table td[data-label="Напрямок"],
  .schedule-table td[data-label="Route"] {
    font-weight: 700;
    font-size: 15px;
  }
  .schedule-table td[data-label="Напрямок"]::before,
  .schedule-table td[data-label="Route"]::before {
    content: none;
  }
}

/* ==========================================================================
   Prices / payment
   ========================================================================== */
.prices-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}
@media (max-width: 860px) {
  .prices-grid {
    grid-template-columns: 1fr;
  }
}
.price-list {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 8px 0;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-border);
}
.price-row:last-child {
  border-bottom: none;
}
.price-route {
  font-weight: 600;
}
.price-value {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
}
.payment-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
}
.payment-card h3 {
  font-size: 17px;
  margin-bottom: 16px;
}
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.payment-method {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-dim);
}
.requisites {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  font-size: 13px;
  color: var(--color-text-dim);
  line-height: 1.8;
}
.requisites strong {
  color: var(--color-text);
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}
.review-card {
  flex: 0 0 auto;
  width: min(360px, 82vw);
  scroll-snap-align: start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
}
.review-stars {
  color: var(--color-accent);
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.review-text {
  color: var(--color-text-dim);
  font-size: 14px;
  margin-bottom: 20px;
}
.review-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}
.review-name {
  font-weight: 700;
  font-size: 14px;
}
.review-route {
  color: var(--color-text-dim);
  font-size: 12px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--color-text);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}
.faq-q-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--color-accent);
  transition: transform 0.3s var(--ease);
  font-size: 18px;
}
.faq-item.is-open .faq-q-icon {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-a-inner {
  padding-bottom: 22px;
  color: var(--color-text-dim);
  font-size: 14px;
  line-height: 1.7;
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary-dim), #14284f);
  border-radius: 24px;
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
}
.cta-band h2 {
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 14px;
  position: relative;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
  position: relative;
}
.cta-band .btn-row {
  justify-content: center;
  position: relative;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--color-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.footer-brand p {
  color: var(--color-text-dim);
  font-size: 14px;
  margin-top: 14px;
  max-width: 320px;
}
.footer h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-dim);
  margin-bottom: 16px;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: var(--color-text-dim);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--color-text);
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--color-text-dim);
}
.footer-bottom a {
  color: var(--color-text-dim);
}
.footer-bottom a:hover {
  color: var(--color-text);
}

/* ==========================================================================
   Floating contact button
   ========================================================================== */
.float-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease);
}
.float-btn:hover {
  transform: scale(1.08);
}
.float-btn.whatsapp {
  background: var(--color-success);
  color: #06210f;
}
.float-btn.telegram {
  background: #2aabee;
  color: #06212f;
}

/* ==========================================================================
   Booking form
   ========================================================================== */
.booking-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .booking-form {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field.full {
  grid-column: 1 / -1;
}
.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-dim);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 14px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-status {
  grid-column: 1 / -1;
  font-size: 14px;
  display: none;
}
.form-status.is-visible {
  display: block;
}
.form-status.success {
  color: var(--color-success);
}
.form-status.error {
  color: #ff6767;
}

/* ==========================================================================
   Scroll-reveal utility (GSAP toggles .is-visible)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Simple page (legal)
   ========================================================================== */
.legal-page {
  padding-top: 140px;
  padding-bottom: 80px;
  max-width: 760px;
  margin: 0 auto;
}
.legal-page h1 {
  font-size: 32px;
  margin-bottom: 24px;
}
.legal-page h2 {
  font-size: 20px;
  margin: 32px 0 12px;
}
.legal-page p,
.legal-page li {
  color: var(--color-text-dim);
  font-size: 15px;
  line-height: 1.8;
}
.legal-page a {
  color: var(--color-primary);
}
