/* --- VARIABLES --- */
:root {
    --gold: #b38e44;
    --dark: #072e27;
    --white: #ffffff;
    --grey-light: #f4f7f6;
    --dark-green: #072e27;
    --gold-hover: #967536;
    --text-grey: #555;
    --bg-light: #f9fafb;
}

/* --- RESET DASAR --- */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* --- BODY --- */
body{
    font-family:'Poppins',sans-serif;
    overflow-x:hidden;
    color:var(--text-grey);
    line-height:1.6;
    background:var(--bg-light);
    padding-top:70px;
}

.container{
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
}

/* --- NAVBAR --- */

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 7%;
    background:var(--white);
    position:fixed;
    top:0;
    width:100%;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
    height:70px;
}

.logo-nav img{
    height:180px;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:20px;
}

.nav-links a{
    text-decoration:none;
    color:#333;
    font-size:14px;
    font-weight:500;
    transition:0.3s;
}

.nav-links a:hover{
    color:var(--gold);
}

/* tombol konsultasi */

.btn-konsultasi{
    background:#0F3D3A;
    color:#fff;
    padding:12px 28px;
    border-radius:50px;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    display:flex;
    align-items:center;
    gap:8px;
    transition:0.3s;
}

.btn-konsultasi:hover{
    background:#0F3D3A;
    transform:translateY(-2px);
}

.star-icon{
    color:var(--gold);
    font-size:16px;
}

/* --- PROMO SECTION --- */
.promo-section {
    padding: 60px 0;
}

.promo-section .container {
    position: relative;
}

.btn-back {
    position: absolute;
    left: 5%;
    top: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark-green);
    font-weight: 600;
    border: 1px solid #ddd;
    padding: 8px 20px;
    border-radius: 30px;
    transition: 0.3s;
    z-index: 2;
}

.btn-back:hover {
    background-color: var(--dark-green);
    color: #fff;
}

/* Header */
.promo-header {
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
    padding-top: 60px; 
}

.promo-main-title {
    font-family: 'Madimi One', serif;
    font-size: 42px;
    font-weight: 100;
    color: var(--dark-green);
    margin-bottom: 15px;
    text-align: center;
}

.promo-subtitle {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

/* Promo Grid */
.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.promo-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background: #fff;
}

.promo-card img {
    width: 100%;
    height: auto;
    display: block;
}

.promo-card:hover {
    transform: translateY(-10px);
}

/* --- FOOTER SECTION --- */
.sect-footer-wrapper {
    background-color: #072e27;
    padding-top: 20px;
    margin-top: 80px;
}

.footer-gold-layer {
    background-color: #cca457;
    border-radius: 50px 50px 0 0;
    padding: 70px 6% 30px;
    color: #fff;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.3fr;
    gap: 40px;
    margin-bottom: 30px;
    align-items: start;
}

/* Logo Box */
.logo-box {
    background: #fff;
    width: 220px;
    height: 220px;
    padding: 15px;
    border-radius: 40px;
    border: 3px solid #0F3D3A;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.logo-box img {
    width: 100%;
    height: 100%;
    display: block;
    transform: scale(1.8);
    object-fit: contain;
    transition: transform 0.4s ease;
}

.logo-box:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
    border-color: #cca457;
}

.logo-box:hover img {
    transform: scale(2.1);
}

.brand-desc {
    color: #072e27;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 500;
}

/* Social Buttons */
.social-buttons-box {
    display: flex;
    gap: 15px;
}

.soc-btn {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.soc-btn:hover {
    background-color: #fff;
    transform: translateY(-3px);
}

.soc-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Column Titles */
.col-title {
    font-size: 20px;
    color: #072e27;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Footer Lists */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.footer-list a:hover {
    color: #072e27;
    padding-left: 5px;
}

/* Khusus Ikon Shopee & TikTok Shop */
.footer-list img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* Contact List */
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Copyright */
.footer-copyright {
    border-top: 1px solid rgba(7, 46, 39, 0.2);
    padding-top: 25px;
    margin-top: 20px;
    position: relative;
    z-index: 10;
    clear: both;
    text-align: center;
    width: 100%;
    padding-bottom: 20px;
}

.footer-copyright p {
    color: #072e27;
    font-size: 14px;
    opacity: 0.8;
}

.admin-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}

.admin-link:hover {
    opacity: 0.8;
    cursor: pointer;
}

/* --- RESPONSIVE TABLET --- */
@media (max-width: 992px) {
    nav {
        padding: 10px 5%;
        height: auto;
        flex-direction: column;
        gap: 10px;
    }

    .logo-nav img {
        height: 100px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .btn-konsultasi {
        padding: 10px 20px;
        font-size: 13px;
    }

    body {
        padding-top: 170px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}


/* =========================================================
   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;
}

/* ... (kode lama kamu di bawahnya tetap biarkan saja) ... */

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .btn-back {
        position: static;
        margin-bottom: 30px;
    }

    .promo-header {
        padding-top: 0;
    }

    .promo-main-title {
        font-size: 32px;
    }

    .promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .promo-main-title {
        font-size: 32px;
    }

    .promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .btn-back {
        float: none;
        margin-bottom: 30px;
    }
}

@media (max-width: 600px) {
    .nav-links a {
        font-size: 13px;
    }

    .btn-konsultasi {
        font-size: 12px;
        padding: 10px 16px;
    }

    body {
        padding-top: 190px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-gold-layer {
        padding: 50px 5% 30px;
    }

    .logo-box {
        width: 180px;
        height: 180px;
    }
}


/* =========================
   MOBILE STYLE
   ========================= */

@media screen and (max-width: 768px){

  body{
    padding-top: 58px !important;
  }

  body.menu-open{
    overflow: hidden;
  }

  nav{
    height: 58px !important;
    padding: 0 10px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 9999;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  }

  .logo-nav{
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
  }

  .logo-nav img{
    display: block;
    height: 150px !important;
    width: auto;
    object-fit: contain;
    margin: 0;
    padding: 0;
  }

  .desktop-konsultasi,
  .btn-konsultasi{
    display: none !important;
  }

  .menu-toggle{
    width: 34px;
    height: 34px;
    display: flex !important;
    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.18s ease, opacity 0.18s 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;
    margin: 0;
    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);
   
  }

  .nav-links.show{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-links li{
    list-style: none;
    width: 100%;
    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 li a{
    display: block;
    width: 100%;
    padding: 11px 0;
    font-size: 13px;
    font-weight: 500;
    color: #0F172A;
    text-decoration: none;
  }

  .nav-konsultasi-mobile{
    display: block;
    margin-top: 4px;
    border-bottom: none !important;
  }

  .nav-konsultasi-mobile a{
    display: block !important;
    text-align: center !important;
    background: #0F4B43 !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;
  }
}


/* =========================================
   FOOTER MOBILE - FIX ORANGE BAND
   ========================================= */
@media screen and (max-width: 768px){

  /* wrapper luar */
  .sect-footer,
  .site-footer,
  .sect-footer-wrapper,
  footer{
    position: relative;
    padding: 0 !important;
    margin-top: 18px !important;
    background: #0F3D3A !important;
    overflow: hidden;
  }

  /* garis hijau atas */
  .sect-footer::before,
  .site-footer::before,
  .sect-footer-wrapper::before,
  footer::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: #0F3D3A;
    z-index: 2;
  }

  /* layer emas luar */
  .footer-gold-layer{
    position: relative;
    z-index: 3;
    margin-top: 6px !important;
    padding: 0 !important;
    background: #c9a84c !important;
    border-top-left-radius: 34px;
    border-top-right-radius: 34px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: none !important;
  }

  /* panel isi footer */
  .footer-container,
  .container-footer,
  .footer-inner{
    position: relative;
    z-index: 4;
    margin-top: 0 !important;
    padding: 40px 12px 5px !important; /* bawah dibikin mepet */
    background: #C9A24D !important;
    border-top-left-radius: 34px;
    border-top-right-radius: 34px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: none !important;
  }

  /* layout */
  .footer-grid,
  .footer-content,
  .footer-columns{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  /* logo */
  .footer-logo-box,
  .footer-brand-card,
  .footer-logo-wrap,
  .logo-box{
    width: 200px;
    height: 200px;
    padding: 8px;
    border-radius: 40px;
    margin-bottom: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer-logo-box img,
  .footer-brand-card img,
  .footer-logo-wrap img,
  .logo-box img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transform: scale(1.2);
  }

  /* desc */
  .footer-brand p,
  .footer-about p,
  .footer-desc,
  .brand-desc{
    font-size: 10px;
    line-height: 1.45;
    margin-bottom: 10px;
    color: #0F3D3A;
  }

  /* social */
  .footer-socials,
  .footer-social-icons,
  .social-footer,
  .social-buttons-box{
    display: flex;
    gap: 8px;
  }

  .footer-socials a,
  .footer-social-icons a,
  .social-footer a,
  .soc-btn{
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
  }

  .footer-socials a img,
  .footer-social-icons a img,
  .social-footer a img,
  .soc-btn img{
    width: 14px;
    height: 14px;
    object-fit: contain;
    display: block;
  }

  /* title */
  .col-title,
  .footer-title,
  .footer-heading{
    font-size: 13px;
    margin-bottom: 8px;
    color: #0F3D3A;
  }

  /* list */
  .footer-list li,
  .footer-links li{
    margin-bottom: 6px;
  }

  .footer-list a,
  .footer-links a{
    font-size: 10px;
    gap: 8px;
    color: #0F3D3A;
    text-decoration: none;
  }

  .footer-list img,
  .footer-links img{
    width: 14px;
    height: 14px;
    object-fit: contain;
  }

  /* contact */
  .contact-list li,
  .footer-contact li{
    display: grid !important;
    grid-template-columns: 14px 1fr;
    gap: 8px;
    align-items: start;
    font-size: 10px;
    margin-bottom: 8px;
    line-height: 1.4;
  }

  .contact-list .contact-icon,
  .footer-contact .contact-icon{
    width: 14px;
    height: 14px;
    margin-top: 1px;
    object-fit: contain;
    display: block;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  /* copyright */
  .footer-bottom,
  .footer-copyright,
  .copyright-footer{
    margin-top: 8px !important;
    padding-top: 8px !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    border-top: 1px solid rgba(15,47,35,0.18);
    text-align: center;
  }

  .footer-bottom p,
  .footer-copyright p,
  .copyright-footer p,
  .footer-bottom a,
  .footer-copyright a,
  .copyright-footer a{
    font-size: 9px;
    line-height: 1.4;
    color: #0F3D3A;
    text-decoration: none;
    margin: 0 !important;
  }
}

@media screen and (max-width: 768px){
  .promo-section .btn-back{
    display: none !important;
  }
}

.menu-toggle,
.nav-konsultasi-mobile{
  display: none;
}

@media screen and (max-width: 768px){
  .menu-toggle{
    display: flex !important;
  }

  .nav-konsultasi-mobile{
    display: block !important;
  }

  .desktop-konsultasi{
    display: none !important;
  }
}

@media (max-width: 768px) {
    .logo-nav {
        margin-left: -33px !important;
    }
}


/* =========================
   FIX HALAMAN PROMO
   biar header, tombol back, dan grid kebaca
   ========================= */

/* desktop kecil / tablet */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  body {
    overflow-x: hidden !important;
  }

  .promo-section {
    padding: 50px 0 70px !important;
  }

  .promo-section .container {
    position: relative !important;
    max-width: 1000px !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
  }

  /* back button jangan nabrak judul */
  .btn-back {
    position: static !important;
    display: inline-flex !important;
    margin-bottom: 24px !important;
    left: auto !important;
    top: auto !important;
    z-index: auto !important;
    padding: 10px 18px !important;
    font-size: 14px !important;
    border-radius: 999px !important;
  }

  .promo-header {
    padding-top: 0 !important;
    margin-bottom: 34px !important;
  }

  .promo-main-title {
    font-size: 38px !important;
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
    word-break: break-word !important;
  }

  .promo-subtitle {
    max-width: 720px !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
    padding: 0 8px !important;
  }

  .promo-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 22px !important;
    margin-top: 28px !important;
  }

  .promo-card {
    border-radius: 20px !important;
    overflow: hidden !important;
  }

  .promo-card img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

/* mobile */
@media screen and (max-width: 768px) {
  .promo-section {
    padding: 28px 0 50px !important;
  }

  .promo-section .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* kalau mau tombol balik tetap tampil dan nggak nabrak */
  .btn-back {
    position: static !important;
    display: inline-flex !important;
    margin-bottom: 18px !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    border-radius: 999px !important;
  }

  .promo-header {
    padding-top: 0 !important;
    margin-bottom: 24px !important;
  }

  .promo-main-title {
    font-size: 28px !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
    padding: 0 4px !important;
    word-break: break-word !important;
  }

  .promo-subtitle {
    max-width: 100% !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    padding: 0 2px !important;
  }

  .promo-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-top: 22px !important;
  }

  .promo-card {
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  .promo-card img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
} 


/* =========================
   NAVBAR TABLET FIX
   biar 1 baris & kebaca
   ========================= */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  body {
    padding-top: 74px !important;
  }

  nav {
    height: 74px !important;
    padding: 0 18px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
  }

  .logo-nav {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  .logo-nav img {
    height: 118px !important;
    width: auto !important;
    display: block !important;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    gap: 14px !important;
    margin: 0 10px !important;
    padding: 0 !important;
    list-style: none !important;
    flex-wrap: nowrap !important;
  }

  .nav-links li {
    flex: 0 0 auto !important;
    list-style: none !important;
  }

  .nav-links a {
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .btn-konsultasi,
  .desktop-konsultasi {
    flex: 0 0 auto !important;
    padding: 10px 16px !important;
    font-size: 12px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    gap: 6px !important;
  }

  .star-icon {
    font-size: 13px !important;
  }
}