/* =========================================================
   MOBILE OVERRIDES (Anti-Highlight & Fast Tap)
========================================================= */
*, *::before, *::after {
    -webkit-tap-highlight-color: transparent !important;
}

html {
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
}

/* ========================================================= */

.mobile-topbar,
.mobile-overlay {
    display: none;
}


/* =========================
TABLET
========================= */
@media (max-width: 992px) {
    .main-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .container {
        max-width: 760px;
        margin: 20px auto 40px;
        padding: 0 12px;
    }

    .left-column {
        gap: 10px;
    }
}

/* =========================
MOBILE
========================= */
@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
    }

    body {
        background: #f2f3f5;
    }

    /* NAVBAR */
    nav {
        height: 58px !important;
        padding: 0 10px !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .logo-nav img {
        height: 46px !important;
        width: auto;
        object-fit: contain;
    }

    .desktop-konsultasi {
        display: none !important;
    }

    .menu-toggle {
        width: 34px;
        height: 34px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        border: none;
        background: transparent;
        padding: 0;
        cursor: pointer;
        border-radius: 8px;
        flex-shrink: 0;
    }

    .menu-toggle span {
        display: block;
        width: 16px;
        height: 2px;
        background: #0F3D3A;
        margin: 0 auto;
        border-radius: 2px;
    }

    .nav-links {
        display: none !important;
        position: absolute;
        top: 58px;
        right: 10px;
        left: 10px;
        background: #ffffff;
        flex-direction: column;
        gap: 0;
        padding: 10px 14px;
        border-radius: 14px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
        z-index: 999;
    }

    .nav-links.show {
        display: flex !important;
    }

    .nav-links li {
        list-style: none;
        border-bottom: 1px solid #edf0f2;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 11px 0;
        font-size: 13px;
    }

    .nav-konsultasi-mobile {
        display: block;
        margin-top: 4px;
    }

    .nav-konsultasi-mobile a {
        display: block;
        text-align: center;
        background: #0F3D3A;
        color: #fff !important;
        border-radius: 999px;
        padding: 10px 14px !important;
        font-weight: 600;
        margin-top: 8px;
    }

    /* HEADER */
    .booking-header {
        margin-top: 58px !important;
        padding: 18px 14px 16px;
        background: #eef0f2;
    }

    .booking-header .btn-back {
        display: none;
    }

    .title-section {
        margin-bottom: 0;
    }

    .title-section h1,
    .booking-header h1 {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 4px;
    }

    .title-section p,
    .booking-header p {
        font-size: 11px;
        line-height: 1.4;
    }

    /* CONTAINER */
    .container {
        margin: 12px auto 24px !important;
        padding: 0 8px !important;
    }

    .main-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .left-column {
        gap: 10px;
    }

    /* CARD */
    .card {
        border-radius: 16px;
        border: 1px solid #e6ebea;
        box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
    }

    .option-card,
    .hours-card {
        padding: 14px;
    }

    .form-card {
        padding: 14px;
        border-radius: 16px;
        box-shadow: 0 8px 18px rgba(15, 75, 67, 0.08);
    }

    .flex-item {
        gap: 10px;
        align-items: flex-start;
    }

    .icon-square {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        margin-top: 1px;
    }

    .link-svg-icon {
        width: 16px;
        height: 16px;
    }

    .bg-green img {
        width: 16px;
        height: 16px;
    }

    .badge-recommended {
        font-size: 9px;
        padding: 5px 9px;
        border-radius: 0 16px 0 10px;
    }

    .card-copy h3 {
        font-size: 13px;
        line-height: 1.35;
        margin-bottom: 4px;
    }

    .card-copy p {
        font-size: 11px;
        line-height: 1.45;
        margin-bottom: 10px;
    }

    .btn-option {
        min-height: 34px;
        padding: 8px 14px;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 600;
    }

    /* JAM OPERASIONAL */
    .hours-card h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .jam-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 4px 0 8px;
        font-size: 11px;
    }

    .jam-bold {
        font-size: 11px;
        white-space: nowrap;
    }

    .alert-warning {
        font-size: 10px;
        line-height: 1.35;
        padding: 8px 10px;
        border-radius: 8px;
    }

    /* FORM */
    .form-title {
        font-size: 14px;
        gap: 8px;
        margin-bottom: 14px;
    }

    .form-title-badge {
        width: 28px;
        height: 28px;
    }

    .form-title-badge img {
        width: 16px;
        height: 16px;
    }

    .input-group {
        margin-bottom: 10px;
    }

    .input-group label {
        font-size: 11px;
        margin-bottom: 5px;
    }

    .field-icon {
        left: 10px;
        font-size: 11px;
    }

    .input-wrap input {
        padding-left: 32px !important;
    }

    .input-group input,
    .input-group select,
    .input-group textarea {
        font-size: 11px;
        border-radius: 8px;
        padding: 9px 10px;
    }

    .input-group input,
    .input-group select {
        height: 34px;
    }

    .input-group textarea {
        min-height: 64px;
    }

    .row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .guest-section {
        padding: 12px;
        margin-bottom: 12px;
        border-radius: 10px;
    }

    .guest-section-title {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .btn-submit-wa {
        padding: 11px 14px;
        font-size: 12px;
        border-radius: 999px;
        gap: 6px;
        margin-top: 6px;
    }

    .btn-submit-icon {
        width: 16px;
        height: 16px;
    }

    .form-note {
        font-size: 9px;
        margin-top: 8px;
    }

    /* FOOTER */
    .sect-footer-wrapper {
        margin-top: 18px;
    }

    .footer-gold-layer {
        padding: 40px 12px 60px;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 14px;
    }

.logo-box {
    width: 200px;
    height: 200px;
    padding: 8px;
    border-radius: 40px;
    margin-bottom: 12px;
}

.logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.2);
}

    .brand-desc {
        font-size: 10px;
        line-height: 1.45;
        margin-bottom: 10px;
    }

    .social-buttons-box {
        gap: 8px;
    }

    .soc-btn {
        width: 28px;
        height: 28px;
        border-radius: 8px;
    }

    .soc-btn img {
        width: 14px;
        height: 14px;
    }

    .col-title {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .footer-list li {
        margin-bottom: 6px;
    }

    .footer-list a {
        font-size: 10px;
        gap: 8px;
    }

    .footer-list img {
        width: 14px;
        height: 14px;
    }

    .contact-list li {
        gap: 8px;
        font-size: 10px;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .contact-icon {
        width: 14px;
        height: 14px;
        margin-top: 1px;
    }

    .footer-copyright {
        margin-top: 10px;
        padding-top: 10px;
    }

    .footer-copyright p {
        font-size: 9px;
        text-align: center;
        line-height: 1.4;
    }
}


.menu-toggle,
.nav-konsultasi-mobile {
    display: none;
}

@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
    }

    body {
        background: #f2f3f5;
    }

    nav {
        height: 58px !important;
        padding: 0 10px !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #ffffff;
        z-index: 9999;
        box-shadow: 0 4px 14px #00000014;
    }

    .logo-nav {
        display: flex;
        align-items: center;
    }

    .logo-nav img {
        height: 150px !important;
        width: auto;
        object-fit: contain;
        display: block;
    }

    .desktop-konsultasi {
        display: none !important;
    }

    .menu-toggle {
        width: 34px;
        height: 34px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        border: none;
        background: transparent;
        padding: 0;
        cursor: pointer;
        border-radius: 8px;
        flex-shrink: 0;
    }

    .menu-toggle span {
        display: block;
        width: 16px;
        height: 2px;
        background: #0F3D3A;
        margin: 0 auto;
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.22s ease, background 0.2s ease;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav-links {
        position: absolute;
        top: 58px;
        left: 1px;
        right: 1px;
        background: #ffffff;
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 10px 14px 14px;
        border-radius: 14px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
        z-index: 999;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px) scale(0.98);
        transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
    }

    .nav-links.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .nav-links li {
        list-style: none;
        border-bottom: 1px solid #edf0f2;
        opacity: 0;
        transform: translateY(-4px);
      
    }

    .nav-links.show li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.show li:nth-child(1) 
    .nav-links.show li:nth-child(2)
    .nav-links.show li:nth-child(3) 
    .nav-links.show li:nth-child(4)
    .nav-links.show li:nth-child(5) 
    .nav-links.show li:nth-child(6) 
    .nav-links.show li:nth-child(7) 
    .nav-links.show li:nth-child(8) 
    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 11px 0;
        font-size: 13px;
        text-decoration: none;
        color: #0F3D3A;
    }

    .nav-konsultasi-mobile {
        display: block;
        margin-top: 4px;
        border-bottom: none !important;
    }

    .nav-konsultasi-mobile a {
        display: block !important;
        text-align: center !important;
        background: #0F3D3A !important;
        color: #fff !important;
        border-radius: 999px !important;
        padding: 10px 14px !important;
        font-weight: 600 !important;
        margin-top: 8px !important;
        font-size: 13px !important;
        line-height: 1.2;
        text-decoration: none !important;
        box-shadow: none !important;
    }

    .hero-perawatan,
    .hero-layanan,
    .judul-layanan,
    header {
        margin-top: 58px;
    }
}

@media (max-width: 768px) {
    .sect-footer-wrapper {
        position: relative;
        background: #0F3D3A !important;
        padding-top: 6px !important;
    }

    .sect-footer-wrapper::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 6px;
        background: #0F3D3A;
        z-index: 2;
    }
}

@media (max-width: 768px) {
    .logo-nav {
        margin-left: -33px !important;
    }
}


/* =========================
   IPAD / TABLET - NAVBAR
   tetap model desktop
   ========================= */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  nav {
    height: 68px !important;
    padding: 0 20px !important;
    gap: 14px !important;
    justify-content: space-between !important;
  }

  .logo-nav {
    margin-left: 0 !important;
    flex: 0 0 auto !important;
  }

  .logo-nav img {
    height: 118px !important;
    width: auto !important;
  }

  .menu-toggle,
  .nav-konsultasi-mobile {
    display: none !important;
  }

  .desktop-konsultasi {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 16px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    gap: 6px !important;
  }

  .nav-links {
    position: static !important;
    inset: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    flex: 1 1 auto !important;
    margin: 0 8px !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .nav-links li {
    width: auto !important;
    border-bottom: none !important;
    opacity: 1 !important;
    transform: none !important;
    list-style: none !important;
  }

  .nav-links li a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }
}

/* OVERRIDE FOOTER MOBILE HALAMAN LAYANAN
   taruh paling bawah file CSS halaman layanan */
@media (max-width: 768px) {
  .sect-footer-wrapper .footer-gold-layer {
    background: #C9A24D !important;
  }

  .sect-footer-wrapper .col-title,
  .sect-footer-wrapper .brand-desc,
  .sect-footer-wrapper .footer-list li,
  .sect-footer-wrapper .footer-list li a,
  .sect-footer-wrapper .contact-list li span,
  .sect-footer-wrapper .footer-copyright p,
  .sect-footer-wrapper .footer-copyright a,
  .sect-footer-wrapper .shop-list li a,
  .sect-footer-wrapper .brand-col p {
    color: #0F3D3A !important;
  }

  .sect-footer-wrapper .col-title {
    font-weight: 700 !important;
  }

  .sect-footer-wrapper .footer-list li a,
  .sect-footer-wrapper .shop-list li a,
  .sect-footer-wrapper .contact-list li span {
    font-weight: 500 !important;
    opacity: 1 !important;
  }

  .sect-footer-wrapper .footer-list li a:hover,
  .sect-footer-wrapper .shop-list li a:hover,
  .sect-footer-wrapper .footer-copyright a:hover {
    color: #0F3D3A!important;
  }
}