:root {
  --blue: #0a4ea3;
  --blue-dark: #06326f;
  --blue-light: #e9f3ff;
  --yellow: #f4c635;
  --text: #172033;
  --muted: #5d6b82;
  --border: #dbe5f1;
  --bg: #f7fbff;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(10, 52, 110, .16);
  --shadow-soft: 0 14px 34px rgba(10, 52, 110, .10);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section,
#demande {
  scroll-margin-top: 112px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 48%, #f7fbff 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(244,198,53,.70);
  outline-offset: 3px;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: var(--blue-dark);
  color: var(--white);
  font-size: 14px;
}

.topbar-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.topbar-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar-links a {
  background: rgba(255,255,255,.12);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 22px rgba(7, 29, 62, .06);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  color: var(--text);
  padding: 8px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.main-nav a:hover {
  color: var(--blue);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  white-space: nowrap;
}

.phone-link.secondary {
  background: var(--yellow);
  color: #152033;
}

.menu-button {
  display: none;
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  padding: 10px 16px;
  font-weight: 800;
}

.hero {
  background:
    radial-gradient(circle at 10% 10%, rgba(244,198,53,.24), transparent 30%),
    linear-gradient(135deg, #f9fcff 0%, #ecf6ff 52%, #ffffff 52%, #ffffff 100%);
  padding: 54px 0 64px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 34px;
  align-items: start;
}

.hero-content {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .12em;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(36px, 4.8vw, 58px);
  line-height: .98;
  letter-spacing: -.04em;
  color: #10213c;
}

.hero-text {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 24px;
}

.hero-actions,
.address-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 900;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(10,78,163,.24);
}

.btn-outline {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--border);
}

.btn-outline.dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}

.quick-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.quick-points li {
  min-height: 70px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.75);
  font-weight: 800;
  color: #1c2d49;
}

.quick-points li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
}

.hero-picture {
  margin-top: 16px;
  max-width: 620px;
  border-radius: 34px;
  background: linear-gradient(140deg, #ddecff, #ffffff);
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-picture:hover {
  transform: translateY(-2px);
}

.hero-picture,
.service-card,
.address-card,
.alert-card,
details {
  transition: transform .2s ease, box-shadow .2s ease;
}

.hero-picture img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.request-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 112px;
  overflow: hidden;
}

.request-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--blue), var(--yellow));
}

.request-head span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
}

.request-head h2 {
  font-size: 31px;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 10px;
}

.request-head p {
  margin-bottom: 15px;
  color: var(--muted);
}

.request-phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.request-phones a {
  text-align: center;
  background: var(--blue-dark);
  color: var(--white);
  border-radius: 13px;
  padding: 12px 8px;
  font-weight: 900;
}

.request-phones a:last-child {
  background: var(--yellow);
  color: #152033;
}

.request-phones a:hover,
.phone-link:hover,
.mobile-callbar a:hover {
  filter: brightness(.96);
}

.contact-form {
  display: grid;
  gap: 12px;
}

.form-row.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: #1f2e45;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  border-radius: 12px;
  padding: 12px 13px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}

input::placeholder,
textarea::placeholder {
  color: #7b8798;
}

input[type="date"],
input[type="time"] {
  position: relative;
  cursor: pointer;
  padding-right: 44px;
  color-scheme: light;
}

input[type="date"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230a4ea3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}

input[type="time"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230a4ea3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  cursor: pointer;
  opacity: 0;
}

textarea {
  resize: vertical;
  min-height: 118px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(10,78,163,.10);
}

.field-hidden {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form-button {
  width: 100%;
}

.section {
  padding: 76px 0;
}

.section-title {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-title.compact {
  max-width: 680px;
}

.section-title h2,
.info-block h2,
.area-grid h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -.035em;
  margin-bottom: 12px;
}

.section-title p,
.info-block > p,
.area-grid p {
  color: var(--muted);
  font-size: 17px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.service-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.service-card:hover,
details:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(10,52,110,.12);
}

.info-section {
  background: var(--white);
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: stretch;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.check-list p {
  margin: 0;
  padding: 18px 20px;
  border-left: 5px solid var(--blue);
  border-radius: 16px;
  background: var(--blue-light);
  color: #22334f;
}

.alert-card {
  background: linear-gradient(140deg, var(--blue-dark), var(--blue));
  color: var(--white);
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow);
}

.alert-card h3 {
  font-size: 30px;
  margin-bottom: 12px;
}

.alert-card p {
  color: rgba(255,255,255,.86);
}

.vehicles-section {
  background: linear-gradient(180deg, #f7fbff, #edf6ff);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gallery figure {
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  background: #dce8f5;
  box-shadow: 0 15px 34px rgba(10,52,110,.12);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.area-section {
  background: var(--white);
}

.area-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 34px;
  align-items: center;
}

.zone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.zone-tags span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  background: var(--bg);
}

.address-card {
  background: #f7fbff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.address-card h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.address-card p a,
.site-footer a {
  color: var(--blue-dark);
  font-weight: 800;
}

.map-link {
  display: inline-flex;
  color: var(--blue);
  font-weight: 900;
  margin-top: 4px;
}

.map-card {
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.map-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
}

.map-card-head h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.1;
}

.map-card-head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-weight: 900;
  white-space: nowrap;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}


.site-footer {
  background: #071d3e;
  color: var(--white);
  padding: 46px 0 82px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
}

.site-footer img {
  background: var(--white);
  border-radius: 15px;
  padding: 8px;
  margin-bottom: 14px;
}

.site-footer p {
  color: rgba(255,255,255,.75);
  max-width: 430px;
}

.site-footer h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.site-footer a {
  display: table;
  color: rgba(255,255,255,.9);
  margin-bottom: 8px;
}

.mobile-callbar {
  display: none;
}

.legal-page {
  background: var(--white);
}

.legal-hero {
  padding: 58px 0 30px;
  background: linear-gradient(140deg, #eef7ff, #ffffff);
}

.legal-content {
  padding: 38px 0 70px;
}

.legal-box {
  max-width: 900px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 16px 35px rgba(10,52,110,.08);
}

.legal-box h2 {
  margin-top: 26px;
  margin-bottom: 8px;
}

.legal-box h2:first-child {
  margin-top: 0;
}

.legal-box p,
.legal-box li {
  color: var(--muted);
}

@media (max-width: 1120px) {
  .hero-grid,
  .area-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .request-card {
    position: static;
    order: -1;
  }

  .cards-grid,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-actions {
    display: none;
  }
}

@media (max-width: 860px) {
  body {
    padding-bottom: 66px;
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 9px 0;
  }

  .header-inner {
    min-height: 74px;
  }

  .brand img {
    width: 150px;
  }

  .menu-button {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 10px 8px;
  }

  .hero {
    padding: 34px 0 46px;
  }

  .quick-points,
  .cards-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .mobile-callbar {
    display: grid;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -10px 25px rgba(0,0,0,.10);
  }

  .mobile-callbar a {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--white);
    background: var(--blue);
  }

  .mobile-callbar a:last-child {
    background: var(--yellow);
    color: #152033;
  }
}

@media (max-width: 620px) {
  .container,
  .topbar-inner {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: 40px;
  }

  .request-card,
  .legal-box,
  .address-card,
  .alert-card {
    padding: 20px;
    border-radius: 22px;
  }

  .request-phones,
  .form-row.two-cols,
  .gallery {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .hero-picture {
    padding: 14px;
    border-radius: 24px;
  }

  .map-card-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .map-card iframe {
    height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
