:root {
  --green: #0f8141;
  --green-dark: #07582c;
  --green-soft: #eaf7ef;
  --red: #dc1f2a;
  --black: #050505;
  --ink: #172019;
  --muted: #5f6d64;
  --line: #dce7df;
  --white: #ffffff;
  --off-white: #f7faf8;
  --shadow: 0 18px 45px rgba(5, 5, 5, 0.12);
  --radius: 8px;
  --max: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  background: var(--white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 700;
}

p {
  color: var(--muted);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.topbar {
  background: var(--green);
  color: var(--white);
  font-size: 0.92rem;
}

.topbar__inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 40px;
  padding: 7px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar a {
  color: var(--white);
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.icon,
.brand-icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: -0.12em;
}

.brand-icon {
  width: 20px;
  height: 20px;
}

.topbar a:hover,
.navbar a:hover,
.service-card a:hover,
.contact-cards a:hover {
  color: var(--red);
}

.topbar__socials {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
}

.topbar__socials a {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  font-size: 1rem;
}

.navbar {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 78px;
  padding: 0 18px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  width: 225px;
  padding: 10px 0;
}

.brand img {
  width: 210px;
  max-height: 60px;
  object-fit: contain;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
}

.nav-menu a {
  min-width: 108px;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0 18px;
  color: var(--black);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.is-active {
  background: var(--off-white);
}

.nav-toggle {
  display: none;
  align-self: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--black);
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  display: grid;
  align-items: center;
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.1)),
    linear-gradient(0deg, rgba(15, 129, 65, 0.12), rgba(15, 129, 65, 0.12));
}

.hero__content {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding: 82px 18px 130px;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 700;
}

.hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--white);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 12px 22px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: var(--white);
  background: var(--green);
}

.button--primary:hover {
  background: var(--green-dark);
  color: var(--white);
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.button--light {
  color: var(--green-dark);
  background: var(--white);
}

.promise-strip {
  max-width: var(--max);
  margin: -88px auto 0;
  padding: 0 18px;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.promise-card {
  min-height: 260px;
  padding: 70px 28px 32px;
  color: var(--white);
  background: var(--green);
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
}

.promise-card--dark {
  background: var(--black);
}

.promise-card h2 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 1.7rem;
}

.promise-card p {
  color: rgba(255, 255, 255, 0.9);
}

.promise-card__icon {
  position: absolute;
  top: -38px;
  left: 50%;
  width: 86px;
  height: 86px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--black);
  border: 5px solid var(--white);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 800;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 18px;
}

.section--intro {
  padding-top: 112px;
}

.section--muted {
  max-width: none;
  background: var(--off-white);
}

.section--muted > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section__grid {
  display: grid;
  gap: 58px;
  align-items: center;
}

.section__grid--split {
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
}

.section__copy h2,
.section__heading h2,
.cta-band h2 {
  margin-bottom: 18px;
  color: var(--green);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 700;
}

.page-hero {
  max-width: none;
  padding: 92px calc((100% - var(--max)) / 2 + 18px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(15, 129, 65, 0.78)),
    url("assets/images/hero-pest-control.png") center / cover;
}

.page-hero > div {
  max-width: 840px;
}

.page-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.08;
  color: var(--white);
  font-weight: 700;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.service-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 18px;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.service-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-hero h1 {
  margin-bottom: 16px;
  color: var(--green);
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  line-height: 1.08;
  font-weight: 700;
}

.service-hero p:last-child {
  font-size: 1.1rem;
}

.promise-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 42px 18px 0;
}

.section__copy--center {
  max-width: 860px;
  text-align: center;
}

.section__heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.image-frame {
  overflow: hidden;
  border: 8px solid var(--white);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.image-frame--circle {
  border-radius: 50%;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.stat-row div {
  padding: 18px;
  border-left: 4px solid var(--red);
  background: var(--green-soft);
  border-radius: 6px;
}

.stat-row strong,
.stat-row span {
  display: block;
}

.stat-row strong {
  color: var(--green-dark);
  font-size: 1.65rem;
  line-height: 1;
}

.stat-row span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(5, 5, 5, 0.06);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card div {
  flex: 1;
  padding: 24px;
}

.service-card h3 {
  margin-bottom: 10px;
  color: var(--black);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
}

.service-card a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
}

.section--details {
  display: grid;
  gap: 22px;
  padding-top: 18px;
}

.detail-panel {
  padding: 34px;
  border-left: 6px solid var(--green);
  border-radius: var(--radius);
  background: var(--off-white);
}

.detail-panel h2 {
  color: var(--green-dark);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.18;
  font-weight: 700;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.detail-list div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.detail-list h3 {
  margin-bottom: 8px;
  color: var(--black);
  font-size: 1.05rem;
}

.cta-band {
  max-width: none;
  padding: 58px calc((100% - var(--max)) / 2 + 18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  color: var(--white);
  background: var(--green);
}

.cta-band h2 {
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 3rem);
}

.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tips-grid article {
  padding: 28px;
  border-top: 5px solid var(--green);
  border-radius: var(--radius);
  background: var(--white);
}

.tips-grid span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--black);
  border-radius: 50%;
  font-weight: 800;
}

.tips-grid h3 {
  color: var(--black);
}

.contact-section {
  padding-bottom: 82px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
  gap: 28px;
  align-items: start;
}

.contact-form,
.contact-cards article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(5, 5, 5, 0.06);
}

.contact-form {
  padding: 28px;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
  color: var(--black);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: var(--off-white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(15, 129, 65, 0.2);
  border-color: var(--green);
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  font-weight: 700;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-cards article {
  padding: 22px;
}

.contact-cards article:nth-child(3),
.contact-cards article:nth-child(4),
.contact-cards article:nth-child(5) {
  grid-column: span 2;
}

.contact-cards h3 {
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 1.05rem;
}

.contact-cards a {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 700;
}

.contact-cards p {
  margin-bottom: 0;
}

.contact-cards--icons article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-size: 1.2rem;
}

.section--map {
  padding-top: 0;
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--off-white);
  box-shadow: 0 12px 30px rgba(5, 5, 5, 0.06);
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 430px;
  border: 0;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: #25d366;
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  font-weight: 800;
}

.whatsapp-float .brand-icon {
  width: 28px;
  height: 28px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr;
  align-items: center;
  gap: 24px;
  padding: 32px calc((100% - var(--max)) / 2 + 18px);
  color: var(--white);
  background: var(--black);
}

.site-footer img {
  width: 160px;
  height: auto;
  margin-bottom: 10px;
  background: var(--white);
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer > p {
  grid-column: 1 / -1;
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.site-footer p a {
  color: var(--white);
  font-weight: 700;
}

.site-footer p a:hover {
  color: var(--red);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer nav a:hover {
  color: var(--red);
}

@media (max-width: 980px) {
  .topbar__inner {
    flex-wrap: wrap;
  }

  .navbar {
    min-height: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    min-width: 0;
    min-height: 54px;
    justify-content: flex-start;
    padding: 0 24px;
  }

  .hero {
    min-height: 560px;
  }

  .promise-strip,
  .promise-grid,
  .service-grid,
  .tips-grid,
  .contact-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .promise-strip {
    gap: 56px;
    margin-top: -56px;
  }

  .section__grid--split,
  .detail-list,
  .service-hero {
    grid-template-columns: 1fr;
  }

  .service-hero {
    padding-top: 54px;
  }

  .image-frame {
    max-width: 520px;
    margin: 0 auto;
  }

  .service-grid {
    gap: 18px;
  }

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

  .site-footer {
    text-align: center;
  }

  .site-footer img {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .topbar__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .topbar__divider {
    display: none;
  }

  .topbar__socials {
    margin-left: 0;
  }

  .brand {
    width: 185px;
  }

  .brand img {
    width: 175px;
  }

  .hero {
    min-height: 600px;
  }

  .hero__overlay {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.36)),
      linear-gradient(0deg, rgba(15, 129, 65, 0.16), rgba(15, 129, 65, 0.16));
  }

  .hero__content {
    padding: 68px 18px 112px;
  }

  .button,
  .hero__actions {
    width: 100%;
  }

  .promise-card {
    min-height: 0;
    padding: 64px 22px 28px;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .stat-row,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-cards article:nth-child(3),
  .contact-cards article:nth-child(4),
  .contact-cards article:nth-child(5) {
    grid-column: auto;
  }

  .contact-cards--icons article {
    grid-template-columns: 40px 1fr;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .page-hero {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .detail-panel {
    padding: 24px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }
}
