/* ==========================================================================
   THAMRA PEST CONTROL SERVICES — RESPONSIVE STYLESHEET
   Tested Breakpoints: 1440px, 1200px, 1024px, 768px, 430px, 375px, 320px
   ========================================================================== */

/* ---------- Large Tablets & Small Laptops (<= 1180px) ---------- */
@media (max-width: 1180px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 28px;
  }
}

/* ---------- Tablets & Mobile Nav Breakpoint (<= 1024px) ---------- */
@media (max-width: 1024px) {
  :root {
    --header-height: 74px;
  }

  .nav-menu,
  .nav-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .topbar-tagline {
    display: none;
  }

  .hero-section {
    height: 620px;
    min-height: 560px;
  }

  .split-grid,
  .split-grid.reverse,
  .why-grid,
  .areas-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-visual-card {
    aspect-ratio: 16 / 10;
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline::before {
    display: none;
  }

  .services-grid,
  .services-grid-3,
  .pest-grid,
  .cards-3,
  .cards-4,
  .feedback-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 46px 38px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

/* ---------- Small Tablets & Large Phones (<= 768px) ---------- */
@media (max-width: 768px) {
  .container {
    padding-inline: 18px;
  }

  .section {
    padding-block: 64px;
  }

  .section-sm {
    padding-block: 48px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .topbar {
    font-size: 0.78rem;
  }

  .topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .topbar-info {
    justify-content: center;
    gap: 14px;
  }

  .topbar-item.hide-mobile {
    display: none;
  }

  .topbar-right {
    display: none;
  }

  .brand-logo img {
    height: 44px;
  }

  .hero-section {
    height: 580px;
    min-height: 540px;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(19, 34, 24, 0.72) 0%,
      rgba(19, 34, 24, 0.85) 100%
    );
  }

  .hero-content-wrap {
    padding-bottom: 72px;
  }

  .hero-controls {
    bottom: 64px;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .trust-strip-section {
    margin-top: -36px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .trust-card {
    padding: 20px;
  }

  .about-media {
    padding: 12px 0 38px 12px;
  }

  .floating-info-card {
    right: 12px;
    bottom: 0;
    padding: 14px 16px;
    max-width: 240px;
  }

  .services-grid,
  .services-grid-3,
  .pest-grid,
  .why-panels,
  .process-timeline,
  .showcase-pair,
  .cards-3,
  .cards-2,
  .cards-4,
  .feedback-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-block: 68px 60px;
  }

  .showcase-panel {
    padding: 18px;
  }

  .form-card {
    padding: 26px 20px;
  }

  .cta-box {
    padding: 36px 24px;
    border-radius: var(--radius-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .map-frame {
    height: 320px;
  }

  .floating-dock {
    right: 16px;
    bottom: 16px;
  }

  .floating-whatsapp {
    width: 54px;
    height: 54px;
  }

  .floating-whatsapp svg {
    width: 26px;
    height: 26px;
  }

  .floating-tooltip {
    display: none;
  }

  .scroll-top-fab {
    left: 16px;
    bottom: 18px;
    width: 42px;
    height: 42px;
  }
}

/* ---------- Compact Mobile Devices (<= 430px) ---------- */
@media (max-width: 430px) {
  .brand-logo img {
    height: 39px;
  }

  .hero-section {
    height: 560px;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-desc {
    font-size: 0.96rem;
    margin-bottom: 24px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 0.9rem;
  }

  .btn-group {
    width: 100%;
  }

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

  .hero-dot {
    width: 30px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.95rem;
  }

  .faq-answer-inner p {
    padding: 0 18px 18px;
  }
}

/* ---------- Ultra-Small Mobile Devices (320px) ---------- */
@media (max-width: 350px) {
  .container {
    padding-inline: 14px;
  }

  .brand-logo img {
    height: 34px;
  }

  .hero-title {
    font-size: 1.68rem;
  }
}
