:root {
  --ink: #111318;
  --accent: #f37c60;
  --accent-dark: #df684e;
  --container: 2130px;
  --gutter: clamp(20px, 5vw, 74px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.4;
}

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

.site-header {
  position: relative;
  z-index: 2;
  background: #fff;
}

.topbar {
  background: #eff0f2;
  color: #1f2228;
  font-size: clamp(12px, 1.02vw, 23px);
}

.topbar__inner {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  min-height: clamp(36px, 3.45vw, 60px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 38px);
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.topbar__item strong {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.icon {
  color: var(--accent);
  font-size: 1.05em;
}

.topbar__socials {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 17px;
}

.topbar__socials a {
  width: clamp(22px, 1.45vw, 30px);
  height: clamp(22px, 1.45vw, 30px);
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: #050505;
  color: #fff;
  font-size: 0.78em;
  font-weight: 700;
}

.navbar {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  min-height: clamp(112px, 10.1vw, 210px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 38px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: clamp(150px, 15.1vw, 335px);
  height: auto;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(25px, 3vw, 64px);
  font-size: clamp(15px, 1.25vw, 29px);
  font-weight: 500;
}

.nav-links a:not(.quote-button) {
  transition: color 180ms ease;
}

.nav-links a:not(.quote-button):hover {
  color: var(--accent);
}

.quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(138px, 12.2vw, 250px);
  min-height: clamp(50px, 4.8vw, 88px);
  padding: 0 30px;
  border: 0;
  border-radius: clamp(12px, 1.15vw, 22px);
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.quote-button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  background: #f4f5f6;
  padding: 11px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #1f2228;
}

.hero-slider {
  padding: 0 var(--gutter) clamp(44px, 6vw, 96px);
}

.slider-shell {
  width: min(var(--container), 100%);
  margin: 0 auto;
  position: relative;
}

.slide {
  overflow: hidden;
  border-radius: clamp(12px, 1vw, 20px);
  background: #eaf0f4;
}

.slide__image {
  display: block;
  width: 100%;
  aspect-ratio: 2122 / 1210;
  object-fit: cover;
}

.hero-stats {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(36.8%, 744px);
  min-height: 13.4%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(8px, 1.5vw, 30px);
  padding: clamp(12px, 2vw, 32px) clamp(15px, 2.5vw, 44px);
  border: clamp(8px, 1.15vw, 22px) solid #fff;
  border-right: 0;
  border-bottom: 0;
  border-radius: clamp(14px, 1.5vw, 30px) 0 0 0;
  background: #eff0f2;
  box-shadow: -10px -12px 28px rgba(227, 232, 238, 0.38);
}

.hero-stat {
  min-width: 0;
  text-align: center;
}

.hero-stat__number {
  display: block;
  color: #050505;
  font-size: clamp(24px, 3.05vw, 60px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hero-stat__suffix {
  display: inline-block;
  margin-left: 0.04em;
  font-size: 0.58em;
  line-height: 1;
  vertical-align: 0.38em;
}

.hero-stat__label {
  display: block;
  margin-top: clamp(5px, 0.7vw, 12px);
  color: #111318;
  font-size: clamp(10px, 1vw, 20px);
  font-weight: 400;
  line-height: 1.15;
}

.slider-controls {
  position: absolute;
  left: 50%;
  bottom: clamp(12px, 2vw, 28px);
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.slider-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 19, 24, 0.22);
  cursor: pointer;
  transition: width 180ms ease, background-color 180ms ease;
}

.slider-dot.is-active {
  width: 28px;
  background: var(--accent);
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.quote-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.quote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 19, 25, 0.48);
  backdrop-filter: blur(5px);
}

.quote-modal__panel {
  position: relative;
  width: min(100%, 540px);
  padding: clamp(26px, 4vw, 42px);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(14, 24, 36, 0.26);
  transform: translateY(18px) scale(0.98);
  transition: transform 220ms ease;
}

.quote-modal.is-open .quote-modal__panel {
  transform: translateY(0) scale(1);
}

.quote-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f1f2f4;
  color: #1d2229;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.quote-modal__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.quote-modal h2 {
  margin: 0 48px 10px 0;
  color: #15191f;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.05;
}

.quote-modal p {
  margin: 0 0 24px;
  color: #5b626c;
  font-size: 15px;
  line-height: 1.55;
}

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

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid #e0e4e8;
  border-radius: 10px;
  background: #fff;
  color: #1d2229;
  font: inherit;
  font-size: 15px;
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.quote-form input {
  height: 50px;
  padding: 0 16px;
}

.quote-form textarea {
  min-height: 122px;
  resize: vertical;
  padding: 15px 16px;
}

.quote-form input:focus,
.quote-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(243, 124, 96, 0.14);
}

.quote-form button {
  min-height: 50px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.quote-form button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.quote-form__status {
  min-height: 18px;
  color: #5b626c;
  font-size: 13px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1050px) {
  .topbar__inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 8px 0;
  }

  .topbar__socials {
    margin-left: 0;
  }

  .navbar {
    min-height: 92px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: var(--gutter);
    right: var(--gutter);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid #eceff2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 44px rgba(20, 28, 38, 0.12);
    font-size: 16px;
  }

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

  .nav-links a {
    padding: 13px 12px;
  }

  .quote-button {
    margin-top: 8px;
    min-width: 0;
    min-height: 48px;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
  }

  .topbar__inner {
    align-items: flex-start;
    gap: 8px 14px;
    font-size: 12px;
  }

  .topbar__item {
    white-space: normal;
  }

  .topbar__socials {
    width: 100%;
    justify-content: center;
  }

  .navbar {
    min-height: 82px;
  }

  .brand img {
    width: 156px;
  }

  .hero-slider {
    padding-bottom: 34px;
  }

  .slide__image {
    aspect-ratio: 2122 / 1210;
    object-fit: contain;
  }

  .hero-stats {
    width: 36.8%;
    min-height: 14%;
    gap: 3px;
    padding: 5px 6px;
    border-width: 4px;
    border-radius: 8px 0 0 0;
  }

  .hero-stat__number {
    font-size: clamp(11px, 3.6vw, 16px);
  }

  .hero-stat__label {
    margin-top: 2px;
    font-size: clamp(5px, 1.65vw, 8px);
  }

  .quote-modal {
    align-items: end;
    padding: 12px;
  }

  .quote-modal__panel {
    border-radius: 16px;
  }
}
