/* ==========================================================================
   R&J Services — Main Stylesheet
   Lowell, MA | Landscaping, Snow Removal, Junk Removal, Mattress Removal, Patios
   ========================================================================== */

:root {
  --forest-900: #0e2a1f;
  --forest-800: #123a2a;
  --forest-700: #1b4332;
  --forest-600: #2d6a4f;
  --forest-500: #40916c;
  --forest-100: #e8f3ec;
  --gold-500: #f4a300;
  --gold-600: #d98c00;
  --ice-100: #eef6ff;
  --sky-500: #2b8fd6;
  --dark: #14181a;
  --gray-700: #4a5359;
  --gray-500: #74807f;
  --gray-200: #e6e9e8;
  --gray-100: #f5f7f6;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(14, 42, 31, 0.08);
  --shadow-md: 0 10px 30px rgba(14, 42, 31, 0.12);
  --shadow-lg: 0 20px 60px rgba(14, 42, 31, 0.18);
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  font-weight: 700;
  color: var(--forest-800);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
.section-sm { padding: 56px 0; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--forest-100);
  color: var(--forest-600);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 14px; }
.section-head p { color: var(--gray-700); font-size: 1.05rem; }

.bg-alt { background: var(--gray-100); }
.bg-forest { background: linear-gradient(135deg, var(--forest-900), var(--forest-700)); color: var(--white); }
.bg-forest h2, .bg-forest h3, .bg-forest .section-head p { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--forest-900);
  box-shadow: 0 10px 24px rgba(244, 163, 0, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(244, 163, 0, 0.45); }

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--forest-700);
}
.btn-outline:hover { background: var(--forest-700); color: var(--white); }

.btn-light {
  background: var(--white);
  color: var(--forest-800);
}
.btn-light:hover { background: var(--gold-500); color: var(--forest-900); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--forest-800);
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-shrink: 0;
}
.logo span { color: var(--gold-500); }
.logo small { font-size: 0.85rem; font-weight: 500; color: var(--gray-700); margin-left: 4px; }

.main-nav { flex: 1; }
.main-nav > ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--forest-800);
  padding: 10px 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.main-nav > ul > li > a:hover { color: var(--forest-500); }

.has-dropdown > a::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.6rem;
  margin-left: 4px;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--gray-700);
}
.dropdown li a:hover { background: var(--forest-100); color: var(--forest-700); }

.header-cta { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-cta .phone {
  font-weight: 700;
  color: var(--forest-800);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
}
.header-cta .phone i { color: var(--gold-500); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--forest-800);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 15% 20%, rgba(64, 145, 108, 0.5), transparent 40%),
              radial-gradient(circle at 85% 80%, rgba(244, 163, 0, 0.35), transparent 45%),
              linear-gradient(135deg, var(--forest-900), var(--forest-700) 60%, var(--forest-600));
  color: var(--white);
  overflow: hidden;
  padding: 110px 0 100px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-badge i { color: var(--gold-500); }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin-bottom: 20px;
}
.hero h1 mark {
  background: none;
  color: var(--gold-500);
}
.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 42px; }

.hero-stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--gold-500);
}
.hero-stats div span { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

.hero-card {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 34px;
  backdrop-filter: blur(6px);
}
.hero-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 6px; }
.hero-card p { color: rgba(255,255,255,0.75); font-size: 0.92rem; margin-bottom: 22px; }
.quote-form { display: flex; flex-direction: column; gap: 14px; }
.quote-form input,
.quote-form select,
.quote-form textarea {
  padding: 13px 16px;
  border-radius: 10px;
  border: none;
  font-family: var(--font-body);
  font-size: 0.94rem;
  background: rgba(255,255,255,0.94);
  color: var(--dark);
}
.quote-form label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: -8px;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 26px 0;
}
.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--forest-700);
  font-size: 0.95rem;
}
.trust-item i { color: var(--gold-500); font-size: 1.3rem; }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--forest-600), var(--forest-800));
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 22px;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--gray-700); font-size: 0.94rem; margin-bottom: 18px; }
.service-card .card-link {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--forest-600);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-card .card-link i { transition: transform 0.2s ease; }
.service-card:hover .card-link i { transform: translateX(4px); }
.service-card .badge-pill {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-600);
  background: #fff4e0;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Why us / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-visual {
  position: relative;
  background: linear-gradient(135deg, var(--forest-700), var(--forest-500));
  border-radius: var(--radius-lg);
  min-height: 380px;
  display: grid;
  place-items: center;
  color: var(--white);
  overflow: hidden;
}
.split-visual i { font-size: 6rem; opacity: 0.9; }
.split-visual::after {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(244,163,0,0.35);
  filter: blur(10px);
  bottom: -60px; right: -60px;
}
.feature-list { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.feature-item { display: flex; gap: 18px; }
.feature-item .num {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--forest-100);
  color: var(--forest-700);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-family: var(--font-head);
}
.feature-item h4 { font-size: 1.05rem; margin-bottom: 4px; }
.feature-item p { color: var(--gray-700); font-size: 0.92rem; }

/* ---------- Service areas ---------- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}
.area-chip {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-weight: 600;
  color: var(--forest-700);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}
.area-chip i { color: var(--gold-500); }
.area-chip:hover { background: var(--forest-700); color: var(--white); transform: translateY(-3px); }
.area-chip:hover i { color: var(--gold-500); }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  counter-reset: step;
}
.process-step { position: relative; padding-top: 10px; }
.process-step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--forest-100);
  -webkit-text-stroke: 2px var(--forest-500);
  display: block;
  margin-bottom: 10px;
}
.process-step h4 { margin-bottom: 8px; }
.process-step p { color: var(--gray-700); font-size: 0.92rem; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.testimonial-card .stars { color: var(--gold-500); margin-bottom: 14px; }
.testimonial-card p.quote { color: var(--gray-700); font-size: 0.96rem; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest-600), var(--gold-500));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-family: var(--font-head);
}
.testimonial-author strong { display: block; font-size: 0.92rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--gray-500); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--gold-600), var(--gold-500));
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: var(--forest-900);
}
.cta-banner h2 { color: var(--forest-900); font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-banner p { color: rgba(20,24,26,0.75); margin-top: 8px; }
.cta-banner .btn-light { background: var(--forest-900); color: var(--white); }
.cta-banner .btn-light:hover { background: var(--forest-700); }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-thumb {
  height: 170px;
  background: linear-gradient(135deg, var(--forest-600), var(--forest-900));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  font-size: 2.4rem;
}
.blog-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.blog-meta { font-size: 0.78rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.blog-body h3 { font-size: 1.12rem; }
.blog-body p { color: var(--gray-700); font-size: 0.92rem; flex: 1; }
.blog-body .card-link { font-weight: 700; font-size: 0.86rem; color: var(--forest-600); }

.blog-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--forest-100);
  color: var(--forest-700);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Article page ---------- */
.article-hero {
  background: linear-gradient(135deg, var(--forest-900), var(--forest-700));
  color: var(--white);
  padding: 80px 0 60px;
}
.article-hero .breadcrumb { font-size: 0.85rem; opacity: 0.7; margin-bottom: 18px; }
.article-hero h1 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 800px; }
.article-hero .meta { margin-top: 18px; display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.88rem; opacity: 0.8; }

.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 24px;
}
.article-body h2 { margin-top: 40px; margin-bottom: 16px; font-size: 1.5rem; }
.article-body h3 { margin-top: 28px; margin-bottom: 12px; font-size: 1.2rem; }
.article-body p { color: var(--gray-700); margin-bottom: 16px; font-size: 1.02rem; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; color: var(--gray-700); }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 4px solid var(--gold-500);
  background: var(--forest-100);
  padding: 18px 24px;
  border-radius: 0 12px 12px 0;
  margin: 26px 0;
  font-style: italic;
  color: var(--forest-800);
}
.article-cta {
  background: var(--forest-100);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-top: 40px;
  text-align: center;
}
.article-cta h3 { margin-bottom: 10px; }
.article-cta p { color: var(--gray-700); margin-bottom: 20px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--forest-800);
}
.faq-question i { transition: transform 0.25s ease; color: var(--gold-500); }
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 20px; }
.faq-answer p { color: var(--gray-700); font-size: 0.94rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.contact-info-card i {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--forest-100);
  color: var(--forest-700);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--forest-800); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--gray-100);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: 2px solid var(--forest-500); background: var(--white); }
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  margin-top: 24px;
}
.map-embed iframe { width: 100%; height: 300px; border: 0; display: block; }
.form-note { font-size: 0.8rem; color: var(--gray-500); margin-top: 10px; }
#formStatus { margin-top: 16px; font-weight: 600; }
#formStatus.success { color: var(--forest-600); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--forest-900), var(--forest-700));
  color: var(--white);
  padding: 80px 0 70px;
  text-align: center;
}
.page-hero .breadcrumb { opacity: 0.7; font-size: 0.85rem; margin-bottom: 16px; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 16px; }
.page-hero p { max-width: 640px; margin: 0 auto; opacity: 0.85; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-900);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col .logo { color: var(--white); margin-bottom: 16px; }
.footer-col .logo small { color: rgba(255,255,255,0.6); }
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--gold-500); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--gold-500); color: var(--forest-900); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
}
.footer-bottom a:hover { color: var(--gold-500); }

/* ---------- Floating call button ---------- */
.floating-call {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 998;
  background: var(--gold-500);
  color: var(--forest-900);
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 24px rgba(244,163,0,0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(244,163,0,0.5); }
  70% { box-shadow: 0 0 0 16px rgba(244,163,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(244,163,0,0); }
}

.back-to-top {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 998;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--forest-800);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  border: none;
  cursor: pointer;
}
.back-to-top.show { opacity: 1; visibility: visible; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-visual { order: -1; min-height: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 85%);
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 100px 30px 30px;
    transition: right 0.3s ease;
    overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .main-nav > ul { flex-direction: column; align-items: flex-start; gap: 8px; }
  .main-nav > ul > li { width: 100%; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding-left: 10px; }
  .has-dropdown.open .dropdown { display: block; }
  .header-cta .phone span { display: none; }
  .nav-toggle { display: block; }
  .header-cta .btn { padding: 12px 18px; font-size: 0.85rem; }
}

@media (max-width: 640px) {
  section { padding: 60px 0; }
  .cta-banner { padding: 34px; flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
