
:root {
  --navy: #173f69;
  --navy-2: #0f3154;
  --teal: #7fc8ce;
  --teal-deep: #269ca8;
  --sky: #72c7eb;
  --ink: #17384a;
  --muted: #607481;
  --line: #dbe7eb;
  --soft: #f5fafb;
  --white: #ffffff;
  --danger: #c3262d;
  --shadow: 0 16px 45px rgba(16, 49, 84, .10);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23,63,105,.08);
}
.header-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo-link {
  flex: 0 0 auto;
  width: 360px;
  height: 112px;
  overflow: visible;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  text-decoration: none;
  font-weight: 650;
  font-size: 15px;
  color: #334b5a;
  padding: 10px 0;
  position: relative;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 3px;
  height: 2px; background: var(--teal-deep);
  transform: scaleX(0); transform-origin: center;
  transition: transform .18s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--navy); }
.menu-toggle {
  display: none;
  border: 0; background: var(--soft); color: var(--navy);
  width: 46px; height: 46px; border-radius: 12px;
  align-items: center; justify-content: center; cursor: pointer;
  font-size: 24px;
}

main { min-height: 60vh; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.page-hero {
  padding: 76px 0 48px;
  background:
    radial-gradient(circle at 88% 10%, rgba(127,200,206,.30), transparent 28%),
    linear-gradient(180deg, #f8fcfd, #fff);
  border-bottom: 1px solid #eef4f6;
}
.eyebrow {
  color: var(--teal-deep);
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 8px;
}
h1, h2, h3 { line-height: 1.16; margin-top: 0; color: var(--navy-2); }
h1 { font-size: clamp(38px, 6vw, 64px); letter-spacing: -.035em; margin-bottom: 18px; }
h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.025em; margin-bottom: 18px; }
h3 { font-size: 22px; margin-bottom: 10px; }
.lead { font-size: 19px; color: #4e6573; max-width: 820px; margin: 0; }
.section { padding: 72px 0; }
.section-soft { background: var(--soft); }
.section-tight { padding: 46px 0; }

.hero-home {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-home::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,42,71,.93) 0%, rgba(10,42,71,.76) 48%, rgba(10,42,71,.22) 100%),
              url('../images/sungai-besi-inside.jpeg') center/cover no-repeat;
}
.hero-home .container { position: relative; z-index: 1; }
.hero-home-content { max-width: 700px; color: #fff; padding: 88px 0; }
.hero-home h1 { color: #fff; font-size: clamp(44px, 7vw, 74px); }
.hero-home .lead { color: rgba(255,255,255,.88); font-size: 20px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(127,200,206,.16); border: 1px solid rgba(127,200,206,.45);
  color: #d5fbff; padding: 8px 13px; border-radius: 999px;
  font-weight: 750; font-size: 14px; margin-bottom: 18px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 12px;
  text-decoration: none; font-weight: 800; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #0c3550; box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.btn-secondary { background: #fff; color: var(--navy); }
.btn-outline { background: transparent; border-color: #bdd4dc; color: var(--navy); }
.btn-whatsapp { background: #effcf5; color: #137a46; border-color: #c8edd9; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.card-body { padding: 28px; }
.card p:last-child { margin-bottom: 0; }
.icon-chip {
  width: 48px; height: 48px; border-radius: 14px; background: #eaf8fa;
  color: var(--teal-deep); display: grid; place-items: center;
  font-size: 24px; margin-bottom: 18px;
}

.branch-preview-img { width: 100%; height: 250px; object-fit: cover; }
.branch-card .card-body { padding: 30px; }
.tag {
  display: inline-flex; border-radius: 999px; padding: 6px 11px;
  font-size: 12px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase;
  background: #e9f7f9; color: #237e8c; margin-bottom: 14px;
}
.tag-red { background: #fff0f0; color: #b6252d; }
.address { color: #48606e; font-size: 16px; }
.contact-line { margin-top: 14px; font-weight: 800; }

.media-card { padding: 18px; }
.media-card img { width: 100%; border-radius: 16px; }
.poster-wrap {
  max-width: 900px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 18px; box-shadow: var(--shadow);
}
.poster-wrap img { width: 100%; height: auto; border-radius: 14px; }
.poster-wrap.narrow { max-width: 760px; }
.poster-wrap.wide { max-width: 1150px; }

.service-toggle {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 24px;
}
.service-toggle button {
  border: 1px solid #c9dce2; background: #fff; color: var(--navy);
  padding: 11px 17px; border-radius: 999px; font-weight: 800; cursor: pointer;
}
.service-toggle button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.service-poster[hidden] { display: none !important; }

.gallery { display: grid; grid-template-columns: 1.35fr .65fr; gap: 12px; }
.gallery img { width: 100%; height: 330px; object-fit: cover; border-radius: 16px; }
.gallery img:nth-child(2) { height: 330px; }
.branch-detail { padding: 22px; }
.branch-detail + .branch-detail { margin-top: 30px; }
.branch-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 8px; }

.about-intro { max-width: 900px; }
.content-card { padding: 32px; }
.content-card ul, .content-card ol { padding-left: 22px; }
.content-card li + li { margin-top: 8px; }
.commitment-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
.commitment-item { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.commitment-item h3 { font-size: 18px; }

.notice {
  border-left: 4px solid var(--teal-deep); background: #f0fafb; padding: 18px 20px;
  border-radius: 0 14px 14px 0; color: #3e5968;
}

.site-footer { background: #0d2f50; color: #dceaf0; margin-top: 0; }
.footer-main { padding: 54px 0 30px; display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 34px; }
.footer-main h3 { color: #fff; font-size: 18px; }
.footer-main p { margin: 0 0 10px; }
.footer-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 20px; }
.footer-links a { color: #dceaf0; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 28px; font-size: 13px; color: #a9c0ca; }

@media (max-width: 980px) {
  .header-inner { min-height: 102px; }
  .logo-link { width: 300px; height: 94px; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; top: 102px; left: 20px; right: 20px;
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
    box-shadow: var(--shadow); padding: 16px; flex-direction: column; align-items: stretch; gap: 2px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; }
  .main-nav a::after { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .commitment-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .container, .header-inner { width: min(100% - 28px, var(--max)); }
  .grid-2, .footer-main { grid-template-columns: 1fr; }
  .hero-home { min-height: 560px; }
  .hero-home::before { background: linear-gradient(90deg, rgba(10,42,71,.94), rgba(10,42,71,.68)), url('../images/sungai-besi-inside.jpeg') center/cover no-repeat; }
  .section { padding: 54px 0; }
  .page-hero { padding: 54px 0 36px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img, .gallery img:nth-child(2) { height: 245px; }
  .commitment-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .poster-wrap { padding: 9px; border-radius: 16px; }
  .poster-wrap img { border-radius: 10px; }
}

@media (max-width: 460px) {
  .logo-link { width: 250px; height: 80px; }
  .footer-links { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
}
