/* ══════════════════════════════════════════════════════
   media.css  –  BK Painters – ALL Responsive Breakpoints
   Covers: Global, Home Page, About Page
   Breakpoints: 1366 → 1100 → 980 → 947 → 900 → 768 → 600 → 480
══════════════════════════════════════════════════════ */

/* ────────────────────────────────────────
   1366px — Wide laptop / small desktop
──────────────────────────────────────── */
@media (max-width: 1366px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* ────────────────────────────────────────
   1100px — Tablet landscape / small laptop
──────────────────────────────────────── */
@media (max-width: 1100px) {
  .svc-arc-intro__img {
    margin-top: 0 !important;
  }
  .container {
    padding-left: 30px;
    padding-right: 30px;
  }

  /* ── HOME: Hero ── */
  .hero__painter-img {
    right: -5px;
    height: 510px;
  }
  .hero__review-badge {
    right: 26px;
  }

  /* ── HOME: Services grid → 2 col ── */
  .services-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ── HOME: Complete services → 2 col ── */
  .complete-services-section__grid {
    grid-template-columns: 1fr 1fr;
  }
  .complete-service-card:nth-child(2n) {
    border-right: none;
  }
  .complete-service-card:nth-child(3) {
    border-right: 1px solid var(--border);
  }
  .complete-service-card:nth-child(4) {
    border-bottom: 1px solid var(--border);
  }
  .complete-service-card:nth-child(5),
  .complete-service-card:nth-child(6) {
    border-bottom: none;
  }

  /* ── HOME: Complete services header → 1 col ── */
  .complete-services-section__header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* ── HOME: About features → 2 col ── */
  .about-section__features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ── HOME: CTA ── */
  .cta-section__inner {
    gap: 20px;
    text-align: center;
    flex-direction: column;
  }
  .cta-section__actions {
    justify-content: center;
  }

  /* ── ABOUT: Intro grid → 1 col ── */
  .about-intro__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-intro__img-bottom {
    margin-top: 30px;
  }

  /* ── ABOUT: Mission grid → 1 col ── */
  .about-mission__grid {
    grid-template-columns: 1fr;
  }

  /* ── ABOUT: Quality grid → 1 col ── */
  .about-quality__grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about-quality__img-stack {
    padding-bottom: 40px;
  }
  .about-quality__img--bottom {
    right: 0;
  }

  /* ── ABOUT: Services row → 1 col ── */
  .about-services__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* ── ABOUT: Values grid → 1 col ── */
  .about-values__grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about-values__images {
    height: 300px;
  }

  /* ── ABOUT: Founder grid → 1 col ── */
  .about-founder__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-founder__photo {
    max-height: 360px;
  }
}

/* ────────────────────────────────────────
   980px — Tablet portrait
──────────────────────────────────────── */
@media (max-width: 980px) {
  /* ── FOOTER ── */
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
  .site-footer__col:first-child {
    grid-column: 1 / -1;
  }

  /* ── ABOUT: Stats bar wrap ── */
  .about-stats__bar {
    justify-content: center;
  }
  .about-stats__item {
    min-width: 120px;
  }

  /* ── ABOUT: Booking timeline → 2 col ── */
  .about-booking__timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-booking__timeline::before {
    display: none;
  }
}

/* ────────────────────────────────────────
   947px — Nav breakpoint
──────────────────────────────────────── */
@media (max-width: 947px) {
  .navbar__links,
  .navbar__cta-btn {
    display: none;
  }
  .navbar__hamburger {
    display: flex;
  }
  .mobile-nav__links .btn {
    display: block;
    text-align: center;
    margin-top: 14px;
  }
}

/* ────────────────────────────────────────
   900px — Tablet / large phone
──────────────────────────────────────── */
@media (max-width: 900px) {
  /* ── HOME: Testimonials → 1 col ── */
  .testimonials-section__grid {
    grid-template-columns: 1fr;
  }

  /* ── HOME: Blog → 2 col ── */
  .blog-section__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* ── HOME: Contact → 1 col ── */
  .contact-section__grid {
    grid-template-columns: 1fr;
  }

  /* ── HOME: CTA force vertical ── */
  .cta-section__inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-section__actions {
    justify-content: center;
  }

  /* ── ABOUT: Services row → 1 col ── */
  .about-services__grid {
    grid-template-columns: 1fr;
  }

  /* ── ABOUT: Booking contact bar ── */
  .about-booking__contact-bar {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .about-booking__contact-item {
    justify-content: center;
  }
}

/* ────────────────────────────────────────
   768px — Mobile landscape / large phone
──────────────────────────────────────── */
@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* ── GLOBAL: Section heading ── */
  .section-heading {
    font-size: 36px;
  }

  /* ── HOME: Hero ── */
  .hero__inner {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }
  .hero__watermark {
    display: none;
  }
  .hero__painter-img {
    position: relative;
    right: auto;
    bottom: auto;
    height: 280px;
    width: 100%;
    order: 2;
    margin-top: 16px;
  }
  .hero__copy {
    padding-top: 18px;
    max-width: 100%;
    order: 3;
    padding-bottom: 28px;
  }
  .hero__blob--a,
  .hero__blob--b {
    display: none;
  }
  .hero__review-badge {
    position: relative;
    top: auto;
    right: auto;
    order: 1;
    margin: 16px auto 0;
  }

  /* ── HOME: Stats bar → 2 col ── */
  .stats-section__bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-section__item:nth-child(2)::after,
  .stats-section__item:nth-child(3)::after {
    display: none;
  }
  .stats-section__item:nth-child(1),
  .stats-section__item:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  /* ── HOME: About features → 1 col ── */
  .about-section__features-grid {
    grid-template-columns: 1fr;
  }

  /* ── HOME: Services → 1 col ── */
  .services-section__grid {
    grid-template-columns: 1fr;
  }

  /* ── HOME: Complete services → 1 col ── */
  .complete-services-section__grid {
    grid-template-columns: 1fr;
  }
  .complete-service-card {
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
  }
  .complete-service-card:last-child {
    border-bottom: none !important;
  }

  /* ── HOME: Blog → 1 col ── */
  .blog-section__grid {
    grid-template-columns: 1fr;
  }

  /* ── FOOTER → 1 col ── */
  .site-footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .site-footer__col:first-child {
    grid-column: auto;
  }
  .site-footer__logo-box {
    margin: 0 auto 20px;
  }
  .site-footer__contact-item {
    justify-content: center;
  }
  .site-footer__social-icons {
    justify-content: center;
  }

  /* ── LOGO SLIDER → narrow ── */
  .logo-slider-section__slide {
    width: 150px;
  }
  .logo-slider-section__track {
    width: calc(150px * 12);
  }
  @keyframes logo-scroll {
    100% {
      transform: translateX(calc(-150px * 6));
    }
  }

  /* ── ABOUT: Intro → 1 col ── */
  .about-intro__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* ── ABOUT: Mission cards → 1 col ── */
  .about-mission__card {
    padding: 30px 24px;
  }
  .about-mission__card-head {
    flex-direction: column;
    gap: 14px;
  }

  /* ── ABOUT: Quality images simplified ── */
  .about-quality__img-stack {
    padding-bottom: 0;
  }
  .about-quality__img--bottom {
    position: static;
    width: 100%;
    height: 200px;
    margin-top: 16px;
    border: none;
    box-shadow: none;
  }

  /* ── ABOUT: Values images → stacked ── */
  .about-values__images {
    position: static;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .about-values__img--main,
  .about-values__img--overlay {
    position: static;
    width: 100%;
    height: 220px;
    border: none;
    box-shadow: none;
  }

  /* ── ABOUT: Booking timeline → 1 col ── */
  .about-booking__timeline {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  /* ── ABOUT: Founder gallery → 2 col ── */
  .about-founder__gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-founder__gallery-item img {
    height: 130px;
  }

  /* ── PAGE HERO ── */
  .page-hero {
    min-height: 200px;
  }
  .page-hero__content {
    padding: 40px 0;
  }
}

/* ────────────────────────────────────────
   600px — Small phone
──────────────────────────────────────── */
@media (max-width: 600px) {
  /* ── ABOUT: Stats bar → 2 col wrap ── */
  .about-stats__bar {
    gap: 24px;
  }
  .about-stats__item {
    min-width: calc(50% - 12px);
    flex: none;
  }

  /* ── ABOUT: Mission pills wrap ── */
  .about-mission__pill {
    padding: 8px 18px;
    font-size: 13px;
  }

  /* ── ABOUT: Booking timeline → 1 col ── */
  .about-booking__timeline {
    grid-template-columns: 1fr;
  }

  /* ── ABOUT: Founder gallery → 1 col ── */
  .about-founder__gallery {
    grid-template-columns: 1fr;
  }

  /* ── HOME/ABOUT: Services header para ── */
  .services-section__header p {
    width: 100%;
  }

  /* ── HOME: CTA actions → column ── */
  .cta-section__actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ────────────────────────────────────────
   480px — Smallest phones
──────────────────────────────────────── */
@media (max-width: 480px) {
  .section-heading {
    font-size: 28px;
  }
  .section-paragraph {
    font-size: 16px;
  }
  .section-subheading {
    font-size: 14px;
    letter-spacing: 0.08em;
  }

  /* ── ABOUT: Stats → single column ── */
  .about-stats__item {
    min-width: 100%;
  }

  /* ── HOME: Testimonial card padding ── */
  .testimonial-card {
    padding: 24px 20px;
  }

  /* ── ABOUT: Mission card ── */
  .about-mission__card {
    padding: 24px 18px;
  }

  /* ── ABOUT: Values step ── */
  .about-values__step-title {
    font-size: 16px;
  }

  /* ── Booking contact bar ── */
  .about-booking__contact-bar {
    padding: 20px;
  }
  .about-booking__contact-item {
    font-size: 14px;
  }

  /* ── FOOTER ── */
  .site-footer__logo-box img {
    width: 200px;
  }
}
