/* Premium modern design system for ASIA Pest Control Service */
:root {
  --color-primary: #2e7d32;
  --color-primary-700: #1f5c24;
  --color-navy: #0f172a;
  --color-navy-soft: #1e293b;
  --color-accent: #f97316;
  --color-white: #ffffff;
  --color-bg: #f7faf8;
  --color-muted: #64748b;
  --color-border: #dbe6dd;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 14px 40px rgba(15, 23, 42, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: 0.3s ease;
  --container: 1200px;
  --container-wide: 1400px;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  color: var(--color-navy);
  background: var(--color-white);
  scroll-behavior: smooth;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.container-wide {
  width: min(var(--container-wide), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 92px 0;
}

.section-sm {
  padding: 72px 0;
}

.section-alt {
  background: var(--color-bg);
}

.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-xl {
  margin-top: var(--space-xl);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 0;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 0.85rem 1.45rem;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #3d9f42);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.eyebrow {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  line-height: 1.2;
  color: var(--color-navy);
}

h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

p {
  margin: 0;
  color: #334155;
  line-height: 1.75;
}

.section-head {
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.section-head p {
  margin-top: 0.85rem;
}

.top-bar {
  background: var(--color-navy);
  color: #e2e8f0;
  font-size: 0.88rem;
}

.top-bar .container {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 0;
}

.top-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.top-chip {
  background: rgba(249, 115, 22, 0.16);
  border: 1px solid rgba(249, 115, 22, 0.35);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 500;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.nav-wrap {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.logo-badge {
  width: 46px;
  aspect-ratio: 1;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary), var(--color-navy));
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

.brand h2 {
  font-size: 1.05rem;
}

.brand p {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: #1e293b;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

.nav-cta {
  display: flex;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eef5ef;
  color: var(--color-primary-700);
  font-size: 1.2rem;
}

.hero {
  position: relative;
  color: var(--color-white);
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.84), rgba(46, 125, 50, 0.78)),
    url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -90px -110px auto;
  width: min(42vw, 480px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.35), rgba(249, 115, 22, 0));
}

.hero-grid {
  min-height: 74vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 36px;
  padding: 80px 0 96px;
}

.hero h1,
.hero h2,
.hero p {
  color: var(--color-white);
}

.hero p {
  margin-top: 18px;
  max-width: 680px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.stat-pill {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.stat-pill strong {
  font-size: 1.25rem;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.card h3 {
  margin-bottom: 0.7rem;
}

.service-card .icon {
  width: 52px;
  aspect-ratio: 1;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
  font-weight: 700;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.service-card ul,
.feature-list,
.inline-list {
  margin: 1rem 0 0;
  padding-left: 1rem;
  color: #334155;
}

.feature-list li,
.inline-list li,
.service-card li {
  margin-bottom: 0.35rem;
}

.process-step {
  position: relative;
  overflow: hidden;
}

.process-step span {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(46, 125, 50, 0.12);
  font-weight: 700;
}

.banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 310px;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  padding: 26px;
  background-size: cover;
  background-position: center;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.banner-content {
  position: relative;
  z-index: 1;
}

.gallery-grid img {
  border-radius: 16px;
  min-height: 220px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.testimonial {
  border-left: 4px solid var(--color-primary);
}

.rating {
  color: #f59e0b;
  margin-bottom: 0.6rem;
  letter-spacing: 1px;
}

.area-chip {
  border: 1px dashed #9ab9a3;
  border-radius: 999px;
  padding: 9px 14px;
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0 8px 8px 0;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-white);
}

.faq-btn {
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-family: inherit;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--color-navy);
}

.faq-content {
  padding: 0 1.2rem 1rem;
  display: none;
}

.faq-item.open .faq-content {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  font-size: 0.85rem;
  color: #334155;
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 7px;
  border-radius: 10px;
  border: 1px solid #cddccd;
  padding: 0.75rem 0.8rem;
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.footer {
  background: #0b1324;
  color: #d5dfeb;
  padding: 70px 0 26px;
}

.footer p,
.footer a {
  color: #c8d4e3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer h3,
.footer h4 {
  color: var(--color-white);
  margin-bottom: 0.7rem;
}

.footer-links a {
  display: block;
  margin-bottom: 0.45rem;
}

.footer-bottom {
  margin-top: 30px;
  border-top: 1px solid #22314f;
  padding-top: 16px;
  font-size: 0.87rem;
}

.floating-actions {
  position: fixed;
  z-index: 60;
  right: 16px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  color: var(--color-white);
  font-size: 1.2rem;
}

.float-call {
  background: var(--color-accent);
}

.float-whatsapp {
  background: #22c55e;
}

.sticky-call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.96);
  padding: 8px 12px;
  z-index: 55;
  display: none;
}

.sticky-call-bar a {
  width: 100%;
}

.breadcrumb {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #d9e6da;
}

.breadcrumb a {
  color: #c6e7c9;
}

.page-hero {
  color: var(--color-white);
  min-height: 360px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.85), rgba(46, 125, 50, 0.7)),
    url("https://images.unsplash.com/photo-1563453392212-326f5e854473?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

.page-hero h1,
.page-hero p {
  color: var(--color-white);
}

.blog-card img {
  border-radius: 12px;
  margin-bottom: 1rem;
  min-height: 200px;
  object-fit: cover;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .section {
    padding: 78px 0;
  }

  .hero-grid,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .mobile-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(88vw, 380px);
    background: var(--color-white);
    z-index: 70;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform var(--transition);
    padding: 20px;
    overflow-y: auto;
  }

  body.menu-open .mobile-drawer {
    transform: translateX(0);
  }

  .mobile-nav a {
    display: block;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.9rem 0;
    font-weight: 500;
  }
}

@media (max-width: 768px) {
  .section,
  .section-sm {
    padding: 56px 0;
  }

  .container,
  .container-wide {
    width: min(100%, calc(100% - 40px));
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .top-bar .container {
    justify-content: center;
    text-align: center;
  }

  .hero-grid {
    min-height: auto;
    padding: 58px 0 64px;
  }

  .hero-card {
    padding: 18px;
  }

  .floating-actions {
    bottom: 72px;
  }

  .sticky-call-bar {
    display: block;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .top-chip {
    width: 100%;
  }
}
