@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f1f2f4;
  --ink: #171717;
  --muted: #4a4e57;
  --line: #dedfe3;
  --accent: #2458df;
  --accent-dark: #1b46b5;
  --soft: #dce5f5;
  --danger: #8f2424;
  --max: 1180px;
  --font: Manrope, "Segoe UI", sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
}

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

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-dark);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 600;
  scroll-margin-top: 96px;
}

h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lede {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.5;
  max-width: 40rem;
}

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

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
  border-top: 3px solid var(--accent);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  min-height: 74px;
  padding: 10px 0;
}

.logo {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.05;
  margin-right: auto;
}

.logo-mark {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.logo-sub {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover,
.header-email:hover {
  color: var(--accent);
}

.header-email {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle:focus-visible ~ .header-inner .menu-btn {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.menu-label-close {
  display: none;
}

.nav-toggle:checked ~ .header-inner .menu-label-open {
  display: none;
}

.nav-toggle:checked ~ .header-inner .menu-label-close {
  display: inline;
}

.site-nav {
  display: none;
  flex-basis: 100%;
}

.nav-toggle:checked ~ .header-inner .site-nav {
  display: block;
}

.nav-list,
.sub,
.footer-links,
.crumbs ol,
.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--accent);
}

.sub a {
  display: block;
  padding: 8px 0 8px 12px;
  font-weight: 500;
}

.nav-phone a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--bg-alt);
  color: var(--ink);
}

.cta-short {
  display: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 48px;
  align-items: end;
  padding: 42px 0 18px;
}

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

.fact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 10px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact-row p {
  margin: 0;
}

.fact-row strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.fact-row p strong:not(:first-child) {
  margin-top: 12px;
}

.section {
  padding: clamp(48px, 7vw, 88px) 0;
}

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

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}

.section-head p:last-child {
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 22px;
}

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

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

.service-card .more {
  font-weight: 700;
  text-decoration: none;
}

.service-card .more:hover {
  text-decoration: underline;
}

.media,
figure {
  margin: 0;
}

.media img,
figure img {
  width: 100%;
  background: var(--bg-alt);
}

figcaption,
.note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footwear {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 40px;
  align-items: start;
}

.footwear-photo {
  position: sticky;
  top: 96px;
}

.footwear-row {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.footwear-row h3 {
  margin-bottom: 6px;
}

.footwear-row p {
  margin: 0;
}

.damage-grid,
.card-grid,
.split-2,
.contact-grid,
.info-grid {
  display: grid;
  gap: 28px;
}

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

.split-2,
.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

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

.panel {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px 18px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.step-num {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 6px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "\2013";
}

.faq details p {
  margin: 0 0 14px;
  max-width: 68ch;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 18px 28px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.cta-band .actions {
  margin-top: 0;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 36px;
  align-items: end;
  padding: 22px 0 10px;
}

.crumbs {
  padding-top: 18px;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  font-size: 0.92rem;
}

.crumbs li {
  display: inline;
}

.crumbs li:not(:last-child)::after {
  content: "/";
  color: var(--muted);
  margin: 0 8px;
}

.crumbs a {
  color: var(--ink);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.prose {
  max-width: 72ch;
}

.prose > * + * {
  margin-top: 0;
}

.prose p,
.prose ul,
.prose ol {
  margin-bottom: 14px;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 6px;
}

.toc {
  margin: 8px 0 28px;
  padding: 0;
  columns: 2;
  column-gap: 32px;
}

.toc li {
  break-inside: avoid;
  margin: 0 0 6px;
}

.figure-pair,
.figure-stack {
  display: grid;
  gap: 16px;
}

.figure-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 8px 0 20px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.related-list a {
  font-weight: 700;
  text-decoration: none;
}

.related-list a:hover {
  text-decoration: underline;
}

.factor-table {
  width: 100%;
  border-collapse: collapse;
}

.factor-table th,
.factor-table td {
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
  padding: 14px 12px 14px 0;
}

.factor-table th {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inquiry-form {
  position: relative;
  display: grid;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-weight: 700;
}

.req {
  color: var(--accent);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #c5c8ce;
  background: #fff;
  color: var(--ink);
  font: inherit;
  border-radius: 0;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.field-error {
  color: var(--danger);
  font-size: 0.92rem;
  font-weight: 600;
}

.field-error:empty {
  display: none;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.check input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 3px;
}

.form-status {
  margin: 0;
  font-weight: 700;
  max-width: 62ch;
}

.form-status:empty {
  display: none;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  background: #171717;
  color: #f3f4f6;
  padding: 56px 0 24px;
}

.site-footer a {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 0.8fr;
  gap: 28px;
}

.footer-heading {
  margin: 0 0 12px;
  color: var(--soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links li + li {
  margin-top: 6px;
}

.site-footer address {
  font-style: normal;
  margin-bottom: 10px;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #d5d7dc;
  font-size: 0.92rem;
}

.footer-base p {
  margin: 0;
  max-width: 62ch;
}

.policy-meta {
  margin: 8px 0 22px;
  color: var(--muted);
}

.jump-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.jump-list a {
  font-weight: 700;
  text-decoration: none;
}

.jump-list a:hover {
  text-decoration: underline;
}

.service-block {
  padding-top: 8px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
}

.not-found {
  padding: 48px 0 72px;
  max-width: 40rem;
}

@media (min-width: 720px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .menu-btn {
    display: none;
  }

  .logo {
    margin-right: 0;
  }

  .site-nav {
    display: block;
    flex: 1 1 auto;
    flex-basis: auto;
    margin-left: 20px;
    margin-right: auto;
  }

  .nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 4px 16px;
  }

  .nav-phone {
    display: none;
  }

  .has-sub {
    position: relative;
  }

  .sub {
    display: none;
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    z-index: 50;
    min-width: 250px;
    padding: 8px 0;
    background: #fff;
    border: 1px solid var(--line);
  }

  .sub::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
  }

  .has-sub:hover > .sub,
  .has-sub:focus-within > .sub {
    display: block;
  }

  .sub a {
    padding: 8px 16px;
  }

  .sub a:hover {
    background: var(--bg-alt);
  }

  .header-inner {
    flex-wrap: nowrap;
  }
}

@media (min-width: 1180px) {
  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1099px) {
  .header-tools {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
  }

  .site-nav {
    order: 5;
  }

  .sub {
    display: block;
    position: static;
    border: 0;
    min-width: 0;
    padding: 0 0 8px;
  }
}

@media (max-width: 640px) {
  .header-tools {
    width: 100%;
    justify-content: flex-start;
  }

  .header-phone,
  .header-email {
    flex: 1 0 100%;
  }
}

@media (max-width: 860px) {
  .hero,
  .page-hero,
  .section-head,
  .footwear,
  .damage-grid,
  .card-grid,
  .split-2,
  .contact-grid,
  .info-grid,
  .cta-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footwear-photo {
    position: static;
  }

  .cta-band .actions {
    margin-top: 0;
  }

  .toc,
  .related-list,
  .figure-pair {
    columns: 1;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }

  .cta-long {
    display: none;
  }

  .cta-short {
    display: inline;
  }

  .fact-row,
  .steps li {
    grid-template-columns: 1fr;
  }

  .header-cta {
    padding-inline: 12px;
  }
}

@media (max-width: 700px) {
  .factor-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .factor-table,
  .factor-table tbody,
  .factor-table tr,
  .factor-table td {
    display: block;
    width: 100%;
  }

  .factor-table tr {
    border-top: 1px solid var(--line);
    padding: 10px 0;
  }

  .factor-table td {
    border: 0;
    padding: 4px 0;
  }

  .factor-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
