:root {
  --navy-950: #031323;
  --navy-900: #061b31;
  --navy-850: #0a223d;
  --navy-800: #102846;
  --text-900: #16223a;
  --text-700: #4b5a74;
  --text-500: #7986a0;
  --surface: #ffffff;
  --surface-alt: #f4f7fb;
  --gold: #ffca1a;
  --gold-deep: #f2b600;
  --green: #7fd321;
  --green-deep: #57bc0f;
  --blue: #2173ff;
  --line: rgba(11, 34, 64, 0.1);
  --shadow-lg: 0 28px 56px rgba(3, 19, 35, 0.2);
  --shadow-md: 0 18px 32px rgba(5, 18, 34, 0.12);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: 1220px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text-900);
  background:
    radial-gradient(circle at top left, rgba(127, 211, 33, 0.08), transparent 28%),
    linear-gradient(180deg, #f7f9fd 0%, #eef3f9 100%);
}

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

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-shell {
  overflow: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #021324;
  backdrop-filter: blur(16px);
  border-bottom: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
}

.brand img {
  width: 268px;
  max-width: 100%;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  flex: 1;
}

.main-nav a {
  position: relative;
  font-size: 0.94rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  transition: color 160ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -16px;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--gold);
}

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

.phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 202, 26, 0.72);
  border-radius: 11px;
  font-weight: 600;
  font-size: 0.92rem;
  background: rgba(255, 202, 26, 0.92);
  color: #16223a;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.phone-chip:hover,
.btn:hover,
.contact-phone:hover {
  transform: none;
}

.phone-chip svg,
.contact-phone__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

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

.hero::before {
  content: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 560px;
  padding: 40px 0 22px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
  color: #fff;
  animation: hero-rise 700ms ease both;
}

.eyebrow,
.section-tag {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
}

.hero h1,
.services h2,
.reasons h2,
.projects h2,
.contact-strip h2 {
  margin: 0;
  font-family: "Arial Black", "Segoe UI", sans-serif;
  font-size: clamp(2.9rem, 5vw, 5.1rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.hero h1 {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(1.75rem, 3.3vw, 3.1rem);
  font-weight: 700;
}

.hero h1 span {
  display: block;
  color: var(--gold);
}

.title-rule {
  width: 74px;
  height: 4px;
  margin: 16px 0 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), #9ae74a);
}

.title-rule--dark {
  background: linear-gradient(90deg, var(--green), rgba(127, 211, 33, 0.4));
}

.lead,
.services-intro p,
.reason-item p,
.contact-copy p,
.project-card h3,
.service-card p {
  font-size: 1.08rem;
  line-height: 1.75;
}

.lead {
  max-width: 510px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.section-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-actions {
  margin: 28px 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn span {
  font-size: 1.1rem;
  line-height: 1;
}

.btn-gold {
  background: #ffca1a;
  border-color: #ffca1a;
  color: #102846;
}

.btn-outline {
  border-color: rgba(127, 211, 33, 0.68);
  color: #fff;
  background: rgba(10, 34, 61, 0.42);
}

.btn-green {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.btn-light-outline {
  border-color: rgba(87, 188, 15, 0.34);
  color: var(--text-900);
  background: var(--surface);
}

.btn-gold:hover,
.phone-chip:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}

.btn-outline:hover {
  background: rgba(127, 211, 33, 0.18);
  border-color: rgba(127, 211, 33, 0.82);
}

.btn-green:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
}

.btn-light-outline:hover {
  background: rgba(127, 211, 33, 0.08);
  border-color: rgba(87, 188, 15, 0.5);
}

.trust-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
}

.trust-icon,
.service-icon,
.reason-icon,
.contact-phone__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.trust-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #f7fbff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.trust-copy {
  display: flex;
  align-items: center;
  min-height: 34px;
  text-wrap: balance;
}

.trust-icon svg,
.service-icon svg,
.reason-icon svg {
  width: 100%;
  height: 100%;
}

.hero-media {
  position: absolute;
  top: 0;
  right: calc((100vw - 100%) / -2);
  bottom: 0;
  width: calc(min(52vw, 860px) + ((100vw - 100%) / 2));
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  animation: hero-rise 800ms ease both;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #021324 0%, rgba(2, 19, 36, 0.92) 13%, rgba(2, 19, 36, 0.56) 28%, rgba(2, 19, 36, 0.08) 52%, rgba(2, 19, 36, 0) 72%);
  pointer-events: none;
}

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

.hero-badge {
  position: absolute;
  right: 34px;
  bottom: 34px;
  z-index: 1;
  width: min(360px, calc(100% - 68px));
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(9, 26, 47, 0.54), rgba(4, 18, 35, 0.44));
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.hero-badge .trust-points li {
  color: #fff;
}

.hero-badge .trust-icon {
  width: 32px;
  height: 32px;
}

.about-section,
.services,
.projects {
  padding: 62px 0;
}

.about-section {
  position: relative;
  background:
    radial-gradient(circle at 10% 16%, rgba(33, 115, 255, 0.06), transparent 24%),
    linear-gradient(180deg, rgba(248, 251, 255, 1) 0%, rgba(242, 247, 253, 1) 100%);
}

.about-section::after {
  content: none;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 248px);
  gap: 12px 32px;
  align-items: start;
}

.about-header {
  grid-column: 1 / -1;
  max-width: 760px;
}

.about-header .section-tag {
  margin-bottom: 4px;
}

.about-section .title-rule {
  margin: 10px 0 10px;
}

.about-section h2 {
  max-width: 100%;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(1.5rem, 1.95vw, 1.95rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--text-900);
}

.about-content {
  display: grid;
  gap: 10px;
}

.about-content p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.72;
  text-align: justify;
  color: var(--text-700);
}

.about-proof {
  width: 100%;
  max-width: none;
  justify-self: end;
  padding: 22px;
  border: 1px solid rgba(11, 34, 64, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 32px rgba(5, 18, 34, 0.05);
}

.about-proof img {
  width: min(100%, 192px);
  margin: 0 auto 14px;
}

.about-proof p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.58;
  text-align: center;
  color: var(--text-700);
}

.services {
  background:
    radial-gradient(circle at 10% 16%, rgba(33, 115, 255, 0.06), transparent 24%),
    linear-gradient(180deg, rgba(248, 251, 255, 1) 0%, rgba(242, 247, 253, 1) 100%);
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.55fr);
  gap: 28px;
  align-items: start;
}

.services-intro {
  padding: 8px 0 0;
}

.services h2,
.projects h2,
.contact-strip h2 {
  max-width: 12ch;
  font-size: clamp(2.3rem, 3vw, 3.5rem);
  color: var(--text-900);
}

.services h2 {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(1.6rem, 2.1vw, 2.05rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.services-intro > p:last-of-type,
.contact-copy > p:last-of-type {
  margin: 0 0 24px;
  color: var(--text-700);
  font-size: 1rem;
  line-height: 1.62;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 228px;
  padding: 24px 24px 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(11, 34, 64, 0.07);
  border-radius: 20px;
  box-shadow: 0 12px 26px rgba(5, 18, 34, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service-card:hover {
  border-color: rgba(11, 34, 64, 0.1);
  box-shadow: 0 16px 30px rgba(5, 18, 34, 0.08);
}

.service-card h3 {
  margin: 0 0 10px;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.28;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-900);
}

.project-card h3 {
  margin: 0 0 12px;
  font-family: "Arial Black", "Segoe UI", sans-serif;
  font-size: 1.34rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--text-900);
}

.service-card p,
.reason-item p {
  margin: 0 0 18px;
  color: var(--text-700);
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.52;
}

.service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  box-shadow: none;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.7;
}

.reason-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.reason-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.7;
}

.service-icon--green {
  color: #4e9d16;
  background: rgba(127, 211, 33, 0.1);
  border-color: rgba(127, 211, 33, 0.16);
}

.service-icon--blue {
  color: #225fcb;
  background: rgba(33, 115, 255, 0.09);
  border-color: rgba(33, 115, 255, 0.15);
}

.service-icon--gold {
  color: #b88900;
  background: rgba(255, 202, 26, 0.12);
  border-color: rgba(255, 202, 26, 0.18);
}

.reason-icon--green {
  color: #8cdb38;
  background: rgba(127, 211, 33, 0.12);
  border-color: rgba(127, 211, 33, 0.22);
}

.reason-icon--blue {
  color: #78a8ff;
  background: rgba(33, 115, 255, 0.12);
  border-color: rgba(33, 115, 255, 0.2);
}

.reason-icon--gold {
  color: #ffd059;
  background: rgba(255, 202, 26, 0.12);
  border-color: rgba(255, 202, 26, 0.22);
}

.reasons {
  position: relative;
  padding: 60px 0;
  background:
    radial-gradient(circle at 88% 25%, rgba(33, 115, 255, 0.18), transparent 24%),
    linear-gradient(135deg, #04152a 0%, #081f3a 56%, #05101e 100%);
}

.reasons::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  opacity: 0.14;
  pointer-events: none;
}

.reasons-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.reasons-heading {
  max-width: 100%;
}

.section-tag--light {
  color: var(--green);
}

.reasons h2 {
  max-width: 100%;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(1.6rem, 2.1vw, 2.05rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #fff;
}

.reason-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  border-left: 0;
}

.reason-item {
  padding: 22px 20px 20px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.reason-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.reason-item h3 {
  color: #fff;
  margin-bottom: 8px;
  text-transform: none;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.32;
}

.reason-item p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.76);
}

.quote-section {
  padding: 56px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 100%);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
}

.quote-copy {
  padding-top: 6px;
}

.quote-section h2 {
  max-width: 16ch;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(1.4rem, 1.8vw, 1.75rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--text-900);
  text-wrap: balance;
}

.quote-copy > p:last-of-type {
  max-width: 38ch;
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.62;
  color: var(--text-700);
}

.quote-points {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.quote-points li {
  position: relative;
  padding-left: 18px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-700);
}

.quote-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.quote-form {
  padding: 22px;
  border: 1px solid rgba(11, 34, 64, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(5, 18, 34, 0.05);
}

.quote-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.quote-field {
  display: grid;
  gap: 8px;
}

.quote-field--full {
  grid-column: 1 / -1;
}

.quote-field span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-900);
}

.quote-field input,
.quote-field select,
.quote-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(11, 34, 64, 0.12);
  border-radius: 12px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text-900);
  background: #fff;
  outline: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.quote-field textarea {
  resize: vertical;
  min-height: 132px;
}

.quote-field input:focus,
.quote-field select:focus,
.quote-field textarea:focus {
  border-color: rgba(87, 188, 15, 0.46);
  background: rgba(255, 255, 255, 0.98);
}

.quote-form .btn {
  align-self: flex-start;
}

.contact-strip {
  position: relative;
  padding: 18px 0;
  background:
    linear-gradient(90deg, rgba(3, 19, 35, 0.96) 0%, rgba(3, 19, 35, 0.92) 58%, rgba(7, 24, 43, 0.82) 100%),
    linear-gradient(180deg, #07182b 0%, #05101e 100%);
}

.contact-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 40%, rgba(33, 115, 255, 0.14), transparent 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 92px 92px;
  pointer-events: none;
}

.contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.9fr);
  align-items: center;
  gap: 18px 28px;
}

.contact-copy h2 {
  color: #fff;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(1.3rem, 1.7vw, 1.6rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.contact-copy .section-tag {
  margin-bottom: 8px;
}

.contact-copy > p:last-of-type {
  max-width: 34ch;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.contact-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  justify-self: end;
  justify-content: flex-end;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  transition: color 180ms ease;
}

.contact-phone__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--surface);
  background: rgba(127, 211, 33, 0.16);
  border: 1px solid rgba(127, 211, 33, 0.22);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.contact-phone:hover .contact-phone__icon {
  background: rgba(127, 211, 33, 0.24);
  border-color: rgba(127, 211, 33, 0.34);
}

.contact-phone strong {
  display: block;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.1;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1160px) {
  .main-nav {
    gap: 24px;
  }

  .hero-inner,
  .about-layout,
  .services-layout,
  .reasons-layout,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    display: grid;
    min-height: 0;
    padding-bottom: 40px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-media {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 360px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
  }

  .hero-badge {
    right: 24px;
    bottom: 24px;
    width: min(340px, calc(100% - 48px));
  }

  .about-proof {
    max-width: 320px;
  }

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

  .reason-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 0;
  }

  .reason-item {
    padding-top: 22px;
  }

  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .site-header {
    position: relative;
  }

  .header-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: stretch;
    column-gap: 14px;
    row-gap: 8px;
    padding: 18px 0 14px;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .main-nav {
    display: grid;
    position: static;
    grid-column: 1 / -1;
    justify-content: stretch;
    justify-items: stretch;
    align-items: start;
    margin-top: 0;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: transparent;
    box-shadow: none;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: none;
    pointer-events: none;
    transition: max-height 240ms ease, opacity 180ms ease, padding-top 180ms ease, padding-bottom 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
  }

  .main-nav.is-open {
    gap: 6px;
    max-height: 320px;
    opacity: 1;
    padding-top: 8px;
    padding-bottom: 8px;
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(5, 22, 41, 0.98);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
    pointer-events: auto;
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 12px 4px;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    text-align: left;
  }

  .main-nav a::after {
    display: none;
  }

  .phone-chip {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 2px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .hero {
    min-height: 0;
    padding-top: 0;
  }

  .hero-inner {
    min-height: 0;
    padding-top: 14px;
  }

  .trust-points {
    grid-template-columns: 1fr;
  }

  .about-proof {
    max-width: 220px;
    justify-self: center;
  }

  .hero-badge {
    right: 18px;
    bottom: 18px;
    width: calc(100% - 36px);
    padding: 16px;
  }

  .service-cards,
  .reason-list,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    padding: 18px 18px 16px;
  }

  .reason-item {
    padding: 16px 16px 14px;
  }

  .service-icon,
  .reason-icon {
    margin-bottom: 12px;
  }

  .service-card h3,
  .reason-item h3 {
    margin-bottom: 6px;
  }

  .service-card p,
  .reason-item p {
    margin-bottom: 12px;
  }

  .quote-form__grid {
    grid-template-columns: 1fr;
  }

  .quote-copy,
  .quote-section h2,
  .quote-copy > p:last-of-type {
    max-width: 100%;
  }

  .quote-section h2 {
    text-wrap: unset;
  }

  .contact-phones {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand img {
    width: 226px;
  }

  .about-proof {
    max-width: 196px;
    padding: 18px;
  }

  .phone-chip,
  .btn,
  .contact-phone {
    width: auto;
    justify-content: center;
  }

  .phone-chip {
    padding-inline: 16px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.65rem);
  }

  .services h2,
  .reasons h2,
  .contact-strip h2 {
    font-size: clamp(1.95rem, 9vw, 2.7rem);
  }

  .about-section h2 {
    font-size: clamp(1.8rem, 7vw, 2.35rem);
    line-height: 1.1;
  }

  .services h2 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
    line-height: 1.1;
  }

  .reasons h2 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
    line-height: 1.12;
  }

  .quote-section h2 {
    font-size: clamp(1.45rem, 6vw, 1.8rem);
    line-height: 1.14;
  }

  .hero-actions,
  .section-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-card {
    min-height: 0;
    padding: 15px 14px 14px;
  }

  .reason-item {
    padding: 14px 14px 13px;
  }

  .service-icon,
  .reason-icon {
    margin-bottom: 10px;
  }

  .service-card h3,
  .reason-item h3 {
    margin-bottom: 5px;
  }

  .service-card p,
  .reason-item p {
    margin-bottom: 10px;
  }

  .about-section,
  .services,
  .quote-section {
    padding: 48px 0;
  }

  .reasons {
    padding: 48px 0;
  }

  .contact-strip {
    padding: 22px 0;
  }

  .contact-phone strong {
    font-size: 1rem;
  }
}
