/* ============================================
   Clean Cut Lawn & Landscape Services
   Fort Mill / Indian Land, SC - Since 2004
   ============================================ */

/* --- Custom Properties --- */
:root {
  --green-900: #0a2e11;
  --green-800: #145521;
  --green-700: #1a6b2a;
  --green-600: #1f8234;
  --green-500: #28a745;
  --green-400: #4cba6a;
  --green-300: #7dd198;
  --green-200: #b8e6c8;
  --green-100: #e0f5e7;
  --green-50: #f0faf3;

  --sand-100: #faf6f0;
  --sand-200: #f2eade;
  --sand-300: #e8dcc8;

  --brown-700: #5a3e28;
  --brown-500: #7d5a3c;

  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-500: #868e96;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;

  --font-display: 'DM Serif Display', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --shadow-sm: 0 1px 3px rgba(10, 46, 17, 0.08);
  --shadow-md: 0 4px 12px rgba(10, 46, 17, 0.1);
  --shadow-lg: 0 8px 30px rgba(10, 46, 17, 0.12);
  --shadow-xl: 0 16px 50px rgba(10, 46, 17, 0.15);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green-700);
  text-decoration: none;
  transition: color 150ms ease;
}
a:hover { color: var(--green-500); }
a:focus-visible {
  outline: 3px solid var(--green-400);
  outline-offset: 2px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--green-900);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

ul { list-style: none; }

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--green-800);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  transition: top 200ms ease;
}
.skip-link:focus {
  top: 16px;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--green-100);
  transition: box-shadow 300ms ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  height: 48px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-800);
  line-height: 1.2;
}
.nav-logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--green-600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: background 150ms ease, color 150ms ease;
  position: relative;
}
.nav-links a:hover {
  background: var(--green-50);
  color: var(--green-800);
}
.nav-links a.active {
  color: var(--green-800);
  font-weight: 700;
}
.nav-links a.nav-cta {
  background: var(--green-800);
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  margin-left: 8px;
  font-weight: 600;
}
.nav-links a.nav-cta:hover {
  background: var(--green-700);
  color: var(--white);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-800);
  transition: transform 300ms var(--ease-out), opacity 200ms ease;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--green-800);
  left: 0;
  transition: inherit;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
  text-decoration: none;
  min-height: 48px;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}
.btn:focus-visible {
  outline: 3px solid var(--green-400);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--green-800);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-700);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--green-800);
  border: 2px solid var(--green-800);
}
.btn-secondary:hover {
  background: var(--green-50);
  color: var(--green-800);
}

.btn-light {
  background: var(--white);
  color: var(--green-800);
}
.btn-light:hover {
  background: var(--green-50);
  color: var(--green-800);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-900);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 46, 17, 0.92) 0%, rgba(20, 85, 33, 0.75) 60%, rgba(31, 130, 52, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 120px 0 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-200);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--green-400);
  border-radius: 50%;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.1;
}
.hero p {
  color: var(--green-200);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Section Styles --- */
.section {
  padding: 80px 0;
}
.section-lg {
  padding: 100px 0;
}

.section-green {
  background: var(--green-900);
  color: var(--green-100);
}
.section-green h2,
.section-green h3 {
  color: var(--white);
}

.section-sand {
  background: var(--sand-100);
}

.section-light {
  background: var(--green-50);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-header h2 {
  margin-bottom: 16px;
}
.section-header p {
  color: var(--gray-600);
  font-size: 1.05rem;
}
.section-green .section-header p {
  color: var(--green-300);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-600);
  margin-bottom: 12px;
}
.section-green .section-label {
  color: var(--green-400);
}

/* --- Services Grid (Homepage) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--green-100);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 300ms ease;
  text-decoration: none;
  display: block;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-300);
  color: inherit;
}
.service-card:focus-visible {
  outline: 3px solid var(--green-400);
  outline-offset: 2px;
}

.service-card-icon {
  width: 52px;
  height: 52px;
  background: var(--green-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--green-700);
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}
.service-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
}
.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--green-700);
}
.service-card .card-link::after {
  content: '\2192';
  transition: transform 150ms ease;
}
.service-card:hover .card-link::after {
  transform: translateX(4px);
}

/* --- Why Choose Us --- */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.reason-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.reason-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.reason-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.reason-item p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* --- Projects Preview --- */
.projects-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.project-thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}
.project-thumb:hover img {
  transform: scale(1.05);
}

/* --- Projects Gallery (full page) --- */
.projects-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(10, 46, 17, 0.85));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  transform: translateY(100%);
  transition: transform 300ms var(--ease-out);
}
.gallery-item:hover figcaption {
  transform: translateY(0);
}

/* --- Service Area --- */
.service-area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.area-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green-800);
  transition: background 150ms ease, border-color 150ms ease;
}
.area-tag:hover {
  background: var(--green-50);
  border-color: var(--green-400);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 50%, var(--green-600) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.cta-banner p {
  color: var(--green-200);
  max-width: 540px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

/* --- Inner Page Hero --- */
.page-hero {
  background: var(--green-900);
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, rgba(10, 46, 17, 0.3));
}
.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero p {
  color: var(--green-200);
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.6;
}

/* --- Service Detail Sections --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.service-detail.reverse {
  direction: rtl;
}
.service-detail.reverse > * {
  direction: ltr;
}

.service-detail-content h2 {
  margin-bottom: 16px;
}
.service-detail-content p {
  color: var(--gray-600);
  margin-bottom: 24px;
  line-height: 1.7;
}

.key-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.key-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
}
.key-point::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--green-100);
  border-radius: 50%;
  margin-top: 2px;
  position: relative;
}
.key-point::after {
  content: '\2713';
  position: absolute;
  margin-left: 5px;
  margin-top: 1px;
  font-size: 0.7rem;
  color: var(--green-700);
  font-weight: 700;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.check-list li::before {
  content: '\2713';
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}
.section-green .check-list li::before {
  background: rgba(255, 255, 255, 0.15);
  color: var(--green-300);
}

.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Mulch Types Grid --- */
.mulch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.mulch-item {
  background: var(--white);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--green-800);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.mulch-item:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-sm);
}

/* --- Benefits List (horizontal) --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.benefit-item::before {
  content: '\2713';
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--green-800);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
}
.benefit-item span {
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--green-100);
  padding-top: 3px;
}

/* --- Tips List (Mosquito) --- */
.tips-list {
  counter-reset: tip;
}
.tip-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--green-100);
}
.tip-item:last-child { border-bottom: none; }
.tip-item::before {
  counter-increment: tip;
  content: counter(tip);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--green-800);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.tip-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  padding-top: 8px;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.contact-detail h4 {
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-detail p,
.contact-detail a {
  font-size: 0.92rem;
  color: var(--gray-600);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--green-100);
  border-radius: 50%;
  color: var(--green-800);
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 150ms ease, color 150ms ease;
}
.social-link:hover {
  background: var(--green-800);
  color: var(--white);
}

/* --- Form Styles --- */
.contact-form {
  background: var(--white);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}
.contact-form h3 {
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}
.form-status.success {
  display: block;
  background: var(--green-100);
  color: var(--green-800);
}
.form-status.error {
  display: block;
  background: #fde8e8;
  color: #9b1c1c;
}

/* --- Footer --- */
.site-footer {
  background: var(--green-900);
  color: var(--green-300);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 300px;
  color: var(--green-300);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 0.88rem;
  color: var(--green-300);
  transition: color 150ms ease;
}
.footer-col a:hover {
  color: var(--white);
}
.footer-col p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--green-400);
}

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.reveal.from-left {
  transform: translateX(-24px);
}
.reveal.from-right {
  transform: translateX(24px);
}
.reveal.scale-up {
  transform: scale(0.95);
}
.reveal.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger children */
.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 80ms; }
.stagger > *:nth-child(3) { transition-delay: 160ms; }
.stagger > *:nth-child(4) { transition-delay: 240ms; }
.stagger > *:nth-child(5) { transition-delay: 320ms; }
.stagger > *:nth-child(6) { transition-delay: 400ms; }

/* Hero animation */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-anim {
  animation: heroFadeIn 800ms var(--ease-out) both;
}
.hero-anim-delay-1 { animation-delay: 100ms; }
.hero-anim-delay-2 { animation-delay: 200ms; }
.hero-anim-delay-3 { animation-delay: 400ms; }

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-detail.reverse {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--green-100);
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 12px 16px;
    width: 100%;
    border-radius: var(--radius-sm);
  }
  .nav-links a.nav-cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  .hero { min-height: 70vh; }
  .hero-content { padding: 100px 0 60px; }

  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }

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

  .projects-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cta-banner {
    padding: 40px 24px;
  }

  .page-hero {
    padding: 100px 0 48px;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn { width: 100%; }
  .projects-preview-grid {
    grid-template-columns: 1fr;
  }
  .service-area-list { gap: 8px; }
  .area-tag { padding: 8px 14px; font-size: 0.82rem; }
}
