/* =============================================
   KACHLAN GROUP — MOBILE RESPONSIVE FIX v4
   File: kachlan-mobile-fix.css
   Covers: index, products, services, about, contact
   Add AFTER your existing style.css:
   <link rel="stylesheet" href="css/kachlan-mobile-fix.css?v=4">
   ============================================= */


/* ===========================================
   ALL SCREENS — BRAND LOGO SIZES (products page)
   Palmora, Cinza, Oriental Nights logos
   =========================================== */

/* Desktop: make logos bigger and more visible */
.brand-logo-slot {
  height: 90px !important;
  max-width: 100% !important;
  justify-content: flex-start !important;
}
.brand-main-logo {
  width: auto !important;
  height: 70px !important;
  max-height: 70px !important;
  max-width: 260px !important;
  object-fit: contain !important;
  object-position: left center !important;
}
.brand-identity-img {
  width: 100% !important;
  max-width: 100% !important;
  height: 240px !important;
  object-fit: cover !important;
}


/* ===========================================
   768px — ALL PAGES: SHARED COMPONENTS
   =========================================== */
@media (max-width: 768px) {

  /* ---- NAVIGATION (all pages) ---- */
  .nav-links {
    display: none !important;
  }
  .nav-cta .btn,
  .nav-cta a.btn {
    display: none !important;
  }
  .nav-cta {
    display: flex !important;
    align-items: center !important;
    background: transparent !important;
    padding: 0 !important;
    gap: 0 !important;
  }
  .hamburger {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: transparent;
    border: none;
    z-index: 1001;
  }
  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }
  .nav-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 16px !important;
    height: 64px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .mobile-menu {
    top: 64px !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    padding: 24px 20px 32px !important;
    box-sizing: border-box !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
  }
  .mobile-menu a {
    display: block !important;
    padding: 14px 0 !important;
    font-size: 17px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    text-decoration: none !important;
  }
  .mobile-menu .btn-primary {
    margin-top: 20px !important;
    display: block !important;
    text-align: center !important;
    padding: 14px 20px !important;
    border-radius: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ---- PAGE HERO (products, services, about, contact) ---- */
  .page-hero {
    padding: 100px 20px 90px !important;
    text-align: center !important;
  }
  .page-hero::before {
    content: none !important;
  }
  .page-hero-title {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  .page-hero-sub {
    font-size: 15px !important;
    max-width: 100% !important;
  }
  .breadcrumb {
    justify-content: center !important;
    flex-wrap: wrap !important;
    font-size: 13px !important;
  }

  /* ---- GENERAL SECTIONS ---- */
  .section,
  .section-dark,
  .section-light {
    padding: 56px 0 !important;
  }
  .container {
    padding: 0 20px !important;
    box-sizing: border-box !important;
  }
  .section-title-block {
    text-align: center !important;
    padding: 0 4px !important;
  }
  .section-title-block h2 {
    font-size: 1.6rem !important;
    line-height: 1.25 !important;
  }
  .divider-line {
    margin: 16px auto !important;
  }

  /* ---- FOOTER ---- */
  footer {
    padding: 48px 0 24px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 0 20px !important;
  }
  .footer-col-title {
    margin-bottom: 12px !important;
  }
  .footer-links {
    gap: 8px !important;
  }
  .footer-social {
    justify-content: flex-start !important;
    gap: 10px !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    gap: 16px !important;
    text-align: center !important;
    padding: 20px !important;
  }
  .footer-bottom-social {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
  }
  .footer-bottom-text {
    font-size: 12px !important;
  }

  /* ---- CTA BAND ---- */
  .cta-band {
    padding: 48px 20px !important;
  }
  .cta-title {
    font-size: 1.6rem !important;
    line-height: 1.2 !important;
  }
  .cta-sub {
    font-size: 15px !important;
  }
  .cta-buttons {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: center !important;
  }
  .cta-buttons .btn,
  .cta-buttons a {
    width: 100% !important;
    max-width: 320px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .cta-contact-row {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: center !important;
  }


  /* ===========================================
     INDEX PAGE
     =========================================== */

  .hero-content {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 28px 20px 40px !important;
    max-width: 100% !important;
  }
  .hero-left,
  .hero-visual {
    width: 100% !important;
    max-width: 100% !important;
  }
  .hero-visual {
    display: flex !important;
    justify-content: center !important;
  }
  .hero-visual-box,
  .hero-card-main {
    width: 100% !important;
    max-width: 100% !important;
  }
  .hero-title {
    font-size: 2rem !important;
    line-height: 1.15 !important;
    width: 100% !important;
  }
  .hero-subtitle {
    font-size: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .hero-tag {
    font-size: 11px !important;
    padding: 6px 12px !important;
  }
  .hero-ctas {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }
  .hero-ctas .btn,
  .hero-ctas a {
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
  }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    margin-top: 8px !important;
  }
  .hero-stat-number {
    font-size: 1.4rem !important;
  }
  .hero-stat-label {
    font-size: 11px !important;
  }
  .trust-bar-inner {
    flex-wrap: wrap !important;
    gap: 16px !important;
    justify-content: center !important;
    padding: 0 16px !important;
  }
  .trust-item {
    font-size: 13px !important;
  }
  .trust-divider {
    display: none !important;
  }
  .pl-banner-section {
    padding: 48px 0 !important;
  }
  .pl-banner-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    text-align: center !important;
    padding: 0 20px !important;
  }
  .pl-banner-center {
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid rgba(90, 125, 154, 0.25) !important;
    border-bottom: 1px solid rgba(90, 125, 154, 0.25) !important;
    padding: 20px 0 !important;
  }
  .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .product-card {
    width: 100% !important;
    max-width: 100% !important;
  }
  .on-grid {
    flex-direction: column !important;
    gap: 32px !important;
    flex-wrap: wrap !important;
  }
  .on-visual {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }
  .on-content {
    width: 100% !important;
    max-width: 100% !important;
  }
  .on-heading {
    font-size: 1.8rem !important;
  }
  .on-features {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .on-cta-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
  .on-cta-row .btn,
  .on-cta-row a {
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .on-product-frame {
    max-width: 280px !important;
    margin: 0 auto !important;
  }
  .on-essentials-frame {
    min-height: auto !important;
    padding: 24px !important;
  }
  .on-essentials-img {
    max-width: 220px !important;
    margin: 0 auto !important;
    display: block !important;
  }
  .on-essentials-grid {
    flex-direction: column !important;
    gap: 32px !important;
  }
  .on-essentials-visual {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }
  .on-essentials-content {
    width: 100% !important;
    max-width: 100% !important;
  }
  .mfg-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .mfg-card {
    text-align: center !important;
    padding: 24px 20px !important;
  }
  .mfg-number {
    font-size: 2.2rem !important;
  }
  .grid-3 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .why-card {
    padding: 24px 20px !important;
  }
  .steps-track {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .step-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 16px !important;
    text-align: left !important;
  }
  .step-circle {
    flex-shrink: 0 !important;
  }


  /* ===========================================
     PRODUCTS PAGE
     =========================================== */

  /* Brand logos: centered and properly sized on tablet/mobile */
  .brand-header {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .brand-identity {
    width: 100% !important;
    text-align: center !important;
  }
  .brand-logo-slot {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 80px !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto 1rem auto !important;
  }
  .brand-main-logo {
    height: 60px !important;
    max-height: 60px !important;
    width: auto !important;
    max-width: 240px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 auto !important;
    display: block !important;
  }
  .brand-identity-img {
    width: 100% !important;
    max-width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
  }
  .brand-meta {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .brand-cta {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  .brand-cta .btn,
  .brand-cta a {
    width: 100% !important;
    max-width: 280px !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }
  .brand-products {
    width: 100% !important;
  }
  .bp-card {
    grid-template-columns: 3px 1fr !important;
    width: 100% !important;
  }
  .bp-card-inner {
    grid-template-columns: 56px 1fr !important;
    gap: 12px !important;
    padding: 16px 12px !important;
  }
  .bp-card-img {
    width: 56px !important;
    height: 56px !important;
  }
  .bp-card-name {
    font-size: 14px !important;
  }
  .bp-card-benefits {
    display: none !important;
  }
  .bp-card-tags {
    flex-wrap: wrap !important;
    gap: 4px !important;
  }
  .brand-packaging {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .brand-divider {
    margin: 32px 20px !important;
  }
  .brand-section {
    padding: 56px 0 !important;
  }


  /* ===========================================
     SERVICES PAGE
     =========================================== */

  .service-card {
    padding: 24px 20px !important;
  }
  .service-for {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .hosp-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .hosp-intro {
    width: 100% !important;
    text-align: center !important;
  }
  .hosp-eyebrow {
    justify-content: center !important;
  }
  .hosp-cta {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  .hosp-cta .btn,
  .hosp-cta a {
    width: 100% !important;
    max-width: 280px !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }
  .hosp-panels {
    width: 100% !important;
    gap: 12px !important;
  }
  .hosp-panel {
    padding: 20px !important;
  }
  .pl-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  .pl-item {
    text-align: center !important;
  }
  .pl-item-img {
    width: 100% !important;
    height: auto !important;
  }
  .pl-intro {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .pl-intro-text {
    width: 100% !important;
  }
  .pl-bullets {
    justify-content: center !important;
  }
  .hosp-section {
    padding: 56px 0 !important;
  }
  .pl-gallery-section {
    padding: 56px 0 !important;
  }


  /* ===========================================
     ABOUT PAGE
     =========================================== */

  .about-who-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .about-who-content {
    width: 100% !important;
  }
  .about-logo-wrap {
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 20px !important;
  }
  .about-logo-img {
    max-width: 160px !important;
  }
  .about-snapshot-visual {
    width: 100% !important;
  }
  .about-metric-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  .about-visual-card {
    width: 100% !important;
    max-width: 100% !important;
  }
  .about-metric-val {
    font-size: 1.8rem !important;
  }
  .vision-mission-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .vm-card {
    padding: 24px 20px !important;
  }
  .presence-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .presence-img-wrap {
    width: 100% !important;
    order: -1 !important;
  }
  .presence-img {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
  }
  .presence-content {
    width: 100% !important;
    text-align: center !important;
  }
  .presence-eyebrow {
    justify-content: center !important;
  }
  .presence-tags {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .presence-section {
    padding: 56px 0 !important;
  }


  /* ===========================================
     CONTACT PAGE
     =========================================== */

  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .contact-info-block {
    width: 100% !important;
  }
  .contact-info-label {
    font-size: 12px !important;
  }
  .contact-info-value {
    font-size: 15px !important;
  }
  .whatsapp-cta-box {
    padding: 20px 16px !important;
    text-align: center !important;
  }
  .whatsapp-cta-box .btn {
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
  }
  .contact-form-card {
    padding: 24px 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .form-group {
    width: 100% !important;
  }
  .form-input,
  .form-select,
  .form-textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
  }
}


/* ===========================================
   480px — SMALL PHONES
   =========================================== */
@media (max-width: 480px) {

  /* Arch fix */
  .page-hero::before {
    content: none !important;
  }

  /* Brand logos on small phones */
  .brand-logo-slot {
    height: 70px !important;
  }
  .brand-main-logo {
    height: 50px !important;
    max-height: 50px !important;
    max-width: 200px !important;
  }
  .brand-identity-img {
    height: 160px !important;
  }

  .hero-title,
  .page-hero-title {
    font-size: 1.75rem !important;
  }
  .section-title-block h2 {
    font-size: 1.35rem !important;
  }
  .cta-title {
    font-size: 1.35rem !important;
  }
  .on-heading {
    font-size: 1.5rem !important;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .about-metric-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .section,
  .section-dark,
  .section-light {
    padding: 40px 0 !important;
  }
  .container {
    padding: 0 16px !important;
  }
  .cta-band {
    padding: 40px 16px !important;
  }
  .why-card,
  .mfg-card,
  .vm-card,
  .service-card {
    padding: 20px 16px !important;
  }
  .bp-card-inner {
    grid-template-columns: 44px 1fr !important;
    gap: 10px !important;
    padding: 12px 10px !important;
  }
  .bp-card-img {
    width: 44px !important;
    height: 44px !important;
  }
  .pl-grid {
    gap: 10px !important;
  }
  .cta-buttons .btn,
  .cta-buttons a {
    max-width: 100% !important;
  }
  .footer-grid {
    padding: 0 16px !important;
  }
}
.on-product-frame {
  max-height: 420px !important;
  overflow: hidden !important;
  height: 420px !important;
}

.on-product-real-img {
  width: 100% !important;
  height: 420px !important;
  max-height: 420px !important;
  object-fit: cover !important;
  object-position: center top !important;
}
