/* ============================================
   ESTERO — HOME BASE LANDING PAGE
   ============================================ */
:root {
  --fs-hero: clamp(48px, 6vw, 82px);
}

/* HERO */
.hero {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero .container-wide {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  align-items: center;
  min-height: 520px;
  padding-top: 48px;
  padding-bottom: 48px;
  position: relative;
}
.hero__content {
  position: relative;
  z-index: 2;
}
.hero__content::before {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  border-radius: 999px;
  background: var(--green);
  margin-bottom: 22px;
}
.hero__eyebrow {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 10px;
}
.hero__title {
  font-size: var(--fs-hero);
  line-height: 0.92;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}
.hero__desc {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 28px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero__media {
  position: absolute;
  top: 0;
  right: calc(-1 * (100vw - min(100vw - 48px, var(--container-wide))) / 2);
  bottom: 0;
  width: 54vw;
  overflow: hidden;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 10, 8, 0.4) 0%,
    rgba(8, 10, 8, 0.12) 24%,
    rgba(8, 10, 8, 0) 48%
  );
  pointer-events: none;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.hero__trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
}

/* PROOF STRIP */
.proof-strip {
  background: var(--green);
  padding: 14px 0;
}
.proof-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.proof-strip__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.proof-strip__item svg {
  width: 18px;
  height: 18px;
  color: var(--black);
  flex-shrink: 0;
}
.proof-strip__divider {
  width: 1px;
  height: 20px;
  background: rgba(8, 10, 8, 0.2);
}

/* SERVICE GRID */
.svc-section {
  padding: 64px 0 56px;
  background: var(--white);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.svc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 28px 14px;
  background: var(--white);
  min-height: 132px;
  transition: all 0.25s;
  cursor: pointer;
  position: relative;
}
.svc-card:hover {
  background: var(--green-soft);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(8, 10, 8, 0.08);
  z-index: 2;
}
.svc-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
}
.svc-card__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.svc-card__name {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--black);
  line-height: 1.2;
}

/* HOME BASE ADVANTAGE */
.home-base {
  padding: 56px 0;
  background: var(--black);
  color: var(--white);
}
.home-base .section__title {
  color: var(--white);
}
.home-base .section__subtitle {
  color: rgba(255, 255, 255, 0.65);
}
.home-base-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.home-base-card {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  transition: all 0.25s;
}
.home-base-card:hover {
  border-color: var(--green);
  background: rgba(93, 187, 47, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(93, 187, 47, 0.08);
}
.home-base-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(93, 187, 47, 0.15);
  margin-bottom: 14px;
}
.home-base-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--green);
}
.home-base-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}
.home-base-card__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
}

/* LOCAL NEEDS */
.local-needs {
  padding: 56px 0;
  background: var(--off-white);
}
.needs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.need-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s;
}
.need-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(8, 10, 8, 0.07);
}
.need-card__image {
  height: 160px;
  overflow: hidden;
}
.need-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.need-card__body {
  padding: 18px 20px;
}
.need-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 6px;
}
.need-card__desc {
  font-size: var(--fs-sm);
  color: var(--gray);
  line-height: 1.55;
}

/* MAP SECTION */
.map-section {
  padding: 0;
  overflow: hidden;
}
.map-section .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  padding-left: max(24px, calc((100% - var(--container-max)) / 2 + 24px));
  padding-right: 0;
}
.map-section__content {
  padding: 48px 36px 48px 0;
}
.map-section__content .section__eyebrow {
  color: var(--green-dark);
  margin-bottom: 6px;
}
.map-section__content h2 {
  font-size: var(--fs-2xl);
  margin-bottom: 12px;
}
.map-section__desc {
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.55;
}
.map-section__areas {
  margin-bottom: 20px;
}
.map-section__areas h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.map-section__cities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
  margin-bottom: 10px;
}
.map-section__cities li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-sm);
  color: var(--text);
}
.map-section__cities li svg {
  width: 14px;
  height: 14px;
  color: var(--green);
  flex-shrink: 0;
}
.map-section__cities a {
  color: var(--text);
  transition: color 0.2s;
}
.map-section__cities a:hover {
  color: var(--green);
}
.map-section__map {
  background: var(--off-white);
  border-left: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  min-height: 380px;
}
.map-section__map img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 32px;
}
.map-section__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-section__badge {
  position: absolute;
  right: 24px;
  top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--green);
  color: var(--black);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 24px rgba(93, 187, 47, 0.3);
}
.map-section__badge svg {
  width: 16px;
  height: 16px;
}

/* WHY CHOOSE LOCAL */
.why-local {
  padding: 56px 0;
  background: var(--white);
}
.why-local-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.why-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 0.25s;
}
.why-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(8, 10, 8, 0.06);
}
.why-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  margin: 0 auto 14px;
}
.why-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--green-dark);
}
.why-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 6px;
}
.why-card__desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
}

/* PROCESS */
.how-it-works {
  padding: 32px 0 38px;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(93, 187, 47, 0.08) 0%,
      rgba(93, 187, 47, 0) 34%
    ),
    linear-gradient(135deg, #050605 0%, #111511 52%, #080a08 100%);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.how-it-works .section__header {
  margin-bottom: 22px;
}
.how-it-works .section__eyebrow {
  color: var(--green);
  margin-bottom: 4px;
}
.how-it-works .section__title {
  color: var(--white);
  font-size: clamp(34px, 3.5vw, 46px);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.38);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}
.process-step {
  text-align: center;
  position: relative;
  padding: 0 10px;
}
.process-step__number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: var(--black);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 16px;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  box-shadow: 0 0 18px rgba(93, 187, 47, 0.28);
}
.process-step__icon {
  width: 72px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
}
.process-step__icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.process-step__title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--green);
}
.process-step__desc {
  font-size: var(--fs-sm);
  color: var(--white);
  line-height: 1.45;
  max-width: 230px;
  margin-inline: auto;
}
.process-step:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  top: 72px;
  right: -24px;
  font-size: 34px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  opacity: 0.9;
}

/* TESTIMONIALS */
.testimonials {
  padding: 56px 0;
  background: var(--off-white);
}
.testimonials .section__header {
  margin-bottom: 32px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.testimonial-card__stars {
  color: var(--star);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.testimonial-card__text {
  font-size: var(--fs-sm);
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 14px;
  font-style: italic;
}
.testimonial-card__author {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
}
.testimonial-card__location {
  font-size: 12px;
  color: var(--gray);
  margin-top: 2px;
}

/* FAQ */
.faq-section {
  padding: 56px 0 64px;
  background: var(--black);
  color: var(--white);
}
.faq-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}
.faq-left h2 {
  font-size: var(--fs-2xl);
  margin-bottom: 6px;
  color: var(--white);
}
.faq-left .section__subtitle {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.6);
}
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--white);
  text-align: left;
  cursor: pointer;
  gap: 12px;
}
.faq-item__q svg {
  width: 20px;
  height: 20px;
  color: var(--green);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-item__q svg {
  transform: rotate(45deg);
}
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item__a-inner {
  padding: 0 0 16px;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}
.faq-item.open .faq-item__a {
  max-height: 300px;
}

.faq-card {
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px;
}
.faq-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: 4px;
  color: var(--white);
}
.faq-card p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 18px;
}
.form-group {
  margin-bottom: 14px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 5px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  padding: 10px 14px;
  font-size: 15px;
  font-family: var(--font-body);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.form-textarea {
  min-height: 90px;
  resize: vertical;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(93, 187, 47, 0.12);
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235dbb2f' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form-select option {
  background: var(--black);
  color: var(--white);
}
.form-submit {
  width: 100%;
  margin-top: 4px;
}

/* FINAL CTA */
.final-cta {
  padding: 48px 0;
  background: var(--green);
  text-align: center;
}
.final-cta h2 {
  color: var(--black);
  font-size: var(--fs-3xl);
  margin-bottom: 10px;
}
.final-cta p {
  color: rgba(8, 10, 8, 0.7);
  font-size: var(--fs-md);
  max-width: 520px;
  margin: 0 auto 24px;
}
.final-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.final-cta .btn-primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  box-shadow: 0 10px 24px rgba(8, 10, 8, 0.2);
}
.final-cta .btn-primary:hover {
  background: var(--graphite);
  border-color: var(--graphite);
}
.final-cta .btn-secondary {
  background: transparent;
  border-color: rgba(8, 10, 8, 0.3);
  color: var(--black);
}
.final-cta .btn-secondary:hover {
  background: rgba(8, 10, 8, 0.08);
  border-color: rgba(8, 10, 8, 0.5);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero {
    position: relative;
  }
  .hero .container-wide {
    grid-template-columns: 1fr;
    min-height: clamp(560px, 102vw, 700px);
    padding-top: 20px;
    padding-bottom: 36px;
    align-content: center;
  }
  /* Hero photo sits BEHIND the content with a readability scrim. */
  .hero__content {
    position: relative;
    z-index: 2;
  }
  .hero__media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    min-height: 0;
    border-radius: 0;
    z-index: 0;
    overflow: hidden;
  }
  .hero__media::after {
    background: linear-gradient(
      180deg,
      rgba(8, 10, 8, 0.9) 0%,
      rgba(8, 10, 8, 0.78) 38%,
      rgba(8, 10, 8, 0.58) 72%,
      rgba(8, 10, 8, 0.62) 100%
    );
  }
  .svc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .home-base-grid {
    grid-template-columns: 1fr;
  }
  .needs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .map-section .container {
    grid-template-columns: 1fr;
    padding-right: 24px;
  }
  .map-section__map {
    min-height: 300px;
    border-left: none;
    border-top: 1px solid var(--border);
    border-radius: 16px;
  }
  .why-local-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
  .faq-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  /* Compact pill trust badges on mobile (match the homepage look). */
  .hero__trust {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }
  .hero__trust-item {
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
  }
  .proof-strip__inner {
    gap: 14px;
  }
  .proof-strip__divider {
    display: none;
  }
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .needs-grid {
    grid-template-columns: 1fr;
  }
  .why-local-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .process-step::after {
    display: none;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .map-section__cities {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }
  .hero__actions .btn-primary,
  .hero__actions .btn-secondary {
    width: 100%;
  }
  .hero__trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .final-cta__actions {
    flex-direction: column;
  }
  .final-cta__actions .btn-primary,
  .final-cta__actions .btn-secondary {
    width: 100%;
  }
}

.proof-strip__stars {
  font-size: 13px;
  letter-spacing: 1px;
}
