/* =========================================================
   WATCHFIXFINDER
   Independent Watch & Clock Repair Directory
   Brand: Brass / Amber #9a6b1e
   ========================================================= */

/* 1. RESET & VARIABLES */

:root {
  --accent: #9a6b1e;
  --accent-dark: #704b12;
  --accent-light: #f5ead6;
  --accent-pale: #fcf8f0;

  --text: #28313a;
  --text-light: #56616d;
  --muted: #68727d;

  --background: #ffffff;
  --background-alt: #f7f7f5;
  --border: #dedfdf;
  --border-dark: #c8cacc;

  --success: #286b43;
  --warning: #795719;
  --danger: #9b3030;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1160px;
  --content: 780px;

  --radius: 10px;
  --radius-large: 16px;

  --shadow: 0 4px 16px rgba(28, 35, 42, 0.06);
  --shadow-hover: 0 8px 24px rgba(28, 35, 42, 0.10);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  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,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  color: #ffffff;
  background: var(--accent);
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

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

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 720;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin: 0 0 18px;
}

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

li {
  margin-bottom: 9px;
}

strong {
  font-weight: 700;
}

code {
  padding: 3px 6px;
  border-radius: 4px;
  background: #f1f1ef;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

[hidden] {
  display: none!important;
}
/* 2. SHARED LAYOUT */

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

.content-narrow {
  width: min(var(--content), calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.skip-link {
  position: absolute;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 12px 18px;
  transform: translateY(-150%);
  color: #ffffff;
  background: var(--accent-dark);
  border-radius: 6px;
  font-weight: 700;
}

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

.section {
  padding: 76px 0;
}

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

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--text-light);
  font-size: 1.05rem;
}

.section-note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 3. HEADER & NAVIGATION */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

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

.site-logo {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.site-logo:hover {
  color: var(--text);
}

.logo-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.055em;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--accent-dark);
}
/* 4. BUTTONS */

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 7px;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

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

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

.button-primary:hover {
  color: #ffffff;
  background: #573a0e;
  border-color: #573a0e;
}

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

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

.button-full {
  width: 100%;
}

.button:disabled,
.button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* 5. HERO */

.hero {
  position: relative;
  overflow: hidden;
  padding: 75px 0 80px;
  background:
    radial-gradient(
      circle at 85% 45%,
      rgba(154, 107, 30, 0.09),
      transparent 35%
),
    linear-gradient(110deg, #fcfaf6 0%, #ffffff 72%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 42px;
}

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

.hero-content h1 {
  max-width: 660px;
}

.hero-description {
  max-width: 610px;
  margin-bottom: 28px;
  color: var(--text-light);
  font-size: 1.12rem;
  line-height: 1.8;
}

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

.hero-note {
  margin-top: 22px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.hero-illustration svg {
  width: 100%;
  max-width: 420px;
}

.page-hero {
  padding: 65px 0 60px;
  background:
    radial-gradient(
      circle at 85% 40%,
      rgba(154, 107, 30, 0.09),
      transparent 36%
),
    #fcfaf6;
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
}

.page-intro {
  max-width: 780px;
  margin: 0;
  color: var(--text-light);
  font-size: 1.12rem;
  line-height: 1.8;
}

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

.page-hero .field-hint {
  margin-top: 18px;
}
/* 6. BREADCRUMBS */

.breadcrumb {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
}

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

.breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 650;
}

/* 7. ADVERTISEMENT CONTAINERS */

.ad-slot {
  display: block;
  width: 100%;
  height: 120px;
  margin: 20px 0 0;
  background: transparent;
}

.affiliate-slot {
  margin-top: 20px;
  margin-bottom: 35px;
  padding: 22px 25px;
  background: var(--background-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.affiliate-slot p {
  color: var(--text-light);
}

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

.affiliate-label {
  color: var(--text);
  font-weight: 750;
}

/* 8. BROWSE & STATE FINDER */

.section-browse {
  padding-top: 70px;
}

.state-finder {
  display: flex;
  max-width: 700px;
  align-items: flex-end;
  gap: 12px;
  margin: 0 auto 20px;
  padding: 25px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.state-finder .form-field {
  flex: 1;
  margin: 0;
}

.state-finder .button {
  flex-shrink: 0;
}

.state-feedback {
  min-height: 28px;
  margin: 15px auto 35px;
  color: var(--text-light);
  text-align: center;
}

.state-directory {
  max-width: 900px;
  margin: 40px auto 0;
}

.state-directory h3 {
  margin-bottom: 22px;
  text-align: center;
}

.state-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  list-style: none;
}

.state-links li {
  margin: 0;
}

.state-links a {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 10px 14px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.state-links a:hover {
  color: var(--accent-dark);
  background: var(--accent-pale);
  border-color: var(--accent);
}

.state-links:empty {
  display: none;
}
/* 9. EMPTY STATES */

.empty-state {
  display: flex;
  width: 100%;
  min-height: 230px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px 28px;
  background: #ffffff;
  border: 1px dashed var(--border-dark);
  border-radius: var(--radius-large);
  text-align: center;
}

.empty-state h3 {
  margin-top: 5px;
  margin-bottom: 10px;
}

.empty-state p {
  max-width: 620px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.empty-state .button {
  margin-top: 5px;
}

.empty-state-icon {
  display: flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
  background: var(--accent-pale);
  border-radius: 50%;
}
/* 10. FEATURE CARDS */

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

.feature-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.feature-card:hover {
  color: var(--text);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

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

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--accent-dark);
  font-weight: 750;
}
/* 11. SERVICE LINKS */

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

.service-link {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 18px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-weight: 650;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.service-link:hover {
  color: var(--accent-dark);
  background: var(--accent-pale);
  border-color: var(--accent);
}

/* 12. INFORMATION CARDS */

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.info-card {
  padding: 24px 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.info-card h3 {
  font-size: 1.08rem;
}

.info-card p {
  margin-bottom: 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

.step-number {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-dark);
  background: var(--accent-light);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 850;
}

/* 13. CONTENT CARDS */

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

.content-card {
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
}

.content-card h3 {
  margin-bottom: 14px;
}

.content-card p {
  color: var(--text-light);
}

.content-card p:last-child {
  margin-bottom: 0;
}
/* 14. EDITORIAL CONTENT */

.editorial-content {
  color: var(--text-light);
  font-size: 1.02rem;
  line-height: 1.85;
}

.editorial-content h2 {
  margin-top: 38px;
  margin-bottom: 18px;
  color: var(--text);
  font-size: 1.65rem;
}

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

.editorial-content h3 {
  margin-top: 30px;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1.15rem;
}

.editorial-content h3:first-child {
  margin-top: 0;
}

.editorial-content p {
  margin-bottom: 20px;
}

.editorial-content ul,
.editorial-content ol {
  margin: 18px 0 24px;
}

.editorial-content li {
  padding-left: 4px;
}

.editorial-content a {
  color: var(--accent-dark);
  font-weight: 650;
}

.editorial-content a:hover {
  color: var(--accent);
}

/* 15. STATUS BADGES */

.status-indicator {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  padding: 5px 11px;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 700;
}

.status-yes {
  color: var(--success);
  background: #edf6ef;
}

.status-no {
  color: var(--danger);
  background: #fbefef;
}

.status-unknown {
  color: var(--warning);
  background: #faf4e8;
}
/* 16. LISTING CARDS */

.listing-grid {
  width: 100%;
}

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

.listing-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 25px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.listing-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.listing-card-header {
  margin-bottom: 15px;
}

.listing-card-title {
  margin-bottom: 6px;
  font-size: 1.25rem;
}

.listing-card-title a {
  color: var(--text);
  text-decoration: none;
}

.listing-card-title a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.listing-location {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.trade-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 17px;
}

.trade-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 10px;
  color: var(--accent-dark);
  background: var(--accent-pale);
  border: 1px solid #ead9b9;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 700;
}

.listing-detail {
  margin-bottom: 14px;
}

.listing-detail strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.listing-detail p {
  margin-bottom: 0;
  color: var(--text-light);
  font-size: 0.93rem;
}
.listing-policy {
  margin-bottom: 16px;
}

.mail-in-badge {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 5px 11px;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 700;
}

.mail-in-yes {
  color: var(--success);
  background: #edf6ef;
}

.mail-in-no {
  color: var(--danger);
  background: #fbefef;
}

.mail-in-unstated {
  color: var(--warning);
  background: #faf4e8;
}

.listing-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.checked-date {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.source-link,
.listing-phone {
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.source-link:hover,
.listing-phone:hover {
  color: var(--accent);
}

/* 17. FORMS */

.form-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 50px;
}

.form-introduction {
  position: sticky;
  top: 110px;
}

.form-introduction > p {
  color: var(--text-light);
}

.form-panel {
  min-width: 0;
  padding: 32px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.site-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-field label,
.form-field legend {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  font-size: 1rem;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #737b83;
  opacity: 1;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(154, 107, 30, 0.15);
}

.form-field fieldset {
  padding: 0;
  border: 0;
}

.form-field legend {
  margin-bottom: 10px;
}

.field-hint {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.checkbox-label {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
}

.checkbox-label input {
  width: 20px;
  height: 20px;
  min-height: auto;
  flex-shrink: 0;
  accent-color: var(--accent-dark);
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.form-message {
  min-height: 24px;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
}

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

.form-message-error {
  color: var(--danger);
}

.form-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.6;
}

.form-privacy a {
  color: var(--accent-dark);
  font-weight: 650;
}

.notice-panel {
  margin: 25px 0;
  padding: 24px;
  background: var(--accent-pale);
  border: 1px solid #ead9b9;
  border-radius: var(--radius);
}

.notice-panel h3 {
  margin-bottom: 14px;
}

.notice-panel ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.notice-panel li {
  margin-bottom: 8px;
  color: var(--text-light);
}

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

/* 18. CALL TO ACTION */

.section-cta {
  padding: 70px 0;
  background: var(--background-alt);
}

.cta-panel {
  padding: 48px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.cta-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.cta-content > p:not(.eyebrow) {
  color: var(--text-light);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}
/* 19. FOOTER */

.site-footer {
  padding: 60px 0 22px;
  color: #e9e9e7;
  background: #28313a;
}

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

.site-footer a:hover {
  color: #ffffff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 42px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 15px;
  color: #ffffff !important;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-decoration: none;
}

.footer-brand p {
  max-width: 300px;
  color: #c4c9ce;
  font-size: 0.92rem;
}

.footer-column h2 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 0;
}

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

.footer-column nav a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  color: #d1d5d9;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-column nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-disclaimer {
  padding: 22px 0;
  border-top: 1px solid #46505a;
  border-bottom: 1px solid #46505a;
}

.footer-disclaimer p {
  max-width: 900px;
  margin: 0;
  color: #d1d5d9;
  font-size: 0.88rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  color: #c4c9ce;
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}
/* 20. RESPONSIVE LAYOUT — TABLET */

@media (max-width: 1000px) {
  .container {
    width: min(var(--container), calc(100% - 40px));
  }

  .hero-inner {
    grid-template-columns: 1fr 0.75fr;
    gap: 25px;
  }

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

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

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }

  .form-layout {
    gap: 30px;
  }

  .main-nav {
    gap: 20px;
  }
}

/* 21. RESPONSIVE LAYOUT — MOBILE */

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

  .container,
  .content-narrow {
    width: calc(100% - 36px);
  }

  .section {
    padding: 55px 0;
  }

  .header-inner {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    overflow-x: auto;
  }

  .main-nav a {
    min-height: 44px;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .hero {
    padding: 55px 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-illustration {
    display: none;
  }

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

  .feature-grid,
  .content-grid,
  .listing-grid-inner,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 220px;
  }

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

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

  .form-introduction {
    position: static;
  }

  .form-panel {
    padding: 24px 20px;
  }

  .state-finder {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }

  .state-finder .button {
    width: 100%;
  }

  .cta-panel {
    padding: 32px 22px;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}
