:root {
  --bg: #f5f5f5;
  --surface: #efefef;
  --surface-soft: #f8f8f8;
  --line: #d8d8d8;
  --text: #303034;
  --muted: #66686d;
  --accent: #f56600;
  --accent-dark: #d85600;
  --white: #ffffff;
  --shadow: 0 18px 34px rgba(245, 102, 0, 0.14);
  --container: 1160px;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

body.is-loading {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.page-loader img {
  width: min(560px, 84vw);
  height: auto;
  display: block;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.is-ready .hero-copy,
body.is-ready .hero-photo-slot,
body.is-ready .section-intro,
body.is-ready .info-card,
body.is-ready .benefit-item,
body.is-ready .step-item,
body.is-ready .process-photo-slot,
body.is-ready .process-form,
body.is-ready .about-copy,
body.is-ready .about-stats,
body.is-ready .final-main,
body.is-ready .final-contacts,
body.is-ready .footer-map-shell {
  opacity: 0;
  transform: translateY(26px);
}

body.is-ready .is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

body.is-ready .hero-copy.is-visible,
body.is-ready .hero-photo-slot.is-visible {
  transition-duration: 0.9s;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 245, 245, 0.99);
  border-bottom: 1px solid #ececec;
}

.site-header.scrolled {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.topbar {
  min-height: 96px;
  display: grid;
  grid-template-columns: 320px 1fr 260px;
  align-items: center;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  width: 280px;
  height: 108px;
  overflow: hidden;
}

.logo img {
  display: block;
  width: 280px;
  height: 280px;
  max-width: none;
  object-fit: cover;
  object-position: center 36px;
}

.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.main-nav a,
.mobile-nav a {
  min-height: 34px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: #55585d;
  font-size: 0.86rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

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

.header-contact {
  display: grid;
  justify-items: end;
  gap: 3px;
}

.header-phone {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.header-mail {
  font-size: 0.74rem;
  color: var(--muted);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
  width: 44px;
  height: 44px;
}

.mobile-nav {
  display: none;
  gap: 10px;
  padding: 0 20px 18px;
}

.mobile-nav.open {
  display: grid;
}

.content-section,
.hero-section {
  padding: 58px 0 0;
}

.hero-section {
  padding-top: 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  min-height: 0;
  background: #ebebeb;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 34px 10px;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.08;
  font-weight: 800;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: grid;
  gap: 14px;
}

.hero-list li {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 54px;
  padding-left: 56px;
  font-size: 1rem;
  line-height: 1.28;
}

.hero-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  width: 32px;
  height: 32px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 800;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
}

.cta-button,
.mini-button,
.quiz-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 800;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.cta-button:hover,
.mini-button:hover,
.quiz-next:hover {
  background: var(--accent-dark);
}

.cta-button-wide {
  min-width: 320px;
}

.cta-button-full {
  width: 100%;
}

.cta-button-big {
  min-width: 300px;
}

.mini-button {
  min-height: 50px;
  padding: 0 20px;
  font-size: 0.92rem;
}

.hero-photo-slot {
  position: relative;
  border-left: 1px solid #e0e0e0;
  min-height: 560px;
  height: 100%;
}

.media-slot {
  position: relative;
  width: 100%;
  min-height: 220px;
  border-radius: 6px;
  overflow: hidden;
  background:
    linear-gradient(135deg, #d6d6d6, #ececec);
  border: 1px solid #dddddd;
}

.media-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, rgba(255,255,255,0.35) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0.35) 75%, transparent 75%, transparent);
  background-size: 26px 26px;
  opacity: 0.26;
}

.media-slot span {
  position: absolute;
  inset: auto 16px 16px 16px;
  font-size: 0.98rem;
  color: #818181;
  font-weight: 600;
}

.media-slot-image::before {
  display: none;
}

.media-slot-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-photo-animated img {
  animation: heroPhotoZoom 15s ease-in-out infinite alternate;
  transform-origin: center center;
  will-change: transform;
}

.feature-marquee {
  overflow: hidden;
  padding: 18px 0 0;
}

.feature-marquee-shell {
  overflow: hidden;
}

#clients {
  padding-top: 18px;
}

.feature-marquee-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  min-width: max-content;
  flex-wrap: nowrap;
  white-space: nowrap;
  padding: 0;
  animation: marqueeMove 30s linear infinite;
}

.feature-marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #ececec;
  color: #35383d;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid #dfdfdf;
}

.feature-marquee-track span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(245, 102, 0, 0.12);
}

.media-slot-large {
  min-height: 0;
  border-radius: 0;
}

.media-slot-tall {
  min-height: 500px;
}

.media-slot-empty {
  background: #e1e1e1;
}

.section-intro {
  max-width: 1160px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-intro h2 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  font-weight: 800;
}

.section-intro p {
  margin: 0 auto;
  max-width: 980px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text);
}

.card-grid {
  display: grid;
  gap: 14px;
}

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

.clients-showcase {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.clients-slider-window {
  position: relative;
  min-height: 560px;
}

.client-slide {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s ease;
  box-shadow: 0 26px 44px rgba(0, 0, 0, 0.14);
  background: #d9d9d9;
}

.client-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.client-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.client-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 12, 18, 0.82) 0%, rgba(8, 12, 18, 0.62) 24%, rgba(8, 12, 18, 0.26) 46%, rgba(8, 12, 18, 0.08) 64%, rgba(8, 12, 18, 0) 100%);
}

.client-slide-content {
  position: absolute;
  inset: 34px;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.client-slide-content strong {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  align-self: center;
  max-width: min(40%, 380px);
  padding: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.04;
  font-weight: 800;
  text-align: left;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
}

.client-slide-content strong span {
  display: block;
  white-space: nowrap;
}

.client-slide-content .mini-button {
  min-width: 260px;
  min-height: 60px;
  border-radius: 14px;
  font-size: 1rem;
  background: rgba(245, 102, 0, 0.74);
  box-shadow: 0 18px 34px rgba(245, 102, 0, 0.2);
  backdrop-filter: blur(4px);
}

.client-slide-content .mini-button:hover {
  background: rgba(230, 93, 0, 0.84);
}

.clients-arrow {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(48, 48, 52, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.clients-arrow span {
  font-size: 1.9rem;
  line-height: 1;
  transform: translateY(-1px);
}

.clients-arrow:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.12);
}

.info-card,
.service-card {
  background: #efefef;
  border-radius: 8px;
  padding: 0 0 22px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.info-card:hover,
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 28px rgba(0, 0, 0, 0.08);
}

.info-card .media-slot,
.service-card .media-slot {
  border-radius: 8px;
  min-height: 250px;
}

.info-card h3,
.service-card h3 {
  margin: 18px 22px 18px;
  font-size: 1.02rem;
  line-height: 1.18;
  font-weight: 800;
}

.service-card {
  text-align: left;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  margin: 0 22px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

.section-center {
  padding-top: 26px;
  text-align: center;
}

.quiz-shell {
  background: #ededed;
  border: 12px solid #ececec;
  padding: 28px;
  margin-top: 10px;
}

.quiz-head h3 {
  margin: 0 0 24px;
  font-size: 1.45rem;
  font-weight: 500;
}

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

.quiz-option {
  border: 1px solid #d3d3d3;
  border-radius: 6px;
  overflow: hidden;
  background: #f7f7f7;
}

.quiz-option .media-slot {
  min-height: 240px;
  border: 0;
  border-radius: 0;
}

.quiz-option strong {
  display: block;
  padding: 14px 14px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #5f5f5f;
}

.quiz-branding {
  padding: 28px 0 42px;
  text-align: center;
  color: #888;
}

.quiz-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.quiz-progress {
  flex: 1;
}

.quiz-progress span {
  display: block;
  margin-bottom: 10px;
  color: #6b6b6b;
}

.quiz-progress strong {
  color: var(--accent);
}

.quiz-progress-bar {
  height: 10px;
  border-radius: 999px;
  background: #d8d8d8;
}

.quiz-actions {
  display: flex;
  gap: 24px;
  align-items: center;
}

.quiz-arrow {
  width: 70px;
  height: 60px;
  border: 1px solid #d2d2d2;
  border-radius: 6px;
  background: transparent;
  color: #a4a4a4;
}

.quiz-next {
  min-height: 60px;
  padding: 0 32px;
}

.benefits-section {
  padding-top: 76px;
  padding-bottom: 48px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 56px;
  justify-items: center;
}

.benefit-item {
  text-align: center;
  transition: transform 0.35s ease;
}

.benefit-item:hover {
  transform: translateY(-4px);
}

.benefit-item h3 {
  margin: 14px 0 0;
  font-size: 0.98rem;
  line-height: 1.25;
  font-weight: 800;
}

.benefit-item-bottom {
  margin-top: 16px;
}

.benefit-visual {
  position: relative;
  width: 220px;
  height: 180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-visual-top {
  height: 180px;
}

.benefit-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.benefit-visual-plain {
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 48px;
}

.step-item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 22px 18px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08));
  text-align: center;
  transition: transform 0.38s ease, box-shadow 0.38s ease, background 0.38s ease;
}

.step-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 24px 42px rgba(245, 102, 0, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(245, 102, 0, 0.08));
}

.step-item::before {
  content: "";
  position: absolute;
  inset: -40% 30% auto;
  height: 140px;
  background: radial-gradient(circle, rgba(245, 102, 0, 0.2), transparent 68%);
  opacity: 0;
  transform: translateY(24px) scale(0.7);
  transition: opacity 0.38s ease, transform 0.38s ease;
  z-index: -1;
}

.step-item::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -42px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(245, 102, 0, 0.2);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.42s ease, transform 0.42s ease;
  z-index: -1;
}

.step-item:hover::before,
.step-item:hover::after {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.step-item span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 2rem;
  font-weight: 800;
  transition: transform 0.4s ease, text-shadow 0.4s ease;
}

.step-item:hover span {
  transform: scale(1.18) rotate(-6deg);
  text-shadow: 0 10px 24px rgba(245, 102, 0, 0.24);
}

.step-item h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
  line-height: 1.2;
  font-weight: 800;
}

.step-item p {
  margin: 0;
  color: var(--text);
  line-height: 1.5;
  font-size: 0.9rem;
}

.process-cta-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 0;
  background: #efefef;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 28px;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.06);
}

.process-photo-slot {
  min-height: 100%;
  height: 100%;
}

.process-photo-slot img {
  object-position: center center;
  transform: scale(1.12);
}

.process-form {
  padding: 42px 34px;
  background: #efefef;
}

.process-form h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  line-height: 1.12;
  font-weight: 800;
}

.process-form p {
  margin: 0 0 18px;
  line-height: 1.55;
  font-size: 0.92rem;
}

.process-form label {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 600;
}

.process-form input,
.process-form textarea {
  width: 100%;
  border: 1px solid #dddddd;
  border-radius: 6px;
  background: #fff;
  padding: 12px 14px;
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.process-form input:focus,
.process-form textarea:focus {
  outline: none;
  border-color: rgba(245, 102, 0, 0.5);
  box-shadow: 0 0 0 4px rgba(245, 102, 0, 0.12);
  transform: translateY(-1px);
}

.process-form textarea {
  resize: vertical;
  min-height: 116px;
}

.form-note,
.form-status {
  font-size: 0.92rem;
  color: #6d6d6d;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  padding: 46px 0 24px;
}

.about-copy h2 {
  margin: 0 0 18px;
  font-size: 2.35rem;
  font-weight: 800;
}

.about-copy p {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.6;
}

.about-stats {
  display: grid;
  gap: 26px;
  align-content: center;
}

.about-stat strong {
  display: block;
  color: var(--accent);
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}

.about-stat span {
  font-size: 0.96rem;
  line-height: 1.45;
}

.works-section {
  overflow: hidden;
}

.works-ribbon {
  overflow: hidden;
  padding: 6px 0 0;
}

.works-track {
  display: flex;
  gap: 22px;
  width: max-content;
}

.works-track img {
  width: 420px;
  height: 290px;
  flex: 0 0 auto;
  display: block;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.12);
}

.works-track-forward {
  animation: worksDriftForward 42s linear infinite;
}

.final-cta-section {
  position: relative;
  margin-top: 72px;
  padding: 64px 0 72px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(8, 12, 18, 0.82), rgba(8, 12, 18, 0.94)),
    url("../img/footer-bg-new.jpg") center/cover no-repeat;
}

.final-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(245, 102, 0, 0.05), transparent 42%);
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 1;
}

.final-main {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.final-main h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.08;
  font-weight: 800;
}

.final-main p {
  margin: 0 auto 20px;
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.55;
}

.final-main .cta-button {
  min-width: 420px;
  min-height: 64px;
  font-size: 1.12rem;
  box-shadow: 0 16px 34px rgba(245, 102, 0, 0.28);
  animation: finalCtaPulse 2.8s ease-in-out infinite;
}

.final-main .cta-button:hover {
  animation-play-state: paused;
}

.final-contacts {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 34px;
  margin-top: 54px;
  align-items: start;
}

.final-contacts span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.final-contacts strong {
  display: block;
  font-size: 0.96rem;
  line-height: 1.45;
}

.final-contacts strong:first-child,
.final-contacts > div:first-child strong {
  font-size: 1.2rem;
}

.footer-map-shell {
  margin-top: 34px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.footer-map {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
  filter: grayscale(0.08);
}

@keyframes heroPhotoZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

@keyframes finalCtaPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 16px 34px rgba(245, 102, 0, 0.28);
  }
  50% {
    transform: scale(1.018);
    box-shadow: 0 20px 40px rgba(245, 102, 0, 0.38);
  }
}

@keyframes marqueeMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes worksDriftForward {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 1280px) {
  .topbar {
    grid-template-columns: 240px 1fr 230px;
  }

  .header-phone {
    font-size: 1.6rem;
  }

  .hero-copy {
    padding: 18px 28px 10px;
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto auto;
    min-height: 96px;
  }

  .main-nav,
  .header-contact {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav {
    gap: 10px;
    padding: 0 20px 18px;
  }

  .mobile-nav a {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    justify-content: center;
  }

  .hero-grid,
  .card-grid-clients,
  .card-grid-services,
  .quiz-options,
  .steps-grid,
  .process-cta-grid,
  .about-grid,
  .final-contacts {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-copy {
    padding: 34px 24px 30px;
  }

  .hero-photo-slot,
  .media-slot-large {
    min-height: 360px;
    border-left: 0;
  }

  .clients-showcase {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .clients-slider-window {
    min-height: 500px;
    order: 1;
  }

  .clients-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
  }

  .clients-arrow-prev {
    left: 16px;
  }

  .clients-arrow-next {
    right: 16px;
  }

  .client-slide-content {
    inset: 22px 22px 22px 22px;
    align-items: stretch;
    flex-direction: column;
    justify-content: space-between;
  }

  .client-slide-content strong {
    align-self: flex-start;
    max-width: min(74%, 320px);
    font-size: clamp(1.45rem, 5vw, 2rem);
  }

  .client-slide-content .mini-button {
    align-self: flex-end;
    min-width: 0;
  }

  .works-track img {
    width: 330px;
    height: 228px;
  }

  .feature-marquee {
    padding-top: 10px;
  }

  .feature-marquee-shell {
    width: min(var(--container), calc(100% - 28px));
  }

  .feature-marquee-track {
    gap: 14px;
    animation-duration: 26s;
  }

  .feature-marquee-track span {
    padding: 10px 18px;
    font-size: 0.88rem;
  }

  .quiz-shell {
    padding: 24px;
    border-width: 10px;
    margin-top: 0;
  }

  .quiz-footer {
    align-items: start;
    flex-direction: column;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .benefit-item-bottom {
    margin-top: 0;
  }

  .process-form {
    padding: 34px 24px;
  }

  .process-photo-slot {
    min-height: 340px;
  }

  .about-stats {
    gap: 24px;
  }

  .about-stat strong {
    font-size: 4rem;
  }
}

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

  .topbar {
    gap: 12px;
    min-height: 84px;
  }

  .logo {
    width: 210px !important;
    height: 74px !important;
    margin-left: -6px !important;
  }

  .logo img {
    width: 268px !important;
    height: 268px !important;
    object-position: center 10px !important;
  }

  .mobile-nav {
    padding: 0 14px 16px;
  }

  .hero-copy {
    padding: 28px 18px 24px !important;
  }

  .hero-copy h1 {
    max-width: 15ch;
    font-size: clamp(1.7rem, 7.6vw, 2.35rem);
    line-height: 1.04;
  }

  .hero-list {
    gap: 12px;
  }

  .hero-list li {
    min-height: 48px;
    padding-left: 50px;
    font-size: 0.95rem;
  }

  .hero-photo-slot,
  .media-slot-large {
    min-height: 280px !important;
    height: 280px !important;
  }

  .clients-slider-window {
    min-height: 390px;
  }

  .clients-arrow-prev {
    left: 12px;
  }

  .clients-arrow-next {
    right: 12px;
  }

  .works-track img {
    width: 248px;
    height: 176px;
  }

  .feature-marquee-track {
    animation-duration: 22s;
  }

  .cta-button,
  .mini-button,
  .quiz-next,
  .final-main .cta-button,
  .cta-button-big {
    width: 100%;
    min-width: 0;
  }

  .section-intro {
    margin-bottom: 30px;
  }

  .section-intro h2 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
  }

  .quiz-shell {
    padding: 18px;
    border-width: 8px;
  }

  .quiz-shell iframe,
  .quiz-shell [data-marquiz-id] {
    min-height: 540px;
  }

  .quiz-head h3 {
    font-size: 1.2rem;
  }

  .process-form {
    padding: 26px 18px;
  }

  .process-form h3 {
    font-size: 1.28rem;
  }

  .process-form label {
    gap: 8px;
    font-size: 0.95rem;
  }

  .process-form input,
  .process-form textarea {
    padding: 13px 14px;
    font-size: 16px;
  }

  .process-photo-slot {
    min-height: 270px;
  }

  .about-grid {
    gap: 32px;
    padding: 20px 0 12px;
  }

  .about-copy h2 {
    font-size: 2rem;
  }

  .about-stat strong {
    font-size: 3.2rem;
  }

  .final-cta-section {
    padding: 48px 0 56px;
  }

  .final-main h2 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .final-contacts {
    gap: 24px;
    margin-top: 34px;
  }

  .footer-map {
    height: 280px;
  }
}

@media (max-width: 560px) {
  .content-section,
  .hero-section {
    padding-top: 44px;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 74px;
  }

  .logo {
    width: 178px !important;
    height: 64px !important;
  }

  .logo img {
    width: 228px !important;
    height: 228px !important;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .mobile-nav {
    padding: 0 10px 14px;
    gap: 8px;
  }

  .mobile-nav a {
    min-height: 44px;
    font-size: 0.92rem;
  }

  .hero-copy {
    padding: 24px 16px 22px !important;
  }

  .hero-copy h1 {
    max-width: 13ch;
    font-size: clamp(1.48rem, 8vw, 1.9rem);
    line-height: 1.06;
  }

  .hero-list li {
    min-height: 42px;
    padding-left: 44px;
    font-size: 0.88rem;
    line-height: 1.22;
  }

  .hero-list li::before {
    width: 28px;
    height: 28px;
  }

  .hero-photo-slot,
  .media-slot-large {
    min-height: 236px !important;
    height: 236px !important;
  }

  .clients-slider-window {
    min-height: 320px;
  }

  .client-slide-content {
    inset: 16px;
  }

  .client-slide-content strong {
    max-width: min(74%, 240px);
    font-size: 1.08rem;
  }

  .client-slide-content .mini-button {
    align-self: flex-end;
    width: auto;
    max-width: 210px;
    padding: 0 18px;
    min-height: 52px;
    font-size: 0.88rem;
  }

  .clients-arrow {
    width: 40px;
    height: 40px;
  }

  .clients-arrow span {
    font-size: 1.55rem;
  }

  .works-track {
    gap: 14px;
  }

  .works-track img {
    width: 214px;
    height: 154px;
    border-radius: 14px;
  }

  .feature-marquee {
    padding-top: 4px;
  }

  .feature-marquee-track {
    gap: 10px;
  }

  .feature-marquee-track span {
    padding: 9px 14px;
    font-size: 0.82rem;
    gap: 10px;
  }

  .card-grid {
    gap: 18px;
  }

  .info-card h3,
  .service-card h3 {
    margin: 16px 16px 14px;
    font-size: 0.98rem;
  }

  .step-item {
    padding: 18px 14px 16px;
  }

  .step-item span {
    font-size: 1.72rem;
  }

  .process-form input,
  .process-form textarea {
    padding: 12px 12px;
    font-size: 16px;
  }

  .process-photo-slot {
    min-height: 220px;
  }

  .about-copy p,
  .process-form p,
  .section-intro p,
  .step-item p {
    font-size: 0.92rem;
  }

  .final-main p {
    font-size: 0.94rem;
  }

  .footer-map {
    height: 220px;
  }
}

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

  .hero-copy {
    padding: 22px 14px 20px !important;
  }

  .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(1.34rem, 8.4vw, 1.72rem);
  }

  .hero-list li {
    padding-left: 40px;
    font-size: 0.84rem;
  }

  .hero-list li::before {
    width: 24px;
    height: 24px;
  }

  .hero-photo-slot,
  .media-slot-large {
    min-height: 210px !important;
    height: 210px !important;
  }

  .clients-slider-window {
    min-height: 290px;
  }

  .client-slide-content {
    inset: 14px;
    gap: 16px;
  }

  .client-slide-content strong {
    max-width: min(80%, 220px);
    font-size: 0.98rem;
  }

  .client-slide-content .mini-button {
    min-height: 48px;
    max-width: 190px;
    font-size: 0.84rem;
  }

  .works-track img {
    width: 188px;
    height: 138px;
  }

  .process-form {
    padding: 22px 14px;
  }

  .process-photo-slot {
    min-height: 190px;
  }

  .final-main h2 {
    font-size: 1.62rem;
  }

  .footer-map {
    height: 200px;
  }
}
