html{ font-size: 25px; }

/* =========================================================
   Young In Beauty — Premium Medical (Light + Pink Accent)
   CLEAN SINGLE FILE (NO DUPLICATE / NO :has / NO CHECKBOX MENU)
   Mobile: 55% slide menu + page visible on the right
   ========================================================= */

/* -------------------------
   0) Reset + Base
------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; }
body { overflow-x: hidden; }

:root{
  --pink: #ff4d8d;
  --pink2:#ff7cab;
  --pinkSoft:#fff1f6;

  --ink:#111;
  --text:#222;
  --muted:#666;

  --line:#eee;
  --card:#fff;

  --shadow: 0 18px 55px rgba(0,0,0,.10);
  --shadowSoft: 0 12px 35px rgba(0,0,0,.08);

  --radius: 20px;
}

body{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

h1, h2, h3, h4{
  margin: 0 0 12px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1{ font-size: clamp(28px, 3.2vw, 46px); font-weight: 800; }
h2{ font-size: clamp(22px, 2.4vw, 34px); font-weight: 800; }
h3{ font-size: clamp(16px, 1.4vw, 20px); font-weight: 800; }
h4{ font-size: 15px; font-weight: 800; }

p{ margin: 0 0 14px; color: var(--muted); }
strong{ color: var(--ink); }

.container{
  width: 1200px;
  max-width: 92%;
  margin: 0 auto;
}

/* section spacing */
section{ padding: 110px 0; }
@media (max-width: 768px){
  section{ padding: 70px 0; }
}

/* Push content under fixed header */
main{ padding-top: 80px; }

/* -------------------------
   1) Header + Nav (Desktop)
------------------------- */
.header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
}

.header-inner{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo{ height: 42px; width:auto; }
.logo-link{ display:flex; align-items:center; gap:10px; text-decoration:none; }

/* Desktop nav uses .nav class (keep simple) */
.nav{
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav > a,
.dropdown > a{
  text-decoration: none;
  font-weight: 700;
  color: #222;
  font-size: 14.5px;
  padding: 10px 8px;
  border-radius: 12px;
}

.nav > a:hover,
.dropdown > a:hover{
  background: rgba(255,77,141,.08);
}

.wa-btn{
  text-decoration: none;
  font-weight: 800;
  color: #fff;
  background: #16a34a; /* WhatsApp green */
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(22,163,74,.20);
  white-space: nowrap;
}

/* Dropdown */
.dropdown{ position: relative; }

.dropdown-menu{
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid #f1f1f1;
  border-radius: 16px;
  padding: 10px 0;
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
  display: none;
  z-index: 1001;
}

.dropdown-menu a{
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  text-decoration: none;
  color: #222;
  font-weight: 650;
}

.dropdown-menu a:hover{
  background: rgba(255,77,141,.10);
}

.dropdown:hover .dropdown-menu{ display: block; }

/* Hamburger button (NEW system) */
.hamburger-btn{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  align-items: center;
  justify-content: center;
}

/* -------------------------
   2) Mobile Slide Menu (55% visible)
   Requires:
   - button#menuToggle.hamburger-btn
   - nav#mobileMenu.mobile-menu
   - div#mobileOverlay.mobile-overlay
------------------------- */
.mobile-menu,
.mobile-overlay { display: none; }

@media (max-width: 768px){
  /* Hide desktop nav, show hamburger */
  .nav{ display:none; }
  .hamburger-btn{
    display: inline-flex;
  }

  .mobile-menu{
    display:flex;
    position: fixed;
    top: 0;
    left: -60%;
    width: 55%;
    height: 100vh;
    background: #ffffff;
    padding: 26px 18px;
    z-index: 9999;
    transition: left 0.35s ease;
    box-shadow: 15px 0 60px rgba(0,0,0,0.12);
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
  }

  .mobile-menu.active{ left: 0; }

  .mobile-menu a{
    text-decoration: none;
    font-weight: 800;
    padding: 12px 14px;
    border-radius: 14px;
    background: #f8fafc;
    color: #111;
    border: 1px solid #eef2f7;
  }

  .mobile-menu a:active{
    transform: translateY(1px);
  }

  /* Right side visible area (click to close) */
  .mobile-overlay{
    position: fixed;
    top: 0;
    left: 55%;
    width: 45%;
    height: 100vh;
    background: linear-gradient(to left, rgba(0,0,0,0.06), transparent);
    z-index: 9998;
    display: none;
  }

  .mobile-overlay.active{ display:block; }
}

/* -------------------------
   3) Buttons / Utilities
------------------------- */
.btn-primary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--pink2));
  padding: 14px 26px;
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(255,77,141,.26);
  transition: transform .15s ease, filter .15s ease;
}
.btn-primary:hover{ filter: brightness(.98); transform: translateY(-1px); }

.btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight:900;
  padding: 12px 18px;
  border-radius: 999px;
  border: 2px solid rgba(255,77,141,.55);
  color: var(--pink);
  background: #fff;
}

.inline-link{
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* -------------------------
   4) Hero
------------------------- */
.hero{
  position: relative;
  overflow: hidden;
  padding: 0;
  border-bottom: 1px solid #f6f6f6;
  min-height: clamp(520px, 62vh, 780px);
}

.hero .hero-bg,
.hero > img.hero-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay{
  position: absolute;
  left: 6%;
  top: 56%;
  transform: translateY(-50%);
  width: min(620px, 88%);
  background: rgba(255,255,255,.92);
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: var(--shadow);
}

.hero-actions{ margin-top: 16px; display:flex; gap:12px; flex-wrap: wrap; }
.hero-content p{ font-size: 16px; }
.hero-content .lead{ font-size: 16px; }

.hero.hero-sub .hero-overlay{
  background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.62));
  color:#fff;
  box-shadow: none;
}
.hero.hero-sub .hero-overlay h1{ color:#fff; }
.hero.hero-sub .hero-overlay p{ color: rgba(255,255,255,.92); }

@media (max-width: 768px){
  .hero{ min-height: clamp(520px, 72vh, 680px); }
  .hero-overlay{
    left: 50%;
    top: 66%;
    transform: translate(-50%, -50%);
    width: 92%;
    padding: 26px;
    border-radius: 18px;
  }
  .hero-content p, .hero-content .lead{ font-size: 14px; }
}

/* -------------------------
   5) Sections / Cards / Grids
------------------------- */
.section-title{
  text-align: center;
  margin-bottom: 52px;
}

.usp{ background:#fff; }
.usp-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.usp-card{
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadowSoft);
  border: 1px solid #f3f3f3;
}
.usp-card img{
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.usp-card h3{
  padding: 16px 18px 0;
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}
.usp-card p{
  padding: 10px 18px 18px;
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

/* All-in-one + Jakarta grid */
.allinone-grid,
.jakarta-grid{
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 56px;
  align-items: center;
}
.jakarta-grid{ grid-template-columns: 50% 50%; }

.allinone img,
.jakarta img{
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadowSoft);
  object-fit: cover;
}

.allinone-text ul{
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.allinone-text li{
  font-weight: 900;
  color: #111;
  font-size: 18px;
  display:flex;
  gap:10px;
  align-items:flex-start;
}

.btn-map{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration:none;
  font-weight: 900;
}

/* BIAYA highlight cards */
.informasi-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.informasi-card{
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f2f2f2;
  box-shadow: var(--shadowSoft);
  transition: transform .18s ease;
}
.informasi-card:hover{ transform: translateY(-4px); }
.informasi-card img{
  width:100%;
  height: 200px;
  object-fit: cover;
}
.informasi-content{ padding: 16px 16px 18px; }
.price-text{
  font-size: 30px;
  font-weight: 900;
  color: var(--pink);
  margin-top: 6px;
}

/* HUB sections */
.hub-intro{ background:#fff; }
.hub-block{ background:#fff; }
.hub-block-soft{ background:#fafafa; }

.hub-narrow{
  max-width: 980px;
  margin: 0 auto;
}

.hub-list{
  margin: 16px 0;
  padding-left: 18px;
  color: #444;
  line-height: 1.8;
}
.hub-list li{ margin: 6px 0; }

/* category cards */
.category-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.category-card{
  background:#fff;
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid #f2f2f2;
  box-shadow: var(--shadowSoft);
  transition: transform .18s ease;
  padding: 0;
}
.category-card:hover{ transform: translateY(-4px); }
.category-content{ padding: 16px 16px 18px; }
.category-card h3{ font-size: 20px; font-weight: 900; }
.category-card p{ font-size: 16px; line-height: 1.6; color:#666; }

.category-link{
  display:inline-block;
  margin-top: 8px;
  font-weight: 1000;
  text-decoration:none;
}
.category-link:hover{ text-decoration: underline; text-underline-offset: 3px; }

.info-card{
  background:#fff;
  border: 1px solid #f0f0f0;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadowSoft);
  margin-bottom: 18px;
}

/* CTA Center */
.cta-center{
  text-align:center;
  padding: 44px 22px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,77,141,.95), rgba(255,124,171,.92));
  color:#fff;
  margin-top: 22px;
}
.cta-center h2{ color:#fff; margin-bottom: 12px; }
.cta-center p{ color: rgba(255,255,255,.95); margin-bottom: 18px; }
.cta-center .btn-primary{
  background:#fff;
  color: var(--pink);
  box-shadow: 0 16px 34px rgba(0,0,0,.16);
}

/* FAQ */
.hub-faq{ background:#fafafa; }
.faq-list{ display:flex; flex-direction:column; gap: 12px; margin-top: 18px; }
.faq-item{
  background:#fff;
  border: 1px solid #f0f0f0;
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,.05);
}
.faq-item summary{
  cursor:pointer;
  font-weight: 1000;
  list-style:none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-body{ padding-top: 10px; color:#555; }

/* Diagrams */
.diagram-wrapper{ margin-top: 22px; text-align:center; }
.diagram-wrapper img{
  width: 100%;
  max-width: 820px;
  border-radius: 20px;
  box-shadow: var(--shadowSoft);
  object-fit: contain;
}

/* -------------------------
   6) Footer
------------------------- */
.site-footer{
  background: linear-gradient(180deg, #fff3f7 0%, #ffe6f0 100%);
  border-top: 1px solid rgba(255,77,141,.18);
  color: #2a2a2a;
  padding: 70px 0 34px;
}

.footer-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.site-footer h3,
.site-footer h4{
  color:#111;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 800;
}

.footer-col p{
  font-size: 13.5px;
  line-height: 1.6;
  color: #555;
  margin: 0 0 10px;
}

.footer-wa,
.footer-map{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top: 10px;
  text-decoration:none;
  font-weight: 1000;
  border-radius: 999px;
  padding: 10px 14px;
}

.footer-wa{
  background: linear-gradient(135deg, var(--pink), var(--pink2));
  color:#fff;
  box-shadow: 0 14px 30px rgba(255,77,141,.20);
}

.footer-map{
  background: #fff;
  border: 1px solid rgba(255,77,141,.25);
  color: #222;
}

.footer-bottom{
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.08);
  font-size: 12px;
  color: #777;
}

/* -------------------------
   7) Responsive
------------------------- */
@media (max-width: 1024px){
  .usp-grid{ grid-template-columns: repeat(2, 1fr); }
  .allinone-grid, .jakarta-grid{ grid-template-columns: 1fr; }
  .informasi-grid{ grid-template-columns: repeat(2, 1fr); }
  .category-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px){
  .usp-grid{ grid-template-columns: 1fr; }
  .informasi-grid{ grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .informasi-card img{ height: 150px; }
  .price-text{ font-size: 22px; }
  .category-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr; }
}

/* Prevent weird overflow from long words */
p, a, li { word-break: break-word; }