/* =========================================================
   ShoeFixFinder — Canonical Stylesheet
   Independent Shoe Repair Directory
   Brand: Oxblood #7a2e2a
   ========================================================= */

:root {
  --primary: #7a2e2a;
  --primary-dark: #59201e;
  --primary-light: #f7eeed;
  --primary-border: #d9b9b6;
  --text: #27313b;
  --muted: #596571;
  --heading: #202a34;
  --background: #ffffff;
  --surface: #f7f8f9;
  --surface-alt: #f1f3f4;
  --border: #dce1e5;
  --success: #27633e;
  --error: #a32121;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --container: 1160px;
  --content: 780px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 10px rgba(30, 40, 50, 0.055);
  --shadow-header: 0 1px 5px rgba(30, 40, 50, 0.06);
}

/* RESET AND BASE */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

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

button,
select {
  cursor: pointer;
}

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

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #a35a54;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

p {
  margin: 0 0 16px;
}

h1,
h2,
h3,
h4 {
  color: var(--heading);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(2.25rem, 5vw, 3.6rem);
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

h4 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

ul,
ol {
  padding-left: 24px;
}

li {
  padding-left: 3px;
  margin-bottom: 8px;
}

strong {
  color: var(--heading);
}

code {
  overflow-wrap: anywhere;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--surface-alt);
  font-size: 0.9em;
}

hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid var(--border);
}

/* GLOBAL LAYOUT */

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

.legal-content,
.guide-content {
  max-width: var(--content);
}

.section {
  padding: 64px 0;
}

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

.section-compact {
  padding: 24px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.subsection-heading {
  margin: 40px 0 20px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.accent-text {
  display: block;
  color: var(--primary);
}

/* ACCESSIBILITY */

.skip-link {
  position: absolute;
  z-index: 1000;
  top: -100px;
  left: 16px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--primary-dark);
  color: #ffffff;
  font-weight: 700;
}

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

/* HEADER AND NAVIGATION */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-header);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--heading);
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  color: var(--heading);
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-name {
  font-size: 1.27rem;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.brand-accent {
  color: var(--primary);
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* HERO SECTIONS */

.hero {
  padding: 90px 0 80px;
  background: linear-gradient(
    120deg,
    #ffffff 0%,
    #ffffff 65%,
    #faf3f2 100%
  );
}

.hero-content {
  max-width: 820px;
}

.hero h1 {
  max-width: 850px;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--heading);
  font-size: clamp(1.2rem, 2.3vw, 1.45rem);
  font-weight: 550;
  line-height: 1.55;
}

.hero-description {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.page-hero {
  padding: 55px 0 52px;
  background: linear-gradient(
    115deg,
    #ffffff 0%,
    #ffffff 72%,
    #faf4f3 100%
  );
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero > .wrap > p:not(.eyebrow):not(.hero-lead) {
  max-width: 780px;
}

.page-hero .hero-actions {
  margin-top: 28px;
}

/* BREADCRUMBS */

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  color: var(--heading);
  font-weight: 600;
}

/* BUTTONS AND ACTIONS */

.hero-actions,
.section-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.button-primary {
  background: var(--primary);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--primary-dark);
  color: #ffffff;
}

.button-secondary {
  border-color: var(--border);
  background: #ffffff;
  color: var(--heading);
}

.button-secondary:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* CARDS AND CONTENT GRIDS */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

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

.card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card p,
.content-block p {
  color: var(--muted);
}

.feature-card .text-link {
  margin-top: auto;
  padding-top: 12px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 44px;
}

.content-block {
  min-width: 0;
}

/* CATEGORY NAVIGATION */

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.category-link {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 19px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--heading);
  font-weight: 650;
  text-decoration: none;
}

.category-link:hover {
  border-color: var(--primary-border);
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* STATE BROWSER */

.state-browser {
  max-width: 700px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.state-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.state-link {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--heading);
  font-weight: 600;
  text-decoration: none;
}

.state-link:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}

.state-status {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--muted);
  font-size: 0.94rem;
}

/* DIRECTORY LISTINGS */

.directory-results {
  display: grid;
  gap: 18px;
}

.shop-card,
.listing-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.shop-card h3,
.listing-card h3 {
  margin-bottom: 8px;
}

.shop-location,
.shop-meta {
  color: var(--muted);
  font-size: 0.94rem;
}

.shop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 14px 0;
}

.shop-services {
  margin-top: 16px;
}

.shop-services h4 {
  margin-bottom: 8px;
}

.shop-source {
  margin-top: 15px;
  font-size: 0.9rem;
}

.shop-source a {
  font-weight: 650;
}

.record-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}

.service-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 11px;
  border: 1px solid var(--primary-border);
  border-radius: 20px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.84rem;
  font-weight: 650;
}

/* PUBLISHED MENU ITEMS */

.menu-list {
  display: grid;
  margin: 20px 0;
  border-top: 1px solid var(--border);
}

.menu-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.menu-item-name {
  color: var(--heading);
  font-weight: 600;
}

.menu-item-price {
  flex-shrink: 0;
  color: var(--primary-dark);
  font-weight: 750;
  text-align: right;
}

.menu-item-source {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 400;
}

/* EMPTY STATES */

.empty-state {
  padding: 30px;
  border: 1px dashed #b9c2ca;
  border-radius: var(--radius-md);
  background: #ffffff;
}

.empty-state h3 {
  margin-bottom: 12px;
}

.empty-state p {
  color: var(--muted);
}

.empty-state p:last-of-type {
  margin-bottom: 12px;
}

/* NOTICES */

.notice {
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.notice strong {
  display: block;
  margin-bottom: 8px;
}

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

.notice-info {
  border-left: 4px solid var(--primary);
}

/* RESERVED AD SLOTS */

.ad-slot {
  width: 100%;
  height: 250px;
  min-height: 250px;
  margin: 20px auto;
  overflow: hidden;
}

/* INFORMATION PANELS */

.info-panel {
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.info-panel h3 {
  margin-bottom: 16px;
}

.info-panel p:last-child {
  margin-bottom: 0;
}

.info-panel ol,
.info-panel ul {
  padding-left: 22px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}

.check-list li {
  position: relative;
  padding-left: 29px;
  margin-bottom: 12px;
}

.check-list li::before {
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--primary);
  content: "✓";
  font-weight: 800;
}

/* SPLIT CONTENT */

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 48px;
}

.split-section > * {
  min-width: 0;
}

.split-section .info-panel {
  background: #ffffff;
}

/* SERVICE DETAILS */

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.75fr);
  align-items: start;
  gap: 44px;
}

.service-detail-content {
  min-width: 0;
}

.service-detail-content h2 {
  margin-bottom: 20px;
}

.service-detail-content h3 {
  margin-top: 30px;
}

.service-detail-panel {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.service-detail-panel h3 {
  margin-bottom: 18px;
}

.fine-print {
  margin-top: 20px;
}

.service-detail-panel .fine-print {
  margin-top: 20px;
}

/* PROCESS LIST */

.process-list {
  display: grid;
  gap: 0;
  max-width: 850px;
}

.process-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--border);
}

.process-item:first-child {
  padding-top: 0;
}

.process-item:last-child {
  border-bottom: 0;
}

.process-number {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 800;
}

.process-item h3 {
  margin-bottom: 8px;
}

.process-item p {
  margin-bottom: 0;
  color: var(--muted);
}

/* TABLES */

.table-scroll {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th,
.data-table td {
  min-width: 130px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.data-table th {
  background: var(--surface);
  color: var(--heading);
  font-weight: 750;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: #fcfafa;
}

/* PUBLISHED PRICE INDEX */

.price-category {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 100px;
}

.price-category:last-child {
  border-bottom: 0;
}

.price-category-header {
  margin-bottom: 20px;
}

.price-category-header h3 {
  margin-bottom: 8px;
}

.price-category-header p {
  color: var(--muted);
}

.price-results {
  display: grid;
  gap: 16px;
}

.price-category-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-range {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.price-range-value {
  color: var(--primary-dark);
  font-size: 1.65rem;
  font-weight: 800;
}

.price-range-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.price-attribution {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.price-attribution a {
  font-weight: 650;
}

/* PRICE DISCLAIMER */

.price-disclaimer {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--primary);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.93rem;
}

/* DIRECTORY SEARCH AND FILTERS */

.directory-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.55fr);
  gap: 16px;
  margin-bottom: 28px;
}

.directory-controls .field {
  min-width: 0;
}

.search-input {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid #b9c2ca;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--heading);
}

.search-input:focus {
  border-color: var(--primary);
  outline: 3px solid rgba(122, 46, 42, 0.13);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button {
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #ffffff;
  color: var(--heading);
  font-size: 0.93rem;
  font-weight: 600;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* GUIDE CONTENT */

.guide-content {
  max-width: var(--content);
}

.guide-content h2 {
  margin-top: 40px;
}

.guide-content h2:first-child {
  margin-top: 0;
}

.guide-content h3 {
  margin-top: 28px;
}

.guide-content p,
.guide-content li {
  line-height: 1.8;
}

.guide-content ul,
.guide-content ol {
  margin-bottom: 24px;
}

/* CTA PANELS */

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 38px;
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  background: var(--primary-light);
}

.cta-content {
  max-width: 680px;
}

.cta-content h2 {
  margin-bottom: 14px;
}

.cta-content p:last-child {
  margin-bottom: 0;
}

/* AFFILIATE SLOT */

.affiliate-slot {
  min-height: 90px;
  margin: 28px 0;
  padding: 20px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.affiliate-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* FOOTER */

.site-footer {
  padding: 55px 0 22px;
  border-top: 1px solid var(--border);
  background: #f7f8f9;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
}

.footer-brand p {
  max-width: 300px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-heading {
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.93rem;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* FOOTER DISCLAIMER AND COPYRIGHT */

.footer-disclaimer {
  padding: 22px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-disclaimer p {
  margin-bottom: 10px;
}

.footer-disclaimer p:last-child {
  margin-bottom: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

/* PAGINATION */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 35px;
}

.pagination a,
.pagination span {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--heading);
  text-decoration: none;
}

.pagination [aria-current="page"] {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

/* FORM SUPPORT */

.form-main {
  min-width: 0;
}

.select-input {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid #b9c2ca;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--heading);
}

.select-input:focus {
  border-color: var(--primary);
  outline: 3px solid rgba(122, 46, 42, 0.13);
}

.field-help {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.required {
  color: var(--error);
  font-weight: 700;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checkbox-field input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

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

.form-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.cta-action {
  display: flex;
  align-items: center;
  flex: none;
}

.state-browser + .directory-results {
  margin-top: 24px;
}

/* RESPONSIVE: TABLET */

@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .header-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .nav-link {
    padding: 9px 11px;
  }

  .hero {
    padding: 65px 0 55px;
  }

  .page-hero {
    padding: 42px 0;
  }

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

  .form-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

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

  .split-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-inner {
    gap: 30px;
  }
}

/* RESPONSIVE: MOBILE */

@media (max-width: 640px) {
  html {
    scroll-padding-top: 130px;
  }

  .wrap {
    width: calc(100% - 32px);
  }

  .header-inner {
    min-height: auto;
    gap: 8px;
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .header-nav {
    gap: 3px;
  }

  .nav-link {
    min-height: 48px;
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .hero {
    padding: 55px 0 48px;
  }

  .page-hero {
    padding: 35px 0 38px;
  }

.breadcrumbs {
    gap: 7px;
    margin-bottom: 24px;
    font-size: 0.84rem;
}

.section {
    padding: 46px 0;
}

.section-heading {
    margin-bottom: 26px;
}

.section-intro {
    font-size: 1rem;
}

.hero-actions,
.section-actions {
    align-items: stretch;
    flex-direction: column;
}

.hero-actions .button,
.section-actions .button {
    width: 100%;
}

.card-grid,
.card-grid-three,
.content-grid,
.category-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

.card {
    padding: 22px;
}

.state-browser {
    grid-template-columns: 1fr;
    padding: 18px;
}

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

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

.form-sidebar {
    grid-template-columns: 1fr;
}

.form-layout {
    gap: 28px;
}

.site-form {
    gap: 20px;
}

.form-section {
    gap: 16px;
}

.field input,
.field select,
.field textarea {
    font-size: 16px;
}

.cta-panel {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    padding: 25px;
}

.process-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
}

.process-number {
    width: 38px;
    height: 38px;
}

.menu-item {
    gap: 12px;
}

.footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
}

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

.shop-card,
.listing-card {
    padding: 19px;
}

.ad-slot {
    height: 250px;
    min-height: 250px;
}
}

/* SMALL MOBILE */

@media (max-width: 380px) {
.wrap {
    width: calc(100% - 28px);
}

.brand-name {
    font-size: 1.05rem;
}

.nav-link {
    padding: 8px;
    font-size: 0.82rem;
}

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

.button {
    padding: 12px 16px;
}

.card,
.info-panel {
    padding: 19px;
}
}

/* REDUCED MOTION */

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

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

/* PRINT */

@media print {
.site-header {
    position: static;
    box-shadow: none;
}

.header-nav,
.ad-slot,
.hero-actions,
.section-actions,
.site-footer {
    display: none!important;
}

  body {
    color: #000;
    background: #fff;
}

  a {
    color: #000;
    text-decoration: underline;
}

.section {
    padding: 20px 0;
}

.card,
.shop-card,
.listing-card {
    box-shadow: none;
    break-inside: avoid;
}
}

/* END OF FILE */
