/* ========== Tablet ========== */
@media (max-width: 1199px) {
  .brand-card {
    flex-basis: 150px;
    height: 150px;
  }

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

@media (max-width: 1024px) {
  #heroSlider .carousel-item {
    padding: 36px 0 72px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .brands-wrap {
    padding: 0 44px;
  }

  .page-banner {
    padding: 56px 0 40px;
  }

  .inner-page {
    padding: 48px 0 64px;
  }
}

/* ========== Tablet / small laptop ========== */
@media (max-width: 991px) {
  .navbar-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .site-header,
  .navbar,
  .nav-inner {
    overflow: visible;
  }

  body {
    background-image: none !important;
  }

  /* Avoid fixed-bg blur on mobile; page bg layer still shows through */
  .site-header,
  .site-header.is-scrolled {
    background-color: transparent !important;
    background-image: none !important;
    background-attachment: scroll !important;
  }

  :root {
    --header-h: 72px;
  }

  .nav-inner {
    min-height: 72px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .navbar-brand img,
  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .brand-text {
    font-size: 12px;
    max-width: 90px;
  }

  .hero-copy {
    text-align: center;
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-img,
  .hero-img-product {
    margin: 0 auto;
    max-width: 420px;
  }

  .btn-shop {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-nav.prev {
    left: 10px;
  }

  .hero-nav.next {
    right: 10px;
  }

  .dark-band {
    padding: 64px 0 36px;
  }

  .section-head h2.script-heading {
    font-size: clamp(32px, 6vw, 48px);
  }

  .brands-wrap {
    padding: 0 48px;
  }

  .cta-split {
    padding: 48px 0 56px;
  }

  .cta-col {
    padding: 32px 20px;
  }

  .cta-icon {
    font-size: 44px;
  }

  .cta-col h2 {
    font-size: 20px;
  }

  .footer-home .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-home .footer-about {
    max-width: 100%;
  }

  .cat-card-media {
    height: 180px;
  }

  .page-banner h1.script-heading {
    font-size: clamp(32px, 7vw, 48px);
  }
}

/* ========== Mobile ========== */
@media (max-width: 767px) {
  body {
    background-image: none !important;
  }

  .site-header,
  .site-header.is-scrolled {
    background-color: transparent !important;
    background-image: none !important;
  }

  .container-xl {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-inner {
    min-height: 64px;
  }

  .navbar-brand img,
  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-text {
    font-size: 11px;
    max-width: 78px;
    line-height: 1.15;
  }

  #heroSlider .carousel-item {
    padding: 28px 0 68px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.05;
  }

  .hero-script {
    font-size: 40px;
  }

  .hero-sub {
    font-size: 15px;
    padding: 0 8px;
  }

  .hero-desc {
    font-size: 14px;
    max-width: 100%;
    padding: 0 4px;
  }

  .hero-img,
  .hero-img-product {
    max-width: 280px;
  }

  .hero-nav {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .hero-nav.prev {
    left: 4px;
  }

  .hero-nav.next {
    right: 4px;
  }

  .hero-dots {
    bottom: 16px;
  }

  .dark-band {
    padding: 48px 0 28px;
  }

  .section-lead {
    font-size: 14px;
    padding: 0 8px;
    margin-bottom: 28px;
  }

  .brands-wrap {
    padding: 0 40px;
  }

  .carousel-nav {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .brand-card {
    flex-basis: 132px;
    height: 148px;
    padding: 12px;
  }

  .brand-card img {
    height: 78px;
  }

  .happiness {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .feature-card {
    padding: 28px 18px 24px;
  }

  .feature-icon-circle {
    width: 68px;
    height: 68px;
    font-size: 26px;
  }

  .cta-col-right {
    border-left: 0;
    border-top: 2px solid var(--purple);
  }

  .cta-col {
    padding: 36px 16px;
  }

  .btn-apply {
    padding: 12px 36px;
    width: 100%;
    max-width: 260px;
  }

  .footer-home {
    padding-top: 48px;
  }

  .footer-home .footer-links-block {
    display: none;
  }

  .footer-home .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-home h4 {
    margin-bottom: 14px;
  }

  .footer-brand {
    justify-content: flex-start;
  }

  .site-footer {
    padding: 48px 0 20px;
  }

  .whatsapp-fab {
    bottom: 78px;
    right: 12px;
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .back-to-top {
    bottom: 18px;
    right: 12px;
    width: 42px;
    height: 42px;
  }

  .page-banner {
    padding: 40px 0 32px;
  }

  .page-banner p {
    font-size: 14px;
    padding: 0 8px;
  }

  .inner-page {
    padding: 36px 0 48px;
  }

  .cat-filters {
    gap: 8px;
    margin-bottom: 28px !important;
  }

  .cat-filter {
    padding: 7px 14px;
    font-size: 12px;
  }

  .cat-card-media {
    height: 160px;
    padding: 12px;
  }

  .cat-card-media img {
    max-height: 130px;
  }

  .cat-card-body {
    padding: 14px;
  }

  .cat-card-body h3 {
    font-size: 16px;
  }

  .job-card,
  .info-card,
  .form-card {
    padding: 18px;
  }

  .map-frame {
    height: 180px;
  }

  .mobile-drawer,
  #mobileMenu {
    width: min(320px, 88vw) !important;
  }

  .mobile-nav a {
    padding: 14px 0;
    font-size: 15px;
  }
}

/* ========== Small phones ========== */
@media (max-width: 575px) {
  .hero h1 {
    font-size: 30px;
  }

  .hero-script {
    font-size: 36px;
  }

  .hero-sub {
    font-size: 14px;
  }

  .hero-img,
  .hero-img-product {
    max-width: 240px;
  }

  #heroSlider .carousel-item {
    padding: 20px 0 60px;
  }

  .brands-wrap {
    padding: 0 36px;
  }

  .brand-card {
    flex-basis: 120px;
    height: 136px;
  }

  .section-head h2.script-heading,
  .page-banner h1.script-heading {
    font-size: 30px;
    line-height: 1.2;
    padding: 0 6px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .cta-col h2 {
    font-size: 18px;
  }

  .cta-icon {
    font-size: 40px;
    margin-bottom: 16px;
  }

  .footer-name {
    font-size: 14px;
  }

  .footer-logo {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 414px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero-script {
    font-size: 34px;
  }

  .brand-text {
    max-width: 70px;
    font-size: 10px;
  }
}

@media (max-width: 375px) {
  .hero h1 {
    font-size: 26px;
  }

  .hero-script {
    font-size: 32px;
  }

  .brand-card {
    flex-basis: 112px;
    height: 128px;
  }

  .btn-shop {
    padding: 10px 20px;
    font-size: 14px;
  }

  .cat-filter {
    width: 100%;
  }
}

@media (max-width: 320px) {
  .brand-text {
    display: none;
  }

  .hero-img,
  .hero-img-product {
    max-width: 200px;
  }

  .brands-wrap {
    padding: 0 32px;
  }
}
