:root {
  --paper: #f7f6f1;
  --ink: #151b22;
  --muted: #667384;
  --line: rgba(21, 27, 34, 0.14);
  --white: #ffffff;
  --teal: #1f6f64;
  --teal-dark: #10483f;
  --clay: #a54f3d;
  --yellow: #f1b43b;
  --blue: #2d4f7a;
  --soft: #ebe8dc;
  --shadow: 0 18px 52px rgba(21, 27, 34, 0.12);
  --frame: min(1180px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(21, 27, 34, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(21, 27, 34, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
}

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

button,
input,
textarea {
  font: inherit;
}

.frame {
  width: var(--frame);
  margin: 0 auto;
}

.site-top {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 246, 241, 0.9);
  backdrop-filter: blur(14px);
}

.top-frame {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logotype {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.logo-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 8px;
  background: center / cover no-repeat url("favicon.svg");
}

.logotype strong,
.logotype small {
  display: block;
}

.logotype strong {
  font-size: 16px;
}

.logotype small {
  color: var(--muted);
  font-size: 12px;
}

.nav-line,
.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-line a,
.contact-line a {
  padding: 9px 10px;
  border-radius: 8px;
  color: #354454;
  font-size: 14px;
  font-weight: 800;
}

.nav-line a:hover,
.contact-line a:hover {
  background: rgba(31, 111, 100, 0.1);
  color: var(--teal-dark);
}

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

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--ink);
}

.phone-menu {
  width: var(--frame);
  margin: 0 auto 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.phone-menu[hidden] {
  display: none !important;
}

.phone-menu a {
  display: block;
  padding: 12px;
  border-radius: 8px;
  font-weight: 800;
}

.phone-menu a:hover {
  background: #f0f4f1;
}

.start-screen {
  padding: clamp(42px, 7vw, 88px) 0 44px;
}

.start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(18px, 4vw, 46px);
  align-items: stretch;
}

.start-copy,
.summary-board,
.number-cell,
.audit-item,
.catalog-card,
.delivery-steps li,
.compare-card,
.faq-box,
.brief-copy,
.brief-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.start-copy {
  padding: clamp(28px, 5vw, 54px);
}

.tag {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(38px, 6.4vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead-text {
  max-width: 710px;
  margin-bottom: 30px;
  color: #4f5d70;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.main-action,
.plain-action {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 22px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.main-action {
  color: #fff;
  background: var(--teal-dark);
  box-shadow: 0 16px 32px rgba(16, 72, 63, 0.22);
}

.plain-action {
  color: var(--teal-dark);
  border-color: rgba(31, 111, 100, 0.24);
  background: var(--white);
}

.main-action:hover,
.plain-action:hover {
  transform: translateY(-1px);
}

.summary-board {
  display: grid;
  overflow: hidden;
}

.board-photo {
  min-height: 310px;
  background:
    linear-gradient(180deg, rgba(21, 27, 34, 0.05), rgba(21, 27, 34, 0.5)),
    url("assets/img/toyota-camry.jpg?v=20260523-01") center / cover;
}

.board-content {
  padding: 24px;
  background: #172029;
  color: #fff;
}

.board-content span {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.board-content ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.5;
}

.numbers-band {
  padding: 22px 0;
  border-block: 1px solid var(--line);
  background: #fff;
}

.numbers-grid,
.catalog-grid,
.compare-grid {
  display: grid;
  gap: 14px;
}

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

.number-cell {
  min-height: 126px;
  padding: 20px;
  box-shadow: none;
}

.number-cell strong {
  display: block;
  font-size: 26px;
}

.number-cell span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.42;
}

.section {
  padding: clamp(58px, 8vw, 96px) 0;
}

.audit-grid,
.faq-grid,
.brief-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: start;
}

.delivery-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(560px, 1.42fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.section-copy h2,
.section-head h2,
.brief-copy h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1.06;
  letter-spacing: 0;
}

.section-copy p:not(.tag),
.brief-copy p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.audit-list {
  display: grid;
  gap: 14px;
}

.audit-item {
  padding: 24px;
  box-shadow: none;
}

.audit-item span,
.catalog-info span,
.delivery-steps span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audit-item h3 {
  margin: 34px 0 10px;
  font-size: 24px;
}

.audit-item p,
.catalog-info p,
.delivery-steps p,
.compare-card li,
.faq-box p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.cars-section {
  background: var(--soft);
}

.catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
}

.catalog-card {
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.catalog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(165, 79, 61, 0.35);
  box-shadow: var(--shadow);
}

.catalog-card img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  display: block;
  object-fit: cover;
  background: #dde3df;
}

.catalog-info {
  display: grid;
  gap: 9px;
  padding: 18px;
}

.catalog-info h3 {
  margin: 0;
  font-size: 22px;
}

.catalog-info strong {
  margin-top: 6px;
  font-size: 25px;
}

.catalog-info small {
  color: var(--teal-dark);
  font-weight: 800;
}

.delivery-section {
  background: #fff;
}

.delivery-section .section-copy {
  max-width: 470px;
}

.delivery-section .section-copy h2 {
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.delivery-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.delivery-steps li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num text";
  column-gap: 20px;
  row-gap: 8px;
  padding: 24px;
  box-shadow: none;
}

.delivery-steps span {
  grid-area: num;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(45, 79, 122, 0.22);
  border-radius: 8px;
  background: #fff;
}

.delivery-steps h3 {
  grid-area: title;
  margin: 0 0 8px;
  font-size: 22px;
}

.delivery-steps p {
  grid-area: text;
  max-width: 620px;
}

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

.compare-card {
  padding: clamp(24px, 4vw, 34px);
  box-shadow: none;
}

.compare-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.accent-card {
  color: #fff;
  background: var(--teal-dark);
}

.accent-card .tag {
  color: var(--yellow);
}

.accent-card li {
  color: rgba(255, 255, 255, 0.86);
}

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

.faq-box {
  padding: 22px;
  box-shadow: none;
}

.faq-box summary {
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 800;
}

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

.faq-box p {
  margin-top: 14px;
}

.brief-section {
  padding-bottom: 98px;
}

.brief-copy,
.brief-form {
  padding: clamp(24px, 4vw, 34px);
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-buttons a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-weight: 800;
}

.brief-form {
  display: grid;
  gap: 16px;
}

.brief-form label:not(.consent-line) {
  display: grid;
  gap: 8px;
}

.brief-form span {
  color: #344154;
  font-size: 14px;
  font-weight: 800;
}

.brief-form input,
.brief-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px 16px;
  color: var(--ink);
  background: #fbfcfd;
  outline: none;
  resize: vertical;
}

.brief-form input:focus,
.brief-form textarea:focus {
  border-color: rgba(31, 111, 100, 0.62);
  box-shadow: 0 0 0 4px rgba(31, 111, 100, 0.12);
}

.consent-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.consent-line input {
  width: 18px;
  height: 18px;
}

.form-button {
  width: 100%;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-message.is-error {
  color: #b93820;
}

.form-message.is-success {
  color: var(--teal-dark);
}

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-delay {
  transition-delay: 0.1s;
}

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

@media (max-width: 1080px) {
  .nav-line,
  .contact-line {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .start-grid,
  .audit-grid,
  .delivery-grid,
  .faq-grid,
  .brief-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .top-frame {
    min-height: 68px;
  }

  .start-screen {
    padding-top: 34px;
  }

  .start-copy,
  .brief-copy,
  .brief-form {
    padding: 22px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .numbers-grid,
  .catalog-grid,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .delivery-steps li {
    grid-template-columns: 1fr;
    grid-template-areas:
      "num"
      "title"
      "text";
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0;
  }
}
