/*
Theme Name: Rapid Legal Funding
Theme URI: https://rapidlegalfunding.com
Author: Rapid Legal Funding
Author URI: https://rapidlegalfunding.com
Description: Premium pre-settlement legal funding website theme for Rapid Legal Funding. Navy & gold design system with city pages, case type pages, blog, and attorney referral portal.
Version: 1.0.0
License: Proprietary
License URI: https://rapidlegalfunding.com
Text Domain: rlfn
Tags: legal, funding, pre-settlement, personal-injury, florida
*/

/* ============================================================
   RAPID LEGAL FUNDING — Brand Design System
   Navy #0D1B3E | Gold #C9A84C | White #FFFFFF
   Fonts: Playfair Display (headings) + Barlow (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Barlow:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #0D1B3E;
  --navy-light: #1a2d5a;
  --navy-dark: #080f22;
  --gold: #C9A84C;
  --gold-light: #e0c06a;
  --gold-dark: #a8882e;
  --white: #ffffff;
  --off-white: #f8f6f0;
  --gray-light: #f4f4f6;
  --gray: #9ca3af;
  --text-dark: #1a1a2e;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Barlow', Arial, sans-serif;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(13,27,62,0.12);
  --shadow-lg: 0 12px 48px rgba(13,27,62,0.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
p { margin-bottom: 1rem; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-dark); }

/* ── Layout ── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  text-align: center;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.5);
  color: var(--navy);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ── Navbar ── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 0;
}

#site-header.scrolled {
  background: rgba(13,27,62,0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

#site-header.solid {
  background: rgba(13,27,62,0.97);
  backdrop-filter: blur(16px);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-logo img {
  height: 64px;
  max-width: 240px;
  object-fit: contain;
  background: white;
  border-radius: 10px;
  padding: 4px 10px;
}

.nav-links ul {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  list-style: none;
}

.nav-links ul li { list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.9);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.73rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-phone {
  color: var(--gold) !important;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  background: var(--navy-dark);
  border-top: 1px solid rgba(201,168,76,0.3);
  padding: 1.5rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  color: rgba(255,255,255,0.9);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-weight: 500;
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
  padding-top: 90px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,62,0.92) 0%, rgba(13,27,62,0.6) 60%, rgba(13,27,62,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  width: 100%;
}

.hero-text .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-text h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-text h1 .gold { color: var(--gold); }

.hero-text p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
}
.hero-trust-item .check { color: var(--gold); }

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Apply Form Card ── */
.apply-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  position: relative;
  z-index: 2;
}

.apply-card h3 {
  text-align: center;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.apply-card .subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.apply-card .divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: white;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.5);
}

.form-trust {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--gray);
}

/* ── Stats Bar ── */
.stats-bar {
  background: var(--navy);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.stat-item .stat-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Section Headers ── */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-header h2 { margin-bottom: 1rem; }

.section-header p {
  color: #6b7280;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Feature Cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201,168,76,0.1);
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,168,76,0.3);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.card p { color: #6b7280; font-size: 0.92rem; margin: 0; }

/* ── Dark Section ── */
.section-dark {
  background: var(--navy);
  color: white;
}
.section-dark h2, .section-dark h3 { color: white; }
.section-dark p { color: rgba(255,255,255,0.75); }

.section-navy-gradient {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}

/* ── Process Steps ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 auto 1.25rem;
}

.step-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }

/* ── FAQ Accordion ── */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.faq-question:hover { background: rgba(201,168,76,0.05); }
.faq-question .chevron { transition: transform 0.3s; color: var(--gold); font-size: 1.2rem; }
.faq-item.open .faq-question .chevron { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ── City Grid ── */
.city-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.city-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform 0.3s;
}
.city-card:hover { transform: scale(1.03); }

.city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.city-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,62,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}

.city-card-overlay h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.city-card-overlay span {
  color: var(--gold);
  font-size: 0.8rem;
}

/* ── Footer ── */
#site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 64px;
  background: white;
  border-radius: 10px;
  padding: 6px 12px;
  margin-bottom: 1rem;
}

.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }

.footer-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 1.1rem;
}

.footer-col h4 {
  color: white;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(201,168,76,0.3);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.footer-disclaimer {
  background: rgba(0,0,0,0.3);
  padding: 1.5rem;
  border-radius: var(--radius);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ── City/Case Hero ── */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  padding-top: 90px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,62,0.95) 0%, rgba(13,27,62,0.7) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  width: 100%;
}

.page-hero-content h1 { color: white; margin-bottom: 1rem; }
.page-hero-content p { color: rgba(255,255,255,0.8); font-size: 1.15rem; max-width: 700px; }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* ── Checklist ── */
.checklist { list-style: none; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  font-size: 0.95rem;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Funding Range Box ── */
.funding-range-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  color: white;
}
.funding-range-box .range-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 700;
}

/* ── Blog Cards ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: white;
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body { padding: 1.5rem; }
.blog-card-body .category {
  display: inline-block;
  background: rgba(201,168,76,0.1);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.blog-card-body p { color: #6b7280; font-size: 0.88rem; margin-bottom: 1rem; }
.blog-card-body .read-more { color: var(--gold); font-weight: 600; font-size: 0.88rem; }

/* ── Formatted Content Body (.rlfn-content) ── */
.rlfn-content h1,
.rlfn-content h2,
.rlfn-content h3,
.rlfn-content h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.rlfn-content h2 { font-size: 1.6rem; border-bottom: 2px solid rgba(201,168,76,0.2); padding-bottom: 0.5rem; }
.rlfn-content h3 { font-size: 1.25rem; }
.rlfn-content h4 { font-size: 1.05rem; }
.rlfn-content p { color: #374151; font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.25rem; }
.rlfn-content ul,
.rlfn-content ol { padding-left: 1.75rem; margin-bottom: 1.25rem; }
.rlfn-content ul li,
.rlfn-content ol li { color: #374151; font-size: 1rem; line-height: 1.7; margin-bottom: 0.4rem; }
.rlfn-content ul li::marker { color: var(--gold); font-weight: 700; }
.rlfn-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 1.5rem 0; display: block; }
.rlfn-content a { color: var(--gold-dark); text-decoration: underline; }
.rlfn-content a:hover { color: var(--navy); }
.rlfn-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(201,168,76,0.06);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #4b5563;
}
.rlfn-content strong { color: var(--navy); }
/* Single post article body */
.single-article-body h2 { font-family: var(--font-heading); color: var(--navy); font-size: 1.6rem; margin-top: 2rem; margin-bottom: 0.75rem; border-bottom: 2px solid rgba(201,168,76,0.2); padding-bottom: 0.5rem; }
.single-article-body h3 { font-family: var(--font-heading); color: var(--navy); font-size: 1.25rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.single-article-body p { color: #374151; font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.25rem; }
.single-article-body ul { padding-left: 1.75rem; margin-bottom: 1.25rem; }
.single-article-body ul li { color: #374151; line-height: 1.7; margin-bottom: 0.4rem; }
.single-article-body ul li::marker { color: var(--gold); font-weight: 700; }
.single-article-body img { max-width: 100%; border-radius: 8px; margin: 1.5rem 0; }
.single-article-body strong { color: var(--navy); }

/* ── Sticky Mobile Call Bar ── */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  padding: 1rem 1.5rem;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.mobile-call-bar.visible { transform: translateY(0); }
.mobile-call-bar a {
  color: var(--navy);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .mobile-call-bar { display: block; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .apply-card { max-width: 560px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
