/* =========================================================
   SEEDSBYZONE
   Independent Regional Seed Seller Directory
   Design system: Seed-head Gold
   Accent: #a8741a
   ========================================================= */

/* 1. DESIGN TOKENS */

:root {
  --accent: #a8741a;
  --accent-dark: #754b09;
  --accent-light: #f6eddb;
  --accent-pale: #fbf7ef;

  --text: #26313a;
  --text-muted: #59646c;
  --heading: #202a32;

  --background: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f7f8f8;

  --border: #dce1e3;
  --border-dark: #b9c1c5;

  --success: #24613e;
  --error: #a12d2d;

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

  --container: 1160px;
  --content: 820px;

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

  --shadow: 0 3px 14px rgba(32, 42, 50, 0.055);
  --shadow-hover: 0 8px 24px rgba(32, 42, 50, 0.09);
}

/* 2. RESET AND BASE */

* {
  box-sizing: border-box;
}

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

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

[hidden] {
  display: none!important;
}

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

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

a:hover {
  color: #513405;
}

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

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

button {
  cursor: pointer;
}

p {
  margin: 0 0 18px;
}

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

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

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

h2 {
  margin: 0 0 20px;
  font-size: clamp(1.55rem, 3vw, 2rem);
}

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

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

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

li {
  margin-bottom: 9px;
}

strong {
  color: var(--heading);
  font-weight: 700;
}

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

/* 3. LAYOUT */

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

.section {
  padding-top: 76px;
  padding-bottom: 76px;
}

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

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

.section-heading > div {
  flex: 1;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-description {
  max-width: 480px;
  color: var(--text-muted);
}

.section-footnote {
  margin-top: 25px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.content-panel {
  max-width: var(--content);
  margin-right: auto;
  margin-left: auto;
}

.content-panel h2:not(:first-child) {
  margin-top: 38px;
}

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

.content-panel h2:first-child,
.content-panel h3:first-child {
  margin-top: 0;
}

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

.content-panel p + ul,
.content-panel p + ol {
  margin-top: 10px;
}

.content-panel a {
  font-weight: 600;
}

.guide-list {
  padding-left: 24px;
  margin: 15px 0 25px;
}

.guide-list li {
  padding-left: 4px;
  margin-bottom: 12px;
}

/* 4. ACCESSIBILITY */

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

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

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.field-help,
.source-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

/* 5. HEADER AND NAVIGATION */

.site-header {
  position: relative;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 9px;
  color: var(--heading);
  text-decoration: none;
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 23px;
  line-height: 1;
}

.brand-name {
  color: var(--heading);
  font-size: 1.48rem;
  font-weight: 850;
  letter-spacing: -0.055em;
}

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

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

.primary-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 9px 13px;
  border-radius: 6px;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

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

/* 6. HERO SECTIONS */

.hero {
  padding: 82px 0 68px;
  background: linear-gradient(
    135deg,
    #fbf8f0 0%,
    #ffffff 65%,
    #f8f5ee 100%
);
}

.hero-content {
  max-width: 790px;
  margin-bottom: 40px;
}

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

.hero-lead {
  max-width: 760px;
  margin: 0 0 25px;
  color: var(--text-muted);
  font-size: clamp(1.08rem, 2vw, 1.23rem);
  line-height: 1.75;
}

.page-hero {
  padding: 52px 0 58px;
  background: linear-gradient(115deg, #fbf8f0, #ffffff 80%);
  border-bottom: 1px solid #eee9df;
}

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

.page-hero .hero-lead {
  margin-bottom: 20px;
}

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

.breadcrumbs a {
  color: var(--accent-dark);
  font-weight: 600;
}

.breadcrumbs [aria-current="page"] {
  color: var(--text-muted);
}

/* 7. BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 21px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.96rem;
  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;
}

.btn:hover {
  text-decoration: none;
}

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

.btn-primary:hover {
  background: #513405;
  color: #ffffff;
}

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

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

.btn:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

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

.text-link:hover {
  color: #513405;
}

/* 8. ZIP AND ZONE LOOKUP */

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

.lookup-panel-page {
  max-width: 900px;
  margin: 0 auto;
}

.lookup-panel-header {
  margin-bottom: 28px;
}

.lookup-panel-header h2 {
  margin-bottom: 8px;
}

.lookup-panel-header p {
  color: var(--text-muted);
}

.lookup-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
}

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

.lookup-form label,
.form-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--heading);
  font-size: 0.95rem;
  font-weight: 700;
}

.lookup-input-row {
  display: flex;
  gap: 12px;
}

.lookup-input-row input,
.lookup-input-row select {
  flex: 1;
  min-width: 0;
}

.lookup-input-row .btn {
  flex-shrink: 0;
}

.lookup-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.lookup-divider span {
  padding: 6px;
  border-radius: 50%;
  background: var(--surface-alt);
}

.lookup-panel .field-help {
  margin-top: 9px;
  margin-bottom: 0;
}

.lookup-disclaimer {
  margin-top: 24px;
  padding-top: 19px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.91rem;
}

.lookup-results {
  margin-top: 25px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.lookup-results h2,
.lookup-results h3 {
  margin-bottom: 12px;
}

.lookup-results .result-zone {
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 1.7rem;
  font-weight: 800;
}

.lookup-results .seller-results {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.lookup-results .seller-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
}

.lookup-results .seller-card h3 {
  margin-bottom: 8px;
}

.lookup-results .seller-card p {
  margin-bottom: 10px;
}

.lookup-results .seller-card:last-child {
  margin-bottom: 0;
}

.lookup-results .empty-state {
  margin-top: 15px;
}

.source-note {
  margin-top: 18px;
}

/* 9. EMPTY STATES */

.empty-state {
  padding: 30px;
  border: 1px dashed var(--border-dark);
  border-radius: var(--radius);
  background: var(--surface-alt);
  text-align: center;
}

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

.empty-state p {
  max-width: 620px;
  margin: 0 auto 18px;
  color: var(--text-muted);
}

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

.empty-state[hidden] {
  display: none;
}

/* 10. ZONE AND REGION GRIDS */

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

.zone-card,
.region-card {
  display: flex;
  flex-direction: column;
  min-height: 145px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--heading);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.zone-card:hover,
.region-card:hover {
  border-color: var(--accent);
  color: var(--heading);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.zone-card h3,
.region-card h3 {
  margin-bottom: 8px;
}

.zone-card p,
.region-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.zone-card .zone-number {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 1.6rem;
  font-weight: 850;
}

.zone-card .zone-description {
  margin-top: auto;
}

.region-card .region-label {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 9px;
  border-radius: 20px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

/* 11. SELLER LISTINGS */

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

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

.seller-card h2,
.seller-card h3 {
  margin-bottom: 10px;
}

.seller-card p {
  margin-bottom: 12px;
  color: var(--text-muted);
}

.seller-card a {
  font-weight: 700;
}

.seller-location {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.seller-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

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

.seller-source {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
}

.seller-source a {
  overflow-wrap: anywhere;
}

.seller-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.seller-specialization {
  margin-top: 12px;
  padding: 12px;
  border-left: 3px solid var(--accent);
  background: var(--accent-pale);
  color: var(--text);
  font-size: 0.93rem;
}

/* 12. FEATURE AND STEP GRIDS */

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

.feature-card {
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.feature-card p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.feature-card .text-link {
  margin-top: 16px;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 9px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.95rem;
  font-weight: 850;
}

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

.step-card {
  padding: 22px;
  border-top: 3px solid var(--accent);
  background: var(--surface-alt);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 15px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 800;
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
}

/* 13. CONTENT AND CALLOUT PANELS */

.content-panel {
  overflow-wrap: anywhere;
}

.content-panel h2,
.content-panel h3 {
  scroll-margin-top: 90px;
}

.content-panel ul,
.content-panel ol {
  color: var(--text);
}

.content-panel li::marker {
  color: var(--accent-dark);
}

.notice {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 5px;
  background: var(--accent-pale);
  color: var(--text);
}

.notice.error {
  border-left-color: var(--error);
  color: var(--error);
}

.content-panel .section-action {
  margin-top: 25px;
}

.section-guide {
  background: #ffffff;
}

.section-guide .content-panel {
  padding: 35px;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface-alt);
}

/* 14. SUBMISSION AND CALL TO ACTION */

.section-cta {
  padding-top: 55px;
  padding-bottom: 55px;
  background: var(--accent-pale);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 35px;
  border: 1px solid #e8ddc8;
  border-radius: var(--radius-large);
  background: #ffffff;
}

.cta-copy {
  max-width: 690px;
}

.cta-copy h2 {
  margin-bottom: 12px;
}

.cta-copy p:last-child {
  color: var(--text-muted);
}

.cta-panel .btn {
  flex-shrink: 0;
}

/* 15. ADVERTISING PLACEHOLDERS */

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

.ad-slot:empty {
  visibility: visible;
}

/* 16. FORMS */

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

.form-heading {
  margin-bottom: 28px;
}

.form-heading h2 {
  margin-bottom: 10px;
}

.form-heading p {
  color: var(--text-muted);
}

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

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

.form-field input,
.form-field select,
.form-field textarea,
.lookup-form input,
.lookup-form select {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-small);
  background: #ffffff;
  color: var(--text);
}

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

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #707a80;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
}

.form-field .field-help {
  margin-top: 7px;
  margin-bottom: 0;
}

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

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 650;
}

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

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

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

.form-privacy-note {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.form-honeypot {
  position: absolute!important;
  left: -10000px!important;
  width: 1px!important;
  height: 1px!important;
  overflow: hidden!important;
}

/* 17. CHECKBOXES AND FIELDSETS */

.site-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.site-form legend {
  padding: 0 7px;
  color: var(--heading);
  font-weight: 700;
}

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

.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin: 0 !important;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  background: #ffffff;
  cursor: pointer;
}

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

/* 18. CONTACT LAYOUT */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 35px;
}

.contact-layout .content-panel {
  width: 100%;
}

.contact-layout .form-panel {
  width: 100%;
  margin: 0;
}

.contact-topic {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.contact-topic h3 {
  margin-bottom: 8px;
}

.contact-topic p {
  color: var(--text-muted);
}

/* 19. AFFILIATE PLACEHOLDER */

.affiliate-placeholder {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px;
  border: 1px dashed var(--border-dark);
  border-radius: var(--radius);
  background: #ffffff;
}

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

/* 20. SITE FOOTER */

.site-footer {
  padding: 55px 0 22px;
  background: #202a32;
  color: #e7ebed;
}

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

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

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 45px;
  padding-bottom: 38px;
}

.footer-brand .brand-name {
  color: #ffffff;
}

.footer-brand .brand-accent {
  color: #f0d39b;
}

.footer-brand .brand-mark {
  background: rgba(240, 211, 155, 0.15);
  color: #f0d39b;
}

.footer-brand p {
  max-width: 300px;
  margin-top: 16px;
  color: #c4cdd2;
  font-size: 0.94rem;
}

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

.footer-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-nav li {
  margin-bottom: 8px;
}

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

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

.footer-disclaimer {
  padding: 22px 0;
  border-top: 1px solid #46515a;
  border-bottom: 1px solid #46515a;
  color: #c4cdd2;
  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: 12px;
  padding-top: 20px;
  color: #c4cdd2;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

/* 21. RESPONSIVE TABLET LAYOUT */

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

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

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .section-description {
    max-width: 680px;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-layout .content-panel {
    max-width: 820px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* 22. RESPONSIVE MOBILE LAYOUT */

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .hero {
    padding-top: 55px;
    padding-bottom: 45px;
  }

  .page-hero {
    padding-top: 35px;
    padding-bottom: 42px;
  }

  .header-inner {
    gap: 8px;
  }

  .primary-nav {
    gap: 2px;
  }

  .primary-nav a {
    padding: 8px 9px;
    font-size: 0.87rem;
  }

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

  .lookup-divider {
    display: none;
  }

  .lookup-panel,
  .form-panel {
    padding: 22px 18px;
  }

  .lookup-input-row {
    flex-direction: column;
  }

  .lookup-input-row .btn {
    width: 100%;
  }

  .zone-grid,
  .region-grid,
  .feature-grid,
  .steps-grid,
  .listing-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .cta-panel .btn {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: auto;
  }

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

  .section-action {
    flex-direction: column;
  }

  .section-action .btn {
    width: 100%;
  }
}

/* 23. SMALL MOBILE ADJUSTMENTS */

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

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

  .primary-nav a {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 0.82rem;
  }

  .lookup-panel {
    padding: 18px 14px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }
}

/* 24. REDUCED MOTION */

@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;
  }
}
