:root {
  --navy: #0f2a5f;
  --navy-2: #071a3f;
  --steel: #6f7473;
  --silver: #e7e9eb;
  --ink: #172033;
  --muted: #657085;
  --paper: #ffffff;
  --soft: #f4f6f8;
  --line: #d8dde5;
  --accent: #b7273d;
  --teal: #0a9cad;
  --shadow: 0 18px 42px rgba(15, 42, 95, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
  background: var(--soft);
  color: var(--ink);
  line-height: 1.9;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  width: min(1140px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 154px;
  height: 54px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: auto;
}

.main-nav a {
  padding: 9px 12px;
  color: var(--muted);
  border-radius: 8px;
  font-size: 0.94rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--navy);
  background: #eef2f7;
}

.header-action,
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
  white-space: nowrap;
}

.header-action,
.btn.primary {
  background: var(--navy);
  color: white;
  box-shadow: 0 10px 20px rgba(15, 42, 95, 0.18);
}

.btn.secondary {
  background: white;
  color: var(--navy);
  border-color: var(--line);
}

.btn.secondary.strong {
  border-color: var(--navy);
}

.hero {
  background:
    linear-gradient(135deg, rgba(15, 42, 95, 0.08), rgba(10, 156, 173, 0.05)),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 54px;
  padding-block: 58px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
}

h1,
h2 {
  margin: 0;
  color: var(--navy-2);
  line-height: 1.45;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.6rem);
  font-weight: 850;
}

.hero-lead {
  max-width: 670px;
  margin: 20px 0 28px;
  color: #3d485c;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-panel,
.form-panel,
.quick-card,
.doc-list article,
.branch-card,
.requirement-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-panel {
  padding: 28px;
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.panel-top strong {
  color: var(--navy);
}

.service-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-block: 22px;
}

.service-metrics div {
  min-height: 126px;
  padding: 16px;
  background: #f7f9fb;
  border: 1px solid #e4e8ee;
  border-radius: 8px;
}

.service-metrics strong {
  display: block;
  color: var(--navy);
  font-size: 2.1rem;
  line-height: 1.2;
}

.service-metrics span {
  color: var(--muted);
  font-size: 0.9rem;
}

.service-steps {
  display: grid;
  gap: 10px;
}

.service-steps span {
  padding: 12px 14px;
  background: var(--navy);
  color: white;
  border-radius: 8px;
}

.quick-access {
  padding-block: 24px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.quick-card {
  min-height: 205px;
  padding: 22px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.quick-card:hover,
.quick-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(15, 42, 95, 0.34);
  box-shadow: var(--shadow);
}

.quick-number {
  display: block;
  color: var(--accent);
  font-weight: 800;
}

.quick-card strong {
  display: block;
  margin-block: 8px;
  color: var(--navy);
  font-size: 1.14rem;
}

.quick-card p,
.section p,
.requirement-item span,
.doc-list span,
.branch-card span,
.form-note {
  color: var(--muted);
}

.section {
  padding-block: 72px;
}

.band {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.requirements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.requirement-item {
  padding: 20px;
}

.requirement-item strong {
  display: block;
  color: var(--navy);
  margin-bottom: 7px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.branch-tools {
  display: flex;
  align-items: end;
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy-2);
  font-weight: 700;
}

label span {
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 10px 12px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10, 156, 173, 0.12);
}

.branch-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.branch-card {
  display: grid;
  gap: 11px;
  padding: 20px;
}

.branch-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.65;
}

.branch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.branch-meta span {
  background: #eef3f7;
  border: 1px solid #dce5ed;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.84rem;
}

.phone-missing {
  color: #8b5a00;
}

.split-forms {
  background: var(--navy-2);
}

.forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-panel {
  padding: 28px;
}

.form-panel h2 {
  margin-bottom: 18px;
}

.form-panel label {
  margin-bottom: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-note {
  margin: 14px 0 0;
  padding: 10px 12px;
  background: #eef8f5;
  border: 1px solid #cbe6dc;
  border-radius: 8px;
}

.docs-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 28px;
  align-items: start;
}

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

.doc-list article {
  padding: 20px;
}

.doc-list strong {
  display: block;
  color: var(--navy);
  margin-bottom: 5px;
}

.site-footer {
  padding-block: 42px;
  background: #0c1730;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
}

.site-footer img {
  width: 132px;
  height: 48px;
  object-fit: contain;
  background: white;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 12px;
}

.site-footer p {
  margin: 0;
  color: #c8d0dd;
}

.site-footer a,
.site-footer strong {
  display: block;
}

.site-footer a {
  margin-top: 8px;
  color: #c8d0dd;
}

@media (max-width: 920px) {
  .header-shell {
    flex-wrap: wrap;
    padding-block: 10px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-grid,
  .two-column,
  .docs-grid,
  .forms-grid {
    grid-template-columns: 1fr;
  }

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

  .section-head,
  .branch-tools {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 22px, 1140px);
  }

  .hero-grid {
    min-height: auto;
    padding-block: 36px;
    gap: 28px;
  }

  .brand img {
    width: 128px;
  }

  .header-action {
    margin-inline-start: auto;
  }

  .quick-grid,
  .branch-list,
  .requirements,
  .service-metrics,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-panel,
  .form-panel {
    padding: 20px;
  }

  .section {
    padding-block: 50px;
  }
}

/* Brand and visual refinement pass */
:root {
  --toyota: #eb0a1e;
  --strong-shadow: 0 28px 70px rgba(7, 26, 63, 0.2);
}

body {
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-feature-settings: "ss01";
}

.header-shell {
  min-height: 88px;
  gap: 18px;
}

.brand img {
  width: 206px;
  height: 72px;
}

.toyota-mark {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  white-space: nowrap;
}

.toyota-mark img {
  width: 116px;
  height: auto;
}

.hero {
  background:
    radial-gradient(circle at 82% 16%, rgba(235, 10, 30, 0.1), transparent 28%),
    linear-gradient(135deg, rgba(15, 42, 95, 0.08), rgba(10, 156, 173, 0.05)),
    var(--paper);
}

.hero-grid {
  min-height: 650px;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 42px;
  padding-block: 50px 92px;
}

.eyebrow {
  color: var(--toyota);
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  letter-spacing: 0;
}

.hero-lead {
  max-width: 610px;
  font-size: 1.16rem;
}

.brand-row {
  display: inline-grid;
  grid-template-columns: auto 1px auto;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brand-row img:first-child {
  width: 150px;
  height: 52px;
  object-fit: contain;
}

.brand-row img:last-child {
  width: 126px;
  height: auto;
}

.brand-row span {
  width: 1px;
  height: 32px;
  background: var(--line);
}

.hero-visual {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--strong-shadow);
  border: 1px solid rgba(15, 42, 95, 0.13);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 26, 63, 0.04), rgba(7, 26, 63, 0.15));
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 510px;
  object-fit: cover;
}

.proof-strip {
  margin-top: -56px;
  position: relative;
  z-index: 2;
  padding-bottom: 26px;
}

.service-panel {
  padding: 20px;
}

.service-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: stretch;
}

.service-metrics,
.service-steps {
  margin-block: 18px 0;
}

.service-steps span {
  position: relative;
  padding: 14px 42px 14px 14px;
  background: #f7f9fb;
  color: var(--navy);
  border: 1px solid #e4e8ee;
  font-weight: 700;
}

.service-steps span::before {
  content: "";
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--toyota);
  box-shadow: inset 0 0 0 5px white;
}

.quick-card {
  position: relative;
}

.pictogram {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: #eef3f7;
  border: 1px solid #dce5ed;
  border-radius: 8px;
}

.pictogram svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.requirement-item {
  position: relative;
  padding-inline-start: 64px;
}

.mini-icon {
  position: absolute;
  inset-inline-start: 20px;
  top: 22px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--navy);
  color: white;
  font-weight: 900;
  line-height: 1;
}

.branch-card .branch-address,
.branch-postal,
.branch-phone {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.branch-card .branch-address::before {
  content: "⌖";
  color: var(--toyota);
  font-weight: 900;
}

.branch-postal::before {
  content: "▦";
  color: var(--toyota);
  font-weight: 900;
}

.branch-phone a,
.branch-phone span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  color: var(--navy);
  font-weight: 800;
}

.branch-phone a::before,
.branch-phone span::before {
  content: "☎";
  color: var(--toyota);
}

.phone-missing {
  color: #8b5a00;
  font-weight: 700;
}

@media (max-width: 920px) {
  .toyota-mark {
    margin-inline-start: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-block-end: 72px;
  }

  .service-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 150px;
  }

  .toyota-mark {
    width: 100%;
    border-inline-start: 0;
    border-top: 1px solid var(--line);
    padding: 10px 0 0;
    justify-content: space-between;
  }

  .toyota-mark img {
    width: 108px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 320px;
  }

  .brand-row {
    width: 100%;
    justify-content: space-between;
  }
}

/* Final content sections */
.section-head.simple {
  align-items: start;
}

.section-head.simple p {
  max-width: 520px;
  margin: 0;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-cards article {
  min-height: 250px;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-cards strong {
  display: block;
  margin-block: 16px 8px;
  color: var(--navy);
  font-size: 1.08rem;
}

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

.faq {
  background: white;
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 28px;
}

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

.faq-list details {
  background: #f7f9fb;
  border: 1px solid #e4e8ee;
  border-radius: 8px;
  padding: 16px 18px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 800;
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

@media (max-width: 920px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .service-cards {
    grid-template-columns: 1fr;
  }
}

/* Mobile header recomposition */
@media (max-width: 640px) {
  .site-header {
    box-shadow: 0 8px 24px rgba(7, 26, 63, 0.08);
  }

  .header-shell {
    min-height: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 7px;
    padding-block: 6px 8px;
  }

  .brand {
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
  }

  .brand img {
    width: 106px;
    height: 39px;
    object-fit: contain;
  }

  .toyota-mark {
    display: none;
  }

  .header-action {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    min-height: 34px;
    margin: 0;
    padding: 6px 10px;
    border-radius: 7px;
    font-size: 0.78rem;
    font-weight: 800;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    order: initial;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid #e4e8ee;
    background: #f7f9fb;
    color: var(--navy);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
  }

  .hero-grid {
    padding-block-start: 22px;
  }
}

@media (max-width: 380px) {
  .brand img {
    width: 98px;
  }

  .header-action {
    padding-inline: 8px;
    font-size: 0.74rem;
  }
}
