* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(90deg, #f7f9fd 0, #ffffff 18%, #ffffff 82%, #f7f9fd 100%);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(36, 102, 216, .45);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 8px;
  color: #ffffff;
  background: #061531;
  font: 800 14px/1 Inter, Arial, sans-serif;
  transform: translateY(-160%);
  transition: transform .18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.skip-mobile {
  display: none;
}

.mockup {
  position: relative;
  width: min(100vw, 1100px);
  aspect-ratio: 1024 / 1536;
  margin: 0 auto;
  overflow: hidden;
  background: url("reference.png") 0 0 / 100% 100% no-repeat;
  box-shadow: 0 0 0 1px rgba(6, 21, 49, .03);
  image-rendering: auto;
}

.hotspot,
.quote-form label,
.quote-form button {
  position: absolute;
  display: block;
  border: 0;
  color: transparent;
  background: transparent;
  text-decoration: none;
  font: 0/0 serif;
}

.hotspot:focus-visible,
.quote-form input:focus-visible,
.quote-form select:focus-visible,
.quote-form textarea:focus-visible,
.quote-form button:focus-visible {
  outline: 2px solid rgba(36, 102, 216, .95);
  outline-offset: 2px;
}

.nav-home { left: 33.6%; top: 2.2%; width: 4.4%; height: 1.4%; }
.nav-services { left: 38.7%; top: 2.2%; width: 5.3%; height: 1.4%; }
.nav-about { left: 45.4%; top: 2.2%; width: 6.0%; height: 1.4%; }
.nav-why { left: 52.6%; top: 2.2%; width: 5.2%; height: 1.4%; }
.nav-areas { left: 58.8%; top: 2.2%; width: 7.5%; height: 1.4%; }
.nav-reviews { left: 68.0%; top: 2.2%; width: 5.5%; height: 1.4%; }
.nav-contact { left: 74.4%; top: 2.2%; width: 5.1%; height: 1.4%; }

.phone { left: 81.3%; top: 1.3%; width: 14.6%; height: 2.5%; }
.quote-button { left: 8.1%; top: 25.1%; width: 17.3%; height: 3.0%; }
.call-button { left: 27.0%; top: 25.1%; width: 12.5%; height: 3.0%; }

.quote-form {
  position: absolute;
  left: 61.0%;
  top: 14.3%;
  width: 28.1%;
  height: 20.0%;
}

.quote-form span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.quote-form .bot-field {
  display: none;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  height: 100%;
  border: 1px solid #dfe5ef;
  border-radius: 7px;
  color: #0b1736;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(11, 23, 54, .03);
  font: 600 clamp(9px, .95vw, 12px)/1.2 Inter, Arial, sans-serif;
  outline: none;
  padding: 0 10px;
}

.quote-form input::placeholder {
  color: #747f92;
  opacity: 1;
}

.quote-form textarea {
  resize: none;
  padding-top: 9px;
}

.quote-form textarea::placeholder {
  color: #747f92;
  opacity: 1;
}

.quote-form select {
  color: #747f92;
  appearance: none;
}

.quote-form .field-error input,
.quote-form .field-error select,
.quote-form .field-error textarea {
  background: rgba(255, 236, 236, .7);
  box-shadow: inset 0 0 0 1px rgba(210, 51, 51, .75);
}

.quote-form label:nth-of-type(2) { left: 0; top: 0; width: 47.4%; height: 11.8%; }
.quote-form label:nth-of-type(3) { left: 51.6%; top: 0; width: 47.4%; height: 11.8%; }
.quote-form label:nth-of-type(4) { left: 0; top: 15.0%; width: 99.0%; height: 11.8%; }
.quote-form label:nth-of-type(5) { left: 0; top: 30.4%; width: 47.4%; height: 11.8%; }
.quote-form label:nth-of-type(6) { left: 51.6%; top: 30.4%; width: 47.4%; height: 11.8%; }
.quote-form label:nth-of-type(7) { left: 0; top: 45.7%; width: 47.4%; height: 11.8%; }
.quote-form label:nth-of-type(8) { left: 51.6%; top: 45.7%; width: 47.4%; height: 11.8%; }
.quote-form label:nth-of-type(9) { left: 0; top: 61.0%; width: 99.0%; height: 22.0%; }
.quote-form button {
  left: 0;
  top: 88.0%;
  width: 99.0%;
  height: 13.4%;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #2f78ed, #1d4db7);
  box-shadow: 0 7px 16px rgba(29, 77, 183, .24);
  font: 900 clamp(9px, .9vw, 12px)/1 Inter, Arial, sans-serif;
  letter-spacing: .2px;
  text-transform: uppercase;
  cursor: pointer;
}

.quote-form button:disabled {
  cursor: wait;
}

.service-one { left: 8.1%; top: 77.0%; width: 18.7%; height: 2.3%; }
.service-two { left: 30.1%; top: 77.0%; width: 18.8%; height: 2.3%; }
.service-three { left: 52.4%; top: 77.0%; width: 18.8%; height: 2.3%; }
.service-four { left: 74.7%; top: 77.0%; width: 18.8%; height: 2.3%; }

#home,
#about,
#why,
#areas,
#reviews,
#contact {
  position: absolute;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

#home { top: 0; }
#about { top: 8%; }
#why { top: 81.5%; }
#areas { top: 59.8%; }
#reviews { top: 39.2%; }
#contact { top: 14.3%; }

.toast {
  position: absolute;
  left: 50%;
  top: 8.8%;
  z-index: 5;
  width: min(86%, 430px);
  padding: 14px 18px;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(6, 21, 49, .96);
  box-shadow: 0 16px 36px rgba(6, 21, 49, .22);
  font: 700 clamp(12px, 1.4vw, 15px)/1.35 Inter, Arial, sans-serif;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -10px);
  transition: opacity .2s ease, transform .2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast.is-error {
  background: rgba(128, 27, 27, .96);
}

.mobile-home {
  display: none;
}

@media (max-width: 760px) {
  body {
    background: #f4f7fb;
  }

  .mockup {
    display: none;
  }

  .skip-desktop {
    display: none;
  }

  .skip-mobile {
    display: block;
  }

  .mobile-home {
    display: block;
    min-height: 100vh;
    color: #0b1736;
    background: #f4f7fb;
    padding-bottom: 76px;
  }

  .mobile-header {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 74px;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #ffffff;
    background: #06122a;
    box-shadow: 0 10px 24px rgba(6, 21, 49, .18);
  }

  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 850;
    line-height: .95;
    letter-spacing: 1.6px;
  }

  .mobile-brand small {
    font-size: 8px;
    letter-spacing: 4px;
    font-weight: 600;
  }

  .mobile-mark {
    display: grid;
    place-items: center;
    width: 45px;
    height: 34px;
    border-radius: 6px;
    color: #ffffff;
    background: linear-gradient(135deg, #2466d8, #061531);
    font-size: 20px;
    font-weight: 950;
    letter-spacing: -2px;
  }

  .mobile-phone {
    flex: 0 0 auto;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 850;
  }

  .mobile-hero {
    position: relative;
    overflow: hidden;
    padding: 42px 20px 32px;
    color: #ffffff;
    background:
      radial-gradient(circle at 85% 24%, rgba(36, 102, 216, .48), transparent 30%),
      linear-gradient(135deg, #061531, #08285d);
  }

  .mobile-hero::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -70px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    box-shadow: inset 0 0 0 28px rgba(255, 255, 255, .035);
  }

  .mobile-kicker {
    position: relative;
    z-index: 1;
    margin: 0 0 13px;
    color: #78aaff;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .8px;
    text-transform: uppercase;
  }

  .mobile-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 45px;
    line-height: 1.02;
    letter-spacing: .1px;
  }

  .mobile-hero p:not(.mobile-kicker) {
    position: relative;
    z-index: 1;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: 16px;
    line-height: 1.55;
  }

  .mobile-actions {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-top: 24px;
  }

  .mobile-actions a,
  .mobile-quote-form button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
  }

  .mobile-actions a:first-child,
  .mobile-quote-form button {
    color: #ffffff;
    background: linear-gradient(135deg, #2d74ea, #1e48b4);
    box-shadow: 0 12px 24px rgba(29, 77, 183, .27);
  }

  .mobile-actions a:last-child {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .08);
  }

  .mobile-proof {
    margin: -13px 16px 18px;
    position: relative;
    z-index: 3;
    display: grid;
    gap: 8px;
    padding: 15px;
    border-radius: 12px;
    color: #ffffff;
    background: #071a3a;
    box-shadow: 0 16px 34px rgba(6, 21, 49, .16);
  }

  .mobile-proof span {
    position: relative;
    padding-left: 24px;
    font-size: 13px;
    font-weight: 850;
  }

  .mobile-proof span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #2466d8;
  }

  .mobile-proof span::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 5px;
    width: 4px;
    height: 7px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }

  .mobile-card,
  .mobile-services,
  .mobile-difference {
    margin: 18px 16px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(11, 23, 54, .08);
  }

  .mobile-card {
    overflow: hidden;
  }

  .mobile-card-head {
    padding: 21px 18px;
    color: #ffffff;
    text-align: center;
    background: #061531;
  }

  .mobile-card-head h2 {
    margin: 0 0 5px;
    font-size: 20px;
    text-transform: uppercase;
  }

  .mobile-card-head p {
    margin: 0;
    color: rgba(255, 255, 255, .84);
  }

  .mobile-quote-form {
    display: grid;
    gap: 11px;
    padding: 18px;
  }

  .mobile-quote-form .bot-field {
    display: none;
  }

  .mobile-quote-form input,
  .mobile-quote-form select,
  .mobile-quote-form textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    padding: 0 13px;
    color: #0b1736;
    background: #ffffff;
    font: 650 14px/1.2 Inter, Arial, sans-serif;
    outline: none;
  }

  .mobile-quote-form textarea {
    min-height: 94px;
    padding-top: 13px;
    resize: vertical;
  }

  .mobile-quote-form [data-form-message] {
    margin: 0;
    color: #1d4fb8;
    font-size: 13px;
    font-weight: 800;
  }

  .mobile-services,
  .mobile-difference {
    padding: 22px 18px;
  }

  .mobile-services h2,
  .mobile-difference h2 {
    margin: 0 0 15px;
    font-size: 26px;
    line-height: 1.12;
  }

  .mobile-services div {
    display: grid;
    gap: 12px;
  }

  .mobile-services article {
    padding: 15px;
    border-radius: 10px;
    background: #f4f7fb;
  }

  .mobile-services strong,
  .mobile-services span {
    display: block;
  }

  .mobile-services strong {
    margin-bottom: 5px;
    font-size: 16px;
  }

  .mobile-services span {
    color: #66748a;
    font-size: 14px;
    line-height: 1.45;
  }

  .mobile-difference {
    color: #ffffff;
    background: linear-gradient(135deg, #061531, #08285d);
  }

  .mobile-difference ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-difference li {
    position: relative;
    padding-left: 24px;
    color: rgba(255, 255, 255, .88);
    line-height: 1.45;
  }

  .mobile-difference li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #2466d8;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(219, 227, 239, .9);
    border-radius: 16px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 44px rgba(6, 21, 49, .22);
    backdrop-filter: blur(10px);
  }

  .mobile-bottom-nav a {
    display: grid;
    place-items: center;
    min-height: 42px;
    border-radius: 10px;
    color: #061531;
    background: #f4f7fb;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
