@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;900&display=swap');

:root {
  --bg: #fff672;
  --text: #000000;
  --card-bg: #ffffff;
  --muted: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 0 !important;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1 {
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -3px;
}

h2 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 48px;
}

h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
}

p {
  color: var(--muted);
}

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

.container {
  width: min(1360px, 100%);
  margin: 0 auto;
  padding: 0 40px;
}

section {
  border-bottom: 3px solid #000;
  padding: 80px 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s;
}

section.visible {
  opacity: 1;
  transform: none;
}

.btn-primary {
  display: inline-block;
  background: #000;
  color: #fff672;
  border: 3px solid #000;
  box-shadow: 6px 6px 0 #000;
  padding: 18px 36px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: 18px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}

.btn-primary:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 #000;
}

.btn-secondary {
  display: inline-block;
  background: #fff672;
  color: #000;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  padding: 16px 32px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: 17px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}

.btn-secondary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #000;
}

.card {
  background: #fff;
  border: 3px solid #000;
  box-shadow: 5px 5px 0 #000;
  padding: 32px;
  transition: transform .15s, box-shadow .15s;
}

.card:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 #000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff672;
  border-bottom: 3px solid #000;
}

.site-header.scrolled {
  box-shadow: 0 6px 0 #000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 900;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: block;
  flex: 0 0 40px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 900;
}

.nav-links a {
  border-bottom: 3px solid transparent;
}

.nav-links a:hover {
  border-bottom-color: #000;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  font-weight: 900;
}

.header-btn {
  padding: 10px 18px;
  font-size: 16px;
  box-shadow: 4px 4px 0 #000;
}

.burger {
  display: none;
  border: 3px solid #000;
  background: #fff;
  box-shadow: 4px 4px 0 #000;
  padding: 8px 10px;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}

.nav-mobile {
  display: none;
}

.nav-open .nav-mobile {
  display: flex;
  position: fixed;
  inset: 72px 0 0;
  background: #fff672;
  flex-direction: column;
  gap: 14px;
  padding: 26px 20px;
  border-top: 3px solid #000;
  z-index: 95;
}

.nav-mobile a {
  font-size: 24px;
  font-weight: 900;
  border: 3px solid #000;
  background: #fff;
  box-shadow: 4px 4px 0 #000;
  padding: 12px 14px;
}

.hero {
  padding: 120px 40px 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 65fr 35fr;
  gap: 32px;
  align-items: start;
}

.hero__tag {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 3px;
  border: 2px solid #000;
  padding: 6px 14px;
  display: inline-block;
  margin-bottom: 16px;
}

.hero h1 {
  margin-bottom: 22px;
}

.outline {
  -webkit-text-stroke: 3px #000;
  color: transparent;
}

.hero-subtext {
  max-width: 760px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-point {
  border: 3px solid #000;
  background: #fff;
  box-shadow: 5px 5px 0 #000;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: start;
}

.hero-point h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.hero-point p {
  font-size: 14px;
}

.stroke-svg {
  width: 26px;
  height: 26px;
  stroke: #000;
  stroke-width: 3;
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.hero-visual {
  display: grid;
  gap: 14px;
}

.map-russia {
  border: 3px solid #000;
  background: #fff;
  box-shadow: 6px 6px 0 #000;
  padding: 10px;
}

.hero-photo {
  width: 100%;
  border: 3px solid #000;
  box-shadow: 6px 6px 0 #000;
  object-fit: cover;
}

.trust {
  background: #fff;
  padding: 60px 40px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-item {
  padding: 12px 16px;
  border-right: 3px solid #000;
}

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

.trust-item strong {
  display: block;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  font-weight: 900;
}

.trust-item span {
  font-size: 16px;
  color: #000;
}

.section-intro {
  max-width: 980px;
  margin-bottom: 36px;
}

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

.service-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.service-tags {
  margin-top: 12px;
  color: #111;
  font-size: 14px;
  font-weight: 900;
}

.how {
  background: #fff;
}

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

.how-item {
  position: relative;
}

.how-number {
  font-size: 48px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.12);
  line-height: 1;
}

.how-time {
  margin-top: 10px;
  display: inline-block;
  font-weight: 900;
}

.how-arrow {
  position: absolute;
  right: -18px;
  top: 46%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  stroke: #000;
  stroke-width: 3;
  fill: none;
}

.numbers {
  background: #000;
  color: #fff672;
  border-bottom: 3px solid #fff672;
}

.numbers h2 {
  color: #fff672;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.number-item {
  padding: 14px 14px;
  border-right: 1px solid rgba(255, 238, 0, 0.3);
}

.number-item:last-child {
  border-right: 0;
}

.number-item strong {
  display: block;
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 900;
  line-height: 1;
  color: #fff672;
}

.number-item span {
  color: #ffef7a;
}

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

.case-photo {
  width: calc(100% + 64px);
  margin: -32px -32px 22px;
  border-bottom: 3px solid #000;
  height: 220px;
  object-fit: cover;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.badge {
  border: 2px solid #000;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 8px;
}

.pricing {
  background: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.price {
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
  margin-bottom: 8px;
}

.price-sub {
  font-weight: 900;
  margin-bottom: 16px;
}

.pricing-list {
  margin-bottom: 20px;
  padding-left: 18px;
}

.pricing-list li {
  margin-bottom: 8px;
  color: #111;
}

.featured {
  border-width: 4px;
  box-shadow: 8px 8px 0 #000;
}

.popular {
  display: inline-block;
  background: #000;
  color: #fff672;
  font-weight: 900;
  font-size: 12px;
  padding: 4px 8px;
  margin-bottom: 10px;
}

.pricing-extra {
  border: 3px solid #000;
  background: #fff672;
  box-shadow: 6px 6px 0 #000;
  padding: 32px;
}

.reviews {
  background: #fff;
}

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

.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.review-avatar {
  width: 52px;
  height: 52px;
  border: 3px solid #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.review-avatar svg {
  width: 30px;
  height: 30px;
  stroke: #000;
  stroke-width: 3;
  fill: none;
}

.review-meta strong {
  display: block;
  line-height: 1.2;
}

.review-meta span {
  font-size: 12px;
}

.stars {
  font-weight: 900;
  margin-bottom: 8px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 3px solid #000;
  background: #fff;
  box-shadow: 5px 5px 0 #000;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  text-align: left;
}

.faq-question h3 {
  margin: 0;
}

.faq-icon {
  width: 26px;
  height: 26px;
  stroke: #000;
  stroke-width: 3;
  fill: none;
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: #111;
}

.faq-item.faq-open .faq-answer {
  display: block;
}

.faq-item.faq-open .faq-icon-plus {
  display: none;
}

.faq-item:not(.faq-open) .faq-icon-minus {
  display: none;
}

.form {
  background: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: 24px;
}

.form-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  font-weight: 900;
  color: #000;
}

.form-card {
  border: 3px solid #000;
  background: #fff672;
  box-shadow: 6px 6px 0 #000;
  padding: 24px;
}

input,
textarea {
  width: 100%;
  border: 3px solid #000;
  background: #fff;
  padding: 14px 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  margin-bottom: 16px;
  box-shadow: 4px 4px 0 #000;
}

input:focus,
textarea:focus {
  outline: none;
  box-shadow: 6px 6px 0 #000;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #111;
  margin-top: 12px;
  margin-bottom: 8px;
}

.form-consent input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border: 3px solid #000;
  background: #fff;
  padding: 0;
  box-shadow: 3px 3px 0 #000;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.form-consent input[type="checkbox"]:checked {
  background: #ffd83d;
}

.form-consent input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 4px;
  width: 4px;
  height: 8px;
  border: solid #000;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.form-consent input[type="checkbox"]:focus-visible {
  outline: 3px solid #000;
  outline-offset: 2px;
}

.thank-you {
  display: none;
  border: 3px solid #000;
  background: #fff;
  box-shadow: 6px 6px 0 #000;
  padding: 22px;
  margin-top: 18px;
}

.thank-you svg {
  width: 34px;
  height: 34px;
  stroke: #000;
  stroke-width: 3;
  fill: none;
  margin-bottom: 10px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contacts-list p {
  margin-bottom: 10px;
  color: #111;
}

.map {
  width: 100%;
  height: 400px;
  border: 3px solid #000;
}

.site-footer {
  background: #000;
  color: #fff672;
  padding: 50px 40px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.footer-col {
  padding-right: 20px;
  border-right: 1px solid rgba(255, 238, 0, 0.2);
}

.footer-col:last-child {
  border-right: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 26px;
  margin-bottom: 12px;
}

.footer-col p,
.footer-col li,
.footer-col a {
  color: #fff672;
}

.footer-col ul {
  margin-bottom: 16px;
}

.footer-col li {
  margin-bottom: 6px;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 238, 0, 0.2);
}

.floating-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 110;
  width: 58px;
  height: 58px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 3px solid #000;
  background: #fff;
  box-shadow: 5px 5px 0 #000;
}

.floating-call svg {
  width: 26px;
  height: 26px;
  stroke: #000;
  stroke-width: 3;
  fill: none;
}

.fade-target {
  opacity: 0;
  transform: translateY(30px);
  transition: .6s;
}

.fade-target.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1279px) {
  .header-inner {
    padding: 12px 20px;
  }

  .container {
    padding: 0 20px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

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

  .how-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .how-arrow {
    display: none;
  }
}

@media (max-width: 767px) {
  section {
    padding: 56px 6px;
  }

  .hero {
    padding: 45px 6px 56px;
  }

  .hero-grid {
    width: 100%;
    max-width: 100%;
    gap: 10px;
  }

  .site-header {
    position: sticky;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 6px;
  }

  .header-inner {
    padding: 10px 6px;
  }

  .nav-links,
  .header-right {
    display: none;
  }

  .burger {
    display: inline-block;
  }

  .btn-primary {
    padding: 18px 20px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .trust-item {
    border-right: 0;
    border: 3px solid #000;
    background: #fff;
    box-shadow: 4px 4px 0 #000;
  }

  .services-grid,
  .cases-grid,
  .reviews-grid,
  .pricing-grid,
  .contacts-grid,
  .footer-grid,
  .form-grid,
  .how-grid,
  .numbers-grid {
    grid-template-columns: 1fr;
  }

  .number-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 238, 0, 0.3);
  }

  .number-item:last-child {
    border-bottom: 0;
  }

  .form .btn-primary {
    font-size: 16px;
  }

  .footer-col {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 238, 0, 0.2);
    padding-bottom: 16px;
  }

  .footer-col:last-child {
    border-bottom: 0;
  }
}

@media (min-width: 1280px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-grid {
    grid-template-columns: 65fr 35fr;
  }

  .form-grid {
    grid-template-columns: 40fr 60fr;
  }
}
