/* =========================================================
   Rock Pte Ltd — site styles
   Brand: green #008500, navy #030959, Plus Jakarta Sans + Inter
   ========================================================= */
:root {
  --green: #008500;
  --green-dark: #006a00;
  --green-soft: #eef6ee;
  --navy: #030959;
  --navy-2: #0a1470;
  --ink: #0a0a0a;
  --text: #1f2933;
  --muted: #5b6573;
  --line: #e5e8ec;
  --bg: #ffffff;
  --bg-alt: #f5f6f7;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(3, 9, 89, .06), 0 8px 24px rgba(3, 9, 89, .07);
  --header-h: 76px;
  --wrap: 1200px;
  --font-head: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section--alt { background: var(--bg-alt); }
.section--soft { background: var(--green-soft); }
.section--navy { background: var(--navy); color: #d9dcf2; }
.section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.narrow { max-width: 760px; }
.center.narrow { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.125rem; color: var(--muted); }
.eyebrow {
  display: inline-block; font: 700 .78rem/1 var(--font-head); letter-spacing: .18em;
  text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}
.rule { width: 56px; height: 3px; background: var(--green); border: 0; margin: 6px 0 24px; }
.center .rule { margin-left: auto; margin-right: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: 10px; border: 2px solid transparent;
  font: 700 .95rem/1 var(--font-head); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--light:hover { background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 42px; width: auto; }
.nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) {
  display: block; padding: 10px 14px; color: var(--ink); font: 600 .95rem/1 var(--font-head);
  border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover { color: var(--green); }
.nav a[aria-current="page"] { color: var(--green); border-bottom-color: var(--green); }
.nav .btn { min-height: 42px; padding: 10px 20px; margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .brand img { height: 36px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(3,9,89,.12);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.is-open { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 8px 24px 24px; gap: 0; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav .btn { margin: 18px 0 0; width: 100%; }
}

/* Home hero slider */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero__slides { position: relative; min-height: clamp(520px, 82vh, 760px); }
.hero__slide {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide picture, .hero__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,9,89,.35), rgba(3,9,89,.55)); }
.hero__content { position: relative; z-index: 2; text-align: center; padding: 0 24px; max-width: 980px; }
.hero__kicker { font: 700 .82rem/1.4 var(--font-head); letter-spacing: .24em; text-transform: uppercase; color: #8ee08e; margin: 0 0 18px; }
.hero__title { font: 800 clamp(2.3rem, 1.2rem + 5vw, 4.6rem)/1.05 var(--font-head); color: #fff; text-transform: uppercase; margin: 0 0 14px; letter-spacing: -.01em; }
.hero__sub { font: 600 clamp(1rem, .8rem + 1vw, 1.5rem)/1.3 var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: #e7e9f7; margin: 0 0 34px; }
.hero__arrow {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
  background: rgba(3,9,89,.35); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.hero__arrow:hover { background: rgba(255,255,255,.2); }
.hero__arrow--prev { left: 20px; }
.hero__arrow--next { right: 20px; }
.hero__dots { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.hero__dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; }
.hero__dots button[aria-current="true"] { background: #fff; }
@media (max-width: 640px) {
  .hero__arrow { display: none; }
  .hero__slides { min-height: min(560px, 74svh); }
}

/* Inner page hero */
.page-hero {
  position: relative; color: #fff; padding: clamp(72px, 10vw, 128px) 0 clamp(64px, 8vw, 104px);
  background: linear-gradient(120deg, rgba(3,9,89,.94), rgba(3,9,89,.78)), var(--hero-img, none) center/cover no-repeat, var(--navy);
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.8rem); font-weight: 800; max-width: 900px; }
.page-hero h1 span { color: #8ee08e; }
.page-hero .eyebrow { color: #8ee08e; }
.page-hero p { color: #dfe2f5; font-size: 1.15rem; max-width: 720px; }
.page-hero .btn-row { margin-top: 28px; }
.breadcrumb { font-size: .88rem; margin-bottom: 18px; color: #b9bee6; }
.breadcrumb a { color: #fff; }
.breadcrumb span[aria-hidden] { margin: 0 8px; }

/* Layout helpers */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .split, .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* Cards */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); height: 100%;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
a.card { display: block; color: inherit; }
a.card:hover, .card--hover:hover { transform: translateY(-4px); border-color: rgba(0,133,0,.35); box-shadow: 0 2px 4px rgba(3,9,89,.06), 0 18px 40px rgba(3,9,89,.12); }
.card__num { font: 800 2.4rem/1 var(--font-head); color: var(--green); opacity: .9; margin-bottom: 18px; display: block; }
.card__tag { display: inline-block; font: 700 .72rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--green); background: var(--green-soft); padding: 7px 10px; border-radius: 6px; margin-bottom: 14px; }
.card__sub { color: var(--muted); font-size: .92rem; margin-top: -.4em; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font: 700 .92rem/1 var(--font-head); color: var(--green); }
.card__link::after { content: "→"; transition: transform .2s; }
a.card:hover .card__link::after { transform: translateX(4px); }
.icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 9px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Values band */
.values { font: 700 clamp(1rem, .7rem + 1.4vw, 1.6rem)/1.5 var(--font-head); letter-spacing: .3em; color: #8ee08e; text-transform: uppercase; margin: 0; }
.values span { color: rgba(255,255,255,.4); margin: 0 .5em; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: #fff; padding: 28px 20px; text-align: center; }
.stat strong { display: block; font: 800 2.4rem/1.1 var(--font-head); color: var(--navy); }
.stat span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 500; font-size: .94rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font: 800 1rem/1 var(--font-head); margin-bottom: 16px; }
.steps p { margin: 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; position: relative; font: 700 1.05rem/1.4 var(--font-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--green); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 24px 20px; color: var(--text); }
.faq details > div p:last-child { margin: 0; }

/* Long-form text (privacy policy) */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2em; }
.prose li { margin-bottom: .4em; }

/* CTA band */
.cta { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #dfe2f5; border-radius: 20px; padding: clamp(40px, 6vw, 64px); text-align: center; }
.cta h2 { color: #fff; }
.cta p { max-width: 640px; margin: 0 auto 28px; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.contact-list .icon { width: 42px; height: 42px; margin: 0; flex: none; }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font: 700 .76rem/1.4 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.contact-list address { font-style: normal; }
.hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.field label .req { color: #b42318; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid #cfd4da; border-radius: 10px; padding: 12px 14px; min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,133,0,.18); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #b42318; }
.hp { position: absolute; left: -9999px; }
.ms-form { display: block; width: 100%; height: 1100px; border: 0; border-radius: 10px; margin-top: 8px; background: #fff; }
@media (max-width: 560px) { .ms-form { height: 1300px; } }
.form__note { font-size: .86rem; color: var(--muted); margin: 14px 0 0; }
.form__status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; display: none; }
.form__status.is-ok { display: block; background: var(--green-soft); color: var(--green-dark); }
.form__status.is-err { display: block; background: #fdecea; color: #8a1c13; }

/* Footer */
.site-footer { background: var(--green-soft); color: var(--text); border-top: 1px solid #dbe9db; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-grid h2 { font: 700 .8rem/1 var(--font-head); letter-spacing: .18em; text-transform: uppercase; color: var(--green); margin: 0 0 20px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--text); font-size: .95rem; }
.footer-grid a:hover { color: var(--green); }
.footer-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: .94rem; color: var(--muted); max-width: 320px; }
.footer-contact address { font-style: normal; font-size: .95rem; line-height: 1.7; margin-bottom: 10px; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid #d6e4d6; color: var(--navy); }
.social a:hover { background: var(--green); border-color: var(--green); color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid #d6e4d6; }
.footer-bottom .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: .86rem; color: var(--muted); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 48px; padding-bottom: 36px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-bottom .wrap { flex-direction: column-reverse; text-align: center; }
}

/* Cookie banner */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 760px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 48px rgba(3,9,89,.2);
  padding: 18px 20px; display: none; gap: 16px; align-items: center;
}
.cookie.is-visible { display: flex; }
.cookie p { margin: 0; font-size: .9rem; }
.cookie .btn { min-height: 42px; padding: 10px 18px; }
.cookie .btn-row { flex-wrap: nowrap; gap: 10px; }
@media (max-width: 640px) { .cookie.is-visible { flex-direction: column; align-items: stretch; } .cookie .btn-row .btn { flex: 1; } }

/* Reveal on scroll (progressive: content visible without JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__slide { transition: none; }
}
