:root {
  --blue-deep: #1d6399;
  --blue: #388ecc;
  --lime: #d7df27;
  --sky: #388ecc;
  --sky-soft: #eaf5fc;
  --green: #d7df27;
  --green-soft: #fbfce8;
  --slate: #0f172a;
  --muted: #526174;
  --line: #dbe8ef;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--slate);
  background: var(--white);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.navbar.container,
.hero .container {
  width: min(1280px, calc(100% - 40px));
}

.section {
  padding: 72px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--lime);
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.navbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--slate);
}

.site-logo {
  width: 220px;
  height: 64px;
  object-fit: contain;
}

.footer-site-logo {
  width: 210px;
  height: auto;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--slate);
  font-weight: 800;
  box-shadow: 0 0 0 4px rgba(215, 223, 39, 0.28);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-menu a:hover {
  color: var(--slate);
}

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

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--slate);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue-deep);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(29, 99, 153, 0.24);
}

.btn-secondary {
  background: var(--lime);
  color: var(--slate);
  border: 1px solid #c4cc20;
}

.hero {
  background:
    linear-gradient(rgba(56, 142, 204, 0.68), rgba(56, 142, 204, 0.68)),
    url("img/optimized/services-page.jpg") center / cover no-repeat;
  min-height: 620px;
  padding-top: 84px;
  display: flex;
  align-items: center;
}

.hero-grid,
.contact-grid,
.fumigation-panel,
.split-section {
  display: grid;
  gap: 40px;
}

.hero-grid {
  align-items: center;
}

.hero-grid-single {
  max-width: none;
}

.hero-grid-single .hero-copy,
.hero-grid-single .hero-text {
  margin-left: 0;
  margin-right: 0;
}

.hero-grid-single .hero-actions,
.hero-grid-single .trust-row {
  justify-content: flex-start;
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(234, 245, 252, 0.98), rgba(215, 223, 39, 0.2)),
    var(--white);
  padding-top: 84px;
}

.page-hero .container {
  max-width: 900px;
}

.services-hero,
.contact-hero {
  background:
    linear-gradient(rgba(56, 142, 204, 0.68), rgba(56, 142, 204, 0.68)),
    url("img/optimized/landscape.jpg") center / cover no-repeat;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.services-hero .container,
.contact-hero .container {
  width: min(1280px, calc(100% - 40px));
  max-width: none;
}

.services-hero h1,
.contact-hero h1 {
  color: var(--lime);
  text-shadow:
    0 3px 0 rgba(0, 0, 0, 0.42),
    0 10px 24px rgba(0, 0, 0, 0.72),
    0 18px 48px rgba(0, 0, 0, 0.58);
}

.services-hero .eyebrow,
.services-hero .hero-text,
.contact-hero .eyebrow,
.contact-hero .hero-text {
  color: var(--white);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  color: var(--blue-deep);
}

h1 {
  margin: 0;
  font-size: clamp(2.45rem, 7vw, 5rem);
  line-height: 0.98;
  max-width: 780px;
}

.hero h1 {
  color: var(--lime);
  text-shadow:
    0 3px 0 rgba(0, 0, 0, 0.42),
    0 10px 24px rgba(0, 0, 0, 0.72),
    0 18px 48px rgba(0, 0, 0, 0.58);
}

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

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.3rem);
  line-height: 1.05;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-text,
.section-heading p,
.split-section p,
.contact p,
.site-footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 610px;
  margin: 22px 0 0;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-row span,
.badge-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(215, 223, 39, 0.18);
  border: 1px solid rgba(215, 223, 39, 0.78);
  color: var(--slate);
  font-size: 0.86rem;
  font-weight: 700;
}

.image-placeholder {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--sky-soft);
}

.image-placeholder img {
  min-height: 260px;
  object-fit: cover;
}

.image-placeholder span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.86);
  color: var(--white);
  font-weight: 800;
  text-align: center;
}

.about {
  background: var(--white);
}

.about-media-copy {
  display: grid;
  gap: 18px;
}

.about-image img {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 3 / 2;
  min-height: auto;
  object-fit: cover;
}

.split-section {
  align-items: start;
}

.services-preview {
  background: #f7fbfd;
}

.preview-grid {
  display: grid;
  gap: 20px;
}

.service-glass-card,
.service-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.11);
  backdrop-filter: blur(14px);
}

.preview-card {
  display: block;
  overflow: hidden;
  padding: 0;
  border-radius: var(--radius);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.preview-card:hover,
.preview-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(215, 223, 39, 0.82);
  box-shadow: 0 24px 62px rgba(29, 99, 153, 0.18);
}

.preview-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sky-soft);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.preview-image img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.preview-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.preview-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 9px;
  padding: 22px;
  color: var(--white);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.preview-overlay h3 {
  color: var(--lime);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.38);
}

.preview-overlay p {
  max-width: 92%;
  margin: 0;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.38);
}

.preview-action {
  width: fit-content;
  min-width: 132px;
  margin-top: 4px;
  background: var(--lime);
  color: var(--slate);
  box-shadow: 0 10px 28px rgba(215, 223, 39, 0.26);
}

.preview-card:hover .preview-image img,
.preview-card:focus-within .preview-image img {
  transform: scale(1.05);
  filter: saturate(1.08);
}

.preview-card:hover .preview-image::after,
.preview-card:focus-within .preview-image::after,
.preview-card:hover .preview-overlay,
.preview-card:focus-within .preview-overlay {
  opacity: 1;
}

.preview-card:hover .preview-overlay,
.preview-card:focus-within .preview-overlay {
  transform: translateY(0);
}

.services {
  background: #f7fbfd;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.services-grid {
  display: grid;
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  padding: 0;
  border-radius: var(--radius);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(215, 223, 39, 0.82);
  box-shadow: 0 24px 62px rgba(29, 99, 153, 0.18);
}

.service-image {
  aspect-ratio: 3 / 2;
  height: auto;
  margin: 0 0 18px;
  border-radius: 0;
  object-fit: cover;
  background: var(--sky-soft);
}

.service-card h3,
.service-card p,
.service-card .learn-more,
.service-card .service-note {
  margin-left: 22px;
  margin-right: 22px;
}

.service-card p {
  color: var(--muted);
  margin-top: 12px;
  margin-bottom: 12px;
}

.service-card ul {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--muted);
}

.learn-more {
  margin-top: auto;
  margin-bottom: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue-deep);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.learn-more::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--lime);
}

.service-note {
  margin-top: 14px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--sky-soft);
  color: var(--slate);
  font-size: 0.92rem;
}

.fumigation {
  background: var(--white);
}

.fumigation-panel {
  align-items: center;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--sky-soft), rgba(215, 223, 39, 0.34));
  border: 1px solid rgba(215, 223, 39, 0.65);
}

.fumigation-copy p:not(.eyebrow) {
  color: var(--muted);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}

.contact {
  background: #f7fbfd;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-details div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-details strong,
.contact-details span {
  display: block;
}

.contact-details span {
  color: var(--muted);
}

.phone-list {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.booking-form {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd8e3;
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--slate);
  background: var(--white);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(215, 223, 39, 0.42);
  border-color: var(--blue);
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--blue-deep);
  font-weight: 800;
}

.form-status a {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  background: var(--lime);
  color: var(--slate);
  padding: 48px 0 22px;
}

.site-footer p,
.site-footer a {
  color: var(--slate);
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-grid h3 {
  margin-bottom: 12px;
}

.footer-grid a:not(.logo) {
  display: block;
  margin-bottom: 8px;
}

.footer-logo {
  color: var(--slate);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-links a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.16);
}

@media (min-width: 720px) {
  .contact-grid,
  .fumigation-panel,
  .split-section {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.5fr 0.8fr 1fr;
  }
}

@media (min-width: 1024px) {
  .hero-grid:not(.hero-grid-single) {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu,
  .nav-cta {
    display: none;
  }

  .nav-menu.is-open {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open a {
    padding: 12px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .navbar.container,
  .hero .container,
  .services-hero .container,
  .contact-hero .container {
    width: min(100% - 24px, 1280px);
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .fumigation-panel,
  .booking-form {
    padding: 18px;
  }
}
