/* ============================================
   Salamat Pest Control — Brand Styles
   Colors: #5F050E | #094d24
   ============================================ */

:root {
  --brand-red: #5F050E;
  --brand-red-dark: #3d0309;
  --brand-red-soft: #8a1a28;
  --brand-green: #094d24;
  --brand-green-dark: #063318;
  --brand-green-soft: #0d6b32;
  --ink: #1a1a1a;
  --muted: #5c6560;
  --sand: #f3f6f2;
  --sand-deep: #e6ece4;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(95, 5, 14, 0.12);
  --radius: 1.25rem;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --nav-h: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

img,
video,
iframe,
svg {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease, opacity 0.25s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-pad {
  padding: 5.5rem 0;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: 0.85rem;
}

.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brand-red);
}

.text-center .section-eyebrow {
  justify-content: center;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
  margin-bottom: 1rem;
  color: var(--ink);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
}

/* ---------- Buttons ---------- */
.btn-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--brand-red);
  color: var(--white) !important;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.65rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn-brand:hover {
  background: var(--brand-red-soft);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(95, 5, 14, 0.28);
  color: var(--white) !important;
}

.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--brand-green);
  color: var(--white) !important;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.65rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn-green:hover {
  background: var(--brand-green-soft);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(9, 77, 36, 0.28);
  color: var(--white) !important;
}

.btn-outline-light-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: transparent;
  color: var(--white) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 0.9rem 1.65rem;
  font-weight: 600;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn-outline-light-custom:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-2px);
  color: var(--white) !important;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--brand-green-dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
  padding: 0.55rem 0;
}

.topbar a {
  color: rgba(255, 255, 255, 0.88);
}

.topbar a:hover {
  color: var(--white);
}

.topbar .social a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  margin-left: 0.35rem;
}

.topbar .social a:hover {
  background: var(--brand-red);
}

/* ---------- Navbar ---------- */
.site-nav {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(9, 77, 36, 0.08);
  padding: 0.65rem 0;
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.site-nav.scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 0.4rem 0;
}

.site-nav .navbar-brand img {
  height: 88px;
  width: auto;
  transition: height 0.3s ease;
}

.site-nav.scrolled .navbar-brand img {
  height: 72px;
}

.site-nav .nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink) !important;
  padding: 0.5rem 0.85rem !important;
  position: relative;
}

.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--brand-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after {
  transform: scaleX(1);
}

.site-nav .nav-link.active {
  color: var(--brand-red) !important;
}

.site-nav .nav-link.nav-cta,
.site-nav .nav-link.nav-cta:visited,
.site-nav .nav-link.nav-cta:focus {
  background: var(--brand-red);
  color: #ffffff !important;
  border-radius: 999px;
  padding: 0.55rem 1.2rem !important;
  margin-left: 0.4rem;
}

.site-nav .nav-link.nav-cta::after {
  display: none !important;
}

.site-nav .nav-link.nav-cta:hover,
.site-nav .nav-link.nav-cta.active {
  background: var(--brand-red-soft);
  color: #ffffff !important;
}

.navbar-toggler {
  border: none;
  box-shadow: none !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 40px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(95, 5, 14, 0.88) 0%, rgba(95, 5, 14, 0.55) 42%, rgba(9, 77, 36, 0.72) 100%),
    linear-gradient(to top, rgba(10, 10, 10, 0.55), transparent 45%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 7rem 0 5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.hero-brand span {
  display: block;
  font-size: 0.38em;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  margin-top: 0.55rem;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 480px;
  color: rgba(255, 255, 255, 0.9);
  margin: 1.35rem 0 2rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-float {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0.55;
  animation: floatY 6s ease-in-out infinite;
}

.hero-float.f1 {
  right: 8%;
  top: 22%;
  width: 90px;
  animation-delay: 0s;
}

.hero-float.f2 {
  right: 18%;
  bottom: 18%;
  width: 70px;
  animation-delay: 1.5s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  animation: pulseScroll 2.2s ease-in-out infinite;
}

.hero-scroll i {
  font-size: 1.1rem;
}

@keyframes pulseScroll {
  0%, 100% { opacity: 0.55; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Services ---------- */
.services-section {
  background: var(--sand);
  position: relative;
}

.service-tile {
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 0 transparent;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

.service-tile:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.service-tile .media {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-tile .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-tile:hover .media img {
  transform: scale(1.08);
}

.service-tile .media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(95, 5, 14, 0.45), transparent 60%);
}

.service-tile .body {
  padding: 1.6rem 1.5rem 1.75rem;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(9, 77, 36, 0.1);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-tile h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
  color: var(--brand-red);
}

.service-tile p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 1rem;
}

.service-tile ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.15rem;
}

.service-tile ul li {
  font-size: 0.88rem;
  color: var(--ink);
  padding: 0.28rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.service-tile ul li i {
  color: var(--brand-green);
  margin-top: 0.15rem;
}

.service-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-red);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-link:hover {
  color: var(--brand-green);
}

/* ---------- About ---------- */
.about-section {
  background: var(--white);
}

.about-visual {
  position: relative;
  overflow: hidden;
}

@media (min-width: 992px) {
  .about-visual {
    overflow: visible;
    padding-right: 0.75rem;
    padding-bottom: 1.5rem;
    padding-left: 0.75rem;
  }
}

.about-visual .main-img {
  border-radius: calc(var(--radius) + 0.25rem);
  width: 100%;
  height: 480px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-visual .accent-img {
  position: absolute;
  width: 48%;
  bottom: -1.5rem;
  right: 0;
  border-radius: var(--radius);
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
  object-fit: cover;
  height: 220px;
}

.about-stat {
  position: absolute;
  top: 1.5rem;
  left: 0.75rem;
  background: var(--brand-red);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow);
  min-width: 130px;
  animation: floatY 5s ease-in-out infinite;
  z-index: 2;
}

.about-stat .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.about-stat .label {
  font-size: 0.78rem;
  opacity: 0.85;
  margin-top: 0.25rem;
}

.about-checks {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

.about-checks li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0;
  font-weight: 500;
}

.about-checks li i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(9, 77, 36, 0.12);
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* ---------- Pest solutions ---------- */
.pests-section {
  background:
    radial-gradient(ellipse at 10% 20%, rgba(9, 77, 36, 0.08), transparent 45%),
    radial-gradient(ellipse at 90% 80%, rgba(95, 5, 14, 0.07), transparent 40%),
    var(--sand);
}

.pest-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.pest-tab {
  border: 1.5px solid rgba(9, 77, 36, 0.18);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pest-tab i {
  color: var(--brand-green);
}

.pest-tab:hover,
.pest-tab.active {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: var(--white);
}

.pest-tab:hover i,
.pest-tab.active i {
  color: var(--white);
}

.pest-panel {
  display: none;
  background: var(--white);
  border-radius: calc(var(--radius) + 0.15rem);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pest-panel.active {
  display: block;
  animation: fadeSlide 0.45s ease;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.pest-panel .pest-img {
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  width: 100%;
}

.pest-panel .pest-copy {
  padding: 2.25rem 2rem;
}

.pest-panel h3 {
  color: var(--brand-red);
  margin-bottom: 0.85rem;
  font-size: 1.55rem;
}

.pest-panel p {
  color: var(--muted);
}

.pest-panel ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.pest-panel ul li {
  display: flex;
  gap: 0.55rem;
  padding: 0.4rem 0;
  font-weight: 500;
}

.pest-panel ul li i {
  color: var(--brand-green);
}

/* ---------- Why choose ---------- */
.why-section {
  background: var(--brand-green-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  top: -120px;
  right: -80px;
}

.why-section .section-eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.why-section .section-eyebrow::before {
  background: var(--brand-red-soft);
}

.why-section .section-title {
  color: var(--white);
}

.why-section .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: background 0.3s ease, transform 0.3s ease;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.why-card .icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}

.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.why-card p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
  margin: 0;
}

/* ---------- Areas ---------- */
.areas-section {
  background: var(--white);
}

.area-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--sand);
  border: 1px solid rgba(9, 77, 36, 0.12);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0.3rem;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.area-chip i {
  color: var(--brand-green);
  font-size: 0.75rem;
}

.area-chip:hover {
  background: var(--brand-green);
  color: var(--white);
  border-color: var(--brand-green);
}

.area-chip:hover i {
  color: var(--white);
}

/* ---------- FAQ ---------- */
.faq-section {
  background: var(--sand);
}

.faq-accordion .accordion-item {
  background: var(--white);
  border: none;
  border-radius: var(--radius) !important;
  margin-bottom: 0.85rem;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.faq-accordion .accordion-button {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.02rem;
  color: var(--ink);
  background: var(--white);
  box-shadow: none !important;
  padding: 1.2rem 1.4rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--brand-red);
  background: var(--white);
}

.faq-accordion .accordion-button::after {
  background-image: none;
  content: "\F4FE";
  font-family: "bootstrap-icons";
  font-size: 1.1rem;
  width: auto;
  height: auto;
  color: var(--brand-green);
  transform: none;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  content: "\F2EA";
  color: var(--brand-red);
  transform: none;
}

.faq-accordion .accordion-body {
  padding: 0 1.4rem 1.35rem;
  color: var(--muted);
}

.faq-side {
  background: linear-gradient(160deg, var(--brand-red), var(--brand-red-dark));
  color: var(--white);
  border-radius: calc(var(--radius) + 0.2rem);
  padding: 2.5rem 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.faq-side::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  bottom: -40px;
  right: -30px;
}

.faq-side h3 {
  font-size: 1.55rem;
  margin-bottom: 0.85rem;
}

.faq-side p {
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

/* ---------- Testimonials ---------- */
.testimonials-section {
  background: var(--white);
}

.testimonial-card {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  height: 100%;
  position: relative;
  border-top: 3px solid var(--brand-green);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.testimonial-card .quote {
  font-size: 2rem;
  color: var(--brand-red);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.testimonial-card p {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 1.35rem;
}

.testimonial-card .stars {
  color: #c9a227;
  margin-bottom: 0.85rem;
  letter-spacing: 0.1em;
}

.testimonial-card .author strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ink);
}

.testimonial-card .author span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Emergency ---------- */
.emergency-section {
  background:
    linear-gradient(110deg, rgba(95, 5, 14, 0.92), rgba(9, 77, 36, 0.88)),
    url("../images/sli-3.jpg") center/cover no-repeat;
  color: var(--white);
}

.emergency-item {
  text-align: center;
  padding: 1.25rem 1rem;
}

.emergency-item .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.emergency-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.emergency-item p {
  opacity: 0.8;
  font-size: 0.92rem;
  margin: 0;
}

.emergency-hotline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
}

.emergency-hotline:hover {
  opacity: 0.9;
}

/* ---------- Contact CTA ---------- */
.contact-cta {
  background: var(--sand);
}

.contact-grid .info-block {
  display: flex;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(9, 77, 36, 0.12);
}

.contact-grid .info-block:last-child {
  border-bottom: none;
}

.contact-grid .info-block .icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(95, 5, 14, 0.1);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-grid .info-block h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: var(--brand-green);
}

.contact-grid .info-block a,
.contact-grid .info-block p {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.contact-card {
  background: var(--white);
  border: 1.5px solid rgba(9, 77, 36, 0.16);
  border-radius: calc(var(--radius) + 0.2rem);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-card .contact-visual {
  border-radius: 0;
  overflow: hidden;
  min-height: 0;
  height: auto;
}

.contact-card .contact-visual img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  min-height: 0;
}

.contact-panel {
  background: transparent;
  border-radius: 0;
  padding: 1.75rem 1.75rem 2rem;
  box-shadow: none;
  height: auto;
}

.contact-panel .form-control,
.contact-panel .form-select {
  border-radius: 12px;
  border: 1.5px solid rgba(9, 77, 36, 0.15);
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
}

.contact-panel .form-control:focus,
.contact-panel .form-select:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 0.2rem rgba(9, 77, 36, 0.15);
}

/* Gallery lightbox */
.gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  border: none;
  padding: 0;
  background: none;
  width: 100%;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item::after {
  content: "\F33E";
  font-family: "bootstrap-icons";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(95, 5, 14, 0.45);
  color: #fff;
  font-size: 1.6rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover::after {
  opacity: 1;
}

#galleryLightbox .modal-content {
  background: transparent;
  border: none;
}

#galleryLightbox .modal-body {
  padding: 0;
  position: relative;
}

#galleryLightbox .lightbox-img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 0.75rem;
  background: #0a120e;
}

#galleryLightbox .btn-close-lightbox {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--brand-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

#galleryLightbox .lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 2;
}

#galleryLightbox .lightbox-prev { left: 0.75rem; }
#galleryLightbox .lightbox-next { right: 0.75rem; }

#galleryLightbox .lightbox-caption {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.85rem;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0a120e;
  color: rgba(255, 255, 255, 0.75);
  padding-top: 4.5rem;
}

.site-footer .footer-logo {
  max-height: 72px;
  background: var(--white);
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
  margin-bottom: 1.1rem;
}

.site-footer h5 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.65rem;
}

.site-footer h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--brand-red);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 0.55rem;
}

.site-footer ul a:hover {
  color: var(--white);
}

.site-footer .contact-line {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
}

.site-footer .contact-line i {
  color: var(--brand-red-soft);
  margin-top: 0.2rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  margin-right: 0.4rem;
  transition: background 0.25s ease;
}

.footer-social a:hover {
  background: var(--brand-red);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
  padding: 1.25rem 0;
  font-size: 0.88rem;
}

/* ---------- WhatsApp float (left) ---------- */
.whatsapp-float {
  position: fixed;
  left: 1.25rem;
  right: auto;
  bottom: 1.25rem;
  z-index: 1055;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  animation: pulseWhatsApp 2.4s ease-in-out infinite;
}

.whatsapp-float:hover {
  color: var(--white);
  transform: scale(1.06);
}

@keyframes pulseWhatsApp {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  50% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1050;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-red);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 8px 20px rgba(95, 5, 14, 0.35);
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  background: var(--brand-red-soft);
  color: var(--white);
}

/* ---------- Mobile sticky action bar ---------- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1060;
  background: #0a120e;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.28);
  padding: 0.55rem 0.65rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  width: 100%;
  box-sizing: border-box;
}

.mobile-sticky-bar .sticky-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  max-width: 560px;
  margin: 0 auto;
}

.mobile-sticky-bar .sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff !important;
  text-align: center;
  line-height: 1.2;
  padding: 0.55rem 0.65rem;
}

.mobile-sticky-bar .sticky-btn i {
  font-size: 1.15rem;
}

.mobile-sticky-bar .sticky-call {
  background: var(--brand-green);
}

.mobile-sticky-bar .sticky-appoint {
  background: var(--brand-red);
}

.mobile-sticky-bar .sticky-btn:active {
  opacity: 0.9;
}

/* ---------- Responsive ---------- */

/* Large desktop */
@media (min-width: 1400px) {
  .hero-content {
    padding: 8rem 0 5.5rem;
  }

  .site-nav .navbar-brand img {
    height: 92px;
  }
}

/* Small laptops / large tablets landscape (992–1199) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-nav .navbar-brand img {
    height: 70px;
  }

  .site-nav.scrolled .navbar-brand img {
    height: 60px;
  }

  .site-nav .nav-link {
    font-size: 0.84rem;
    padding: 0.45rem 0.55rem !important;
  }

  .site-nav .nav-link::after {
    left: 0.55rem;
    right: 0.55rem;
  }

  .site-nav .nav-link.nav-cta {
    padding: 0.5rem 0.95rem !important;
    margin-left: 0.25rem;
    font-size: 0.84rem;
  }

  .about-visual .main-img {
    height: 420px;
  }

  .about-visual .accent-img {
    right: 0;
  }
}

/* Tablets & below (< 992) */
@media (max-width: 991.98px) {
  .hero {
    min-height: 78vh;
  }

  .hero-float {
    display: none;
  }

  .hero-scroll {
    display: none;
  }

  .about-visual {
    margin-bottom: 1rem;
  }

  .about-visual .accent-img {
    position: relative;
    width: 100%;
    right: 0;
    bottom: 0;
    margin-top: 1rem;
    height: 200px;
    border: none;
  }

  .about-stat {
    left: 0.5rem;
    top: 1rem;
    padding: 1rem 1.15rem;
    min-width: 110px;
  }

  .container,
  .container-fluid {
    overflow-x: clip;
    max-width: 100%;
  }

  .about-stat .num {
    font-size: 1.85rem;
  }

  .site-nav .navbar-collapse {
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 0.75rem;
    box-shadow: var(--shadow);
  }

  .site-nav .nav-link {
    padding: 0.7rem 0.5rem !important;
  }

  .site-nav .nav-link.nav-cta {
    margin: 0.65rem 0 0;
    text-align: center;
    display: block;
    width: 100%;
    color: #ffffff !important;
  }

  .site-nav .navbar-brand img {
    height: 72px;
  }

  .site-nav.scrolled .navbar-brand img {
    height: 62px;
  }

  .contact-card .contact-visual img {
    height: 220px;
  }

  .pest-panel .pest-img {
    min-height: 240px;
    max-height: 280px;
  }

  .faq-side {
    margin-bottom: 0.5rem;
  }

  .whatsapp-float {
    left: 1rem;
    right: auto;
    bottom: calc(4.85rem + env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }

  .back-to-top {
    right: 1rem;
    left: auto;
    bottom: calc(4.85rem + env(safe-area-inset-bottom, 0px));
    width: 40px;
    height: 40px;
  }

  .mobile-sticky-bar {
    display: block;
  }

  body {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }

  .site-footer {
    padding-bottom: 1rem;
  }

  /* Prevent AOS sideways transforms from causing horizontal scroll */
  [data-aos="fade-left"],
  [data-aos="fade-right"],
  [data-aos="zoom-in"] {
    transform: none !important;
  }
}

/* Tablets portrait (768–991) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .section-pad {
    padding: 4.5rem 0;
  }

  .gallery-item img {
    height: 200px;
  }

  .hero-brand {
    font-size: clamp(2.4rem, 6vw, 3.6rem);
  }
}

/* Phones (< 576) */
@media (max-width: 575.98px) {
  .section-pad {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .hero {
    min-height: 85vh;
  }

  .hero-content {
    padding: 4.5rem 0 3.5rem;
  }

  .hero-brand {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .hero-tagline {
    font-size: 0.98rem;
    margin: 1rem 0 1.5rem;
  }

  .hero-actions {
    gap: 0.65rem;
  }

  .hero-actions .btn-brand,
  .hero-actions .btn-outline-light-custom {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
  }

  .about-visual .main-img {
    height: 280px;
  }

  .about-visual .accent-img {
    height: 160px;
  }

  .about-stat {
    left: 0.35rem;
    top: 0.75rem;
    padding: 0.85rem 1rem;
    min-width: 96px;
  }

  .about-stat .num {
    font-size: 1.6rem;
  }

  .pest-tabs {
    gap: 0.45rem;
    justify-content: flex-start !important;
  }

  .pest-tab {
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
  }

  .pest-panel .pest-copy {
    padding: 1.35rem 1.15rem 1.5rem;
  }

  .pest-panel .pest-img {
    min-height: 200px;
    max-height: 220px;
  }

  .gallery-item img {
    height: 150px;
  }

  #galleryLightbox .lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }

  #galleryLightbox .lightbox-prev { left: 0.4rem; }
  #galleryLightbox .lightbox-next { right: 0.4rem; }

  #galleryLightbox .btn-close-lightbox {
    width: 36px;
    height: 36px;
    top: 0.5rem;
    right: 0.5rem;
  }

  .contact-card .contact-visual img {
    height: 180px;
  }

  .contact-panel {
    padding: 1.35rem 1.15rem 1.5rem;
  }

  .emergency-hotline {
    font-size: 1.35rem;
    word-break: break-word;
  }

  .emergency-item {
    padding: 0.85rem 0.35rem;
  }

  .emergency-item .icon {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
  }

  .site-nav .navbar-brand img {
    height: 64px;
  }

  .site-nav.scrolled .navbar-brand img {
    height: 56px;
  }

  .site-footer {
    padding-top: 3.25rem;
  }

  .site-footer .footer-logo {
    max-height: 64px;
  }

  .area-chip {
    font-size: 0.8rem;
    padding: 0.45rem 0.8rem;
    margin: 0.22rem;
  }

  .testimonial-card {
    padding: 1.5rem 1.25rem;
  }

  .whatsapp-float {
    left: 0.85rem;
    right: auto;
    bottom: calc(4.65rem + env(safe-area-inset-bottom, 0px));
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
  }

  .back-to-top {
    width: 38px;
    height: 38px;
    right: 0.85rem;
    left: auto;
    bottom: calc(4.65rem + env(safe-area-inset-bottom, 0px));
  }

  .mobile-sticky-bar .sticky-btn {
    font-size: 0.8rem;
    min-height: 46px;
    gap: 0.35rem;
    padding: 0.5rem 0.45rem;
  }

  .mobile-sticky-bar .sticky-btn span {
    display: inline;
  }
}

/* Very small phones */
@media (max-width: 379.98px) {
  .hero-brand {
    font-size: 2rem;
  }

  .pest-tab {
    flex: 1 1 auto;
    justify-content: center;
  }
}

