:root {
  --blue: #0F2D5E;
  --blue-mid: #1A4A8A;
  --orange: #E07D10;
  --orange-light: #F59C2A;
  --text: #1C2B3A;
  --text-light: #4B5E72;
  --bg: #F7F9FC;
  --white: #FFFFFF;
  --border: #DDE4ED;
  --shadow: 0 4px 24px rgba(15,45,94,0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--blue);
  z-index: 1000;
  padding: 0 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1.2;
}
.nav-logo svg { flex-shrink: 0; }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo .logo-main {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}
.nav-logo .logo-sub {
  font-size: 11px;
  color: #A8C4E8;
  letter-spacing: 0.5px;
}
.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: #C8D9EE;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-phone {
  color: var(--orange-light);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-phone:hover { color: var(--white); }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 66px; left: 0; right: 0;
  background: var(--blue);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: #C8D9EE;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 16px;
}
.mobile-menu a.cta { color: var(--orange-light); font-weight: 700; border: none; margin-top: 8px; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, #0A1E3D 0%, #0F2D5E 55%, #1A4A8A 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}
.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--orange-light); }
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: #A8C4E8;
  margin-bottom: 36px;
  max-width: 640px;
  line-height: 1.5;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.btn-primary:hover { background: #C86E08; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.35);
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-stat strong {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat span {
  font-size: 13px;
  color: #7FA8D0;
}

/* ---- SECTIONS ---- */
section { padding: 80px 24px; }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 17px;
  color: var(--text-light);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 48px;
}

/* ---- ADVANTAGES ---- */
.advantages { background: var(--bg); }
.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.adv-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.adv-icon {
  font-size: 36px;
  margin-bottom: 14px;
  display: block;
}
.adv-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}
.adv-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}

/* ---- SERVICE SECTIONS ---- */
.service-block { border-top: 1px solid var(--border); }
.service-block:nth-child(even) { background: var(--bg); }
.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.service-content.reverse { direction: rtl; }
.service-content.reverse > * { direction: ltr; }
.service-text {}
.service-info {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.service-info .section-label { margin-bottom: 8px; }

/* ---- PRICE TABLE ---- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.price-table th {
  background: var(--blue);
  color: var(--white);
  padding: 11px 14px;
  text-align: left;
  font-weight: 600;
}
.price-table th:first-child { border-radius: 8px 0 0 0; }
.price-table th:last-child { border-radius: 0 8px 0 0; }
.price-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.price-table tr:nth-child(even) td { background: var(--bg); }
.price-table tr:last-child td { border-bottom: none; }
.price-table .price {
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
}

/* ---- WAGON TYPES ---- */
.wagon-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}
.wagon-tag {
  background: #EEF3FA;
  color: var(--blue);
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 500;
}

/* ---- FEATURE LIST ---- */
.feature-list {
  list-style: none;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text);
}
.feature-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---- METRICS ---- */
.metrics-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0;
}
.metric {
  flex: 1;
  min-width: 120px;
  background: var(--blue);
  color: var(--white);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}
.metric strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--orange-light);
}
.metric span { font-size: 12px; color: #A8C4E8; }

/* ---- CONTACT ---- */
.contact { background: var(--blue); }
.contact .section-title { color: var(--white); }
.contact .section-desc { color: #A8C4E8; margin-bottom: 40px; }
.contact .section-label { color: var(--orange-light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.contact-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  color: #A8C4E8;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  color: var(--white);
  padding: 12px 16px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #5A7DA0; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--orange-light); }
.form-group select option { background: var(--blue); }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  background: var(--orange);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
  font-family: inherit;
}
.btn-submit:hover { background: #C86E08; }
.contact-info {}
.company-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}
.company-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 14px;
}
.contact-item-icon {
  font-size: 18px;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}
.contact-item-text { color: #C8D9EE; line-height: 1.4; }
.contact-item-text a { color: var(--orange-light); text-decoration: none; }
.contact-item-text a:hover { text-decoration: underline; }

/* ---- FOOTER ---- */
footer {
  background: #07182E;
  padding: 32px 24px;
  text-align: center;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  color: #4B6A8A;
  font-size: 13px;
  line-height: 1.6;
}
.footer-inner a { color: #6A90B8; text-decoration: none; }
.footer-inner a:hover { color: var(--orange-light); }

/* ---- CAROUSEL ---- */
.carousel-wrap {
  grid-column: 1 / -1;
  margin-top: 40px;
  position: relative;
}
.carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0F2D5E;
  aspect-ratio: 16/7;
  max-height: 420px;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}
.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-slide .slide-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0F2D5E, #1A4A8A);
  color: rgba(255,255,255,0.25);
  gap: 12px;
  font-size: 14px;
}
.carousel-slide .slide-placeholder svg { opacity: 0.2; }
.carousel-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: var(--white);
  padding: 32px 20px 16px;
  font-size: 15px;
  font-weight: 500;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
  backdrop-filter: blur(4px);
}
.carousel-btn:hover { background: rgba(255,255,255,0.28); }
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: var(--orange);
  transform: scale(1.3);
}

/* ---- SUCCESS STATE ---- */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
  color: var(--white);
}
.form-success .check { font-size: 56px; margin-bottom: 16px; }
.form-success h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.form-success p { color: #A8C4E8; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .service-content { grid-template-columns: 1fr; gap: 32px; }
  .service-content.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  section { padding: 56px 16px; }
  .hero { padding: 100px 16px 60px; }
  .hero-stats { gap: 20px; }
  .hero-stat strong { font-size: 26px; }
  .contact-form { padding: 24px 20px; }
  .company-card { padding: 18px; }
  .service-info { padding: 24px 18px; }
  .nav-inner { padding: 0; }
}
