/* ==========================================================================
   PT SUMBER TEKNIK SERVICE GROUP — Landing Page
   Jasa Service AC · Cibarusah · Jonggol · Cikarang · Jabodetabek
   ========================================================================== */

:root {
  --red: #c8102e;
  --red-dark: #9d0c23;
  --red-soft: #fdeef1;
  --ink: #0e1116;
  --ink-2: #1b2029;
  --body: #4c5563;
  --muted: #78828f;
  --line: #e5e9ef;
  --bg: #ffffff;
  --soft: #f6f7f9;
  --soft-2: #eef1f5;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(14, 17, 22, 0.05), 0 2px 8px rgba(14, 17, 22, 0.04);
  --shadow: 0 10px 30px rgba(14, 17, 22, 0.08);
  --shadow-lg: 0 24px 60px rgba(14, 17, 22, 0.14);
  --container: 1180px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--red-dark);
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
}

h3 {
  font-size: 1.14rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

.section {
  padding: 92px 0;
  position: relative;
}

/* Beri ruang agar judul tidak tertutup header sticky saat klik menu */
section[id],
main [id] {
  scroll-margin-top: 92px;
}

.section--soft {
  background: var(--soft);
}

.section--tight {
  padding: 66px 0;
}

/* ---------- Section heading ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 999px;
  padding: 7px 15px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p {
  font-size: 1.03rem;
  color: var(--body);
  margin-bottom: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn svg {
  flex: none;
}

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.26);
}

.btn--primary:hover {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(200, 16, 46, 0.32);
}

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: var(--ink-2);
  color: #fff;
  transform: translateY(-2px);
}

.btn--lg {
  padding: 17px 32px;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: #cfd6e0;
  font-size: 0.83rem;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #cfd6e0;
}

.topbar__item a {
  color: #cfd6e0;
}

.topbar__item a:hover {
  color: #fff;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar svg {
  opacity: 0.7;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}

.header.is-stuck {
  box-shadow: 0 6px 24px rgba(14, 17, 22, 0.07);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand img {
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 9px 13px;
  border-radius: 8px;
  transition: background 0.16s ease, color 0.16s ease;
}

.nav a:hover {
  background: var(--soft);
  color: var(--red);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--ink);
  position: relative;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s ease, top 0.22s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 74px 0 84px;
  background:
    radial-gradient(1100px 480px at 88% -12%, rgba(200, 16, 46, 0.09), transparent 62%),
    linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
  position: relative;
  white-space: nowrap;
}

.hero__lead {
  font-size: 1.06rem;
  max-width: 540px;
  margin-bottom: 26px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  max-width: 540px;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
}

.hero__trust svg {
  flex: none;
  color: var(--red);
}

.hero__media {
  position: relative;
}

.hero__media img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  left: -18px;
  bottom: -22px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 292px;
}

.hero__badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  flex: none;
}

.hero__badge strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.3;
}

.hero__badge span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- Strip ---------- */
.strip {
  background: var(--ink);
  color: #e8ecf2;
  padding: 15px 0;
  overflow: hidden;
}

.strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 30px;
  font-size: 0.86rem;
  font-weight: 600;
}

.strip__inner li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.strip__inner svg {
  color: var(--red);
  flex: none;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stats__item {
  background: #fff;
  padding: 30px 22px;
  text-align: center;
}

.stats__num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stats__num span {
  color: var(--red);
}

.stats__label {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.about__media {
  position: relative;
}

.about__media img {
  border-radius: 18px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  width: 100%;
}

.about__media::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--red-soft);
  border-radius: 18px;
  z-index: -1;
}

.about h2 {
  margin-bottom: 16px;
}

.about__points {
  display: grid;
  gap: 14px;
  margin: 26px 0 30px;
}

.about__points li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 0.95rem;
}

.about__points .ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 2px;
}

.about__points strong {
  color: var(--ink);
  display: block;
  font-size: 0.95rem;
  margin-bottom: 1px;
}

.about__points p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--body);
}

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.26s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card:hover::before {
  transform: scaleX(1);
}

.card__ico {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  font-size: 0.92rem;
  margin-bottom: 0;
  color: var(--body);
}

.card__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
}

/* ---------- Price table ---------- */
.price-wrap {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 32px;
  align-items: start;
}

.table-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-scroll {
  overflow-x: auto;
}

table.price {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 480px;
}

table.price thead th {
  background: var(--ink);
  color: #fff;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  text-align: left;
  padding: 14px 20px;
  white-space: nowrap;
}

table.price thead th:last-child {
  text-align: right;
}

table.price tbody td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  vertical-align: middle;
}

table.price tbody tr:last-child td {
  border-bottom: none;
}

table.price tbody tr:nth-child(even) {
  background: #fafbfc;
}

table.price tbody td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

table.price tbody tr:hover {
  background: var(--red-soft);
}

table.price .cap {
  font-size: 0.8rem;
  color: var(--muted);
  display: block;
  font-weight: 500;
}

.price-note {
  padding: 16px 20px;
  background: #fbfcfd;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

.price-note strong {
  color: var(--ink-2);
}

.price-side {
  background: var(--ink);
  color: #c9d1dc;
  border-radius: var(--radius);
  padding: 30px 28px;
  position: sticky;
  top: 96px;
}

.price-side h3 {
  color: #fff;
  margin-bottom: 10px;
}

.price-side p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.price-side ul {
  display: grid;
  gap: 11px;
  margin-bottom: 24px;
}

.price-side li {
  display: flex;
  gap: 9px;
  font-size: 0.88rem;
  align-items: flex-start;
}

.price-side li svg {
  color: var(--red);
  flex: none;
  margin-top: 4px;
}

.price-side .btn {
  width: 100%;
}

/* ---------- Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 8px;
}

.step__num {
  counter-increment: step;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--red);
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.step__num::before {
  content: counter(step, decimal-leading-zero);
}

.step h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.89rem;
  margin: 0;
}

.step::after {
  content: "";
  position: absolute;
  top: 31px;
  left: 58px;
  right: -22px;
  height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}

.step:last-child::after {
  display: none;
}

/* ---------- Area ---------- */
.area-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 22px;
}

.chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: all 0.16s ease;
}

.chip:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-soft);
}

.chip--main {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.chip--main:hover {
  background: var(--red-dark);
  color: #fff;
}

.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  filter: saturate(1.05);
}

.map-card__foot {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
}

.map-card__foot p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--body);
  max-width: 60%;
}

.map-card__foot strong {
  color: var(--ink);
  display: block;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.faq__item[open] {
  border-color: var(--red);
  box-shadow: var(--shadow-sm);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--red);
  line-height: 1;
  flex: none;
  transition: transform 0.2s ease;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__body {
  padding: 0 22px 20px;
  font-size: 0.93rem;
  color: var(--body);
}

.faq__body p:last-child {
  margin-bottom: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--ink) 0%, #22131a 55%, #4a0a17 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.45), transparent 68%);
  top: -220px;
  right: -120px;
}

.cta-band .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 36px;
  align-items: center;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 12px;
}

.cta-band p {
  color: #c3cbd6;
  margin-bottom: 0;
  max-width: 560px;
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: stretch;
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.contact-list {
  display: grid;
  gap: 20px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-list .ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  flex: none;
}

.contact-list strong {
  display: block;
  color: var(--ink);
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.contact-list span,
.contact-list a {
  font-size: 0.93rem;
  color: var(--body);
  line-height: 1.55;
}

.contact-list a:hover {
  color: var(--red);
}

.hours {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hours__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.89rem;
  padding: 5px 0;
}

.hours__row span:first-child {
  color: var(--body);
}

.hours__row span:last-child {
  color: var(--ink);
  font-weight: 700;
}

.hours__row.is-open span:last-child {
  color: #0a7d43;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #9aa4b2;
  padding: 62px 0 0;
  font-size: 0.9rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 46px;
}

.footer__brand img {
  height: 52px;
  width: auto;
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 18px;
}

.footer__brand p {
  font-size: 0.88rem;
  color: #9aa4b2;
  max-width: 300px;
}

.footer h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 800;
}

.footer ul {
  display: grid;
  gap: 9px;
}

.footer a {
  color: #9aa4b2;
  font-size: 0.89rem;
}

.footer a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #7d8794;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px 12px 14px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.38);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.wa-float:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.46);
}

.wa-float svg {
  flex: none;
}

.wa-float__label {
  display: inline;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .card:hover,
  .btn:hover,
  .wa-float:hover {
    transform: none;
  }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

:focus-visible {
  outline: 2.5px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero__media {
    max-width: 640px;
  }

  .hero__badge {
    left: auto;
    right: 14px;
    bottom: -18px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about__media {
    order: -1;
    max-width: 620px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-wrap {
    grid-template-columns: 1fr;
  }

  .price-side {
    position: static;
  }

  .area-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-band .container {
    grid-template-columns: 1fr;
  }

  .cta-band__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }

  .step:nth-child(2)::after {
    display: none;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav {
    /* .header memakai backdrop-filter sehingga menjadi containing block
       untuk elemen fixed di dalamnya — top:100% = tepat di bawah header. */
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 18px 22px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(14, 17, 22, 0.1);
    transform: translateY(-130%);
    transition: transform 0.26s cubic-bezier(0.22, 0.61, 0.36, 1);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateY(0);
  }

  .nav a {
    padding: 13px 12px;
    border-radius: 8px;
    font-size: 0.98rem;
  }

  .nav-toggle {
    display: flex;
  }

  .header__actions .btn {
    display: none;
  }

  .topbar__right .topbar__item:first-child {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding: 52px 0 64px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15.5px;
  }

  .container {
    padding: 0 18px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step::after {
    display: none;
  }

  .hero__trust {
    grid-template-columns: 1fr;
  }

  .hero__badge {
    position: static;
    margin-top: 14px;
    max-width: none;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .topbar .container {
    justify-content: center;
  }

  .topbar__right {
    display: none;
  }

  .map-card__foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-card__foot p {
    max-width: 100%;
  }

  .map-card iframe {
    height: 300px;
  }

  .wa-float {
    right: 14px;
    bottom: 14px;
    padding: 13px;
  }

  .wa-float__label {
    display: none;
  }

  .section-head {
    margin-bottom: 34px;
  }

  /* Tabel harga: ubah jadi daftar bertumpuk agar kolom harga selalu terlihat */
  table.price {
    min-width: 0;
  }

  table.price thead {
    display: none;
  }

  table.price tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 14px;
    padding: 13px 18px;
  }

  table.price tbody td {
    padding: 0;
    border-bottom: none;
  }

  table.price tbody td:nth-child(1) {
    grid-column: 1;
    font-weight: 600;
    color: var(--ink);
    font-size: 0.92rem;
  }

  table.price tbody td:nth-child(2) {
    grid-column: 1;
  }

  table.price tbody td:nth-child(2) .cap {
    font-size: 0.78rem;
  }

  table.price tbody td:nth-child(3) {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 0.93rem;
  }

  .footer__bottom {
    justify-content: center;
    text-align: center;
  }
}

/* ---------- Print ---------- */
@media print {
  .header,
  .topbar,
  .wa-float,
  .strip,
  .cta-band {
    display: none !important;
  }
}
