/*
Theme Name: TorgAlliance
Theme URI: https://torgalliance.local
Author: ООО «ТоргАльянс»
Description: Корпоративная тема строительной компании с формой заявок в базе WordPress.
Version: 1.0.0
Text Domain: torgalliance
*/

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f3efe6;
  --paper: #fffaf0;
  --ink: #11110f;
  --ink-soft: #2a2a25;
  --muted: #706d63;
  --line: #d8d0c0;
  --green: #5f6f52;
  --green-dark: #3d4937;
  --orange: #df6c22;
  --orange-dark: #b65018;
  --white: #ffffff;
  --radius: 24px;
  --radius-sm: 14px;
  --container: 1240px;
  --header: 82px;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg,
iframe {
  display: block;
}

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

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

[hidden] {
  display: none !important;
}

button,
input,
textarea {
  font: inherit;
}

button,
a[href],
summary {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(223, 108, 34, 0.45);
  outline-offset: 4px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-140%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.container {
  width: min(100% - 28px, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(64px, 8vw, 108px) 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 3.9rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.section-kicker {
  margin: 0 0 10px;
}

.section-head p {
  margin: 0;
}

.section-kicker,
.section-head p {
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  color: var(--white);
  background: var(--orange);
  font-weight: 800;
  line-height: 1;
  transition: transform 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease), color 220ms var(--ease);
}

.button:hover {
  border-color: var(--orange-dark);
  background: var(--orange-dark);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

.button--ghost {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.button--ghost:hover {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.button--dark {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.button--dark:hover {
  border-color: var(--green-dark);
  background: var(--green-dark);
}

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

.text-link,
.link-cta {
  width: fit-content;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-weight: 800;
  transition: color 180ms var(--ease);
}

.text-link:hover,
.link-cta:hover {
  color: var(--orange);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header);
  background: rgba(243, 239, 230, 0.78);
  border-bottom: 1px solid rgba(17, 17, 15, 0.08);
  backdrop-filter: blur(18px);
  transition: background 220ms var(--ease), box-shadow 220ms var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 250, 240, 0.94);
  box-shadow: 0 12px 34px rgba(17, 17, 15, 0.08);
}

.header__inner {
  display: flex;
  min-height: var(--header);
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.brand__sign {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ink);
}

.brand__sign img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__text {
  display: grid;
  min-width: 0;
  line-height: 1.1;
}

.brand__text b {
  font-size: 0.98rem;
  white-space: nowrap;
}

.brand__text small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.nav {
  display: none;
  align-items: center;
  gap: 26px;
  font-size: 0.92rem;
  font-weight: 800;
}

.nav a,
.mobile-menu a,
.footer-nav a {
  transition: color 180ms var(--ease);
}

.nav a:hover,
.mobile-menu a:hover,
.footer-nav a:hover {
  color: var(--orange);
}

.link-cta {
  display: none;
  font-size: 0.9rem;
}

.menu-button {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
}

.menu-button span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 180ms var(--ease);
}

.menu-button.is-active span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-button.is-active span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.mobile-menu {
  width: min(100% - 28px, var(--container));
  margin: 0 auto 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 18px 42px rgba(17, 17, 15, 0.12);
}

.mobile-menu a:not(.button) {
  display: block;
  padding: 10px 0;
  font-weight: 800;
}

.hero {
  padding: calc(var(--header) + 28px) 0 clamp(60px, 8vw, 104px);
}

.hero__layout {
  display: grid;
  gap: 26px;
}

.hero__topline,
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__topline span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(255, 250, 240, 0.68);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero h1 {
  display: block;
  max-width: 980px;
  color: var(--ink);
  font-size: clamp(2.5rem, 5.2vw, 5.4rem);
  font-weight: 800;
  line-height: 1.04;
}

.hero h1 span {
  display: block;
  white-space: normal;
}

.hero h1 span:last-child {
  color: var(--green);
}

.hero__media {
  position: relative;
  overflow: hidden;
  border-radius: clamp(28px, 4vw, 52px);
  background: var(--ink);
}

.hero__media img {
  width: 100%;
  min-height: 420px;
  max-height: 640px;
  object-fit: cover;
  opacity: 0.78;
}

.hero__note {
  position: absolute;
  left: clamp(18px, 4vw, 48px);
  right: clamp(18px, 4vw, 48px);
  bottom: clamp(18px, 4vw, 48px);
  display: grid;
  gap: 18px;
  align-items: end;
  color: var(--white);
}

.hero__note p {
  max-width: 620px;
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
}

.hero__facts {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.hero__facts article {
  padding: 22px;
  background: var(--paper);
}

.hero__facts b,
.hero__facts span {
  display: block;
}

.hero__facts b {
  font-size: 1.05rem;
}

.hero__facts span {
  margin-top: 6px;
  color: var(--muted);
}

.intro-section {
  background: var(--ink);
  color: var(--paper);
}

.intro-grid {
  display: grid;
  gap: 34px;
}

.intro-copy h2 {
  color: var(--paper);
}

.intro-copy p,
.calculator-copy p {
  max-width: 760px;
  margin: 26px 0 0;
  color: rgba(255, 250, 240, 0.72);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.intro-list span {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 250, 240, 0.18);
  font-weight: 800;
}

.services-section {
  background: var(--paper);
}

.section-head {
  display: grid;
  gap: 6px;
  margin-bottom: 42px;
}

.section-head--split {
  align-items: end;
}

.service-board {
  display: grid;
  align-items: stretch;
  gap: 14px;
}

.service-tile {
  min-height: 280px;
  height: 100%;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color 220ms var(--ease), background 220ms var(--ease);
}

.service-tile:hover {
  border-color: rgba(95, 111, 82, 0.45);
  background: #efe6d8;
}

.service-tile p {
  margin: 0;
  color: var(--muted);
}

.tile-icon {
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--green);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-tile--dark {
  color: var(--paper);
  background: var(--ink);
}

.service-tile--dark:hover {
  background: var(--green-dark);
}

.service-tile--dark p {
  color: rgba(255, 250, 240, 0.72);
}

.service-tile--dark a {
  align-self: end;
  margin-top: auto;
  color: var(--paper);
  font-weight: 900;
}

.guarantees-section {
  background: var(--bg);
}

.guarantee-grid {
  display: grid;
  gap: 38px;
  align-items: center;
}

.guarantee-text h2 {
  max-width: 780px;
  font-size: clamp(2rem, 3.5vw, 4.1rem);
  line-height: 1.05;
}

.numbers {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.numbers article {
  display: grid;
  min-height: clamp(180px, 22vw, 280px);
  align-content: center;
  justify-items: center;
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper);
  text-align: center;
}

.numbers strong {
  display: block;
  font-size: clamp(3.1rem, 6vw, 5.8rem);
  line-height: 0.92;
  font-variant-numeric: tabular-nums;
}

.numbers span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
}

.numbers__label--nowrap {
  white-space: nowrap;
  font-size: clamp(0.92rem, 1.35vw, 1rem);
}

.projects-section {
  background: var(--paper);
}

.projects-list {
  display: grid;
  align-items: stretch;
  gap: 16px;
}

.project-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.project-card img {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
}

.project-card__body {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  padding: clamp(24px, 4vw, 34px);
}

.project-card__body span {
  color: var(--green);
  font-weight: 900;
}

.project-card__body p {
  margin: 0;
  color: var(--muted);
}

.project-card__body a {
  width: fit-content;
  margin-top: 12px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-weight: 900;
}

.calculator-section {
  color: var(--paper);
  background: var(--ink);
}

.calculator-grid {
  display: grid;
  gap: 34px;
}

.calculator-copy h2 {
  color: var(--paper);
}

.quiz {
  padding: clamp(22px, 4vw, 36px);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
}

.quiz__progress {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
  font-weight: 900;
}

.quiz__progress div {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #ded5c4;
}

.quiz__progress i {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--orange);
  transition: width 220ms var(--ease);
}

.quiz__step {
  display: none;
  padding: 0;
  margin: 0;
  border: 0;
}

.quiz__step.is-active {
  display: grid;
  gap: 12px;
}

.quiz legend {
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  font-weight: 900;
  line-height: 1;
}

.quiz label:not(.input-label) {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-weight: 800;
}

.quiz input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
}

.input-label {
  display: grid;
  gap: 8px;
}

.input-label span {
  font-weight: 900;
}

.input-label input,
.input-label textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px 16px;
  background: var(--bg);
}

.input-label textarea {
  resize: vertical;
}

.quiz__error,
.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--orange-dark);
  font-weight: 900;
}

.quiz__error--success {
  color: var(--green-dark);
}

.form-status {
  min-height: 0;
  margin: 0;
}

.quiz__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.quiz__actions .button {
  min-width: 170px;
}

.production-section {
  background: var(--bg);
}

.production-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

.production-media {
  overflow: hidden;
  border-radius: var(--radius);
}

.production-media img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
}

.production-copy {
  display: grid;
  gap: 26px;
}

.process-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.process-list span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--green);
}

.faq-section {
  background: var(--paper);
}

.faq-grid {
  display: grid;
  gap: 28px;
}

.faq-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.faq-list details {
  background: var(--bg);
}

.faq-list summary {
  position: relative;
  padding: 24px 64px 24px 24px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 26px;
  height: 26px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 22px 4px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 4px 22px no-repeat;
  transform: translateY(-50%) rotate(0deg);
  transform-origin: center;
  transition: transform 260ms var(--ease), background-size 260ms var(--ease), opacity 220ms var(--ease);
}

.faq-list details[open] summary::after {
  background-size: 22px 4px, 4px 0;
  transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: height 260ms var(--ease), opacity 220ms var(--ease), transform 260ms var(--ease);
}

.faq-list details[open] .faq-answer {
  opacity: 1;
  transform: translateY(0);
}

.faq-answer p {
  max-width: 760px;
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
}

.contact-banner {
  padding: clamp(76px, 10vw, 128px) 0;
  color: var(--paper);
  background: var(--green-dark);
}

.contact-banner__inner {
  display: grid;
  gap: 28px;
  align-items: end;
}

.contact-banner h2 {
  color: var(--paper);
  max-width: 920px;
}

.contact-actions {
  display: grid;
  gap: 16px;
}

.contact-actions .text-link {
  color: var(--paper);
}

.site-footer {
  padding: 46px 0 24px;
  color: rgba(255, 250, 240, 0.76);
  background: var(--ink);
}

.footer__grid {
  display: grid;
  gap: 32px;
}

.brand--footer {
  color: var(--paper);
}

.brand--footer .brand__sign {
  color: var(--ink);
  background: var(--paper);
}

.brand--footer .brand__text small {
  color: rgba(255, 250, 240, 0.58);
}

.site-footer p {
  max-width: 500px;
  margin: 20px 0 0;
}

.footer-nav,
.footer-contacts {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-contacts a {
  width: fit-content;
  color: var(--paper);
  font-weight: 900;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.socials a {
  border-bottom: 1px solid currentColor;
}

.footer__bottom {
  padding-top: 28px;
  margin-top: 36px;
  border-top: 1px solid rgba(255, 250, 240, 0.14);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 680px) {
  .hero__note,
  .contact-banner__inner,
  .section-head--split {
    grid-template-columns: minmax(0, 1fr) auto;
  }

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

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

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

@media (min-width: 960px) {
  .nav,
  .link-cta {
    display: flex;
  }

  .menu-button,
  .mobile-menu {
    display: none;
  }

  .intro-grid,
  .guarantee-grid,
  .calculator-grid,
  .production-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }

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

  .service-tile {
    grid-column: span 2;
  }

  .service-tile--dark {
    grid-column: span 4;
  }

  .projects-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.45fr) minmax(240px, 0.65fr);
  }
}

@media (max-width: 679px) {
  :root {
    --radius: 20px;
    --header: 74px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 50px 0;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
    line-height: 1.04;
  }

  h3 {
    font-size: clamp(1.45rem, 7vw, 2rem);
    line-height: 1.08;
  }

  .section-kicker,
  .section-head p {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .section-kicker {
    margin-bottom: 7px;
  }

  .section-head {
    gap: 5px;
    margin-bottom: 28px;
  }

  .button {
    min-height: 50px;
    padding-inline: 20px;
  }

  .hero {
    padding: calc(var(--header) + 18px) 0 48px;
  }

  .hero__layout {
    gap: 18px;
  }

  .hero__topline {
    gap: 8px;
  }

  .hero__topline span {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.55rem);
    line-height: 1.03;
  }

  .hero__media {
    border-radius: 24px;
  }

  .hero__media img {
    min-height: 430px;
  }

  .hero__note {
    left: 18px;
    right: 18px;
    bottom: 18px;
    gap: 14px;
  }

  .hero__note p,
  .intro-copy p,
  .calculator-copy p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero__facts article {
    padding: 18px;
  }

  .intro-grid,
  .calculator-grid,
  .production-grid,
  .faq-grid,
  .guarantee-grid {
    gap: 20px;
  }

  .intro-grid,
  .calculator-grid,
  .guarantee-grid {
    gap: 8px;
  }

  .intro-copy p,
  .calculator-copy p {
    margin-top: 18px;
  }

  .intro-list {
    gap: 0;
  }

  .intro-list span {
    padding: 14px 0;
  }

  .service-board,
  .projects-list {
    gap: 12px;
  }

  .service-tile {
    min-height: 220px;
    gap: 14px;
    padding: 24px;
  }

  .tile-icon {
    width: 46px;
    height: 46px;
    padding: 11px;
  }

  .numbers article {
    min-height: 154px;
    padding: 24px;
  }

  .numbers strong {
    font-size: clamp(3rem, 18vw, 4.2rem);
  }

  .project-card__body,
  .quiz {
    padding: 24px;
  }

  .calculator-copy h2,
  .guarantee-text h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .quiz__progress {
    margin-bottom: 22px;
  }

  .quiz legend {
    margin-bottom: 14px;
    font-size: clamp(1.55rem, 8vw, 2rem);
    line-height: 1.08;
  }

  .quiz label:not(.input-label) {
    min-height: 54px;
    padding: 14px 16px;
    border-radius: 18px;
  }

  .input-label input,
  .input-label textarea {
    padding: 14px 15px;
    border-radius: 16px;
  }

  .production-copy {
    gap: 18px;
  }

  .process-list li {
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 14px 0;
  }

  .process-list span {
    width: 32px;
    height: 32px;
  }

  .faq-list summary {
    padding: 20px 56px 20px 20px;
    font-size: clamp(1.15rem, 6vw, 1.55rem);
    line-height: 1.15;
  }

  .faq-list summary::after {
    right: 20px;
    width: 22px;
    height: 22px;
    background-size: 20px 3px, 3px 20px;
  }

  .faq-list details[open] summary::after {
    background-size: 20px 3px, 3px 0;
  }

  .faq-answer p {
    padding: 0 20px 20px;
  }

  .contact-banner {
    padding: 54px 0;
  }

  .contact-banner__inner,
  .footer__grid {
    gap: 24px;
  }

  .site-footer {
    padding: 36px 0 22px;
  }

  .footer__bottom {
    padding-top: 20px;
    margin-top: 24px;
  }
}

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

  .section {
    padding: 42px 0;
  }

  .brand__text small {
    display: none;
  }

  .brand__text b {
    white-space: normal;
  }

  .hero h1 {
    font-size: clamp(2.08rem, 11.6vw, 3.05rem);
    line-height: 1.02;
  }

  .hero h1 span:nth-child(2) {
    padding-left: 0;
  }

  .hero__media img {
    min-height: 390px;
  }

  .hero__facts {
    border-radius: 18px;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .service-tile {
    min-height: 205px;
    padding: 22px;
    border-radius: 18px;
  }

  .project-card,
  .numbers,
  .faq-list,
  .quiz,
  .production-media {
    border-radius: 18px;
  }

  .project-card__body,
  .quiz {
    padding: 22px;
  }

  .quiz__actions {
    gap: 8px;
  }

  .hero__note .button,
  .quiz__actions .button,
  .contact-actions .button {
    width: 100%;
  }
}
