/* ============================================================
   BEEHIVE BRAND LAB — INDEX PAGE RESPONSIVE STYLES
   Breakpoints:
     1200px — Large tablets / small laptops
     1024px — Tablets landscape
     768px  — Tablets portrait / large phones
     480px  — Mobile phones
     360px  — Small mobile phones
   ============================================================ */

/* ============================================================
   1200px — LARGE TABLETS / SMALL LAPTOPS
   ============================================================ */
@media (max-width: 1200px) {
  .hero-content h1 { font-size: clamp(44px, 6vw, 76px); }
  .stats-flat { padding: 70px 0; }
  .portfo-section { height: auto; min-height: 350px; }
  .portfo-section .right { width: 55%; }
  .belief-cards-grid { gap: 20px; }
  .process-left { flex: 0 0 38%; max-width: 38%; }
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .blog-grid { gap: 20px; }
  .footer-box { gap: 50px; }
  .footer-col-2 { gap: 40px; }
}

/* ============================================================
   1024px — TABLETS LANDSCAPE
   ============================================================ */
@media (max-width: 1024px) {
  /* Header */
  .header { padding: 22px 0; }
  .header.scrolled { padding: 14px 0; }

  /* Hero */
  .hero-section { padding-top: 110px; min-height: 90vh; }
  .hero-content { max-width: 600px; }
  .hero-content h1 { font-size: clamp(42px, 6vw, 68px); }

  /* Hero Slider */
  .hero-slider { --card-w: clamp(200px, 30vw, 320px); --card-h: clamp(120px, 16vw, 200px); --row-scale: 1.42; }

  /* Stats */
  .stats-flat { padding: 60px 0; }
  .stats-flat .stats-inner { gap: 24px; }
  .stats-flat .stat-number { font-size: clamp(30px, 4vw, 46px); }

  /* Enter The Hive */
  #hive .two-col-box { flex-direction: column; gap: 0; }
  #hive .two-col-left { max-width: 100%; padding-bottom: 40px; }

  /* Belief Cards */
  .belief-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }

  /* Portfolio Section */
  .portfo-section { height: auto; min-height: 340px; }
  .portfo-section .right { width: 65%; }

  /* Process */
  .process-section { padding: 70px 0; }
  .process-box { flex-direction: column; gap: 40px; }
  .process-left { flex: none; max-width: 100%; position: static; }
  .process-cards { gap: 20px; }

  /* Services */
  .services-section { padding: 70px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 60px; }

  /* Testimonials */
  .testimonials-section { padding: 70px 0; }
  .testimonials-box { flex-direction: column; gap: 40px; }
  .testimonials-left, .testimonials-right { max-width: 100%; flex: none; }

  /* Blog */
  .blog-section { padding: 70px 0; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }

  /* FAQ */
  .faq-section { padding: 70px 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 0; }

  /* CTA */
  .cta-section { padding: 80px 0; }
  .cta-box { flex-direction: column; gap: 50px; }
  .cta-left { max-width: 100%; }

  /* Footer */
  .footer-box { flex-direction: column; gap: 40px; }
  .footer-col-1 { flex: none; max-width: 100%; }
  .footer-col-2 { gap: 30px; flex-wrap: wrap; }
}

/* ============================================================
   768px — TABLETS PORTRAIT / LARGE PHONES
   ============================================================ */
@media (max-width: 768px) {

  /* Global */
  .section-padding { padding: 60px 0; }
  .two-col-section { padding: 50px 0; }
  .container { width: 92%; }
  .section-title { font-size: clamp(26px, 6vw, 38px); }
  .btn-primary, .btn-outline { padding: 13px 28px; font-size: 12px; }

  /* Header */
  .header { padding: 18px 0; }
  .header .brand-mark { height: 40px; }
  .header.scrolled .brand-mark { height: 34px; }
  .header-social-bar { display: none; }

  /* Sidebar */
  .sidebar-content { width: 100%; max-width: 100%; padding: 30px 25px; }
  .sidebar-menu { margin-top: 60px; }
  .sidebar-menu li a { font-size: 24px; padding: 12px 0; }
  .sidebar-info { margin-top: 30px; }

  /* Hero */
  .hero-section { padding-top: 90px; min-height: auto; padding-bottom: 50px; }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-content h1 { font-size: clamp(36px, 9vw, 52px); margin-bottom: 18px; }
  .hero-content .hero-desc { font-size: 15px; max-width: 90%; }
  .hero-content .hero-btns { flex-direction: column; align-items: center; gap: 12px; }
  .hero-content .hero-btns a { width: 100%; max-width: 280px; justify-content: center; }
  .hero-dots { display: none; }

  /* Hero Slider */
  .hero-slider { --card-w: clamp(160px, 38vw, 260px); --card-h: clamp(100px, 22vw, 165px); --row-scale: 1.45; margin-top: 2.5rem; }

  /* Stats */
  .stats-flat { padding: 50px 0; }
  .stats-flat .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .stats-flat .stat-item:not(:last-child)::after { display: none; }
  .stats-flat .stat-number { font-size: clamp(28px, 7vw, 42px); }
  .stats-flat .stat-label { font-size: 11px; }

  /* Enter The Hive */
  #hive { min-height: auto; }
  #hive .container { padding-top: 50px; padding-bottom: 50px; }
  .two-col-box, .two-col-box.reverse { flex-direction: column; gap: 30px; }
  .two-col-left, .two-col-right { max-width: 100%; flex: none; }
  .two-col-left .section-desc { font-size: 14px; }
  .two-col-right .media-wrap { border-radius: 15px; }

  /* Belief Cards */
  .belief-cards-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
  .belief-card .card-image { height: 180px; }

  /* Portfolio overlay fix */
  .portfo-section { min-height: 300px; margin: 30px 0; }
  .portfo-bg-overlay { width: 100% !important; background: linear-gradient(to top, transparent 0%, #000 30%, #000 100%) !important; }
  .portfo-section .box { justify-content: center !important; }
  .portfo-section .right { width: 100% !important; text-align: center; }
  .section-title-80 { font-size: clamp(26px, 6vw, 42px); }

  /* Services */
  .services-section { padding: 55px 0; }
  .services-desc { font-size: 14px; margin-bottom: 40px; }
  .services-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 50px; }
  .service-card { padding: 30px 25px; }
  .service-image { height: 180px; margin-bottom: 20px; }
  .services-cta { padding-top: 20px; }
  .cta-title { font-size: 22px; }
  .cta-buttons { flex-direction: column; align-items: center; gap: 12px; }
  .cta-buttons a { width: 100%; max-width: 280px; text-align: center; justify-content: center; }

  /* Process */
  .process-section { padding: 55px 0; }
  .process-box { gap: 30px; }
  .process-left h2 { font-size: clamp(26px, 6vw, 38px); }
  .process-card { padding: 25px 20px; gap: 18px; }
  .process-card .card-icon { width: 50px; height: 50px; }
  .process-card .card-text h3 { font-size: 17px; }

  /* Testimonials */
  .testimonials-section { padding: 55px 0; }
  .testimonials-box { gap: 30px; }
  .testimonials-left .section-desc { font-size: 14px; }
  .testimonial-card { padding: 25px 20px; }
  .testimonial-card .quote-text { font-size: 14px; }

  /* Blog */
  .blog-section { padding: 55px 0; }
  .blog-header { margin-bottom: 30px; }
  .blog-grid { grid-template-columns: 1fr; gap: 25px; }
  .blog-card .blog-image { height: 200px; }

  /* Label Ticker */
  .label-ticker-item { font-size: 22px; }
  .label-ticker-track { gap: 50px; }

  /* FAQ */
  .faq-section { padding: 55px 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
  .faq-head p { font-size: 14px; }
  .faq-body-inner { padding: 0 0 20px 40px; }

  /* CTA Contact */
  .cta-section { padding: 60px 0; }
  .cta-box { gap: 40px; }
  .cta-left h2 { font-size: clamp(28px, 6vw, 42px); }
  .contact-form { gap: 18px; }

  /* Footer */
  .footer { padding-bottom: 30px; }
  .footer-ticker { margin-bottom: 35px; }
  .footer-ticker-item { font-size: 22px; }
  .footer-ticker-track { gap: 50px; }
  .footer-box { gap: 35px; }
  .footer-col-1 h2 { font-size: clamp(24px, 5vw, 34px); }
  .footer-col-2 { flex-direction: row; flex-wrap: wrap; gap: 25px; }
  .footer-links-col { flex: 0 0 calc(50% - 15px); }
  .footer-bottom { margin-top: 35px; flex-direction: column; gap: 12px; text-align: center; }
}

/* ============================================================
   480px — MOBILE PHONES
   ============================================================ */
@media (max-width: 480px) {
  /* Global */
  .container { width: 94%; }
  .section-padding { padding: 50px 0; }
  .two-col-section { padding: 40px 0; }
  .section-title { font-size: clamp(24px, 7vw, 34px); }
  .label-ticker-item { font-size: 18px; }

  /* Header */
  .header { padding: 15px 0; }
  .header .brand-mark { height: 36px; }
  .header-btn.btn-primary { display: none; }

  /* Sidebar */
  .sidebar-content { padding: 25px 20px; }
  .sidebar-menu li a { font-size: 20px; padding: 10px 0; }

  /* Hero */
  .hero-section { padding-top: 80px; padding-bottom: 40px; }
  .hero-content .hero-eyebrow { font-size: 10px; letter-spacing: 0.18em; }
  .hero-content h1 { font-size: clamp(32px, 10vw, 46px); margin-bottom: 15px; }
  .hero-content .hero-desc { font-size: 14px; max-width: 100%; margin-bottom: 28px; }
  .hero-content .hero-btns a { max-width: 100%; padding: 13px 20px; }

  /* Hero Slider */
  .hero-slider { --card-w: clamp(130px, 42vw, 210px); --card-h: clamp(85px, 26vw, 140px); --row-scale: 1.45; --row-gap: 12px; margin-top: 2rem; }

  /* Stats */
  .stats-flat { padding: 48px 0; }
  .stats-flat .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stats-flat .stat-number { font-size: clamp(26px, 8vw, 38px); }
  .stats-flat .stat-label { font-size: 10px; letter-spacing: 1px; }

  /* Enter the Hive */
  #hive .container { padding-top: 40px; padding-bottom: 40px; }

  /* Belief Cards */
  .belief-cards-grid { gap: 16px; margin-top: 25px; }
  .belief-card .card-image { height: 160px; }
  .belief-card .card-body { padding: 20px 18px 22px; }
  .belief-card .card-body h3 { font-size: 17px; }
  .belief-card .card-body h4 { font-size: 13px; }

  /* Portfolio */
  .portfo-section { min-height: 260px; margin: 20px 0; }

  /* Services */
  .services-section { padding: 50px 0; }
  .service-card { padding: 25px 20px; }
  .service-image { height: 160px; }
  .service-title { font-size: 18px; }
  .cta-buttons a { padding: 13px 20px; }

  /* Process */
  .process-section { padding: 50px 0; }
  .process-card { flex-direction: column; padding: 20px; gap: 15px; }
  .process-card .card-step { flex-direction: row; gap: 8px; align-items: center; }
  .process-card .card-step .step-num { font-size: 20px; }

  /* Testimonials */
  .testimonials-section { padding: 50px 0; }
  .testimonial-card { padding: 22px 18px; }
  .testimonial-card .quote-text { font-size: 13px; margin-bottom: 18px; }
  .testimonial-nav button { width: 36px; height: 36px; }

  /* Blog */
  .blog-section { padding: 50px 0; }
  .blog-card .blog-image { height: 175px; }
  .blog-card .blog-title { font-size: 15px; }

  /* FAQ */
  .faq-section { padding: 50px 0; }
  .faq-head .faq-num { width: 28px; height: 28px; font-size: 12px; }
  .faq-body-inner { padding: 0 0 18px 36px; }

  /* CTA */
  .cta-section { padding: 50px 0; }
  .cta-left h2 { font-size: clamp(24px, 7vw, 36px); }
  .social-card { padding: 22px 18px; }
  .contact-form input, .contact-form textarea { padding: 12px 14px; font-size: 13px; }
  .contact-form .submit-btn { width: 100%; justify-content: center; padding: 14px 24px; }

  /* Footer */
  .footer-ticker-item { font-size: 18px; }
  .footer-col-1 h2 { font-size: clamp(22px, 6vw, 30px); }
  .footer-col-1 .footer-tagline { font-size: 14px; }
  .footer-col-2 { flex-direction: column; gap: 22px; }
  .footer-links-col { flex: none; }
}

/* ============================================================
   360px — SMALL MOBILE PHONES
   ============================================================ */
@media (max-width: 360px) {
  .container { width: 96%; }
  .header .brand-mark { height: 32px; }
  .hero-content h1 { font-size: clamp(28px, 11vw, 40px); }
  .hero-content .hero-desc { font-size: 13px; }
  .hero-slider { --card-w: clamp(115px, 45vw, 185px); --card-h: clamp(75px, 28vw, 125px); --row-scale: 1.4; }
  .stats-flat .stats-inner { grid-template-columns: 1fr; gap: 20px; }
  .btn-primary, .btn-outline { padding: 12px 20px; font-size: 11px; }
  .process-card { padding: 18px 15px; }
  .testimonial-card { padding: 18px 14px; }
  .footer-ticker-item { font-size: 15px; }
}

/* ============================================================
   TOUCH DEVICE: Prevent hover states sticking on tap
   ============================================================ */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover { transform: none; }
  .blog-card:hover { transform: none; }
  .belief-card:hover { transform: none; }
  .btn-primary:hover, .btn-outline:hover { transform: none; }
  .slide-card:hover .slide-img { transform: none; }
  .slide-card:hover::after { opacity: 0; }
}
