/* =============================================
   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);
}

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

.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;
  }
}

/* ---------- Email Popup ---------- */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(16, 16, 16, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.popup-overlay.active {
  display: flex;
}

.popup {
  background: var(--cream-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 440px;
  width: 100%;
  padding: 2.5rem 2rem 2rem;
  position: relative;
  text-align: center;
  animation: popupSlideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.popup__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.popup__close:hover {
  color: var(--text-dark);
  background: rgba(0, 0, 0, 0.05);
}

.popup__icon {
  margin-bottom: 1rem;
}

.popup__heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

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

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

.popup__input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #d4d4d4;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text-dark);
  transition: var(--transition);
}

.popup__input:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(31, 128, 68, 0.12);
}

.popup__submit {
  width: 100%;
  justify-content: center;
}

.popup__disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  opacity: 0.7;
}

@media (max-width: 480px) {
  .popup {
    padding: 2rem 1.25rem 1.5rem;
  }

  .popup__heading {
    font-size: 1.25rem;
  }
}

/* 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;
  }
}
/* =============================================
   CONSULT PAGE — /consult.html
   ============================================= */

/* ---------- Ghost button variant (for back/secondary actions) ---------- */
.btn--ghost {
  background: transparent;
  color: var(--green-dark);
  border: 1.5px solid var(--text-muted);
}
.btn--ghost:hover {
  background: var(--cream);
  border-color: var(--green-primary);
  color: var(--green-primary);
}
.btn--ghost svg {
  transition: transform var(--transition);
}
.btn--ghost:hover svg {
  transform: translateX(-3px);
}

/* ---------- Active nav link state ---------- */
.header__nav-link--active {
  color: var(--green-primary);
  font-weight: 500;
}

/* ---------- Consult Hero ---------- */
.consult-hero {
  padding: calc(var(--header-height) + 4rem) 1.5rem 4rem;
  background: linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 100%);
}
.consult-hero__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}
.consult-hero__copy h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-dark);
  margin: 0.5rem 0 1.25rem;
}
.consult-hero__heading em {
  font-style: italic;
  color: var(--green-primary);
}
.consult-hero__sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 560px;
}
.consult-hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.85rem;
  margin-bottom: 2rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.consult-hero__trust-item {
  font-weight: 500;
  color: var(--text-dark);
}
.consult-hero__trust-dot {
  color: var(--green-accent);
  font-weight: 700;
}
.consult-hero__card {
  background: var(--white);
  border: 1px solid rgba(28, 49, 37, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.consult-hero__card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(28, 49, 37, 0.12);
}
.consult-hero__card-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.consult-hero__card-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.consult-hero__card-value {
  font-weight: 600;
  color: var(--text-dark);
  text-align: right;
  flex-shrink: 0;
}

/* ---------- Stage Cards ---------- */
.consult-stages {
  padding: 5rem 1.5rem;
  background: var(--white);
}
.consult-stages__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.consult-stages__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  margin: 0.5rem 0 0.75rem;
  color: var(--text-dark);
}
.consult-stages__heading em {
  font-style: italic;
  color: var(--green-primary);
}
.consult-stages__sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.consult-stages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}
.consult-stage {
  background: var(--cream-light);
  border: 1px solid rgba(28, 49, 37, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: var(--transition);
}
.consult-stage:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-accent);
}
.consult-stage--accent {
  background: var(--green-dark);
  color: var(--text-light);
  border-color: var(--green-dark);
}
.consult-stage--accent .consult-stage__title,
.consult-stage--accent .consult-stage__desc,
.consult-stage--accent .consult-stage__list {
  color: var(--text-light);
}
.consult-stage__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(57, 209, 116, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
  margin-bottom: 0.5rem;
}
.consult-stage--accent .consult-stage__icon {
  background: rgba(57, 209, 116, 0.2);
  color: var(--green-accent);
}
.consult-stage__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}
.consult-stage__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
.consult-stage__list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
}
.consult-stage__list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-dark);
}
.consult-stage__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--green-accent);
}
.consult-stage--accent .consult-stage__list li {
  color: var(--text-light);
}

/* ---------- How it works ---------- */
.consult-how {
  padding: 5rem 1.5rem;
  background: var(--cream);
}
.consult-how__container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.consult-how__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  margin: 0.5rem 0 2.5rem;
  color: var(--text-dark);
}
.consult-how__heading em {
  font-style: italic;
  color: var(--green-primary);
}
.consult-how__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}
.consult-how__step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--white);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(28, 49, 37, 0.08);
}
.consult-how__step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-accent);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-body);
}
.consult-how__step-body h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--text-dark);
}
.consult-how__step-body p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Form section ---------- */
.consult-form-section {
  padding: 5rem 1.5rem;
  background: var(--cream-light);
  scroll-margin-top: var(--header-height);
}
.consult-form-section__container {
  max-width: 760px;
  margin: 0 auto;
}
.consult-form-section__header {
  text-align: center;
  margin-bottom: 2rem;
}
.consult-form-section__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 600;
  margin: 0.5rem 0 0.6rem;
  color: var(--text-dark);
}
.consult-form-section__sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Progress bar ---------- */
.consult-progress {
  margin-bottom: 2rem;
}
.consult-progress__bar {
  height: 6px;
  background: rgba(28, 49, 37, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.consult-progress__fill {
  height: 100%;
  background: var(--green-accent);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.consult-progress__steps {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.consult-progress__step {
  flex: 1;
  text-align: center;
  transition: color var(--transition);
}
.consult-progress__step.active {
  color: var(--green-primary);
  font-weight: 600;
}
.consult-progress__step.done {
  color: var(--green-dark);
}

/* ---------- Form ---------- */
.consult-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(28, 49, 37, 0.08);
  box-shadow: var(--shadow-md);
}
.consult-step {
  border: none;
  padding: 0;
  margin: 0;
  display: none;
}
.consult-step.active {
  display: block;
}
.consult-step__legend {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  padding: 0;
  width: 100%;
}
.consult-step__hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: -0.5rem 0 1rem;
}
.consult-step__hint--small {
  font-size: 0.85rem;
  text-align: center;
  margin-top: 1rem;
}
.consult-step__nav {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(28, 49, 37, 0.08);
}
.consult-step__nav .btn--ghost {
  margin-right: auto;
}

/* ---------- Radio + check cards ---------- */
.consult-radio-grid,
.consult-check-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}
@media (min-width: 600px) {
  .consult-check-grid { grid-template-columns: 1fr 1fr; }
}
.consult-radio,
.consult-check {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.95rem 1.1rem;
  background: var(--cream-light);
  border: 1.5px solid rgba(28, 49, 37, 0.12);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.consult-radio:hover,
.consult-check:hover {
  border-color: var(--green-accent);
  background: var(--white);
}
.consult-radio input,
.consult-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.consult-radio:has(input:checked),
.consult-check:has(input:checked) {
  border-color: var(--green-primary);
  background: rgba(57, 209, 116, 0.08);
  box-shadow: 0 0 0 3px rgba(57, 209, 116, 0.12);
}
.consult-radio__title,
.consult-check__title {
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text-dark);
}
.consult-radio__desc,
.consult-check__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Form rows + fields ---------- */
.consult-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 540px) {
  .consult-form__row { grid-template-columns: 1fr; }
}
.consult-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}
.consult-form__field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
}
.consult-form__required {
  color: var(--green-primary);
  font-weight: 700;
}
.consult-form__field input,
.consult-form__field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid rgba(28, 49, 37, 0.15);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.97rem;
  background: var(--white);
  color: var(--text-dark);
  transition: var(--transition);
}
.consult-form__field input:focus,
.consult-form__field textarea:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(31, 128, 68, 0.12);
}
.consult-form__field textarea { resize: vertical; min-height: 80px; }
.consult-form__field input::placeholder,
.consult-form__field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}
.consult-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.consult-form__error {
  margin-top: 0.85rem;
  padding: 0.75rem 1rem;
  background: rgba(220, 53, 69, 0.08);
  color: #b02a37;
  border: 1px solid rgba(220, 53, 69, 0.25);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

/* ---------- Calendar mount ---------- */
.consult-calendar {
  margin-top: 1rem;
  background: var(--cream-light);
  border-radius: var(--radius-md);
  min-height: 480px;
  overflow: hidden;
}
.consult-calendar__placeholder {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
}
.consult-calendar__fallback {
  padding: 2.5rem 1.75rem;
  text-align: center;
}
.consult-calendar__fallback h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--text-dark);
}
.consult-calendar__fallback p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 480px;
}
.consult-calendar__fallback a {
  color: var(--green-primary);
  font-weight: 500;
  border-bottom: 1px solid var(--green-accent);
}

/* ---------- Consult FAQ ---------- */
.consult-faq {
  padding: 5rem 1.5rem;
  background: var(--white);
}
.consult-faq__container {
  max-width: 800px;
  margin: 0 auto;
}
.consult-faq__header {
  text-align: center;
  margin-bottom: 2rem;
}
.consult-faq__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 600;
  margin: 0.5rem 0 0;
  color: var(--text-dark);
}
.consult-faq__heading em {
  font-style: italic;
  color: var(--green-primary);
}

/* ---------- Mobile breakpoints ---------- */
@media (max-width: 900px) {
  .consult-hero__container { grid-template-columns: 1fr; }
  .consult-hero__card { order: 2; }
  .consult-stages__grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .consult-hero { padding: calc(var(--header-height) + 2rem) 1rem 2.5rem; }
  .consult-stages,
  .consult-how,
  .consult-form-section,
  .consult-faq { padding: 3rem 1rem; }
  .consult-form { padding: 1.5rem 1.25rem; }
  .consult-step__nav { flex-direction: column-reverse; }
  .consult-step__nav .btn--ghost { margin-right: 0; }
  .consult-progress__steps { font-size: 0.7rem; gap: 0.25rem; }
}

/* =============================================
   Maine Lawn Assistant Chat
   ============================================= */
.mll-chat {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 10000;
  font-family: var(--font-body);
}

.mll-chat__launcher {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-full);
  background: var(--green-accent);
  color: var(--green-dark);
  box-shadow: 0 14px 34px rgba(28, 49, 37, 0.28);
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition);
}

.mll-chat__launcher:hover,
.mll-chat__launcher:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(28, 49, 37, 0.32);
  outline: none;
}

.mll-chat__launcher-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: var(--green-dark);
  box-shadow: 0 0 0 5px rgba(28, 49, 37, 0.14);
}

.mll-chat__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.85rem);
  display: grid;
  grid-template-rows: auto auto auto minmax(210px, 360px) auto auto;
  width: min(390px, calc(100vw - 2rem));
  max-height: min(720px, calc(100vh - 7rem));
  overflow: hidden;
  border: 1px solid rgba(28, 49, 37, 0.14);
  border-radius: var(--radius-md);
  background: var(--cream-light);
  box-shadow: 0 24px 60px rgba(16, 16, 16, 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}

.mll-chat--open .mll-chat__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mll-chat__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.9rem;
  background: var(--green-dark);
  color: var(--white);
}

.mll-chat__eyebrow {
  margin: 0 0 0.2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mll-chat__header h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.25;
  color: var(--white);
}

.mll-chat__close {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.35rem;
  line-height: 1;
}

.mll-chat__quick,
.mll-chat__contact {
  display: grid;
  gap: 0.5rem;
  padding: 0.75rem 1rem 0;
}

.mll-chat__quick {
  grid-template-columns: repeat(3, 1fr);
}

.mll-chat__quick button {
  min-height: 38px;
  border: 1px solid rgba(31, 128, 68, 0.25);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.mll-chat__contact {
  grid-template-columns: 1fr;
}

.mll-chat__input,
.mll-chat__textarea {
  width: 100%;
  border: 1px solid rgba(28, 49, 37, 0.16);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.mll-chat__input {
  min-height: 38px;
  padding: 0.65rem 0.75rem;
}

.mll-chat__input:focus,
.mll-chat__textarea:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(31, 128, 68, 0.12);
}

.mll-chat__messages {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 210px;
  overflow-y: auto;
  padding: 0.85rem 1rem;
}

.mll-chat__bubble {
  max-width: 88%;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-size: 0.9rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.mll-chat__bubble a {
  color: var(--green-primary);
  font-weight: 700;
  text-decoration: underline;
}

.mll-chat__bubble--assistant {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid rgba(28, 49, 37, 0.1);
}

.mll-chat__bubble--user {
  align-self: flex-end;
  background: var(--green-dark);
  color: var(--white);
}

.mll-chat__bubble--typing {
  color: var(--text-muted);
}

.mll-chat__form {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(28, 49, 37, 0.1);
  background: var(--white);
}

.mll-chat__textarea {
  min-height: 44px;
  max-height: 120px;
  padding: 0.72rem 0.8rem;
  resize: none;
}

.mll-chat__send {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 0.95rem;
  border-radius: var(--radius-sm);
  background: var(--green-primary);
  color: var(--white);
  font-weight: 700;
}

.mll-chat__send:disabled {
  opacity: 0.62;
  cursor: wait;
}

.mll-chat__fineprint {
  margin: 0;
  padding: 0 1rem 0.85rem;
  background: var(--white);
  color: var(--text-muted);
  font-size: 0.78rem;
}

@media (min-width: 560px) {
  .mll-chat__contact {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .mll-chat {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .mll-chat__launcher {
    min-height: 48px;
    padding: 0.75rem 0.9rem;
  }

  .mll-chat__panel {
    position: fixed;
    right: 0.75rem;
    bottom: 4.65rem;
    width: calc(100vw - 1.5rem);
    max-height: calc(100vh - 6rem);
    grid-template-rows: auto auto auto minmax(190px, 1fr) auto auto;
  }

  .mll-chat__launcher-text {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
