:root {
  --navy: #09295a;
  --blue: #1054ad;
  --sky: #55b7ea;
  --mist: #edf6fc;
  --ink: #102038;
  --muted: #5d6d82;
  --line: #dce8f1;
  --white: #ffffff;
  --green: #1f8a5b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7fafc;
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 32px;
  min-height: 86px;
  padding: 10px clamp(24px, 5vw, 82px);
  border-bottom: 1px solid rgba(9, 41, 90, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand img {
  display: block;
  width: 145px;
  height: 64px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 650;
}

.nav a,
.header-contact a {
  transition: color 0.2s ease;
}

.nav a:hover,
.header-contact a:hover {
  color: var(--blue);
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.header-contact span {
  color: var(--muted);
  font-size: 12px;
}

.header-contact a {
  color: var(--navy);
  font-weight: 800;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--mist);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 1px solid var(--blue);
  border-radius: 14px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(16, 84, 173, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #0a4693;
  box-shadow: 0 16px 34px rgba(16, 84, 173, 0.28);
}

.button-small {
  min-height: 44px;
  padding-inline: 20px;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background: #e8f3fa;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(247, 251, 254, 0.99) 0%, rgba(247, 251, 254, 0.96) 33%, rgba(247, 251, 254, 0.32) 63%, rgba(9, 41, 90, 0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 104px 0 68px;
}

.eyebrow,
.kicker {
  display: inline-block;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: 22px 0 22px;
  color: var(--navy);
  font-size: clamp(48px, 5.3vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-content > p {
  max-width: 610px;
  margin: 0;
  color: #43566f;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

.button-ghost {
  border-color: rgba(9, 41, 90, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.button-ghost:hover {
  background: var(--white);
  color: var(--navy);
}

.hero-trust {
  display: flex;
  max-width: 740px;
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid rgba(9, 41, 90, 0.15);
}

.hero-trust div {
  min-width: 0;
  padding: 0 30px;
  border-right: 1px solid rgba(9, 41, 90, 0.14);
}

.hero-trust div:first-child {
  padding-left: 0;
}

.hero-trust div:last-child {
  border-right: 0;
}

.hero-trust strong,
.hero-trust span {
  display: block;
}

.hero-trust strong {
  color: var(--navy);
  font-size: 17px;
}

.hero-trust span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 48px;
}

.section-heading h2,
.split-copy h2,
.estimate-copy h2 {
  margin: 12px 0 0;
  color: var(--navy);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading > p {
  max-width: 420px;
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.65;
}

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

.service-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(9, 41, 90, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: #a9cfea;
}

.service-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 18px;
  background: var(--mist);
  color: var(--blue);
  font-size: 27px;
}

.service-card h3 {
  margin: 30px 0 12px;
  color: var(--navy);
  font-size: 21px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.service-card a {
  margin-top: auto;
  padding-top: 24px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: stretch;
}

.split-copy > p {
  max-width: 600px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin: 34px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 16px 0 16px 34px;
  border-bottom: 1px solid var(--line);
  line-height: 1.45;
}

.check-list li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

.text-link {
  color: var(--blue);
  font-weight: 850;
}

.quality-card {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 560px;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px;
  border-radius: 30px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 30px 70px rgba(9, 41, 90, 0.18);
}

.quality-card::after {
  position: absolute;
  right: -80px;
  bottom: 80px;
  width: 300px;
  height: 300px;
  border: 70px solid rgba(85, 183, 234, 0.12);
  border-radius: 50%;
  content: "";
}

.quality-number {
  color: var(--sky);
  font-size: 15px;
  font-weight: 900;
}

.quality-card .kicker {
  color: #8ed2f3;
}

.quality-card h3 {
  max-width: 430px;
  margin: 15px 0;
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.quality-card p {
  position: relative;
  z-index: 1;
  color: #cbd9e8;
  line-height: 1.7;
}

.price-note {
  position: relative;
  z-index: 1;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.price-note span,
.price-note strong {
  display: block;
}

.price-note span {
  color: #b8c9dc;
  font-size: 13px;
}

.price-note strong {
  margin-top: 7px;
  font-size: 26px;
}

.process-section {
  padding-top: 70px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--line);
}

.process-card {
  min-height: 245px;
  padding: 32px;
  background: var(--white);
}

.process-card > span {
  color: var(--sky);
  font-size: 14px;
  font-weight: 900;
}

.process-card h3 {
  margin: 50px 0 10px;
  color: var(--navy);
  font-size: 20px;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.estimate-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  padding: 90px max(24px, calc((100vw - 1180px) / 2));
  background: linear-gradient(135deg, #0b376f, var(--navy));
  color: var(--white);
}

.kicker-light {
  color: #8ed2f3;
}

.estimate-copy h2 {
  color: var(--white);
}

.estimate-copy > p {
  max-width: 500px;
  color: #c8d9e9;
  font-size: 17px;
  line-height: 1.7;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 38px;
}

.contact-row a {
  width: fit-content;
  font-size: 19px;
  font-weight: 750;
}

.estimate-form {
  min-height: 470px;
  padding: 36px;
  border-radius: 28px;
  background: var(--white);
  color: var(--ink);
}

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

.estimate-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 17px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 750;
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  border: 1px solid #cbdbe7;
  border-radius: 12px;
  outline: none;
  background: #f8fbfd;
  color: var(--ink);
  font-size: 15px;
  font-weight: 450;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.estimate-form input,
.estimate-form select {
  height: 50px;
  padding: 0 14px;
}

.estimate-form textarea {
  padding: 14px;
  resize: vertical;
}

.estimate-form input:focus,
.estimate-form select:focus,
.estimate-form textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(85, 183, 234, 0.16);
}

.estimate-form .consent {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 0;
}

.button-form {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.success-message {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-message > span {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: #e3f6ee;
  color: var(--green);
  font-size: 30px;
  font-weight: 900;
}

.success-message h3 {
  margin: 20px 0 8px;
  color: var(--navy);
  font-size: 25px;
}

.success-message p {
  max-width: 430px;
  color: var(--muted);
  line-height: 1.6;
}

.success-message button {
  border: 0;
  background: none;
  color: var(--blue);
  cursor: pointer;
  font-weight: 800;
}

footer {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 1fr;
  gap: 60px;
  padding: 62px max(24px, calc((100vw - 1180px) / 2)) 32px;
  background: #071f43;
  color: #d6e3ef;
}

.footer-brand img {
  width: 170px;
  height: 80px;
  border-radius: 14px;
  object-fit: contain;
  background: var(--white);
}

.footer-brand p {
  max-width: 380px;
  color: #9fb3c9;
  line-height: 1.6;
}

footer > div:not(.footer-brand):not(.footer-bottom) {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-title {
  margin-bottom: 7px;
  color: var(--white);
  font-weight: 850;
}

footer a:hover {
  color: var(--sky);
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #829bb4;
  font-size: 12px;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    display: none;
  }

  .menu-button {
    display: block;
    grid-column: 3;
    grid-row: 1;
  }

  .nav-open {
    position: absolute;
    top: 86px;
    right: 20px;
    display: flex;
    width: min(320px, calc(100vw - 40px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 20px 50px rgba(9, 41, 90, 0.14);
  }

  .nav-open a {
    padding: 14px;
  }

  .header-contact,
  .site-header > .button {
    display: none;
  }

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

  .split-section,
  .estimate-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 72px;
    padding: 8px 18px;
  }

  .brand img {
    width: 122px;
    height: 54px;
  }

  .nav-open {
    top: 72px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(247, 251, 254, 0.99) 0%, rgba(247, 251, 254, 0.93) 54%, rgba(247, 251, 254, 0.24) 100%);
  }

  .hero-content {
    width: calc(100% - 36px);
    padding-top: 70px;
  }

  .hero h1 {
    font-size: 47px;
  }

  .hero-content > p {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 36px;
  }

  .hero-trust div {
    padding: 0;
    border: 0;
  }

  .hero-trust div:last-child {
    grid-column: 1 / -1;
  }

  .section {
    width: calc(100% - 36px);
    padding: 78px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 32px;
  }

  .section-heading h2,
  .split-copy h2,
  .estimate-copy h2 {
    font-size: 38px;
  }

  .service-grid,
  .process-grid,
  .check-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 285px;
  }

  .split-section {
    gap: 44px;
  }

  .quality-card {
    min-height: 520px;
    padding: 30px;
  }

  .process-grid {
    border-radius: 20px;
  }

  .process-card {
    min-height: 210px;
  }

  .estimate-section {
    gap: 40px;
    padding-block: 72px;
  }

  .estimate-form {
    padding: 24px 18px;
  }

  .form-row,
  footer {
    grid-template-columns: 1fr;
  }

  footer {
    gap: 36px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

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

  * {
    transition: none !important;
  }
}
