/* R&R Premier Lawn Services — Shared Styles */

:root {
  --green-dark: #1a4d2e;
  --green-mid: #2d6a4f;
  --green-light: #52b788;
  --green-accent: #74c69d;
  --cream: #f8f6f1;
  --cream-dark: #ede9df;
  --charcoal: #1e1e1e;
  --gray: #4d4d4d;
  --gray-light: #6f6f6f;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(26, 77, 46, 0.12);
  --shadow-lg: 0 12px 48px rgba(26, 77, 46, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --topbar-h: 40px;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + var(--nav-h) + 16px);
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Visible keyboard focus everywhere */
:focus-visible {
  outline: 3px solid var(--green-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 3000;
  background: var(--green-dark);
  color: var(--white);
  padding: 0.9rem 1.5rem;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ── Typography ── */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--green-dark);
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }

p { color: var(--gray); }

.lead {
  font-size: 1.1rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.75rem;
}

/* ── Layout ── */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 820px;
}

.section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 3rem;
}

.section-header p {
  margin-top: 1rem;
  font-size: 1.1rem;
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--green-mid);
  color: var(--white);
  border-color: var(--green-mid);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
  transform: translateY(-2px);
}

.btn-outline-green {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--green-mid);
}

.btn-outline-green:hover {
  background: var(--green-mid);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-accent {
  background: var(--green-light);
  color: #0f3320;
  border-color: var(--green-light);
}

.btn-accent:hover {
  background: var(--green-accent);
  border-color: var(--green-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-lg {
  min-height: 56px;
  padding: 1rem 2.25rem;
  font-size: 1.08rem;
}

.btn-block {
  width: 100%;
}

/* ── Top contact bar ── */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--topbar-h);
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar a {
  font-weight: 700;
  color: var(--white);
}

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

.topbar-hours {
  color: rgba(255, 255, 255, 0.75);
}

/* ── Navigation ── */

.navbar {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 77, 46, 0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

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

.logo-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--green-mid);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text .brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green-dark);
}

.logo-text .tagline {
  font-size: 0.7rem;
  color: var(--gray-light);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray);
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--green-mid);
  background: rgba(45, 106, 79, 0.08);
}

.nav-links a[aria-current="page"] {
  color: var(--green-dark);
  font-weight: 700;
  background: rgba(45, 106, 79, 0.1);
}

.nav-cta {
  margin-left: 0.5rem;
}

/* Button links in the nav must keep their button colors, not the nav link color */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover,
.nav-links a.nav-cta[aria-current="page"] {
  color: var(--white);
  background: var(--green-mid);
}

.nav-links a.btn-primary:hover,
.nav-links a.nav-cta[aria-current="page"] {
  background: var(--green-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  align-items: center;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ── */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 60%, #3d8b6e 100%);
  overflow: hidden;
  padding-top: calc(var(--topbar-h) + var(--nav-h) + 2rem);
  padding-bottom: 3rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1558904541-efa843a96f01?w=1920&q=80') center/cover no-repeat;
  opacity: 0.2;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: var(--white);
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-content h1 span {
  color: var(--green-accent);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.18rem;
  margin-bottom: 2rem;
  max-width: 560px;
}

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

.hero-note {
  position: relative;
  z-index: 1;
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-badges {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
}

/* ── Page Header (inner pages) ── */

.page-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  padding: calc(var(--topbar-h) + var(--nav-h) + 3.5rem) 0 3.5rem;
  text-align: center;
  color: var(--white);
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Call strip ── */

.call-strip {
  background: var(--white);
  border-bottom: 1px solid rgba(26, 77, 46, 0.08);
  padding: 1.5rem 0;
}

.call-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

.call-strip p {
  font-weight: 600;
  color: var(--green-dark);
  font-size: 1.05rem;
}

/* ── Services Grid ── */

/* Flex rather than grid so an odd last row centers instead of stranding a card */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
}

.service-card {
  flex: 1 1 280px;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(26, 77, 46, 0.06);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(82, 183, 136, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.97rem;
}

/* ── Steps ── */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  counter-reset: step;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 77, 46, 0.06);
  position: relative;
}

.step-num {
  width: 44px;
  height: 44px;
  background: var(--green-mid);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  margin-bottom: 0.6rem;
}

.step-card p {
  font-size: 0.97rem;
}

/* ── Why Us ── */

.why-us {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--green-light);
  color: #0f3320;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.why-item h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.why-item p {
  font-size: 0.95rem;
}

/* ── CTA Banner ── */

.cta-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  text-align: center;
  color: var(--white);
  max-width: calc(1200px - 3rem);
  margin-left: auto;
  margin-right: auto;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 700;
  color: var(--green-accent);
  margin-bottom: 1.5rem;
}

.cta-phone:hover {
  color: var(--white);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ── About Page ── */

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.value-card .value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.95rem;
}

.service-area {
  background: var(--white);
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.area-list li {
  background: var(--cream);
  padding: 0.875rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  color: var(--green-dark);
  border: 1px solid rgba(26, 77, 46, 0.12);
}

/* ── Gallery ── */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  min-height: 44px;
  padding: 0.5rem 1.35rem;
  border: 2px solid var(--cream-dark);
  background: var(--white);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn[aria-pressed="true"] {
  border-color: var(--green-mid);
  background: var(--green-mid);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow);
  border: none;
  padding: 0;
  background: var(--cream-dark);
  width: 100%;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 77, 46, 0.88) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 1;
  transition: var(--transition);
}

.gallery-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
}

/* Photo placeholder, swap for a real job photo */

.photo-placeholder {
  background: var(--cream-dark);
  border: 2px dashed rgba(26, 77, 46, 0.22);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
  text-align: center;
}

.photo-placeholder .placeholder-icon {
  font-size: 2.25rem;
}

.photo-placeholder span {
  font-weight: 600;
  color: var(--green-dark);
}

.photo-placeholder small {
  font-size: 0.85rem;
  color: var(--gray-light);
  max-width: 30ch;
}

/* Empty gallery state */

.gallery-empty {
  background: var(--white);
  border: 2px dashed rgba(26, 77, 46, 0.2);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.gallery-empty .empty-icon {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.gallery-empty h2 {
  margin-bottom: 0.75rem;
}

.gallery-empty p {
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}

/* Lightbox */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.94);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 1rem;
  text-align: center;
  padding: 0 1rem;
}

/* ── Contact Page ── */

.contact-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.contact-action {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid rgba(26, 77, 46, 0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-action:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.contact-action-icon {
  width: 60px;
  height: 60px;
  background: rgba(82, 183, 136, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.contact-action h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.contact-action p {
  font-size: 0.97rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

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

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.info-card h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.85rem;
}

.info-card p {
  font-size: 0.97rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table th {
  text-align: left;
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--charcoal);
  padding: 0.35rem 1.5rem 0.35rem 0;
}

.hours-table td {
  padding: 0.35rem 0;
  font-size: 0.97rem;
  color: var(--gray);
  text-align: right;
}

/* ── Quote page ── */

.quote-cta-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.quote-cta-card h2 {
  margin-bottom: 0.75rem;
}

.quote-cta-card > p {
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}

.quote-phone-big {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 1.75rem;
}

.quote-phone-big:hover {
  color: var(--green-mid);
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
  max-width: 460px;
  margin: 0 auto;
}

.checklist li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--gray);
}

.checklist li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--green-light);
  color: #0f3320;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ── Mobile sticky call bar ── */

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  background: var(--white);
  border-top: 1px solid rgba(26, 77, 46, 0.12);
  box-shadow: 0 -4px 20px rgba(26, 77, 46, 0.14);
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
}

.mobile-bar .btn {
  flex: 1;
  padding: 0.875rem 0.5rem;
  font-size: 0.98rem;
}

/* ── Footer ── */

.footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 2rem;
}

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

.footer .logo-text .brand {
  color: var(--white);
}

.footer .logo-text .tagline {
  color: rgba(255, 255, 255, 0.55);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.93rem;
  margin-top: 1rem;
  line-height: 1.7;
  max-width: 38ch;
}

.footer h2 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.72);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--green-accent);
}

.footer-contact p {
  font-size: 0.93rem;
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-contact a {
  color: var(--green-accent);
  font-weight: 600;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ── 404 ── */

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--topbar-h) + var(--nav-h) + 3rem) 1.5rem 4rem;
}

.error-page .error-code {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ── Responsive ── */

@media (max-width: 968px) {
  .why-grid,
  .about-intro {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

@media (max-width: 768px) {
  :root {
    --topbar-h: 0px;
  }

  .topbar {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    box-shadow: var(--shadow);
    border-bottom: 1px solid rgba(26, 77, 46, 0.08);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  body {
    padding-bottom: 76px;
  }

  .mobile-bar {
    display: flex;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero {
    min-height: auto;
  }

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

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

  .cta-banner {
    padding: 2.5rem 1.5rem;
  }

  .footer {
    padding-bottom: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .service-card:hover,
  .contact-action:hover,
  .btn:hover,
  .gallery-item:hover img {
    transform: none;
  }
}
