/* =============================================
   MAINE LAWN & LANDSCAPING — Main Stylesheet
   ============================================= */

/* ---------- Custom Properties ---------- */
:root {
  --green-dark: #1c3125;
  --green-mid: #164a2a;
  --green-primary: #1f8044;
  --green-accent: #39d174;
  --cream: #edece4;
  --cream-light: #fbfbf7;
  --white: #ffffff;
  --black: #101010;
  --text-dark: #1c3125;
  --text-muted: #46544c;
  --text-light: #ffffff;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

em {
  font-style: italic;
}

/* ---------- Utility ---------- */
.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-primary);
  margin-bottom: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--green-accent);
  color: var(--green-dark);
}

.btn--primary:hover {
  background: #2fc068;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(57, 209, 116, 0.3);
}

.btn--primary svg {
  transition: transform var(--transition);
}

.btn--primary:hover svg {
  transform: translateX(3px);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn--sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(28, 49, 37, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: var(--header-height);
}

.header__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo-img {
  height: 40px;
  width: auto;
}

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

.header__nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.header__nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.header__location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.header__location svg {
  color: var(--green-accent);
}

/* Hamburger */
.header__menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.header__menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.header__menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(5px) translateX(5px);
}

.header__menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.header__menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px) translateX(5px);
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(28, 49, 37, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.mobile-nav__link {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  transition: color var(--transition);
}

.mobile-nav__link:hover {
  color: var(--green-accent);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero__slide.active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 49, 37, 0.3) 0%,
    rgba(28, 49, 37, 0.6) 50%,
    rgba(28, 49, 37, 0.85) 100%
  );
  z-index: 1;
}

/* Slideshow Controls */
.hero__controls {
  position: absolute;
  top: calc(var(--header-height) + 1.5rem);
  left: 2rem;
  right: 2rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.hero__arrow:hover {
  background: rgba(255, 255, 255, 0.25);
}

.hero__dots {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

.hero__dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  transition: all var(--transition);
}

.hero__dot.active {
  background: var(--green-accent);
  width: 48px;
}

/* Hero Content */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem 0.4rem 0.4rem;
  margin-bottom: 1.5rem;
}

.hero__avatars {
  display: flex;
}

.hero__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--green-dark);
  object-fit: cover;
  margin-left: -8px;
}

.hero__avatar:first-child {
  margin-left: 0;
}

.hero__badge-text {
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 400;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  font-weight: 600;
  line-height: 1.15;
  max-width: 900px;
  margin-bottom: 2rem;
}

.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
}

.hero__description {
  max-width: 560px;
}

.hero__tagline {
  font-size: 1rem;
  font-weight: 500;
  color: var(--green-accent);
  margin-bottom: 0.75rem;
}

.hero__text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.hero__call-link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
  transition: all var(--transition);
}

.hero__call-link:hover {
  color: var(--white);
  border-color: var(--white);
}

/* =============================================
   ABOUT
   ============================================= */
.about {
  padding: 6rem 0 0;
  background: var(--cream);
}

.about__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about__header {
  margin-bottom: 1.5rem;
}

.about__heading {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--green-dark);
}

.about__description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.about__stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.about__stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-primary);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.about__stat-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Before/After Slider */
.before-after {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.before-after__labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.before-after__label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-dark);
  cursor: pointer;
  transition: color var(--transition);
}

.before-after__label:hover {
  color: var(--green-primary);
}

.before-after__container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: ew-resize;
  aspect-ratio: 4/3;
}

.before-after__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after__reveal {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  z-index: 2;
}

.before-after__reveal .before-after__img--before {
  width: 200%;
  max-width: none;
}

.before-after__slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--white);
  z-index: 3;
  transform: translateX(-50%);
}

.before-after__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
}

/* Portfolio */
.portfolio {
  padding: 6rem 0;
}

.portfolio__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.portfolio__header {
  margin-bottom: 1.5rem;
}

.portfolio__heading {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--green-dark);
}

.portfolio__description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.portfolio__carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* Clip slides so only one is visible at a time */
}

.portfolio__slides {
  display: flex;
  transition: transform 0.5s ease;
}

.portfolio__slide {
  min-width: 100%;
  aspect-ratio: 4/3;
}

.portfolio__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.portfolio__controls {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portfolio__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.portfolio__arrow:hover {
  background: var(--white);
}

.portfolio__dots {
  display: flex;
  gap: 0.4rem;
}

.portfolio__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: all var(--transition);
}

.portfolio__dot.active {
  background: var(--white);
  width: 24px;
  border-radius: 4px;
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  padding: 6rem 0;
  background: var(--cream-light);
}

.services__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

.services__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 2rem;
}

.services__heading {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--green-dark);
}

.services__subtext {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 400px;
  text-align: right;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* Service Card */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0;
  border: 1px solid rgba(28, 49, 37, 0.06);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

.service-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

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

.service-card__top {
  padding: 1.5rem 2rem 0;
}

.service-card__title {
  font-size: 1.3rem;
  color: var(--green-dark);
  margin-bottom: 0.75rem;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.service-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid rgba(28, 49, 37, 0.08);
}

.service-card__detail {
  flex: 1;
  min-width: 140px;
}

.service-card__detail h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-primary);
  margin-bottom: 0.3rem;
}

.service-card__detail p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
  padding: 6rem 0;
  background: var(--cream);
  overflow: hidden;
}

.testimonials__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  margin-bottom: 3rem;
}

.testimonials__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.testimonials__heading {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--green-dark);
}

.testimonials__subtext {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 400px;
  text-align: right;
}

/* Marquee */
.testimonials__marquee {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.testimonials__marquee::before,
.testimonials__marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.testimonials__marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--cream), transparent);
}

.testimonials__marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--cream), transparent);
}

.testimonials__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
}

.testimonials__marquee--left .testimonials__track {
  animation: marquee-left 40s linear infinite;
}

.testimonials__marquee--right .testimonials__track {
  animation: marquee-right 40s linear infinite;
}

@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.testimonials__marquee:hover .testimonials__track {
  animation-play-state: paused;
}

/* Testimonial Card */
.testimonial-card {
  flex-shrink: 0;
  width: 340px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(28, 49, 37, 0.06);
}

.testimonial-card__stars {
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.testimonial-card__text {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.testimonial-card__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
}

/* =============================================
   BLOG
   ============================================= */
.blog {
  padding: 6rem 0;
  background: var(--cream-light);
}

.blog__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

.blog__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.blog__heading {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--green-dark);
}

.blog__view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green-primary);
  transition: all var(--transition);
}

.blog__view-all:hover {
  color: var(--green-dark);
}

.blog__view-all:hover svg {
  transform: translateX(3px);
}

.blog__view-all svg {
  transition: transform var(--transition);
}

.blog__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Blog Card */
.blog-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(28, 49, 37, 0.06);
  transition: all var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-card--featured {
  grid-column: 1;
  grid-row: 1 / 4;
  display: flex;
  flex-direction: column;
}

.blog-card__image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card--featured .blog-card__image {
  flex: 1;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.03);
}

.blog-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--green-accent);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

.blog-card__content {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog-card__date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-card__title {
  font-size: 1.1rem;
  color: var(--green-dark);
  line-height: 1.35;
}

.blog-card--featured .blog-card__title {
  font-size: 1.3rem;
}

.blog-card__excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.blog-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green-primary);
  margin-top: auto;
  transition: all var(--transition);
}

.blog-card:hover .blog-card__read-more {
  color: var(--green-dark);
}

.blog-card:hover .blog-card__read-more svg {
  transform: translateX(3px);
}

.blog-card__read-more svg {
  transition: transform var(--transition);
}

/* Non-featured cards: horizontal layout */
.blog-card:not(.blog-card--featured) .blog-card__content {
  padding: 1rem 1.25rem;
}

.blog-card:not(.blog-card--featured) {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =============================================
   FAQs
   ============================================= */
.faqs {
  padding: 6rem 0;
  background: var(--cream);
}

.faqs__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

.faqs__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
  gap: 2rem;
}

.faqs__heading {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.faqs__subtext {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.faqs__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* FAQ Item */
.faq-item {
  border-bottom: 1px solid rgba(28, 49, 37, 0.1);
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  text-align: left;
  gap: 1rem;
  transition: color var(--transition);
}

.faq-item__question:hover {
  color: var(--green-primary);
}

.faq-item__question h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  flex: 1;
}

.faq-item__icon {
  flex-shrink: 0;
  color: var(--green-primary);
  transition: transform var(--transition);
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-item__answer {
  max-height: 300px;
}

.faq-item__answer p {
  padding-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 800px;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  padding: 5rem 0;
  background: var(--green-dark);
}

.cta-section__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.cta-section__heading {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-section__heading em {
  color: var(--green-accent);
}

.cta-section__text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--green-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4rem 0 2rem;
}

.footer__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.footer__logo-img {
  height: 36px;
  width: auto;
}

.footer__contact h4,
.footer__links h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer__contact-info {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.footer__contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__contact-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

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

.footer__social {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--green-accent);
  color: var(--green-dark);
}

.footer__links-grid {
  display: flex;
  gap: 3rem;
}

.footer__links-grid div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links-grid a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

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

.footer__bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer__legal p,
.footer__legal a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer__divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
}

.footer__credit {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__credit a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

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

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .about__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .portfolio__container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

  .blog-card--featured {
    grid-row: auto;
  }

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

@media (max-width: 810px) {
  :root {
    --header-height: 64px;
  }

  .header__nav {
    display: none;
  }

  .header__location {
    display: none;
  }

  .header__menu-toggle {
    display: flex;
  }

  .hero__content {
    padding: 2rem 1.5rem 3rem;
  }

  .hero__title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .hero__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .hero__controls {
    top: calc(var(--header-height) + 1rem);
    left: 1.5rem;
    right: 1.5rem;
  }

  .about__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .about__stat {
    padding: 1rem 0.5rem;
  }

  .about__stat-number {
    font-size: 2rem;
  }

  .services__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .services__subtext {
    text-align: left;
  }

  .testimonials__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonials__subtext {
    text-align: left;
  }

  .testimonial-card {
    width: 280px;
  }

  .faqs__header {
    flex-direction: column;
  }

  .cta-section__container {
    flex-direction: column;
    text-align: center;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.5rem;
  }

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

  .hero__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__contact-info {
    flex-direction: column;
    gap: 1rem;
  }

  .footer__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .footer__divider {
    display: none;
  }
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 4rem;
  background: var(--green-dark);
}

.contact-hero__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-hero__heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}

.contact-hero__description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.contact-hero__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-hero__detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-hero__detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-accent);
  flex-shrink: 0;
}

.contact-hero__detail h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.25rem;
}

.contact-hero__detail p,
.contact-hero__detail a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

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

.contact-hero__social {
  display: flex;
  gap: 0.75rem;
}

.contact-hero__social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.contact-hero__social a:hover {
  background: var(--green-accent);
  color: var(--green-dark);
}

/* Contact Form */
.contact-hero__form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-form__title {
  font-size: 1.5rem;
  color: var(--green-dark);
  margin-bottom: 2rem;
}

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

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

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.contact-form__row .contact-form__field {
  margin-bottom: 0;
}

.contact-form__field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
}

.contact-form__required {
  color: #e74c3c;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(28, 49, 37, 0.15);
  border-radius: var(--radius-sm);
  background: var(--cream-light);
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(31, 128, 68, 0.1);
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.contact-form__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2346544c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 100px;
}

/* Checkbox Fieldset */
.contact-form__fieldset {
  border: none;
  padding: 0;
  margin: 0 0 1rem;
}

.contact-form__fieldset legend {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.contact-form__checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.contact-form__checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.contact-form__checkbox:hover {
  background: var(--cream-light);
}

.contact-form__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid rgba(28, 49, 37, 0.2);
  accent-color: var(--green-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.contact-form__checkbox span {
  line-height: 1.3;
}

/* Submit Button */
.contact-form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

/* =============================================
   CONTACT PAGE — RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .contact-hero__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 810px) {
  .contact-hero {
    padding-top: calc(var(--header-height) + 2.5rem);
    padding-bottom: 3rem;
  }

  .contact-hero__form-wrapper {
    padding: 1.75rem;
  }
}

@media (max-width: 600px) {
  .contact-form__row {
    grid-template-columns: 1fr;
  }

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

  .contact-form__row--address .contact-form__field:first-child {
    grid-column: 1 / -1;
  }

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

/* =============================================
   LEGAL PAGES
   ============================================= */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 4rem) 2rem 6rem;
}

.legal-page__header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(28, 49, 37, 0.1);
}

.legal-page__header h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.legal-page__updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.legal-page section {
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-size: 1.4rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.legal-page h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green-mid);
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

.legal-page p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-page p:last-child {
  margin-bottom: 0;
}

.legal-page ul,
.legal-page ol {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-page li {
  margin-bottom: 0.4rem;
}

.legal-page a {
  color: var(--green-primary);
  text-decoration: underline;
  text-decoration-color: rgba(31, 128, 68, 0.3);
  text-underline-offset: 2px;
  transition: all var(--transition);
}

.legal-page a:hover {
  color: var(--green-dark);
  text-decoration-color: var(--green-dark);
}

.legal-page strong {
  font-weight: 600;
  color: var(--text-dark);
}

@media (max-width: 810px) {
  .legal-page {
    padding: calc(var(--header-height) + 2.5rem) 1.5rem 4rem;
  }

  .legal-page__header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .legal-page section {
    margin-bottom: 2rem;
  }
}

/* =============================================
   BLOG HERO (Listing Page)
   ============================================= */
.blog-hero {
  padding: 8rem 0 4rem;
  background: var(--cream);
  text-align: center;
  padding-top: calc(var(--header-height) + 4rem);
}

.blog-hero__container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem;
}

.blog-hero__heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--green-dark);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.blog-hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================
   BLOG LISTING (Grid Page)
   ============================================= */
.blog-listing {
  padding: 0 0 6rem;
  background: var(--cream);
}

.blog-listing__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Featured Post Card */
.blog-listing__featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(28, 49, 37, 0.06);
  transition: all var(--transition);
  margin-bottom: 2.5rem;
}

.blog-listing__featured:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-listing__featured-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-listing__featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-listing__featured:hover .blog-listing__featured-image img {
  transform: scale(1.03);
}

.blog-listing__featured-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.blog-listing__featured-title {
  font-size: 1.5rem;
  color: var(--green-dark);
  line-height: 1.3;
}

.blog-listing__featured-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Post Grid Cards */
.blog-listing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.blog-listing__card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(28, 49, 37, 0.06);
  transition: all var(--transition);
}

.blog-listing__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-listing__card-title {
  font-size: 1.1rem;
  color: var(--green-dark);
  line-height: 1.35;
  font-weight: 600;
}

.blog-listing__card .blog-card__read-more {
  margin-top: auto;
}

/* =============================================
   BLOG POST (Article Page)
   ============================================= */
.blog-post {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 4rem;
  background: var(--cream);
}

.blog-post__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Back Link */
.blog-post__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green-primary);
  margin-bottom: 2rem;
  transition: all var(--transition);
}

.blog-post__back:hover {
  color: var(--green-dark);
}

.blog-post__back:hover svg {
  transform: translateX(-3px);
}

.blog-post__back svg {
  transition: transform var(--transition);
}

/* Post Header */
.blog-post__header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(28, 49, 37, 0.1);
}

.blog-post__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--green-dark);
  line-height: 1.2;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.blog-post__intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Post Body */
.blog-post__body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.blog-post__body h2 {
  font-size: 1.5rem;
  color: var(--green-dark);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-post__body h2:first-child {
  margin-top: 0;
}

.blog-post__body p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.blog-post__body ul,
.blog-post__body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.blog-post__body ul {
  list-style: disc;
}

.blog-post__body ol {
  list-style: decimal;
}

.blog-post__body li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.blog-post__body li strong {
  color: var(--text-dark);
}

.blog-post__body blockquote {
  border-left: 3px solid var(--green-accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--cream-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-muted);
}

/* =============================================
   RELATED POSTS
   ============================================= */
.related-posts {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(28, 49, 37, 0.1);
}

.related-posts__heading {
  font-size: 1.3rem;
  color: var(--green-dark);
  margin-bottom: 1.25rem;
}

.related-posts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* =============================================
   BLOG RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .blog-listing__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-listing__featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 810px) {
  .blog-hero {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 3rem;
  }

  .blog-listing__grid {
    grid-template-columns: 1fr;
  }

  .blog-listing__featured-content {
    padding: 1.5rem;
  }

  .blog-listing__featured-title {
    font-size: 1.25rem;
  }

  .related-posts__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .blog-post__title {
    font-size: 1.5rem;
  }
}

/* =============================================
   CAREERS PAGE
   ============================================= */

.careers-hero {
  background: var(--green-dark);
  color: var(--text-light);
  padding: 8rem 2rem 5rem;
  text-align: center;
}

.careers-hero__container {
  max-width: 800px;
  margin: 0 auto;
}

.careers-hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.careers-hero__text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* --- Why Join Us --- */
.careers-why {
  padding: 5rem 2rem;
  background: var(--cream-light);
}

.careers-why__container {
  max-width: 1320px;
  margin: 0 auto;
}

.careers-why__header {
  text-align: center;
  margin-bottom: 3rem;
}

.careers-why__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--green-dark);
}

.careers-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.careers-why__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.careers-why__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.careers-why__card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(57, 209, 116, 0.1);
  color: var(--green-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.careers-why__card h4 {
  font-size: 1.05rem;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.careers-why__card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- What You'll Earn --- */
.careers-earn {
  padding: 5rem 2rem;
  background: var(--green-dark);
  color: var(--text-light);
}

.careers-earn__container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.careers-earn__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 3rem;
}

.careers-earn__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.careers-earn__stat {
  text-align: center;
}

.careers-earn__stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-accent);
  display: block;
}

.careers-earn__stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.5rem;
  display: block;
}

.careers-earn__note {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  font-style: italic;
  margin-top: 2rem;
}

/* --- How It Works --- */
.careers-steps {
  padding: 5rem 2rem;
  background: var(--cream-light);
}

.careers-steps__container {
  max-width: 900px;
  margin: 0 auto;
}

.careers-steps__header {
  text-align: center;
  margin-bottom: 3rem;
}

.careers-steps__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--green-dark);
}

.careers-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

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

.careers-step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.careers-step h4 {
  font-size: 0.95rem;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.careers-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Careers Apply Form --- */
.careers-apply {
  padding: 5rem 2rem;
  background: var(--cream);
}

.careers-apply__container {
  max-width: 700px;
  margin: 0 auto;
}

.careers-apply__header {
  text-align: center;
  margin-bottom: 2rem;
}

.careers-apply__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--green-dark);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .careers-why__grid {
    grid-template-columns: 1fr;
  }

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

  .careers-steps__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .careers-earn__grid {
    grid-template-columns: 1fr;
  }

  .careers-steps__grid {
    grid-template-columns: 1fr;
  }
}

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