/* ============================================
   СЕА - Логистика — Premium Design System
   ============================================ */

:root {
  --navy: #0b1628;
  --navy-light: #111d33;
  --navy-mid: #162340;
  --slate: #1e293b;
  --steel: #475569;
  --silver: #94a3b8;
  --mist: #cbd5e1;
  --cloud: #e2e8f0;
  --snow: #f1f5f9;
  --white: #ffffff;

  --accent: #0d9488;
  --accent-hover: #0f766e;
  --accent-glow: rgba(13, 148, 136, .15);
  --accent-soft: rgba(13, 148, 136, .08);

  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: rgba(255, 255, 255, .7);
  --text-white: #ffffff;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow: 0 4px 24px rgba(0,0,0,.07);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.12);
  --shadow-glow: 0 0 40px rgba(13,148,136,.12);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(var(--container), 100% - 3rem);
  margin: 0 auto;
}

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

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

/* ============================================
   Reveal animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--transition), transform .7s var(--transition);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 22, 40, .7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.03);
  transition: all var(--transition);
}

.header--scrolled {
  background: rgba(11, 22, 40, .98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 72px;
  transition: min-height var(--transition);
}

.header--scrolled .header__inner {
  min-height: 60px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo__img {
  height: 20px;
  width: auto;
  display: block;
}

/* Nav */
.nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}

.nav a {
  color: var(--text-light);
  font-size: .9rem;
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
}

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

.nav a:hover,
.nav a.is-active { color: var(--white); }

.nav a:hover::after,
.nav a.is-active::after { width: 100%; }

.header-cta {
  padding: .5rem 1.25rem;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  font-size: .85rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--accent);
  box-shadow: 0 0 16px var(--accent-glow), 0 0 32px rgba(13,148,136,.12), inset 0 0 20px rgba(13,148,136,.06);
  transition: all var(--transition);
  white-space: nowrap;
}

.header-cta:hover {
  background: rgba(13,148,136,.08);
  color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(13,148,136,.25), 0 0 48px rgba(13,148,136,.15), inset 0 0 24px rgba(13,148,136,.08);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11,22,40,.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    opacity: 0;
    transition: transform .35s ease, opacity .35s ease;
  }

  .nav.is-open {
    transform: translateX(0);
    opacity: 1;
  }

  .nav a { font-size: 1.25rem; }

  .header-cta { display: none; }
  .burger { display: flex; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 22, 40, .75) 0%, rgba(11, 22, 40, .92) 50%, rgba(11, 22, 40, .97) 100%),
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(13,148,136,.06) 0%, transparent 70%),
    url('../images/hero-bg.png') center / cover no-repeat;
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(13,148,136,.04) 0%, transparent 70%);
  animation: heroPulse 8s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.2) translate(-5%, 5%); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 8rem 0 6rem;
  max-width: 720px;
}

.hero__badge {
  display: inline-block;
  padding: .4rem 1rem;
  background: rgba(13,148,136,.1);
  border: 1px solid rgba(13,148,136,.25);
  border-radius: 100px;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin: 0 0 1.5rem;
  letter-spacing: -.02em;
}

.hero__lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0 0 1.5rem;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
}

.hero__tags span {
  padding: .3rem .75rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  color: var(--mist);
  font-size: .82rem;
  font-weight: 500;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  z-index: 2;
}

.hero__scroll span {
  font-size: .75rem;
  color: var(--silver);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: .3; transform: scaleY(.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 2rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: .95rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--accent {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: 0 0 16px var(--accent-glow), 0 0 32px rgba(13,148,136,.12), inset 0 0 20px rgba(13,148,136,.06);
}

.btn--accent:hover {
  background: rgba(13,148,136,.08);
  color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(13,148,136,.25), 0 0 48px rgba(13,148,136,.15), inset 0 0 24px rgba(13,148,136,.08);
}

.btn--glass {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
}

.btn--glass:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

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

.btn--white {
  background: var(--white);
  color: var(--navy);
}

.btn--white:hover {
  background: var(--snow);
  transform: translateY(-2px);
}

.tariff-card__btn {
  margin-top: 1.5rem;
}

/* ============================================
   Stats (карточки как блок «Цена без накруток»)
   ============================================ */
.stats {
  background: var(--snow);
  border-bottom: 1px solid var(--cloud);
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 3rem 0;
}

.stat {
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--cloud);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.stat:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow), var(--shadow-glow);
  transform: translateY(-4px);
}

.stat__num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
}

.stat__label {
  display: block;
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: .5rem;
}

@media (max-width: 768px) {
  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 2rem 0;
  }
  .stat {
    padding: 1.5rem 1rem;
  }
  .stat__num {
    font-size: 2rem;
  }
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 6rem 0;
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--dark .section__title { color: var(--white); }
.section--dark .section__subtitle { color: var(--text-light); }

.section--alt {
  background: var(--snow);
}

.section-head {
  margin-bottom: 3.5rem;
}

.section__tag {
  display: inline-block;
  padding: .3rem .85rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section--dark .section__tag {
  background: rgba(13,148,136,.12);
}

.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 .75rem;
  letter-spacing: -.02em;
}

.accent { color: var(--accent); }

.section__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 560px;
}

/* ============================================
   Why
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--cloud);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.why-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow), var(--shadow-glow);
  transform: translateY(-4px);
}

.why-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.why-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.why-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 .5rem;
  color: var(--navy);
}

.why-card__text {
  margin: 0;
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Services
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  padding: 2rem;
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  transition: all var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height .4s ease;
}

.service-card:hover {
  border-color: rgba(13,148,136,.2);
  background: var(--navy-light);
  transform: translateY(-4px);
}

.service-card:hover::before { height: 100%; }

.service-card__num {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .05em;
  margin-bottom: 1rem;
}

.service-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 .75rem;
  color: var(--white);
}

.service-card__text {
  font-size: .9rem;
  color: var(--text-light);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

.service-card__link {
  font-size: .9rem;
  font-weight: 600;
  color: var(--accent);
  transition: color var(--transition);
}

.service-card__link:hover { color: var(--accent-hover); }

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Fleet
   ============================================ */
#fleet.section {
  padding-top: 3rem;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 1.75rem;
}

.fleet-card {
  padding: 1.2rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--cloud);
  border-radius: var(--radius);
  transition: all var(--transition);
  text-align: center;
}

.fleet-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.fleet-card__head {
  margin-bottom: 1rem;
}

.fleet-card__weight {
  display: inline-block;
  padding: .35rem 1rem;
  background: var(--navy);
  color: var(--accent);
  font-weight: 700;
  font-size: .9rem;
  border-radius: 100px;
}

.fleet-card__name {
  font-size: .98rem;
  font-weight: 700;
  margin: 0 0 .3rem;
  color: var(--navy);
}

.fleet-card__desc {
  margin: 0;
  font-size: .8rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.fleet-note {
  text-align: center;
  font-size: .9rem;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 800px) {
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .fleet-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Tariffs
   ============================================ */
.tariffs-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.tariff-card {
  padding: 2rem;
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.tariff-card:hover {
  border-color: rgba(255,255,255,.12);
  transform: translateY(-2px);
}

.tariff-card--accent {
  border-color: rgba(13,148,136,.25);
  background: linear-gradient(135deg, var(--navy-mid) 0%, rgba(13,148,136,.06) 100%);
}

.tariff-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 .5rem;
}

.tariff-card__badge {
  display: inline-block;
  padding: .2rem .6rem;
  background: rgba(13,148,136,.12);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.tariff-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tariff-card__list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .25rem .75rem;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  align-items: baseline;
}

.tariff-card__list li:last-child { border-bottom: none; }

.tariff-item__name {
  font-weight: 500;
  font-size: .95rem;
  color: var(--mist);
}

.tariff-item__name small {
  color: var(--silver);
  font-weight: 400;
}

.tariff-item__price {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  text-align: right;
}

.tariff-item__price small {
  font-weight: 400;
  font-size: .8rem;
  color: var(--silver);
}

.tariff-item__note {
  grid-column: 1 / -1;
  font-size: .8rem;
  color: var(--silver);
}

.tariff-card__footnote {
  margin: 1rem 0 0;
  font-size: .85rem;
  color: var(--silver);
}

.tariffs-extra {
  text-align: center;
  color: var(--text-light);
  font-size: .95rem;
}

.tariffs-extra p { margin: .25rem 0; }
.tariffs-extra strong { color: var(--accent); }

@media (max-width: 700px) {
  .tariffs-wrap { grid-template-columns: 1fr; }
}

/* ============================================
   Timeline (How) — горизонтальный
   ============================================ */
.timeline {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem 1rem;
  padding-top: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 17px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cloud);
  z-index: 0;
}

.timeline__item {
  position: relative;
  flex: 1;
  min-width: 140px;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 1;
}

.timeline__marker {
  width: 34px;
  height: 34px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.timeline__content h3 {
  margin: 0 0 .35rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.timeline__content p {
  margin: 0;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .timeline::before { display: none; }
  .timeline__item {
    min-width: calc(50% - 0.5rem);
    max-width: none;
  }
}

@media (max-width: 500px) {
  .timeline {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .timeline__item {
    max-width: 320px;
  }
}

/* ============================================
   Audience (For whom)
   ============================================ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.audience-card {
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--cloud);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.audience-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.audience-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.audience-card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.audience-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 .5rem;
  color: var(--navy);
}

.audience-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .audience-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Trust
   ============================================ */
.trust {
  padding: 6rem 0;
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.trust::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13,148,136,.06) 0%, transparent 70%);
  pointer-events: none;
}

.trust__inner {
  position: relative;
  z-index: 1;
}

.trust__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 1rem;
  line-height: 1.3;
}

.trust__text {
  font-size: 1.1rem;
  color: var(--text-light);
  margin: 0 0 2.5rem;
  line-height: 1.7;
}

/* ============================================
   Order form
   ============================================ */
.order-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.order-info .section__title {
  margin-bottom: 1rem;
}

.order-info p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.7;
}

.order-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
}

.order-benefits li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .6rem;
  font-weight: 500;
  color: var(--navy);
}

.order-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.order-form {
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid var(--cloud);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.field {
  display: block;
  margin-bottom: 1.25rem;
}

.field__label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: .75rem 1rem;
  font-family: var(--font);
  font-size: .95rem;
  color: var(--text);
  border: 1px solid var(--cloud);
  border-radius: var(--radius-sm);
  background: var(--snow);
  transition: all var(--transition);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--white);
}

.char-counter {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 0.25rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field-group {
  margin-bottom: 1.25rem;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.radio, .checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text);
}

.radio input, .checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

.checkbox {
  margin-bottom: 1.25rem;
}

/* Form States */
.field--error input, 
.field--error textarea,
.field--error select {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
}

.field--error .field__label {
  color: #ef4444;
}

.error-message {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.25rem;
  display: none;
}

.field--error .error-message {
  display: block;
}

/* Button Loading State */
.btn {
  position: relative;
}

.btn--loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn--loading .btn__text {
  visibility: hidden;
}

.btn__spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  display: none;
  animation: spin 0.8s linear infinite;
}

.btn--loading .btn__spinner {
  display: block;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  padding: 1rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-weight: 500;
  font-size: 0.9rem;
  min-width: 280px;
  text-align: center;
  animation: slideUp 0.3s ease-out;
  pointer-events: auto;
}

.toast--success {
  border-left: 4px solid var(--accent);
}

.toast--error {
  border-left: 4px solid #ef4444;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.order-form .btn {
  margin-top: .5rem;
}

.order-form__note {
  margin: .75rem 0 0;
  font-size: .78rem;
  color: var(--silver);
  text-align: center;
}

@media (max-width: 800px) {
  .order-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Tooltip */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  padding: .4rem .8rem;
  background: var(--navy);
  color: var(--white);
  font-size: .75rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all .2s ease;
  z-index: 100;
  pointer-events: none;
}

[data-tooltip]:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--navy);
  padding: 4rem 0 2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.logo--footer .logo__img { height: 16px; }

.footer__slogan {
  color: var(--silver);
  font-size: .9rem;
  margin: .75rem 0 0;
  line-height: 1.5;
}

.footer__contacts h3,
.footer__nav h3 {
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--silver);
  margin: 0 0 1rem;
}

.footer__contacts p {
  margin: 0 0 .5rem;
  color: var(--mist);
  font-size: .95rem;
}

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

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

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer__nav a {
  color: var(--silver);
  font-size: .9rem;
  transition: color var(--transition);
}

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

.footer__bottom {
  padding-top: 2rem;
  text-align: center;
}

.footer__bottom p {
  margin: 0;
  font-size: .85rem;
  color: var(--steel);
}

@media (max-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================
   Contact widget (всегда виден справа внизу)
   ============================================ */
.contact-widget {
  position: fixed;
  bottom: 0;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: .75rem;
  padding-bottom: 1rem;
  z-index: 900;
}

.contact-widget__buttons {
  display: flex;
  flex-direction: column-reverse;
  gap: .5rem;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.contact-widget.is-open .contact-widget__buttons {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.contact-widget__toggle {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(13,148,136,.4);
  transition: all var(--transition);
}

.contact-widget__toggle:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
  box-shadow: 0 6px 28px rgba(13,148,136,.5);
}

.contact-widget__icon {
  width: 26px;
  height: 26px;
}

.contact-widget__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  text-decoration: none;
  color: var(--navy);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.contact-widget__btn svg,
.contact-widget__btn img {
  width: 22px;
  height: 22px;
  display: block;
}

.contact-widget__btn--wa {
  background: transparent;
  color: #fff;
}

.contact-widget__btn--wa img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.contact-widget__btn--wa:hover {
  background: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,.35);
}

.contact-widget__btn--tg {
  background: transparent;
  color: #fff;
}

.contact-widget__btn--tg img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.contact-widget__btn--tg:hover {
  background: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,136,204,.35);
}

@media (max-width: 768px) {
  .contact-widget {
    bottom: 0;
    right: 1rem;
    padding-bottom: 0.75rem;
  }
  .contact-widget__toggle {
    width: 52px;
    height: 52px;
  }
  .to-top {
    bottom: 4.5rem;
    right: 1.5rem;
  }
}

/* ============================================
   Back to top
   ============================================ */
.to-top {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--accent);
  border-radius: 50%;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all var(--transition);
  z-index: 900;
}

.to-top svg {
  width: 20px;
  height: 20px;
}

.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.to-top:hover {
  background: var(--accent);
  color: var(--navy);
  transform: translateY(-3px);
}

/* ============================================
   Selection
   ============================================ */
::selection {
  background: rgba(13,148,136,.25);
  color: var(--navy);
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}
