:root {
  --ink: #111827;
  --muted: #64748b;
  --navy: #071a2f;
  --blue: #1b65d8;
  --sky: #eaf3ff;
  --line: #dbe4ee;
  --paper: #fff;
  --bg: #f5f8fc;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(7, 26, 47, 0.1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: inherit;
}
.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}
.nav {
  max-width: 1120px;
  margin: auto;
  min-height: 76px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}
.links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.links a {
  padding: 9px 13px;
  text-decoration: none;
  border-radius: 10px;
  color: #334155;
  font-weight: 650;
}
.links a:hover,
.links a[aria-current="page"] {
  background: var(--sky);
  color: #0b4daf;
}
.menu {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 11px;
  font: inherit;
  font-weight: 700;
}
.hero {
  background: linear-gradient(135deg, var(--navy), #0c315a);
  color: #fff;
  overflow: hidden;
}
.hero-inner {
  max-width: 1120px;
  margin: auto;
  padding: 92px 24px 96px;
  position: relative;
}
.hero-inner:after {
  content: "FR";
  position: absolute;
  right: 1%;
  top: -38%;
  font-size: 24rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 800;
  color: #8ec5ff;
}
.hero h1 {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  max-width: 850px;
  margin: 14px 0 24px;
}
.hero p {
  font-size: 1.15rem;
  color: #d9e8fa;
  max-width: 650px;
  margin: 0 0 32px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
}
.button.primary {
  background: #fff;
  color: var(--navy);
}
.button.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.button.blue {
  background: var(--blue);
  color: #fff;
}
.button.ghost {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}
.section {
  max-width: 1120px;
  margin: auto;
  padding: 72px 24px;
}
.section.compact {
  padding-top: 52px;
  padding-bottom: 52px;
}
.section h1,
.section h2 {
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0;
}
.section h1 {
  font-size: clamp(2.2rem, 6vw, 4.25rem);
}
.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
}
.lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 700px;
  margin: 16px 0 0;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -38px;
  position: relative;
}
.info-card,
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.info-card strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 1.08rem;
}
.info-card span {
  color: var(--muted);
}
.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--sky);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 900;
}
.page-head {
  background: #eaf3ff;
  border-bottom: 1px solid #d8e6f5;
}
.page-head .section {
  padding-top: 64px;
  padding-bottom: 64px;
}
.empty {
  margin-top: 32px;
  background: #fff;
  border: 1px dashed #b9c9db;
  border-radius: var(--radius);
  padding: 64px 28px;
  text-align: center;
}
.empty .icon {
  margin: 0 auto 16px;
}
.empty h2 {
  font-size: 1.6rem;
}
.empty p {
  max-width: 500px;
  margin: 10px auto 22px;
  color: var(--muted);
}
.vehicle-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.vehicle-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.vehicle-photo {
  height: 140px;
  background: linear-gradient(135deg, #dae7f7, #f4f8fc);
  display: grid;
  place-items: center;
  color: #7890aa;
  font-weight: 800;
  overflow: hidden;
  position: relative;
}
.vehicle-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(7, 26, 47, 0.82);
  color: #fff;
  font-size: 0.78rem;
}
.field-help {
  color: var(--muted);
  font-size: 0.82rem;
}
.vehicle-body {
  padding: 19px;
}
.vehicle-body h3 {
  margin: 0 0 5px;
}
.vehicle-body p {
  margin: 0;
  color: var(--muted);
}
dialog {
  width: min(560px, calc(100% - 32px));
  border: 0;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 26px 90px rgba(4, 15, 30, 0.35);
}
dialog::backdrop {
  background: rgba(7, 26, 47, 0.68);
  backdrop-filter: blur(3px);
}
.dialog-inner {
  padding: 28px;
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.dialog-top h2 {
  margin: 0;
  font-size: 1.5rem;
}
.close {
  background: #eef3f8;
  border: 0;
  border-radius: 9px;
  width: 38px;
  height: 38px;
  font-size: 1.25rem;
  cursor: pointer;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}
.field {
  display: grid;
  gap: 6px;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-weight: 750;
  font-size: 0.9rem;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid #bdcad8;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
}
.field textarea {
  min-height: 90px;
  resize: vertical;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  margin-top: 32px;
}
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-card:last-child {
  border-bottom: 0;
}
.contact-card h2 {
  font-size: 1rem;
  margin: 0 0 4px;
}
.contact-card p,
.contact-card address {
  font-style: normal;
  margin: 0;
  color: var(--muted);
}
.contact-card a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}
.map {
  min-height: 330px;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  border: 1px solid #c9dcf2;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
}
.map strong {
  display: block;
  font-size: 1.4rem;
  margin: 12px 0 6px;
}
.map p {
  margin: 0 0 18px;
  color: #49637e;
}
.site-footer {
  background: var(--navy);
  color: #d5e3f1;
}
.footer-inner {
  max-width: 1120px;
  margin: auto;
  padding: 30px 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.footer-inner p {
  margin: 0;
}
.footer-inner a {
  color: #fff;
}
@media (max-width: 760px) {
  .nav {
    min-height: 68px;
  }
  .menu {
    display: block;
  }
  .links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .links.open {
    display: flex;
  }
  .hero-inner {
    padding-top: 72px;
    padding-bottom: 80px;
  }
  .hero-inner:after {
    font-size: 14rem;
    top: 5%;
    right: -20%;
  }
  .info-grid,
  .vehicle-list,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .info-grid {
    margin-top: 24px;
  }
  .section {
    padding: 54px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
