/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: #f4f7fb;
  color: #1a2634;
  line-height: 1.6;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== CRITICAL CSS ===== */
/* Базовые стили для быстрой загрузки */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',sans-serif;background:#f4f7fb;color:#1a2634;line-height:1.6}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* ===== ДОБАВИТЬ АТРИБУТЫ ЗАГРУЗКИ ===== */
/* В HTML для изображений: loading="lazy" decoding="async" */

/* ===== BUTTONS ===== */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 6px;
  border: none;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
  line-height: 1.4;
  min-height: 38px;
  min-width: 140px;
  width: auto;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.button-small {
  padding: 6px 16px;
  font-size: 0.8rem;
  min-height: 34px;
  min-width: 100px;
}

.button-large {
  padding: 12px 32px;
  font-size: 1rem;
  min-height: 48px;
  min-width: 200px;
}

.button-full {
  width: 100%;
  justify-content: center;
  padding: 12px 24px;
  min-width: unset;
}

.button-outline {
  background: transparent;
  border: 2px solid #2563eb;
  color: #2563eb;
  box-shadow: none;
}

.button-outline:hover {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #2563eb;
  transition: color 0.3s;
}

.text-link:hover {
  color: #1d4ed8;
}

.text-link.dark {
  color: #4b5563;
}

.text-link.dark:hover {
  color: #2563eb;
}

.text-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.button svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ===== QUOTE CARD ===== */
.quote-card {
  background: #ffffff;
  padding: 28px 26px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5edf5;
}

.quote-card .button {
  padding: 8px 20px;
  font-size: 0.85rem;
  min-height: 38px;
  min-width: 140px;
  width: auto;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.quote-card .button svg {
  width: 16px;
  height: 16px;
}

.quote-card .button:hover {
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

/* ===== REQUEST FORM ===== */
.request-form {
  background: #ffffff;
  padding: 30px 28px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 2px solid #e5edf5;
}

.request-form h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #1a2634;
}

.request-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 12px;
}

.request-form input,
.request-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 2px solid #e5edf5;
  background: #fafbfc;
  color: #1a2634;
  font-size: 1rem;
  margin-top: 4px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.request-form input:focus,
.request-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.request-form input::placeholder,
.request-form textarea::placeholder {
  color: #9ca3af;
}

.request-form textarea {
  resize: vertical;
  font-family: inherit;
  min-height: 80px;
}

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

.request-form .button {
  padding: 10px 24px;
  font-size: 0.9rem;
  min-height: 44px;
  min-width: 180px;
  width: auto;
  margin-top: 5px;
}

.request-form .button svg {
  width: 18px;
  height: 18px;
}

.request-form small {
  display: block;
  margin-top: 12px;
  font-size: 0.75rem;
  color: #9ca3af;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
  .field-row {
    grid-template-columns: 1fr;
  }
  
  .request-form .button {
    width: 100%;
    justify-content: center;
  }
}
/* ===== HEADER ===== */
.header {
  background: #ffffff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
  border-bottom: 2px solid #e5edf5;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.brand img {
  height: 40px;
  width: auto;
}

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

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: #1a2634;
  border-radius: 3px;
  transition: 0.3s;
}

.nav {
  display: flex;
  gap: 30px;
  font-weight: 500;
}

.nav a {
  font-size: 0.95rem;
  color: #4b5563;
  transition: color 0.3s;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: width 0.3s;
}

.nav a:hover {
  color: #2563eb;
}

.nav a:hover::after {
  width: 100%;
}

.header-contact {
  text-align: right;
  font-size: 0.9rem;
  color: #6b7280;
}

.header-contact a {
  display: block;
  font-weight: 600;
  color: #1a2634;
  font-size: 1.1rem;
}

.header-contact a:hover {
  color: #2563eb;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 60px 0 40px;
  background: linear-gradient(135deg, #e8f0fe 0%, #d6e4f5 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgb(244 247 251 / 51%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.hero-copy .eyebrow {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-copy h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 10px 0 20px;
  color: #1a2634;
}

.hero-copy h1 em {
  color: #2563eb;
  font-style: normal;
}

.hero-lead {
  font-size: 1.2rem;
  color: #4b5563;
  max-width: 500px;
  margin-bottom: 25px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 35px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #1a2634;
}

.hero-points svg {
  width: 20px;
  height: 20px;
  stroke: #2563eb;
  fill: none;
  stroke-width: 2;
}

/* Quote Card */
.quote-card {
  background: #ffffff;
  padding: 30px 28px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5edf5;
}

.quote-card .button {
  width: auto;
  min-width: 180px;
}

.quote-index {
  font-size: 0.75rem;
  color: #2563eb;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.quote-card h2 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: #1a2634;
}

.quote-card > p {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.quote-card label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 12px;
}

.quote-card input,
.quote-card textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 2px solid #e5edf5;
  background: #fafbfc;
  color: #1a2634;
  font-size: 1rem;
  margin-top: 4px;
  transition: border-color 0.3s;
}

.quote-card input:focus,
.quote-card textarea:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
}

.quote-card textarea {
  resize: vertical;
  font-family: inherit;
}

.quote-card small {
  display: block;
  margin-top: 12px;
  font-size: 0.75rem;
  color: #9ca3af;
}

.hp {
  display: none !important;
}

/* Hero Status */
.hero-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 2px solid #e5edf5;
  flex-wrap: inherit;
  gap: 15px;
}

.hero-status > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-status b {
  font-size: 1.3rem;
  font-weight: 800;
  color: #2563eb;
}

.hero-status span {
  font-size: 0.7rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-status i {
  width: 30px;
  height: 2px;
  background: #d1dce8;
  flex-shrink: 0;
}

/* ===== TRUST STRIP ===== */
.trust-strip {
  background: #ffffff;
  padding: 18px 0;
  border-top: 2px solid #e5edf5;
  border-bottom: 2px solid #e5edf5;
}

.trust-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px 30px;
}

.trust-strip p {
  font-weight: 700;
  color: #2563eb;
  font-size: 1.05rem;
}

.trust-strip span {
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== SECTIONS ===== */
.section {
  padding: 70px 0;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #2563eb;
  font-weight: 600;
}

.eyebrow.light {
  color: #2563eb;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #1a2634;
}

.section-head p {
  color: #6b7280;
  max-width: 450px;
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.split-heading h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #1a2634;
}

.split-heading p {
  color: #6b7280;
  font-size: 1.1rem;
  align-self: center;
}

/* ===== ROUTE PANEL ===== */
.route-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.route-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.route-copy h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a2634;
}

.route-copy > p {
  color: #6b7280;
  margin-bottom: 25px;
}

.route-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.route-tabs button {
  padding: 8px 18px;
  border-radius: 8px;
  border: 2px solid #e5edf5;
  background: #ffffff;
  color: #6b7280;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
}

.route-tabs button.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.route-tabs button:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.route-tabs button.active:hover {
  background: #1d4ed8;
  color: #ffffff;
}

.route-result {
  background: #f8fafc;
  padding: 18px 24px;
  border-radius: 8px;
  border: 2px solid #e5edf5;
  margin-bottom: 20px;
}

.route-result span {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
}

.route-result p {
  color: #4b5563;
  font-size: 0.95rem;
}

.route-visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.route-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.map-tag {
  position: absolute;
  padding: 6px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.tag-cn {
    top: 20%;
    left: 12%;
    background: rgb(255 255 255 / 10%);
    color: #ffffff;
    border: 2px solid rgb(255 255 255 / 20%);
}

.tag-ru {
    bottom: 25%;
    right: 10%;
    background: rgb(255 255 255 / 8%);
    color: #ffffff;
    border: 2px solid rgb(255 255 255 / 15%);
}

.route-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: #ffffff;
  stroke-width: 2;
  fill: none;
  opacity: 0.4;
}

/* ===== SERVICES GRID ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.service-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid #e5edf5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: #2563eb;
}

.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.service-card > div {
  padding: 20px 22px 25px;
}

.service-card span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 1px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin: 4px 0 8px;
  color: #1a2634;
}

.service-card p {
  color: #6b7280;
  font-size: 0.9rem;
}

/* ===== WORKFLOW ===== */
.workflow {
  background: #ffffff;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
}

.workflow-aside h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 5px 0 15px;
  color: #1a2634;
}

.workflow-aside > p {
  color: #6b7280;
  margin-bottom: 25px;
}

.workflow-photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.workflow-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.workflow-photo span {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2563eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 30px;
}

.steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: #f8fafc;
  border-radius: 8px;
  border: 2px solid #e5edf5;
  transition: all 0.3s;
}

.steps li:hover {
  border-color: #2563eb;
  background: #ffffff;
}

.steps i {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
}

.steps i svg {
  width: 22px;
  height: 22px;
  stroke: #2563eb;
  fill: none;
  stroke-width: 2;
}

.steps b {
  font-size: 0.7rem;
  color: #2563eb;
  letter-spacing: 1px;
}

.steps h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a2634;
}

.steps p {
  color: #6b7280;
  font-size: 0.85rem;
}

/* ===== EXTRA SERVICES ===== */
.extra {
  background: #f8fafc;
}

.extra-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.extra-grid article {
  background: #ffffff;
  padding: 25px 20px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid #e5edf5;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.extra-grid article:hover {
  transform: translateY(-5px);
  border-color: #2563eb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.extra-grid svg {
  width: 36px;
  height: 36px;
  stroke: #2563eb;
  fill: none;
  stroke-width: 2;
}

.extra-grid h3 {
  font-size: 1rem;
  margin: 12px 0 6px;
  color: #1a2634;
}

.extra-grid p {
  color: #6b7280;
  font-size: 0.85rem;
}

/* ===== ADVANTAGES ===== */
.advantages {
  background: #ffffff;
}

.advantages .container > h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1a2634;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.adv-grid article {
  background: #f8fafc;
  padding: 30px 25px;
  border-radius: 12px;
  border: 2px solid #e5edf5;
  border-left-width: 6px;
  transition: all 0.3s;
}

.adv-grid article:hover {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.adv-grid svg {
  width: 36px;
  height: 36px;
  stroke: #2563eb;
  fill: none;
  stroke-width: 2;
  margin-bottom: 12px;
}

.adv-grid h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #1a2634;
}

.adv-grid p {
  color: #6b7280;
  font-size: 0.95rem;
}

/* ===== REQUEST SECTION ===== */
.request {
  position: relative;
  padding: 70px 0;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f0fe, #d6e4f5);
}

.request > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2;
}

.request-shade {
  position: absolute;
  inset: 0;
  background: rgba(244, 247, 251, 0.9);
  z-index: 1;
}

.request .container {
  position: relative;
  z-index: 2;
}

.request-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.request-grid h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 10px 0 15px;
  color: #1a2634;
}

.request-grid > div > p {
  color: #4b5563;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.request-grid ul {
  list-style: none;
}

.request-grid ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #1a2634;
}

.request-grid ul svg {
  width: 22px;
  height: 22px;
  stroke: #2563eb;
  fill: none;
  stroke-width: 2;
}

.request-form {
  background: #ffffff;
  padding: 30px 28px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 2px solid #e5edf5;
}

.request-form h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #1a2634;
}

.request-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 12px;
}

.request-form input,
.request-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 2px solid #e5edf5;
  background: #fafbfc;
  color: #1a2634;
  font-size: 1rem;
  margin-top: 4px;
  transition: border-color 0.3s;
}

.request-form input:focus,
.request-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
}

.request-form textarea {
  resize: vertical;
  font-family: inherit;
}

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

.request-form small {
  display: block;
  margin-top: 12px;
  font-size: 0.75rem;
  color: #9ca3af;
}

/* ===== FOOTER ===== */
.footer {
  background: #1a2634;
  padding: 40px 0 20px;
  border-top: 4px solid #2563eb;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 40px;
  padding-bottom: 25px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.footer-top img {
  height: 36px;
}

.footer-top p {
  color: #9ca3af;
  font-size: 0.9rem;
}

.footer-top a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d1dce8;
  transition: color 0.3s;
  font-weight: 500;
}

.footer-top a:hover {
  color: #60a5fa;
}

.footer-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #9ca3af;
}

.footer-bottom address {
  font-style: normal;
}

/* ===== SVG SPRITE ===== */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .route-panel {
    grid-template-columns: 1fr;
  }

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

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

  .extra-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .split-heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    padding: 15px 0;
    border-top: 2px solid #e5edf5;
  }

  .nav.open {
    display: flex;
  }

  .header-contact {
    display: none;
  }

  .header-inner .button-small {
    display: none;
  }

  .hero-copy h1 {
    font-size: 2.4rem;
  }

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

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

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

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

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

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-status {
    justify-content: center;
  }

  .hero-status i {
    display: none;
  }

  .trust-strip .container {
    justify-content: center;
    text-align: center;
    display: grid;
  }
}

@media (max-width: 480px) {
  .hero-copy h1 {
    font-size: 1.8rem;
  }

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

  .quote-card,
  .request-form {
    padding: 20px 16px;
  }

  .quote-card .button {
    min-width: 100%;
  }
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.back-to-top:active {
  transform: translateY(0) scale(0.95);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2.5;
}

/* Добавляем небольшой пульсирующий эффект при появлении */
.back-to-top.visible {
  animation: fadeInUp 0.4s ease forwards;
}

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

/* Адаптив для мобильных устройств */
@media (max-width: 768px) {
  .back-to-top {
    width: 44px;
    height: 44px;
    bottom: 20px;
    right: 20px;
  }

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

@media (max-width: 480px) {
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 16px;
    right: 16px;
  }

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

/* Пульсирующий эффект при наведении */
.back-to-top:hover::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 99, 235, 0.3);
  animation: pulse 1s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

