:root {
  --dark: #1b1b1b;
  --bg: #e4e4e1;
  --bg-card: #f2f2ef;
  --border-light: #cfcfcb;
  --orange: #ff7417;
  --orange-dark: #ec6308;
  --blue: #4aa8e3;
  --blue-light: #e6f2f8;
  --blue-frame: #cde4f3;
  --text: #1b1b1b;
  --muted: #5a5a5a;
  --muted-dark: #a9a9a9;
  --line-dark: #3a3a3a;
  --font-head: "Lato", system-ui, sans-serif;
  --font-ui: "Ubuntu", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

body.menu-open { overflow: hidden; }

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

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

h1, h2, h3, p, ul, figure, blockquote { margin: 0; }

ul { padding: 0; list-style: none; }

svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: 1344px;
  margin: 0 auto;
  padding: 0 32px;
}

.text-orange { color: var(--orange); }
.text-blue { color: var(--blue); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--dark);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  padding: 7px 16px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.topbar__accent { color: var(--orange); }
.topbar__sep { color: #777; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(228, 228, 225, 0.96);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.06); }

.header__inner {
  max-width: 1280px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.5px;
  color: var(--dark);
}
.brand__name span { color: var(--orange); }
.brand__tag {
  margin-top: 4px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #777;
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--dark);
  transition: color .2s;
}
.nav a:not(.btn):hover { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px 20px;
  border: 1px solid transparent;
  transition: transform .2s, background-color .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 22px; height: 22px; stroke-width: 1.8; }
.btn--lg { padding: 18px 28px; font-size: 16px; }

.btn--orange { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(255,116,23,.25); }
.btn--orange:hover { background: var(--orange-dark); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #000; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.btn--outline { background: transparent; color: var(--dark); border-color: #cfcfc8; }
.btn--outline:hover { border-color: var(--dark); background: #fff; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(74,168,227,.35); }
.btn--blue:hover { background: #3796d1; }

.header__call { padding: 13px 20px; }

/* ---------- Burger ---------- */
.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #d6d6cf;
  background: #fff;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .25s, opacity .25s, top .25s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 29px; }
.burger.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Eyebrow & titles ---------- */
.eyebrow {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.eyebrow--icon { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow--icon svg { width: 22px; height: 22px; stroke-width: 1.8; }

.title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.065em;
  -webkit-text-stroke: 0.025em currentColor;
  paint-order: stroke fill;
}
.title--xl { font-size: clamp(48px, 5.4vw, 72px); line-height: 0.9; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 110px; overflow: hidden; }
.hero__inner {
  max-width: 1280px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 40px;
  align-items: center;
}
.hero__content { padding-top: 40px; }
.hero__media { margin-right: -16px; }
.hero__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(64px, 8vw, 116px);
  line-height: 0.8;
  letter-spacing: -0.075em;
  -webkit-text-stroke: 0.02em currentColor;
  paint-order: stroke fill;
  margin: 26px 0 36px;
  padding-bottom: 14px;
}
.hero__title span { -webkit-text-stroke-color: var(--orange); }
.hero__lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.65;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 40px 0 36px; }

.checks li {
  position: relative;
  padding-left: 32px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 14px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 3px;
  width: 16px;
  height: 9px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
  transform-origin: center;
}
.checks--hero { display: flex; flex-wrap: wrap; gap: 14px 26px; max-width: 480px; color: var(--muted); }
.checks--about { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-top: 44px; color: var(--dark); font-weight: 700; }
.checks--about li { font-weight: 700; }

.hero__media { position: relative; }
.poster {
  background: var(--blue-frame);
  border-radius: 44px;
  padding: 16px;
  box-shadow: 0 30px 60px rgba(74,168,227,.18);
}
.poster img { width: 100%; border-radius: 30px; aspect-ratio: 1 / 0.99; object-fit: cover; }

.badge {
  position: absolute;
  left: -12px;
  bottom: -30px;
  background: var(--orange);
  color: #fff;
  border-radius: 18px;
  padding: 16px 22px 14px;
  box-shadow: 0 14px 30px rgba(255,116,23,.35);
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.badge strong { font-family: var(--font-ui); font-weight: 700; font-size: 30px; letter-spacing: -0.5px; }
.badge span { font-family: var(--font-ui); font-weight: 500; font-size: 12px; text-transform: uppercase; margin-top: 8px; letter-spacing: .3px; }

/* ---------- Dark sections ---------- */
.section-dark { background: var(--dark); color: #fff; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 48px;
}
.section-head__lead { font-size: 18px; color: var(--muted-dark); max-width: 440px; line-height: 1.65; padding-bottom: 8px; }
.section-head__lead--small { font-size: 16px; color: var(--muted); justify-self: end; max-width: 300px; }

/* ---------- Services ---------- */
.services { padding: 80px 0; }
.services .section-head { grid-template-columns: auto 1fr; gap: 80px; }

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  overflow: hidden;
}
.service {
  padding: 36px 36px 36px;
  min-height: 248px;
  display: flex;
  flex-direction: column;
  transition: background-color .25s;
}
.service:hover { background: #222; }
.service:nth-child(odd) { border-right: 1px solid var(--line-dark); }
.service:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
.service__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.service__num { font-family: var(--font-ui); font-weight: 700; font-size: 14px; color: var(--orange); }
.service__icon { width: 22px; height: 22px; color: var(--blue); stroke-width: 1.8; }
.service__title { font-family: var(--font-ui); font-weight: 700; font-size: 24px; margin: 56px 0 14px; letter-spacing: -0.2px; }
.service__text { color: var(--muted-dark); font-size: 16px; max-width: 330px; }

/* ---------- About ---------- */
.about { padding: 110px 0; }
.about__inner {
  max-width: 1280px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about__media img {
  width: 100%;
  border-radius: 28px;
  aspect-ratio: 580 / 700;
  object-fit: cover;
}
.about__lead { font-size: 18px; color: var(--muted); margin-top: 36px; max-width: 480px; line-height: 1.65; }
.about .btn--blue { margin-top: 44px; }

/* ---------- Reviews ---------- */
.reviews { padding: 80px 0; background: var(--blue-light); border-top: 1px solid #d8e6ee; }
.reviews__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; }
.reviews__media img { width: 100%; height: 100%; min-height: 360px; max-height: 660px; object-fit: cover; border-radius: 22px; aspect-ratio: 722 / 660; }
.review {
  background: var(--orange);
  color: #fff;
  border-radius: 22px;
  padding: 44px 40px;
}
.review__stars { display: flex; gap: 12px; margin-bottom: 44px; }
.review__stars svg { width: 42px; height: 42px; fill: #fff; stroke: none; }
.review__quote {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.22;
}
.review__author { margin-top: 32px; font-family: var(--font-ui); font-weight: 500; font-size: 14px; color: rgba(255,255,255,.8); }

/* ---------- Pricing ---------- */
.pricing { padding: 80px 0; }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pricing__card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}
.pricing__card--highlight {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}
.pricing__card--highlight .pricing__desc { color: var(--muted-dark); }
.pricing__label {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--orange);
}
.pricing__price {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.03em;
  margin: 18px 0 12px;
}
.pricing__price strong { font-size: 38px; }
.pricing__desc { color: var(--muted); font-size: 15px; line-height: 1.5; margin-top: auto; }
.pricing__note { margin-top: 28px; color: var(--muted); font-size: 14px; }

/* ---------- Contact form ---------- */
.contact-form-section { padding: 0 0 70px; }
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  padding: 44px;
  margin-top: 56px;
  color: var(--text);
}
.contact-form-section .contact-form-wrap { margin-top: 0; max-width: 760px; margin-left: auto; margin-right: auto; border-color: var(--border-light); box-shadow: 0 20px 50px rgba(0,0,0,.06); }
.contact-form__title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 26px;
  color: var(--dark);
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .3px;
  color: var(--muted);
}
.form-field input {
  font-family: var(--font-head);
  font-size: 15.5px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 13px 16px;
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74,168,227,.18);
}
.contact-form .btn {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 6px;
  cursor: pointer;
}
.form-status {
  grid-column: 1 / -1;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--blue);
  margin-top: -6px;
}
.form-status[hidden] { display: none; }

/* ---------- Contact ---------- */
.contact { padding: 110px 0 0; }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding-bottom: 110px;
}
.contact__lead { font-size: 18px; color: var(--muted-dark); max-width: 500px; margin-top: 36px; line-height: 1.65; }
.contact__list { display: flex; flex-direction: column; gap: 20px; padding-top: 70px; }
.contact__list a, .contact__hours { display: inline-flex; align-items: center; gap: 12px; }
.contact__phone { font-family: var(--font-ui); font-weight: 700; font-size: 25px; letter-spacing: .5px; transition: color .2s; }
.contact__phone svg { width: 24px; height: 24px; stroke-width: 1.7; }
.contact__mail { font-size: 19px; font-weight: 400; transition: color .2s; word-break: break-all; }
.contact__mail svg { width: 24px; height: 24px; stroke-width: 1.7; }
.contact__list a:hover { color: var(--orange); }
.contact__hours { margin-top: 12px; color: var(--muted-dark); font-family: var(--font-ui); font-weight: 500; font-size: 14px; }
.contact__hours svg { width: 22px; height: 22px; stroke-width: 1.6; }

.footer {
  border-top: 1px solid var(--line-dark);
  padding: 32px 0 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--muted-dark);
}
.footer__brand strong { font-family: var(--font-ui); font-weight: 700; color: #fff; margin-right: 8px; letter-spacing: -0.3px; }
.footer__brand span { color: var(--orange); }
.footer__copy { text-align: center; }
.footer__top { justify-self: end; display: inline-flex; align-items: center; gap: 10px; transition: color .2s; }
.footer__top:hover { color: #fff; }
.footer__top svg { width: 18px; height: 18px; stroke-width: 1.8; }

/* ---------- Social bar ---------- */
.social-bar {
  border-top: 1px solid var(--line-dark);
  background: var(--dark);
  color: #fff;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.social-bar__label {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 13.5px;
  color: var(--muted-dark);
}
.social-bar__links { display: flex; gap: 12px; }
.social-bar__link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s, border-color .2s, transform .2s;
}
.social-bar__link svg { width: 20px; height: 20px; }
.social-bar__link:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-2px); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .services .section-head { gap: 40px; }
}

@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .header__inner { height: 70px; }
  html { scroll-padding-top: 76px; }

  .header__call span { display: none; }
  .header__call { padding: 0; width: 46px; height: 46px; margin-left: auto; }
  .burger { display: block; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
    overflow-y: auto;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 32px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav a:not(.btn) {
    font-size: 26px;
    font-family: var(--font-head);
    font-weight: 900;
    letter-spacing: -0.03em;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-light);
  }
  .hero { padding: 48px 0 80px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__content { padding-top: 0; }
  .hero__media { margin-right: 0; }
  .hero__title { margin: 20px 0 28px; }
  .hero__media { max-width: 620px; width: 100%; margin: 0 auto; }
  .badge { left: 0; bottom: -22px; }

  .section-head, .services .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .section-head__lead--small { justify-self: start; max-width: 440px; }

  .services { padding: 72px 0; }
  .services__grid { grid-template-columns: 1fr; }
  .service { min-height: 0; padding: 28px 24px; }
  .service:nth-child(odd) { border-right: 0; }
  .service:not(:last-child) { border-bottom: 1px solid var(--line-dark); }
  .service__title { margin: 36px 0 10px; font-size: 22px; }

  .about { padding: 72px 0; }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__media img { aspect-ratio: 4 / 4.2; }
  .about__lead { margin-top: 24px; }

  .reviews { padding: 72px 0; }
  .reviews__grid { grid-template-columns: 1fr; }
  .reviews__media img { height: auto; aspect-ratio: 4 / 3.4; min-height: 0; }
  .review { padding: 36px 28px; }
  .review__stars { margin-bottom: 28px; }
  .review__stars svg { width: 34px; height: 34px; }

  .contact { padding-top: 72px; }
  .contact__inner { grid-template-columns: 1fr; gap: 12px; padding-bottom: 72px; }
  .contact__list { padding-top: 24px; }

  .footer { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 10px; padding-bottom: 28px; }
  .footer__top { justify-self: center; }

  .pricing { padding: 72px 0; }
  .pricing__grid { grid-template-columns: 1fr 1fr; }

  .contact-form-wrap { padding: 28px 22px; margin-top: 40px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form-section { padding-bottom: 48px; }

  .social-bar { flex-direction: column; gap: 10px; padding: 24px 0; }
}

@media (max-width: 520px) {
  .topbar { font-size: 12.5px; }
  .brand__logo { width: 42px; height: 42px; }
  .brand__name { font-size: 16px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .checks--hero { flex-direction: column; gap: 12px; }
  .checks--about { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .about .btn--blue { width: 100%; }
  .poster { border-radius: 32px; padding: 10px; }
  .poster img { border-radius: 24px; }
  .badge strong { font-size: 24px; }
  .badge { padding: 12px 16px 11px; border-radius: 14px; }
  .contact__phone { font-size: 23px; }
  .contact__mail { font-size: 17px; }
  .pricing__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
