/* ===== MowLogic - Intelligent Mowing Solutions ===== */
/* Color palette from logo: teal/blue, greens, white */

:root {
  --teal-dark: #0D4F5A;
  --teal: #1B6B7D;
  --teal-light: #2A8A9E;
  --green-dark: #2E7D32;
  --green: #4CAF50;
  --green-light: #7BC67E;
  --green-pale: #E8F5E9;
  --white: #FFFFFF;
  --gray-50: #F8FAFB;
  --gray-100: #F0F4F5;
  --gray-200: #D8E0E3;
  --gray-600: #5A6B70;
  --gray-700: #455053;
  --gray-800: #2C3E42;
  --shadow: 0 2px 12px rgba(13, 79, 90, 0.1);
  --shadow-lg: 0 8px 30px rgba(13, 79, 90, 0.15);
  --radius: 12px;
  --transition: 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--transition);
}

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

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

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* ===== HEADER / NAV ===== */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: var(--white);
  border-bottom: 2px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 56px;
  width: auto;
  display: block;
}

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

.nav-links a {
  font-weight: 500;
  color: var(--gray-600);
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
  border-bottom-color: var(--green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-cart {
  position: relative;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: not-allowed;
  color: var(--gray-600);
  opacity: 0.65;
  transition: all var(--transition);
}

.nav-cart svg {
  width: 20px;
  height: 20px;
}

.nav-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gray-200);
  color: var(--gray-700);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 6px;
  min-width: 18px;
  text-align: center;
}

.nav-cart[disabled]::after {
  content: 'Soon';
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  color: var(--gray-600);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ===== BUTTONS ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
  color: var(--white);
}

.btn-primary:disabled,
.btn-primary[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-secondary {
  background: var(--white);
  color: var(--teal);
  border: 2px solid var(--teal);
}

.btn-secondary:hover {
  background: var(--teal);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--gray-600);
  border: 2px solid var(--gray-200);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-danger {
  background: #e74c3c;
  color: var(--white);
}

.btn-danger:hover {
  background: #c0392b;
}

/* ===== HERO (split layout) ===== */

.hero {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, var(--green-dark) 100%);
  color: var(--white);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(123, 198, 126, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(42, 138, 158, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  line-height: 1.15;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.92;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero .btn-primary {
  font-size: 1.05rem;
  padding: 1rem 1.75rem;
}

.hero-illustration {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.hero-illustration img,
.hero-illustration svg {
  width: 100%;
  height: auto;
  display: block;
  /* multiply neutralises the white-fringe halo on the alpha edges when
     composited against the dark hero gradient. */
  mix-blend-mode: multiply;
}

/* ===== SECTIONS ===== */

.section {
  padding: 5rem 2rem;
}

.section-narrow {
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--teal-dark);
  margin-bottom: 0.75rem;
}

.section-title p {
  color: var(--gray-600);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ===== FEATURE CARDS ===== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  border-radius: 0 0 4px 4px;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-light);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* ===== MOWER CARDS ===== */

.mower-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.mower-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.mower-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-lg);
}

.mower-card.recommended {
  border-color: var(--green);
  position: relative;
}

.mower-card.recommended::after {
  content: 'Best Match';
  position: absolute;
  top: 12px;
  right: -30px;
  background: var(--green);
  color: var(--white);
  padding: 0.25rem 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mower-card-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: var(--gray-50);
  padding: 1rem;
}

.mower-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mower-card-series {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--teal);
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.mower-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.mower-card-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.mower-card-specs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
}

.mower-card-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green-dark);
}

.mower-card-area {
  font-size: 0.85rem;
  color: var(--gray-600);
  background: var(--green-pale);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.mower-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.75rem;
}

.mower-feature-tag {
  font-size: 0.7rem;
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.mower-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.mower-buy {
  width: 100%;
  font-size: 0.95rem;
  padding: 0.7rem 1rem;
}

.mower-spec-link {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 600;
  padding: 0.4rem;
}

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

/* ===== COMPARISON TABLE ===== */

.compare-wrap {
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
  vertical-align: middle;
}

.compare-table thead th {
  background: var(--teal-dark);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: none;
}

.compare-table tbody tr:nth-child(even) {
  background: var(--gray-50);
}

.compare-table tbody tr:hover {
  background: var(--green-pale);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-thumb {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--gray-50);
  border-radius: 8px;
  padding: 4px;
}

.compare-name {
  font-weight: 700;
  color: var(--gray-800);
  display: block;
  margin-bottom: 0.15rem;
}

.compare-series {
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.compare-yes {
  color: var(--green-dark);
  font-weight: 700;
}

.compare-no {
  color: var(--gray-600);
}

.compare-price {
  font-weight: 800;
  color: var(--green-dark);
  font-size: 1.05rem;
}

.compare-cards {
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.compare-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1rem;
}

.compare-card-head {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-100);
}

.compare-card-rows {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1rem;
  font-size: 0.9rem;
}

.compare-card-rows dt {
  color: var(--gray-600);
  font-weight: 600;
}

.compare-card-rows dd {
  color: var(--gray-800);
  text-align: right;
}

/* ===== ABOUT ===== */

.about {
  background: var(--gray-50);
}

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

.about-content p {
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-content p + p {
  margin-top: 1rem;
}

/* ===== TESTIMONIALS ===== */

.testimonials {
  background: var(--white);
}

.placeholder-banner {
  max-width: 900px;
  margin: 0 auto 1.5rem;
  background: #FFF3E0;
  border: 1px dashed #FFB74D;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  color: #E65100;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: -0.3rem;
  left: 1rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--green-light);
  font-family: Georgia, serif;
}

.testimonial-quote {
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 1rem;
  padding-top: 0.5rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--teal-dark);
  font-size: 0.95rem;
}

.testimonial-meta {
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* ===== FAQ ===== */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--teal-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--green);
  font-weight: 300;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item .faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--gray-700);
  line-height: 1.7;
}

/* ===== CTA STRIP ===== */

.cta-strip {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: var(--white);
  text-align: center;
  padding: 4rem 2rem;
}

.cta-strip h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-strip p {
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-strip .btn-primary {
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

/* ===== STICKY ASSESSMENT BANNER ===== */

.sticky-cta {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-lg);
  display: none;
  align-items: center;
  gap: 0.75rem;
  max-width: 360px;
  z-index: 90;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.sticky-cta.visible {
  display: flex;
}

.sticky-cta-text {
  font-size: 0.9rem;
  color: var(--gray-700);
  flex: 1;
}

.sticky-cta strong {
  color: var(--teal-dark);
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

.sticky-cta .btn {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}

.sticky-cta-close {
  background: none;
  border: none;
  color: var(--gray-600);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
}

/* ===== POWERED BY ===== */

.powered-by {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--gray-50);
  font-size: 0.9rem;
  color: var(--gray-600);
  letter-spacing: 0.5px;
}

.powered-by strong {
  color: var(--teal-dark);
}

/* ===== CALCULATOR PAGE ===== */

.calculator-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  height: calc(100vh - 100px);
}

.map-container {
  position: relative;
}

#map {
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.map-controls {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 10;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

#address-input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  background: var(--white);
  box-shadow: var(--shadow);
  outline: none;
  transition: border-color var(--transition);
}

#address-input:focus {
  border-color: var(--teal);
}

.sidebar {
  background: var(--white);
  border-left: 2px solid var(--gray-100);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.sidebar-section {
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}

.sidebar-section h3 {
  font-size: 1rem;
  color: var(--teal-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.area-display {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.area-value {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.area-unit {
  font-size: 0.9rem;
  opacity: 0.8;
}

.area-acres {
  font-size: 1rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

.area-empty {
  color: var(--gray-600);
  text-align: center;
  padding: 1.5rem;
  font-style: italic;
}

.draw-controls {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.polygon-list {
  list-style: none;
  margin-top: 0.75rem;
}

.polygon-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: var(--gray-50);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.polygon-item-area {
  font-weight: 600;
  color: var(--teal);
}

.polygon-item button {
  background: none;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.25rem;
}

.sidebar-mower-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  transition: all var(--transition);
}

.sidebar-mower-card:hover {
  border-color: var(--green);
}

.sidebar-mower-card.best-match {
  border-color: var(--green);
  background: var(--green-pale);
}

.sidebar-mower-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 0.5rem;
}

.sidebar-mower-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gray-800);
}

.sidebar-mower-price {
  font-weight: 800;
  color: var(--green-dark);
  font-size: 0.95rem;
}

.sidebar-mower-meta {
  font-size: 0.8rem;
  color: var(--gray-600);
}

.sidebar-mower-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.sidebar-mower-actions .mower-buy {
  font-size: 0.85rem;
  padding: 0.55rem 0.75rem;
}

.sidebar-mower-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  text-align: center;
}

.no-mowers-msg {
  text-align: center;
  padding: 1rem;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.too-large-msg {
  background: #FFF3E0;
  border: 1px solid #FFB74D;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  color: #E65100;
  font-size: 0.9rem;
}

.multi-mower-notice {
  background: #E3F2FD;
  border: 1px solid #90CAF9;
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--teal-dark);
  text-align: center;
  font-weight: 500;
}

.draw-instructions {
  font-size: 0.85rem;
  color: var(--teal);
  background: var(--green-pale);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  border-left: 3px solid var(--green);
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quote-input {
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}

.quote-input:focus {
  border-color: var(--teal);
}

/* ===== LEGAL / TYPOGRAPHIC PAGES ===== */

.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.legal-page h1 {
  color: var(--teal-dark);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.legal-page .legal-meta {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  color: var(--teal-dark);
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}

.legal-page p,
.legal-page li {
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-page ul,
.legal-page ol {
  margin-left: 1.4rem;
  margin-bottom: 1rem;
}

/* ===== FOOTER ===== */

.footer {
  background: var(--gray-800);
  color: var(--gray-200);
  padding: 3.5rem 2rem 1.5rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.footer-col p,
.footer-col li {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  color: var(--green-light);
  font-weight: 500;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-brand-line {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-tagline {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 0.5rem;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-illustration {
    order: -1;
    max-width: 360px;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .calculator-layout {
    grid-template-columns: 1fr;
    height: auto;
  }

  #map {
    min-height: 400px;
    height: 50vh;
  }

  .sidebar {
    border-left: none;
    border-top: 2px solid var(--gray-100);
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .nav {
    padding: 0.75rem 1rem;
  }

  .nav-logo img {
    height: 56px;
  }

  .nav-links {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 1.25rem;
  }

  .section-title h2 {
    font-size: 1.7rem;
  }

  .compare-wrap {
    display: none;
  }

  .compare-cards {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .sidebar-section {
    padding: 1.1rem;
  }

  .map-controls {
    top: 0.6rem;
    left: 0.6rem;
    right: 0.6rem;
    gap: 0.5rem;
  }

  #address-input {
    padding: 0.7rem 0.85rem;
    font-size: 0.95rem;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-cart {
    width: 38px;
    height: 38px;
  }

  .sticky-cta {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 3.5rem 1.25rem;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .map-controls {
    flex-direction: column;
    align-items: stretch;
  }

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

  .mower-cards {
    grid-template-columns: 1fr;
  }

  .nav-links {
    font-size: 0.9rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
  }
}
