/* ==========================================================================
   District Dogs Rescue — main stylesheet
   Palette: paper white / DC red / federal navy / warm sand
   Type: Bree Serif (display) + Public Sans (body — the U.S. gov open typeface)
   ========================================================================== */

:root {
  --paper: #FBFAF7;
  --sand: #F1ECE1;
  --sand-deep: #E9E2D2;
  --ink: #22304A;
  --ink-soft: #4D5A75;
  --red: #C5203A;
  --red-dark: #9C1129;
  --red-tint: #F9E7EA;
  --line: #E4DFD3;
  --white: #FFFFFF;
  --shadow: 0 2px 6px rgba(34, 48, 74, 0.07), 0 12px 28px rgba(34, 48, 74, 0.08);
  --radius: 14px;
  --font-display: "Bree Serif", "Georgia", serif;
  --font-body: "Public Sans", -apple-system, "Segoe UI", sans-serif;
}

/* Base ------------------------------------------------------------------ */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}

h1 { font-size: clamp(2.35rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.25rem; }
h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; margin: 0 0 0.4em; }

p { margin: 0 0 1em; }

a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 200;
}
.skip-link:focus { left: 8px; }

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.78rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }

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

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

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand); color: var(--ink); }

.btn-small { padding: 0.5rem 1.05rem; font-size: 0.92rem; }

/* Header ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: 42px; height: auto; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.05;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--red);
  text-transform: uppercase;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.35rem 0;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { color: var(--red); }
.site-nav a[aria-current="page"] {
  color: var(--red);
  border-bottom-color: var(--red);
}
.site-nav .btn { border-bottom: none; }
.site-nav a.btn[aria-current="page"] { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

/* Hero -------------------------------------------------------------------- */

.hero { padding: 4.2rem 0 4.6rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 1rem;
}

.hero .lede, .section-head .lede {
  font-size: 1.16rem;
  color: var(--ink-soft);
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.7rem;
}

.hero-note { margin-top: 1.1rem; font-size: 0.9rem; color: var(--ink-soft); }

.hero-art {
  background: var(--sand);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius);
  padding: 1.6rem 1.2rem 0;
  overflow: hidden;
}

/* Stats band --------------------------------------------------------------- */

.stats-band {
  border-block: 3px solid var(--red);
  background: var(--white);
  position: relative;
}
.stats-band::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -9px;
  height: 3px;
  background: var(--red);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.9rem 0;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--ink);
  display: block;
}
.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Sections ------------------------------------------------------------------ */

.section { padding: 4.6rem 0; }
.section--sand { background: var(--sand); }
.section--tight { padding: 3.2rem 0; }

.section-head { max-width: 640px; margin-bottom: 2.6rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }

.dc-divider {
  width: 74px;
  margin: 0 0 1.2rem;
}
.section-head--center .dc-divider { margin-inline: auto; }

.section-foot { margin-top: 2.4rem; text-align: center; }

/* Dog cards ------------------------------------------------------------------ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.dog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.dog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.dog-card-photo { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.dog-card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }

.dog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.2rem;
}
.dog-card h3 { margin: 0; font-size: 1.45rem; }

.badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.badge--available { background: var(--red-tint); color: var(--red-dark); }
.badge--pending { background: var(--sand); color: var(--ink-soft); border: 1px solid var(--sand-deep); }

.dog-card-meta { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 0.7rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.9rem; padding: 0; list-style: none; }
.chips li {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
}

.dog-card-bio {
  color: var(--ink-soft);
  font-size: 0.97rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1.1rem;
}

.dog-card-link {
  margin-top: auto;
  font-weight: 700;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  color: var(--red);
  font-family: var(--font-body);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
}
.dog-card-link:hover { color: var(--red-dark); text-decoration: underline; }

/* Steps (adoption process) ------------------------------------------------------ */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.7rem;
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.4rem;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 0.45rem;
}
.steps h3 { font-size: 1.18rem; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* Help cards (foster / volunteer / donate) ---------------------------------------- */

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.help-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  display: flex;
  flex-direction: column;
}
.help-card p { color: var(--ink-soft); flex: 1; }
.help-card .btn { align-self: flex-start; }

/* Quote --------------------------------------------------------------------------- */

.quote {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.4;
  margin: 0 0 1.2rem;
}
.quote cite { font-style: normal; font-weight: 600; color: var(--ink-soft); font-size: 0.98rem; }

/* CTA band --------------------------------------------------------------------------- */

.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #C6CEDF; max-width: 34em; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* Page hero (interior pages) ----------------------------------------------------------- */

.page-hero {
  background: var(--sand);
  border-bottom: 1px solid var(--sand-deep);
  padding: 3.4rem 0 3rem;
}
.page-hero .lede { font-size: 1.14rem; color: var(--ink-soft); max-width: 40em; margin: 0; }
.page-hero h1 { margin-bottom: 0.4em; }

/* Filters (adopt page) -------------------------------------------------------------------- */

.filters {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  margin-bottom: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.6rem;
  align-items: flex-end;
}
.filter-field { display: flex; flex-direction: column; gap: 0.3rem; }
.filter-field > span, .filter-group > span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.filters select {
  font: inherit;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
}
.filter-group { display: flex; flex-direction: column; gap: 0.35rem; }
.filter-checks { display: flex; gap: 1rem; flex-wrap: wrap; }
.filter-checks label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.filter-checks input { width: 1.05rem; height: 1.05rem; accent-color: var(--red); }

.filters-foot {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.results-count { font-weight: 600; color: var(--ink-soft); font-size: 0.95rem; }

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 3rem 1.5rem;
  color: var(--ink-soft);
}

/* Modal --------------------------------------------------------------------------------------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(34, 48, 74, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  z-index: 150;
}
.modal-overlay[hidden] { display: none; }

.modal {
  background: var(--paper);
  border-radius: var(--radius);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow);
}
.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { background: var(--sand); }

.modal-grid { display: grid; grid-template-columns: 1fr 1.15fr; }
.modal-photo { object-fit: cover; width: 100%; height: 100%; min-height: 280px; }
.modal-body { padding: 1.8rem 1.9rem; }
.modal-body h2 { margin-bottom: 0.15em; }
.modal-sub { color: var(--ink-soft); margin-bottom: 1rem; }

.modal-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.4rem;
  margin: 1.1rem 0 1.3rem;
  padding: 1.05rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.95rem;
}
.modal-facts div dt { font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-soft); }
.modal-facts div dd { margin: 0; }
.modal-facts { margin-block-end: 1.3rem; }

/* Forms ------------------------------------------------------------------------------------------ */

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 2rem;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 1.5rem; }
.form-grid .field--full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--ink-soft); }

.field input, .field select, .field textarea {
  font: inherit;
  padding: 0.68rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid rgba(197, 32, 58, 0.35);
  border-color: var(--red);
}

.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field-error { color: var(--red-dark); font-size: 0.85rem; font-weight: 600; display: none; }
.field.has-error .field-error { display: block; }

fieldset.field {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin: 0;
}
fieldset.field legend { font-weight: 700; font-size: 0.95rem; padding: 0 0.4rem; }
.check-row { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.98rem; }
.check-row input { width: 1.1rem; height: 1.1rem; margin-top: 0.22rem; accent-color: var(--red); }

.form-actions { margin-top: 1.6rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-note { font-size: 0.88rem; color: var(--ink-soft); }

.form-success {
  background: #EAF3EA;
  border: 1px solid #BFD8BF;
  color: #23512A;
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  font-weight: 600;
}
.form-success[hidden] { display: none; }

/* Newsletter (footer) */
.newsletter-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.newsletter-form input {
  font: inherit;
  padding: 0.62rem 0.85rem;
  border: 1.5px solid #43506C;
  border-radius: 10px;
  background: #2B3A5A;
  color: #fff;
  flex: 1;
  min-width: 200px;
}
.newsletter-form input::placeholder { color: #97A3BC; }

/* Donation tiers ------------------------------------------------------------------------------------ */

.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.tier {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tier--featured { border: 2px solid var(--red); position: relative; }
.tier-flag {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
}
.tier-amount { font-family: var(--font-display); font-size: 2.15rem; }
.tier p { color: var(--ink-soft); font-size: 0.95rem; flex: 1; margin: 0; }
.tier .btn { margin-top: 0.6rem; }

/* Team ------------------------------------------------------------------------------------------------ */

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.7rem; }
.team-card { text-align: center; }
.team-avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--sand);
  border: 2px solid var(--sand-deep);
  color: var(--red);
  font-family: var(--font-display);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem;
}
.team-card h3 { font-size: 1.15rem; margin-bottom: 0.1em; }
.team-role { color: var(--ink-soft); font-size: 0.92rem; }

/* Two-column feature rows ------------------------------------------------------------------------------- */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-2 .panel-art {
  background: var(--sand);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius);
  padding: 2rem;
}

.checklist { list-style: none; margin: 0 0 1.3rem; padding: 0; }
.checklist li { padding-left: 1.7rem; position: relative; margin-bottom: 0.55rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.85em;
  height: 0.85em;
  background: var(--red);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* FAQ ---------------------------------------------------------------------------------------------------- */

.faq { max-width: 760px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  margin-bottom: 0.85rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1rem 1.25rem;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red);
  font-size: 1.35rem;
  font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.25rem 1.1rem; margin: 0; color: var(--ink-soft); }

/* Info strip (contact details etc.) ------------------------------------------------------------------------ */

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem;
}
.info-card h3 { font-size: 1.1rem; }
.info-card p { margin: 0; color: var(--ink-soft); }

/* Fee table ---------------------------------------------------------------------------------------------------- */

.fee-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fee-table th, .fee-table td { padding: 0.85rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); }
.fee-table th { background: var(--sand); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.fee-table tr:last-child td { border-bottom: none; }

/* Footer ----------------------------------------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: #C6CEDF;
  padding: 3.6rem 0 2rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 2.4rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid #3A4763;
}
.site-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: #C6CEDF; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 0.65rem; color: #fff; margin-bottom: 0.9rem; }
.footer-brand img { width: 38px; filter: brightness(0) invert(1); }
.footer-brand span { font-family: var(--font-display); font-size: 1.2rem; }
.footer-mission { font-size: 0.95rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.6rem;
  font-size: 0.86rem;
  color: #97A3BC;
}

/* Motion & responsiveness ---------------------------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media (max-width: 960px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-art { max-width: 560px; }
  .card-grid, .help-grid, .info-cards { grid-template-columns: 1fr 1fr; }
  .steps, .tiers, .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-photo { max-height: 300px; }
}

@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 1rem 1.5rem 1.4rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
  .form-grid { grid-template-columns: 1fr; }
  .filters-foot { margin-left: 0; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .card-grid, .help-grid, .steps, .tiers, .team-grid, .info-cards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 1.1rem; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 3.4rem 0; }
  .hero { padding: 3rem 0; }
}
