/* ============================================================
   PAVING KOTA — Stylesheet
   Premium · Corporate · Industrial · Conversion-focused
   ============================================================ */

/* -------- Design Tokens -------- */
:root {
  /* Brand palette */
  --c-navy: #0B2F4A;
  --c-navy-dark: #08263B;
  --c-navy-deep: #061C2D;
  --c-gold: #D9A11A;
  --c-gold-dark: #B78212;
  --c-gold-soft: #E7BC55;
  --c-stone: #F5F1E8;
  --c-stone-dark: #EAE3D0;
  --c-gray: #6B7280;
  --c-gray-light: #9CA3AF;
  --c-gray-dark: #374151;
  --c-white: #FFFFFF;
  --c-bg: #FAFAF7;
  --c-line: rgba(11, 47, 74, 0.08);
  --c-line-strong: rgba(11, 47, 74, 0.18);

  /* Typography */
  --f-display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing & radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(8, 38, 59, 0.06), 0 1px 3px rgba(8, 38, 59, 0.05);
  --sh-md: 0 6px 18px rgba(8, 38, 59, 0.08), 0 2px 6px rgba(8, 38, 59, 0.05);
  --sh-lg: 0 18px 40px rgba(8, 38, 59, 0.12), 0 6px 14px rgba(8, 38, 59, 0.06);
  --sh-gold: 0 10px 24px rgba(217, 161, 26, 0.28);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.28s;

  /* Container */
  --max-w: 1200px;
  --pad-x: clamp(20px, 4vw, 48px);

  /* Navbar height */
  --nav-h: 76px;
}

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

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

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-navy-dark);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1rem 0; }

::selection {
  background: var(--c-gold);
  color: var(--c-navy-dark);
}

/* -------- Utility -------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: clamp(64px, 9vw, 110px) 0;
}

.section-tight {
  padding: clamp(48px, 7vw, 80px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-gold-dark);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--c-gold);
}

.eyebrow.on-dark {
  color: var(--c-gold);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head p {
  color: var(--c-gray);
  font-size: 1.05rem;
  margin-top: 14px;
}

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

.text-muted { color: var(--c-gray); }

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--c-gold);
  color: var(--c-navy-dark);
  box-shadow: var(--sh-gold);
}

.btn-primary:hover {
  background: var(--c-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(217, 161, 26, 0.36);
}

.btn-secondary {
  background: transparent;
  color: var(--c-navy);
  border-color: var(--c-line-strong);
}

.btn-secondary:hover {
  background: var(--c-navy);
  color: var(--c-white);
  border-color: var(--c-navy);
}

.btn-secondary.on-dark {
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary.on-dark:hover {
  background: var(--c-white);
  color: var(--c-navy);
}

.btn-ghost {
  padding: 10px 18px;
  color: var(--c-navy);
  font-size: 0.88rem;
  border: 1.5px solid var(--c-line-strong);
  border-radius: var(--r-sm);
}

.btn-ghost:hover {
  border-color: var(--c-navy);
  background: var(--c-navy);
  color: var(--c-white);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

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

.btn-block {
  width: 100%;
}

/* WhatsApp icon in button */
.btn .icon-wa {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* -------- Navbar -------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: all var(--dur) var(--ease);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--c-line);
  box-shadow: 0 1px 0 rgba(8, 38, 59, 0.04), 0 8px 24px rgba(8, 38, 59, 0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 38px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  display: inline-block;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--c-navy-dark);
  border-radius: var(--r-sm);
  transition: all var(--dur) var(--ease);
  position: relative;
}

.nav-menu a:hover {
  color: var(--c-gold-dark);
}

.nav-menu a.active {
  color: var(--c-navy);
  font-weight: 600;
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--c-gold);
  border-radius: 2px;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--c-navy);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-sm);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* Mobile nav */
@media (max-width: 960px) {
  .nav-cta .btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    z-index: 70;
  }

  /* R5: Mobile menu — slide in from right, text right-aligned, smooth animation */
  .nav-menu {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    right: 0;
    left: auto;
    width: min(78vw, 320px);
    height: auto;
    max-height: calc(100vh - var(--nav-h));
    background: var(--c-white);
    padding: 18px 24px 28px;
    gap: 0;
    align-items: flex-end;        /* text rata kanan */
    text-align: right;
    box-shadow: -12px 18px 40px rgba(8, 38, 59, 0.14);
    border-bottom-left-radius: 18px;
    border-left: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    /* Animation: slide from right + fade */
    transform: translateX(105%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.28s ease,
                visibility 0s linear 0.34s;
    pointer-events: none;
  }

  .nav-open .nav-menu {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.28s ease,
                visibility 0s linear 0s;
    pointer-events: auto;
  }

  .nav-menu li {
    width: 100%;
    /* Stagger fade-in for each item */
    opacity: 0;
    transform: translateX(16px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .nav-open .nav-menu li {
    opacity: 1;
    transform: translateX(0);
  }
  .nav-open .nav-menu li:nth-child(1) { transition-delay: 0.06s; }
  .nav-open .nav-menu li:nth-child(2) { transition-delay: 0.10s; }
  .nav-open .nav-menu li:nth-child(3) { transition-delay: 0.14s; }
  .nav-open .nav-menu li:nth-child(4) { transition-delay: 0.18s; }
  .nav-open .nav-menu li:nth-child(5) { transition-delay: 0.22s; }
  .nav-open .nav-menu li:nth-child(6) { transition-delay: 0.26s; }

  .nav-menu a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--c-line);
    border-radius: 0;
    font-size: 1.02rem;
    text-align: right;
    width: 100%;
  }

  .nav-menu a.active::after { display: none; }

  .nav-menu li:last-child {
    margin-top: 14px;
  }

  .nav-menu li:last-child a {
    border: none;
    background: var(--c-gold);
    color: var(--c-navy-dark);
    text-align: center;
    border-radius: var(--r-md);
    font-weight: 700;
    padding: 13px 18px;
  }

  /* Backdrop overlay when menu open */
  .nav-open::before {
    content: "";
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(8, 38, 59, 0.35);
    z-index: 55;
    animation: navFadeIn 0.3s ease;
  }
  @keyframes navFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Hamburger → X animation */
  .nav-toggle svg { transition: transform 0.3s ease; }
  .nav-open .nav-toggle svg { transform: rotate(90deg); }
}

/* Push content below fixed nav */
.page-body {
  padding-top: var(--nav-h);
}

/* -------- Hero (homepage) -------- */
.hero {
  position: relative;
  padding: clamp(70px, 10vw, 120px) 0 clamp(80px, 10vw, 130px);
  background:
    radial-gradient(ellipse at 85% 20%, rgba(217, 161, 26, 0.08), transparent 55%),
    linear-gradient(180deg, var(--c-navy-dark) 0%, var(--c-navy) 60%, var(--c-navy-deep) 100%);
  color: var(--c-white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.hero-content h1 {
  color: var(--c-white);
  font-size: clamp(2.15rem, 4.8vw, 3.6rem);
  margin-bottom: 22px;
}

.hero-content h1 .accent {
  color: var(--c-gold);
  position: relative;
  white-space: nowrap;
}

.hero-content p.lead {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--c-gold);
  flex-shrink: 0;
}

/* Hero visual — composition card */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 4.6;
  max-width: 480px;
  margin-left: auto;
}

.hero-card {
  position: absolute;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}

.hero-card-main {
  inset: 0 0 18% 12%;
  background:
    linear-gradient(135deg, rgba(11, 47, 74, 0.1), rgba(8, 38, 59, 0.5)),
    var(--c-stone-dark);
}

.hero-card-accent {
  width: 55%;
  aspect-ratio: 1 / 0.95;
  bottom: 0;
  left: 0;
  background: var(--c-gold);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--c-navy-dark);
}

.hero-card-accent .kpi-num {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-card-accent .kpi-label {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Pattern tile visual inside hero main card */
.paving-tile {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(10, 1fr);
  gap: 3px;
  padding: 16px;
  opacity: 0.85;
}

.paving-tile span {
  background: linear-gradient(135deg, #9fa4ab, #7c848e);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.paving-tile span:nth-child(3n) {
  background: linear-gradient(135deg, #6b7480, #4a5160);
}

.paving-tile span:nth-child(5n) {
  background: linear-gradient(135deg, var(--c-gold-soft), var(--c-gold-dark));
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
}

/* -------- Page hero (mini hero for inner pages) -------- */
.page-hero {
  position: relative;
  padding: clamp(60px, 8vw, 90px) 0 clamp(48px, 6vw, 72px);
  background:
    radial-gradient(ellipse at 75% 0%, rgba(217, 161, 26, 0.1), transparent 50%),
    linear-gradient(180deg, var(--c-navy-dark), var(--c-navy));
  color: var(--c-white);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  max-width: 760px;
}

.page-hero h1 {
  color: var(--c-white);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  max-width: 640px;
  margin: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a:hover { color: var(--c-gold); }

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.4);
}

/* -------- Card grids -------- */
.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: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* -------- Feature card (keunggulan) -------- */
.feature-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  transition: all var(--dur) var(--ease);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-gold);
  box-shadow: var(--sh-md);
}

.feature-card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--c-stone), var(--c-stone-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-gold-dark);
  margin-bottom: 20px;
  transition: all var(--dur) var(--ease);
}

.feature-card:hover .icon-wrap {
  background: var(--c-navy);
  color: var(--c-gold);
}

.feature-card .icon-wrap svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-card p {
  margin: 0;
  color: var(--c-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* -------- Service card -------- */
.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.service-card:hover {
  border-color: var(--c-line-strong);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

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

.service-card .service-num {
  font-family: var(--f-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-gold-dark);
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--c-gray);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.service-card ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.service-card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: var(--c-gray-dark);
  margin-bottom: 8px;
}

.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 1.5px;
  background: var(--c-gold);
}

.service-card .card-cta {
  margin-top: auto;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--c-navy);
  padding: 8px 0;
  transition: all var(--dur) var(--ease);
}

.card-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur) var(--ease);
}

.card-link:hover {
  color: var(--c-gold-dark);
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* -------- Product card (catalog) -------- */
.product-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--dur) var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--c-line-strong);
}

.product-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--c-stone), var(--c-stone-dark));
  overflow: hidden;
}

.product-thumb .pattern {
  position: absolute;
  inset: 18px;
  display: grid;
  gap: 3px;
  opacity: 0.85;
}

.product-thumb .pattern span {
  background: linear-gradient(135deg, #a8aeb5, #868d98);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.product-thumb .pattern span.alt {
  background: linear-gradient(135deg, #6f7680, #525a66);
}

.product-thumb .pattern span.gold {
  background: linear-gradient(135deg, var(--c-gold-soft), var(--c-gold-dark));
}

.product-thumb .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 47, 74, 0.92);
  color: var(--c-white);
  padding: 5px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-body h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.product-body p {
  color: var(--c-gray);
  font-size: 0.9rem;
  margin-bottom: 18px;
  line-height: 1.55;
}

.product-body .card-cta {
  margin-top: auto;
}

/* Pattern variations */
.p-bata { grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 1fr); }
.p-bata span:nth-child(odd):nth-child(-n+12) { grid-column: span 2; }

.p-hex { grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr); }

.p-trihex { grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 1fr); }

.p-ubin { grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr); }

.p-antik { grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 1fr); }

.p-tahu { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); }

.p-wajik { grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr); transform: rotate(15deg); }

.p-classico { grid-template-columns: repeat(7, 1fr); grid-template-rows: repeat(7, 1fr); }

.p-grass { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); gap: 8px; }
.p-grass span { background: linear-gradient(135deg, #8aaf7a, #5a7a4c) !important; }

.p-topi { grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(3, 1fr); }

.p-kanstin { grid-template-columns: 1fr; grid-template-rows: repeat(4, 1fr); }

.p-uditch { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); }
.p-uditch span { background: linear-gradient(135deg, #bdc3cb, #8a919d) !important; }

/* Pattern showcase card (pola paving) */
.pattern-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 18px;
  transition: all var(--dur) var(--ease);
}

.pattern-card:hover {
  border-color: var(--c-gold);
  transform: translateY(-2px);
}

.pattern-card .pattern-wrap {
  aspect-ratio: 1;
  background: var(--c-stone);
  border-radius: var(--r-sm);
  padding: 12px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.pattern-card .pattern-wrap .pattern {
  position: absolute;
  inset: 10px;
}

.pattern-card span.name {
  display: block;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--c-navy);
  text-align: center;
}

/* -------- Project card -------- */
.project-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-navy);
  aspect-ratio: 4 / 3;
  display: block;
  transition: transform var(--dur) var(--ease);
}

.project-card:hover {
  transform: translateY(-3px);
}

.project-card .ph {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11, 47, 74, 0.35), rgba(8, 38, 59, 0.85)),
    var(--c-stone-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.15);
  font-family: var(--f-display);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.project-card .ph.v1 { background: linear-gradient(135deg, rgba(11,47,74,0.45), rgba(8,38,59,0.88)), #5d6671; }
.project-card .ph.v2 { background: linear-gradient(135deg, rgba(11,47,74,0.4), rgba(8,38,59,0.85)), #6e6456; }
.project-card .ph.v3 { background: linear-gradient(135deg, rgba(11,47,74,0.5), rgba(8,38,59,0.9)), #4a4e54; }
.project-card .ph.v4 { background: linear-gradient(135deg, rgba(11,47,74,0.42), rgba(8,38,59,0.84)), #625a4e; }

.project-card .info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 24px;
  color: var(--c-white);
  background: linear-gradient(180deg, transparent, rgba(6, 28, 45, 0.92));
}

.project-card .cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 6px;
}

.project-card h3 {
  color: var(--c-white);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.project-card .meta {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.project-card .summary {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 8px;
  line-height: 1.55;
}

/* -------- Brochure card -------- */
.brochure {
  background: linear-gradient(135deg, var(--c-navy), var(--c-navy-dark));
  border-radius: var(--r-xl);
  overflow: hidden;
  color: var(--c-white);
  position: relative;
}

.brochure-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 0;
}

.brochure-preview {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(217, 161, 26, 0.2), transparent 60%),
    linear-gradient(135deg, #122f47, #061c2d);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.brochure-preview .cover-mock {
  width: 72%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(140deg, var(--c-navy), var(--c-navy-dark));
  border-radius: 6px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35), 0 8px 16px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transform: rotate(-3deg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.brochure-preview .cover-mock::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 60%;
  height: 70%;
  background: linear-gradient(135deg, var(--c-gold) 0%, var(--c-gold-dark) 100%);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.brochure-preview .cover-mock::after {
  content: "";
  position: absolute;
  bottom: 18%;
  left: 18%;
  right: 18%;
  height: 3px;
  background: var(--c-gold);
}

.brochure-preview .cover-mock .brand {
  position: absolute;
  bottom: 22%;
  left: 18%;
  right: 18%;
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-white);
  z-index: 2;
}

.brochure-preview .cover-mock .label {
  position: absolute;
  top: 12%;
  left: 18%;
  font-family: var(--f-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  z-index: 2;
}

.brochure-body {
  padding: clamp(36px, 5vw, 56px);
}

.brochure-body h2 {
  color: var(--c-white);
  margin-bottom: 14px;
}

.brochure-body p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
}

.brochure-body .eyebrow.on-dark { color: var(--c-gold); }

.brochure-meta {
  display: flex;
  gap: 28px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.brochure-meta > div {
  display: flex;
  flex-direction: column;
}

.brochure-meta .k {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}

.brochure-meta .v {
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--c-white);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .brochure-inner { grid-template-columns: 1fr; }
  .brochure-preview { aspect-ratio: 16 / 10; }
}

/* -------- Process steps -------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  counter-reset: step;
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-line-strong) 20%, var(--c-line-strong) 80%, transparent);
  z-index: 0;
}

.process-step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}

.process-step .num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-white);
  border: 1.5px solid var(--c-line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  transition: all var(--dur) var(--ease);
}

.process-step:hover .num {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: var(--c-navy-dark);
  transform: scale(1.05);
}

.process-step h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.process-step p {
  color: var(--c-gray);
  font-size: 0.88rem;
  margin: 0;
}

@media (max-width: 860px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .process::before { display: none; }
}

@media (max-width: 500px) {
  .process { grid-template-columns: 1fr; }
}

/* -------- Area / Coverage -------- */
.coverage {
  background: var(--c-navy);
  color: var(--c-white);
  border-radius: var(--r-xl);
  padding: clamp(44px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}

.coverage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(217, 161, 26, 0.12), transparent 40%),
    radial-gradient(circle at 15% 85%, rgba(217, 161, 26, 0.08), transparent 40%);
}

.coverage-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.coverage h2 { color: var(--c-white); }

.coverage p.lead {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  margin: 0;
}

.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.area-chip {
  padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--c-white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--dur) var(--ease);
}

.area-chip svg {
  width: 16px; height: 16px;
  color: var(--c-gold);
}

.area-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--c-gold);
}

@media (max-width: 860px) {
  .coverage-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* -------- About preview / about page -------- */
.about-preview {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.about-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-stone), var(--c-stone-dark));
  box-shadow: var(--sh-lg);
}

.about-visual .accent-block {
  position: absolute;
  top: -22px;
  right: -22px;
  width: 140px;
  height: 140px;
  background: var(--c-gold);
  border-radius: var(--r-lg);
  z-index: -1;
}

.about-visual .ph-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(11, 47, 74, 0.25);
  font-family: var(--f-display);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.stat-block {
  padding: 20px 22px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}

.stat-block .stat-k {
  font-family: var(--f-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-gold-dark);
  margin-bottom: 4px;
}

.stat-block .stat-v {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.3;
}

@media (max-width: 860px) {
  .about-preview { grid-template-columns: 1fr; }
  .about-visual { max-width: 480px; margin: 0 auto; }
}

/* -------- Values (tentang kami) -------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  padding: 30px 28px;
  border-left: 3px solid var(--c-gold);
  background: var(--c-white);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  box-shadow: var(--sh-sm);
}

.value-card .vnum {
  font-family: var(--f-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-gold-dark);
  margin-bottom: 14px;
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--c-gray);
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 860px) { .values-grid { grid-template-columns: 1fr; } }

/* -------- Contact blocks -------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-card {
  padding: 34px 32px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  transition: all var(--dur) var(--ease);
}

.contact-card:hover {
  border-color: var(--c-line-strong);
  box-shadow: var(--sh-md);
}

.contact-card .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--c-navy);
  color: var(--c-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.contact-card .icon svg { width: 22px; height: 22px; }

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--c-gray-dark);
  font-size: 0.95rem;
  margin-bottom: 6px;
  line-height: 1.55;
}

.contact-card p.small { font-size: 0.85rem; color: var(--c-gray); }

.contact-card .link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--c-navy);
  margin-top: 14px;
  font-size: 0.95rem;
}

.contact-card .link:hover { color: var(--c-gold-dark); }

@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }

/* Contact preview (homepage short) */
.contact-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cp-item {
  padding: 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-white);
}

.cp-item .cp-label {
  font-family: var(--f-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-gold-dark);
  margin-bottom: 8px;
}

.cp-item .cp-value {
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--c-navy);
  font-size: 0.98rem;
  line-height: 1.4;
}

.cp-item .cp-sub {
  color: var(--c-gray);
  font-size: 0.85rem;
  margin-top: 4px;
}

@media (max-width: 860px) { .contact-preview { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .contact-preview { grid-template-columns: 1fr; } }

/* -------- Final CTA -------- */
.cta-final {
  background:
    radial-gradient(ellipse at 80% 30%, rgba(217, 161, 26, 0.18), transparent 55%),
    linear-gradient(135deg, var(--c-navy-dark), var(--c-navy-deep));
  color: var(--c-white);
  border-radius: var(--r-xl);
  padding: clamp(48px, 7vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.cta-final-inner { position: relative; max-width: 680px; margin: 0 auto; }

.cta-final h2 {
  color: var(--c-white);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 16px;
}

.cta-final p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
  margin-bottom: 32px;
}

.cta-final .btns {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* -------- Footer -------- */
.footer {
  background: var(--c-navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.9fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(1.1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  max-width: 320px;
  margin-bottom: 20px;
  line-height: 1.65;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  transition: all var(--dur) var(--ease);
}

.footer-socials a:hover {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: var(--c-navy-dark);
}

.footer-socials svg { width: 18px; height: 18px; }

.footer h5 {
  color: var(--c-white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; font-size: 0.92rem; }
.footer ul a {
  color: rgba(255, 255, 255, 0.68);
  transition: color var(--dur) var(--ease);
}
.footer ul a:hover { color: var(--c-gold); }

.footer-addr p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-addr .tag {
  font-family: var(--f-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-gold);
  display: block;
  margin-bottom: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* -------- Floating WhatsApp -------- */
.fab-wa {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.38);
  transition: all var(--dur) var(--ease);
  animation: wa-pulse 2.4s var(--ease) infinite;
}

.fab-wa:hover {
  transform: scale(1.08);
  background: #1fbc5c;
}

.fab-wa svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 14px 30px rgba(37, 211, 102, 0.38), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 14px 30px rgba(37, 211, 102, 0.38), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* -------- Reveal animation -------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .fab-wa { animation: none; }
  html { scroll-behavior: auto; }
}

/* -------- Category filter (project page) -------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-chip {
  padding: 10px 20px;
  border: 1px solid var(--c-line-strong);
  border-radius: 100px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--c-gray-dark);
  background: var(--c-white);
  transition: all var(--dur) var(--ease);
  cursor: pointer;
}

.filter-chip:hover {
  border-color: var(--c-navy);
  color: var(--c-navy);
}

.filter-chip.active {
  background: var(--c-navy);
  color: var(--c-white);
  border-color: var(--c-navy);
}

/* -------- Catalog section layout -------- */
.catalog-intro {
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 56px);
  text-align: center;
}

.catalog-intro p {
  color: var(--c-gray);
  font-size: 1.05rem;
  margin-top: 14px;
}

/* Highlight callout */
.callout {
  border: 1px solid var(--c-line);
  background: linear-gradient(135deg, var(--c-stone), #fffdf7);
  border-radius: var(--r-lg);
  padding: 28px 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.callout .ico {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--c-gold);
  color: var(--c-navy-dark);
  display: flex; align-items: center; justify-content: center;
}

.callout .ico svg { width: 20px; height: 20px; }

.callout h4 { font-size: 1.02rem; margin-bottom: 6px; }
.callout p { margin: 0; color: var(--c-gray-dark); font-size: 0.95rem; }

/* -------- Two-column content layout -------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.two-col.flip { grid-template-columns: 1fr 1fr; }

@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
}

/* -------- Accessibility -------- */
:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--c-navy);
  color: var(--c-white);
  padding: 10px 16px;
  z-index: 200;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
}

/* ============================================================
   REAL PHOTO STYLES (v2 - with real imagery from pavingkota.com)
   ============================================================ */

/* Project card with real image */
.project-card .photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.project-card:hover .photo { transform: scale(1.04); }

.project-card .photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 38, 59, 0.05) 0%, rgba(8, 38, 59, 0.75) 75%, rgba(8, 38, 59, 0.92) 100%);
  pointer-events: none;
}

/* Hero with real image */
.hero-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-xl);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 47, 74, 0.12), transparent 40%, rgba(8, 38, 59, 0.38));
  pointer-events: none;
}

/* About visual with real photo */
.about-visual.with-photo {
  background: var(--c-navy);
}
.about-visual.with-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-visual.with-photo .ph-label { display: none; }

/* Product card with real image */
.product-card .tile.photo-tile {
  background: var(--c-stone);
  padding: 0;
  overflow: hidden;
}
.product-card .tile.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .tile.photo-tile img { transform: scale(1.06); }

/* Service card with photo */
.service-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--c-stone);
}
.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.service-card:hover .service-photo img { transform: scale(1.05); }

/* Before / After comparison */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  position: relative;
}
.before-after-item {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--c-stone-dark);
  overflow: hidden;
}
.before-after-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.before-after-item .tag-ba {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 18px;
  border-radius: 100px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.before-after-item.before .tag-ba {
  background: rgba(8, 38, 59, 0.92);
  color: var(--c-white);
}
.before-after-item.after .tag-ba {
  background: var(--c-gold);
  color: var(--c-navy-dark);
}
.before-after-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--c-gold);
  transform: translateX(-50%);
  z-index: 3;
}
@media (max-width: 640px) {
  .before-after { grid-template-columns: 1fr; }
  .before-after-item { aspect-ratio: 4 / 3; }
  .before-after-divider { display: none; }
}

/* Testimonial / iconic project callout */
.iconic-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}
.iconic-card {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
}
.iconic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.iconic-card .overlay-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 38, 59, 0.92) 100%);
  color: var(--c-white);
}
.iconic-card .overlay-info .badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--c-gold);
  color: var(--c-navy-dark);
  font-family: var(--f-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.iconic-card .overlay-info h3 {
  color: var(--c-white);
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.iconic-card .overlay-info p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin: 0;
}
@media (max-width: 860px) {
  .iconic-grid { grid-template-columns: 1fr; }
}

/* Credibility strip - 3-photo grid */
.cred-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.cred-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
}
.cred-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cred-tile .cred-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 16px;
  background: linear-gradient(180deg, transparent, rgba(8, 38, 59, 0.88));
  color: var(--c-white);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.88rem;
}
@media (max-width: 700px) {
  .cred-strip { grid-template-columns: 1fr; }
}

/* Portfolio masonry variant - mixed sizes */
.portfolio-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 18px;
}
.portfolio-masonry .project-card {
  aspect-ratio: auto;
  min-height: 280px;
}
.portfolio-masonry .project-card.tall { grid-row: span 2; min-height: 580px; }
.portfolio-masonry .project-card.wide { grid-column: span 2; }
@media (max-width: 900px) {
  .portfolio-masonry { grid-template-columns: repeat(2, 1fr); }
  .portfolio-masonry .project-card.wide { grid-column: span 2; }
  .portfolio-masonry .project-card.tall { grid-row: span 1; min-height: 320px; }
}
@media (max-width: 600px) {
  .portfolio-masonry { grid-template-columns: 1fr; }
  .portfolio-masonry .project-card.wide,
  .portfolio-masonry .project-card.tall { grid-column: span 1; grid-row: span 1; }
}

/* Image utilities */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Section with photo bg */
.section-bg-photo {
  position: relative;
  color: var(--c-white);
  overflow: hidden;
}
.section-bg-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-img, none) center/cover no-repeat;
  z-index: -2;
}
.section-bg-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 38, 59, 0.93), rgba(11, 47, 74, 0.85));
  z-index: -1;
}

/* ============================================================
   v3 — REVISI: Hero photo bg, Catalog, Pola SVG, Logo Section,
   Urgency bar, FAB pill, Section Logo Mark
   ============================================================ */

/* === STICKY URGENCY BAR === */
.urgency-bar {
  position: relative;
  background: linear-gradient(90deg, var(--c-navy-dark), var(--c-navy));
  color: var(--c-white);
  padding: 9px 0;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  border-bottom: 1px solid rgba(217, 161, 26, 0.4);
  z-index: 60;
}
.urgency-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.urgency-bar .uitem {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.urgency-bar .uitem svg {
  width: 14px; height: 14px;
  color: var(--c-gold);
  flex-shrink: 0;
}
.urgency-bar .uitem strong { color: var(--c-gold); font-weight: 700; }
.urgency-bar .uitem a { color: var(--c-gold); text-decoration: underline; font-weight: 700; }
@media (max-width: 720px) {
  .urgency-bar { padding: 8px 0; font-size: 0.78rem; }
  .urgency-bar .container { gap: 12px; }
  .urgency-bar .uitem.hide-mobile { display: none; }
}

/* === HERO with photo background — REV-01 === */
.hero-photo-bg {
  position: relative;
  min-height: 720px;
  padding: 120px 0 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--c-white);
  background: var(--c-navy-dark);
}
.hero-photo-bg .bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-photo-bg .bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(8, 38, 59, 0.78) 0%, rgba(8, 38, 59, 0.55) 60%, rgba(11, 47, 74, 0.72) 100%);
  z-index: 1;
}
.hero-photo-bg .container {
  position: relative;
  z-index: 2;
}
.hero-photo-bg .hero-inner-center {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.hero-photo-bg .urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(217, 161, 26, 0.18);
  border: 1px solid rgba(217, 161, 26, 0.55);
  border-radius: 100px;
  color: var(--c-gold);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-photo-bg .urgency-badge svg { width: 14px; height: 14px; }

.hero-photo-bg .hero-headline {
  display: inline-block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6.5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--c-white);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.hero-photo-bg .hero-headline .word-paving {
  display: inline-block;
  background: var(--c-gold);
  color: var(--c-navy-dark);
  padding: 4px 22px 8px;
  border-radius: 6px;
  margin-right: 8px;
  text-shadow: none;
}
.hero-photo-bg .hero-headline .word-expert {
  color: var(--c-gold);
}
.hero-photo-bg .hero-tagline {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.85);
  margin: 12px 0 32px;
}
.hero-photo-bg .hero-sub {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  max-width: 720px;
  margin: 0 auto 36px;
  font-weight: 400;
}
.hero-photo-bg .hero-sub strong { color: var(--c-gold); font-weight: 700; }
.hero-photo-bg .hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-photo-bg .hero-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 32px;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-photo-bg .hero-trust .trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}
.hero-photo-bg .hero-trust .trust-item svg {
  width: 18px; height: 18px;
  color: var(--c-gold);
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .hero-photo-bg { min-height: 620px; padding: 80px 0 70px; }
  .hero-photo-bg .hero-headline .word-paving { padding: 2px 14px 4px; margin-right: 4px; }
  .hero-photo-bg .hero-sub { font-size: 1rem; }
  .hero-photo-bg .hero-trust { gap: 18px; padding-top: 24px; }
  .hero-photo-bg .hero-trust .trust-item { font-size: 0.84rem; }
}

/* === SECTION LOGO MARK (REV-04) === */
.section-logo-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  opacity: 0.85;
}
.section-logo-mark img {
  height: 28px;
  width: auto;
  display: block;
}
.section-logo-mark .label {
  font-family: var(--f-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold-dark);
}
.section-logo-mark.on-dark .label { color: var(--c-gold); }

/* === PRODUCT CARD with PNG (REV-02 & REV-07) === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1100px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .products-grid { grid-template-columns: 1fr; } }

.product-card-v2 {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: 24px 22px 22px;
  box-shadow: var(--sh-sm);
  border: 1px solid rgba(11, 47, 74, 0.06);
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
}
.product-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: rgba(217, 161, 26, 0.4);
}
.product-card-v2 .pcimg {
  background: var(--c-stone);
  border-radius: var(--r-md);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  margin-bottom: 18px;
  overflow: hidden;
}
.product-card-v2 .pcimg img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s var(--ease);
}
.product-card-v2:hover .pcimg img { transform: scale(1.08); }
.product-card-v2 h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-navy-dark);
  margin-bottom: 6px;
}
.product-card-v2 .pdesc {
  font-size: 0.85rem;
  color: var(--c-gray);
  margin-bottom: 16px;
  min-height: 38px;
  line-height: 1.45;
}
.product-card-v2 .pprice-block {
  margin-bottom: 16px;
  padding: 10px 0;
  border-top: 1px solid rgba(11, 47, 74, 0.08);
  border-bottom: 1px solid rgba(11, 47, 74, 0.08);
}
.product-card-v2 .price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
  padding: 3px 0;
}
.product-card-v2 .price-row .pl {
  color: var(--c-gray);
  font-weight: 500;
  font-size: 0.8rem;
}
.product-card-v2 .price-row .pv {
  color: var(--c-gold-dark);
  font-weight: 700;
  font-family: var(--f-display);
}
.product-card-v2 .pprice-na {
  display: block;
  background: rgba(11, 47, 74, 0.06);
  color: var(--c-navy);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px;
  border-radius: var(--r-sm);
  text-align: center;
}
.product-card-v2 .pcta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-navy);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  margin-top: auto;
  padding-top: 10px;
}
.product-card-v2 .pcta:hover { color: var(--c-gold-dark); }
.product-card-v2 .pcta svg { width: 14px; height: 14px; transition: transform 0.2s; }
.product-card-v2 .pcta:hover svg { transform: translateX(3px); }

/* === DISCLAIMER BLOCK === */
.disclaimer-block {
  background: var(--c-stone);
  border-left: 4px solid var(--c-gold);
  padding: 22px 26px;
  border-radius: var(--r-md);
  margin: 32px 0;
}
.disclaimer-block h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-navy-dark);
  margin-bottom: 10px;
}
.disclaimer-block h4 svg { width: 18px; height: 18px; color: var(--c-gold-dark); }
.disclaimer-block p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--c-navy);
  margin: 0;
}
.disclaimer-block p strong { color: var(--c-navy-dark); }

/* === POLA PAVING SVG GRID (REV-03) === */
.pola-section {
  background: linear-gradient(180deg, #F5F1E8 0%, #EFEAD8 100%);
  padding: 80px 0;
  border-radius: var(--r-lg);
  margin-top: 60px;
}
.pola-section .pola-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 50px;
}
.pola-section .pola-title {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--c-navy-dark);
  text-transform: uppercase;
  margin: 0;
}
.pola-section .pola-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pola-section .pola-brand img { height: 42px; }
.pola-section .pola-brand .pb-text {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--c-gray);
  letter-spacing: 0.04em;
}
.pola-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 26px;
}
@media (max-width: 1000px) { .pola-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .pola-grid { grid-template-columns: repeat(2, 1fr); } }
/* removed: pola-grid stays at 2 columns on all mobile sizes */
.pola-item {
  text-align: center;
}
.pola-item .pola-letter {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 10px;
  display: block;
}
.pola-item svg {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.pola-item .pola-name {
  font-size: 0.78rem;
  color: var(--c-gray);
  margin-top: 8px;
  font-weight: 500;
}

/* === FLOATING WA EXPANDED PILL (REV-06) === */
.fab-wa-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: var(--c-white);
  padding: 14px 22px 14px 18px;
  border-radius: 100px;
  text-decoration: none;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s var(--ease);
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.fab-wa-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(37, 211, 102, 0.55), 0 6px 16px rgba(0, 0, 0, 0.18);
  background: #20BD5A;
}
.fab-wa-pill svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.fab-wa-pill .fab-pulse {
  position: absolute;
  top: 50%;
  left: 23px;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.5);
  animation: fab-pulse 1.8s infinite;
  pointer-events: none;
}
@keyframes fab-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 720px) {
  .fab-wa-pill {
    bottom: 16px;
    right: 16px;
    padding: 12px 18px 12px 16px;
    font-size: 0.84rem;
  }
  .fab-wa-pill .fab-text-long { display: none; }
  .fab-wa-pill .fab-text-short { display: inline; }
}
@media (min-width: 721px) {
  .fab-wa-pill .fab-text-short { display: none; }
}

/* === URGENCY CALLOUT (in-section) === */
.urgency-callout {
  background: linear-gradient(135deg, var(--c-navy-dark), var(--c-navy));
  color: var(--c-white);
  border-radius: var(--r-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}
.urgency-callout::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(217, 161, 26, 0.18), transparent 70%);
  z-index: 0;
}
.urgency-callout > * { position: relative; z-index: 1; }
.urgency-callout .ucic {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-gold);
  color: var(--c-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.urgency-callout .ucic svg { width: 26px; height: 26px; }
.urgency-callout .uctext { flex: 1; }
.urgency-callout h3 {
  color: var(--c-gold);
  margin-bottom: 6px;
  font-size: 1.1rem;
  font-weight: 700;
}
.urgency-callout p {
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}
.urgency-callout .ucbtn {
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .urgency-callout { flex-direction: column; padding: 28px 22px; text-align: center; }
}

/* === CATALOG OVERVIEW SECTION (REV-07 reposisi) === */
.catalog-overview {
  padding: 70px 0 80px;
  background: var(--c-stone);
}
.catalog-overview .ov-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}
@media (max-width: 980px) { .catalog-overview .ov-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .catalog-overview .ov-grid { grid-template-columns: 1fr; } }

/* === HIDE OLD HERO STYLES (replaced by hero-photo-bg) === */
.hero-photo-bg + * { margin-top: 0; }


/* ============================================================
   v3.1 — SAFETY FIX: prevent runaway SVG sizes (fallback)
   ============================================================ */
/* Global safety: any SVG inside body without explicit size defaults to a sensible max */
.urgency-bar svg,
.fab-wa-pill svg,
.btn svg,
.nav svg,
.footer svg,
.section-logo-mark svg,
.urgency-callout svg,
.product-card-v2 svg,
.hero-photo-bg svg {
  max-width: 100%;
  max-height: 1.5em;
  width: auto;
  height: auto;
}
/* Re-assert specific sizes (these win over the safety rule above) */
.urgency-bar .uitem svg { width: 14px !important; height: 14px !important; max-height: 14px !important; }
.fab-wa-pill svg { width: 22px !important; height: 22px !important; max-height: 22px !important; }
.urgency-callout .ucic svg { width: 26px !important; height: 26px !important; max-height: 26px !important; }
.btn svg.icon-wa { width: 18px !important; height: 18px !important; max-height: 18px !important; }
.hero-photo-bg .urgency-badge svg { width: 14px !important; height: 14px !important; max-height: 14px !important; }
.hero-photo-bg .hero-trust .trust-item svg { width: 18px !important; height: 18px !important; max-height: 18px !important; }
.section-logo-mark img { height: 28px !important; width: auto !important; max-height: 28px !important; }


/* ============================================================
   v3.2 — NEW SECTIONS: Pola image grid, Trust carousel, Video,
   Before/After single, Vignette overlay, White EXPERT SERVICE
   ============================================================ */

/* === Pola image grid (replaces SVG) === */
.pola-item img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(11, 47, 74, 0.08);
  transition: transform 0.3s var(--ease);
}
.pola-item:hover img {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(11, 47, 74, 0.12);
}

/* === Hero vignette overlay (REV-HOMEPAGE-04) === */
.hero-photo-bg .bg-overlay {
  background:
    radial-gradient(ellipse at center, rgba(8, 38, 59, 0.78) 0%, rgba(8, 38, 59, 0.55) 60%, rgba(11, 47, 74, 0.45) 100%),
    linear-gradient(180deg, rgba(8, 38, 59, 0.25) 0%, transparent 30%, transparent 70%, rgba(8, 38, 59, 0.5) 100%) !important;
}

/* === White EXPERT SERVICE (REV-HOMEPAGE-04 Q-b) === */
.hero-photo-bg .hero-headline .word-expert.white {
  color: var(--c-white) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 0, 0, 0.3);
}

/* === Single Before/After image (REV-HOMEPAGE-02) === */
.before-after-single {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.before-after-single img {
  width: 100%;
  height: auto;
  display: block;
}

/* === Video embed (REV-VIDEO-01) === */
.video-embed {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-xl);
  background: #000;
  aspect-ratio: 1 / 1;
}
.video-embed video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-unmute {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(11, 47, 74, 0.85);
  color: var(--c-white);
  border: 1px solid rgba(217, 161, 26, 0.4);
  padding: 8px 14px;
  border-radius: 100px;
  font-family: var(--f-display);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s;
  backdrop-filter: blur(8px);
}
.video-unmute:hover {
  background: rgba(217, 161, 26, 0.95);
  color: var(--c-navy-dark);
}
@media (max-width: 640px) {
  .video-embed { aspect-ratio: 1 / 1; }
  .video-unmute { font-size: 0.74rem; padding: 6px 10px; }
}

/* === Trust carousel (REV-TRUST-01) === */
.trust-carousel {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  margin: 0 -8px;
}
.trust-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 8px 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.trust-track::-webkit-scrollbar { height: 6px; }
.trust-track::-webkit-scrollbar-thumb { background: rgba(11, 47, 74, 0.25); border-radius: 3px; }
.trust-slide {
  flex: 0 0 auto;
  width: 280px;
  scroll-snap-align: start;
  background: var(--c-white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-md);
  transition: transform 0.3s var(--ease);
}
.trust-slide:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.trust-slide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.trust-caption {
  padding: 14px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-navy-dark);
  line-height: 1.4;
  font-family: var(--f-display);
}
.trust-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-navy);
  color: var(--c-gold);
  border: none;
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 4;
  box-shadow: var(--sh-md);
  transition: background 0.2s;
  line-height: 1;
}
.trust-nav:hover { background: var(--c-navy-dark); }
.trust-nav.prev { left: 8px; }
.trust-nav.next { right: 8px; }
@media (max-width: 640px) {
  .trust-slide { width: 240px; }
  .trust-slide img { height: 260px; }
  .trust-nav { width: 36px; height: 36px; font-size: 1.2rem; }
}

/* === Trust grid (for proyek.html full gallery) === */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}
@media (max-width: 1000px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-grid-item {
  background: var(--c-white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.trust-grid-item:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.trust-grid-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.trust-grid-item .caption {
  padding: 12px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-navy-dark);
  line-height: 1.4;
  font-family: var(--f-display);
}

/* === Decorative Classico section === */
.classico-showcase {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  margin-top: 40px;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.classico-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}
@media (max-width: 720px) {
  .classico-showcase { grid-template-columns: 1fr; }
  .classico-showcase img { min-height: 240px; }
}


/* === What to expect (REV-CONVERSION-01) === */
.what-to-expect {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.wte-step {
  background: var(--c-white);
  padding: 28px 24px;
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  position: relative;
  border-top: 3px solid var(--c-gold);
}
.wte-step .wte-num {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-gold);
  color: var(--c-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.1rem;
}
.wte-step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--c-navy-dark);
  margin-top: 8px;
}
.wte-step p {
  font-size: 0.88rem;
  color: var(--c-gray);
  margin: 0;
  line-height: 1.55;
}

/* ============================================================
   v3.3 — COMPREHENSIVE MOBILE OPTIMIZATION (≤ 720px)
   Comprehensive fixes for all sections on mobile devices.
   ============================================================ */

/* === GLOBAL MOBILE RULES === */
@media (max-width: 720px) {
  html { font-size: 14px; }
  body { overflow-x: hidden; }
  .container { padding-left: 18px; padding-right: 18px; }
  
  /* Section spacing tighter */
  .section { padding: 50px 0; }
  .section-tight { padding: 40px 0; }
  
  /* Section heading smaller */
  .section-head h2, h2 { font-size: 1.5rem !important; line-height: 1.2; }
  .section-head p { font-size: 0.95rem; }
  
  /* Body text */
  p { font-size: 0.95rem; line-height: 1.55; }
  
  /* Buttons - full width on mobile */
  .btn-lg { padding: 12px 18px; font-size: 0.92rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* === URGENCY BAR — mobile fix === */
@media (max-width: 720px) {
  .urgency-bar { padding: 6px 0; font-size: 0.72rem; }
  .urgency-bar .container { 
    gap: 8px; 
    flex-direction: row;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 0 12px;
  }
  .urgency-bar .container::-webkit-scrollbar { display: none; }
  .urgency-bar .uitem strong { font-weight: 700; }
}

/* === HERO mobile === */
@media (max-width: 720px) {
  .hero-photo-bg { min-height: 580px; padding: 60px 0 50px; }
  .hero-photo-bg .hero-inner-center { padding: 0 4px; }
  .hero-photo-bg .urgency-badge { 
    font-size: 0.74rem; 
    padding: 6px 14px; 
    margin-bottom: 20px;
    max-width: 100%;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.3;
  }
  .hero-photo-bg .hero-headline { 
    font-size: clamp(2rem, 9vw, 2.8rem) !important; 
    line-height: 1.0 !important;
    margin-bottom: 14px;
  }
  .hero-photo-bg .hero-headline .word-paving {
    padding: 2px 12px 4px;
    margin-right: 6px;
    display: inline-block;
  }
  .hero-photo-bg .hero-headline .word-expert {
    display: inline-block;
  }
  .hero-photo-bg .hero-tagline { 
    font-size: 0.78rem; 
    letter-spacing: 0.12em;
    margin: 8px 0 20px;
  }
  .hero-photo-bg .hero-sub { 
    font-size: 0.92rem; 
    line-height: 1.5;
    margin-bottom: 24px;
    padding: 0 6px;
  }
  .hero-photo-bg .hero-actions { 
    flex-direction: column; 
    gap: 10px; 
    margin-bottom: 16px;
  }
  .hero-photo-bg .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }
  .hero-photo-bg .hero-trust { 
    gap: 12px; 
    padding-top: 18px;
    margin-top: 18px;
    flex-direction: column;
    align-items: center;
  }
  .hero-photo-bg .hero-trust .trust-item { 
    font-size: 0.82rem; 
    justify-content: center;
  }
}

/* === NAVBAR mobile === */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  /* Note: existing CSS at line ~363 already handles .nav-menu mobile positioning.
     These rules supplement it with cleaner styling for the new layout. */
}
@media (max-width: 720px) {
  .navbar { padding: 10px 0; }
  .navbar .logo img { height: 38px; }
}

/* === CATALOG OVERVIEW (4 cards) — mobile === */
@media (max-width: 720px) {
  .catalog-overview { padding: 40px 0; }
  .catalog-overview .ov-grid { 
    grid-template-columns: 1fr; 
    gap: 16px;
  }
  .product-card-v2 { padding: 18px 16px 16px; }
  .product-card-v2 .pcimg { 
    height: 160px; 
    padding: 10px;
    margin-bottom: 14px;
  }
  .product-card-v2 h3 { font-size: 1rem; }
  .product-card-v2 .pdesc { 
    font-size: 0.82rem; 
    min-height: auto;
    margin-bottom: 12px;
  }
  .product-card-v2 .price-row {
    font-size: 0.85rem;
    flex-wrap: nowrap;
  }
  .product-card-v2 .price-row .pl { 
    font-size: 0.78rem; 
    white-space: nowrap;
  }
  .product-card-v2 .price-row .pv { 
    font-size: 0.85rem; 
    text-align: right;
    white-space: nowrap;
  }
}

/* === KEUNGGULAN (6 cards) mobile === */
@media (max-width: 720px) {
  .grid.grid-3 { grid-template-columns: 1fr !important; gap: 16px; }
  .grid.grid-4 { grid-template-columns: 1fr !important; gap: 16px; }
  .grid.grid-2 { grid-template-columns: 1fr !important; gap: 16px; }
  
  .feature-card { padding: 22px 18px; }
  .feature-card h3 { font-size: 1.05rem; }
  .service-card { padding: 24px 20px; }
  .service-card h3 { font-size: 1.1rem; }
}

/* === BEFORE/AFTER single image mobile === */
@media (max-width: 720px) {
  .before-after-single {
    border-radius: 12px;
    max-width: 100%;
  }
}

/* === VIDEO EMBED mobile === */
@media (max-width: 720px) {
  .video-embed { 
    max-width: 100%; 
    border-radius: 12px;
  }
  .video-unmute { 
    font-size: 0.7rem; 
    padding: 5px 9px; 
    bottom: 12px;
    right: 12px;
  }
}

/* === TRUST CAROUSEL mobile === */
@media (max-width: 720px) {
  .trust-carousel { margin: 0 -12px; }
  .trust-track { padding: 8px 12px 20px; gap: 12px; }
  .trust-slide { width: 240px; }
  .trust-slide img { height: 280px; }
  .trust-caption { 
    font-size: 0.78rem; 
    padding: 10px 12px;
  }
  .trust-nav {
    width: 36px; height: 36px;
    font-size: 1.3rem;
  }
  .trust-nav.prev { left: 4px; }
  .trust-nav.next { right: 4px; }
}

/* === TRUST GRID (proyek.html) mobile === */
@media (max-width: 480px) {
  .trust-grid-item img { height: 240px; }
  .trust-grid-item .caption { font-size: 0.78rem; padding: 10px 12px; }
}

/* === POLA PAVING grid mobile === */
@media (max-width: 720px) {
  .pola-section { padding: 50px 0; }
  .pola-section .pola-head { 
    flex-direction: column; 
    align-items: center;
    text-align: center;
    gap: 14px;
    margin-bottom: 30px;
  }
  .pola-section .pola-title { font-size: 1.4rem; }
  .pola-section .pola-brand img { height: 36px; }
  .pola-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px 12px;
  }
  .pola-item img { max-width: 140px; }
  .pola-item .pola-name { font-size: 0.74rem; }
}

/* === PROJECT CARDS (proyek.html) mobile === */
@media (max-width: 720px) {
  .project-card { aspect-ratio: 4 / 3; }
  .project-card .info { padding: 16px; }
  .project-card .info h3 { font-size: 1rem; }
  .project-card .info .cat { font-size: 0.7rem; }
  .project-card .info .meta { font-size: 0.78rem; }
  
  /* Filter chips */
  .project-filter {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }
  .project-filter .chip {
    font-size: 0.82rem;
    padding: 7px 14px;
  }
}

/* === ICONIC GRID (Monas + Heritage) mobile === */
@media (max-width: 720px) {
  .iconic-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .iconic-card .overlay-info { padding: 18px; }
  .iconic-card .overlay-info h3 { font-size: 1.05rem; }
  .iconic-card .overlay-info p { font-size: 0.84rem; }
}

/* === CREDIBILITY STRIP mobile === */
@media (max-width: 720px) {
  .cred-strip { grid-template-columns: 1fr !important; gap: 14px; }
  .cred-tile { aspect-ratio: 4 / 3; }
  .cred-tile .cred-label { font-size: 0.84rem; padding: 10px 14px; }
}

/* === URGENCY CALLOUT mobile === */
@media (max-width: 720px) {
  .urgency-callout { 
    flex-direction: column; 
    padding: 24px 20px;
    text-align: center;
    gap: 16px;
  }
  .urgency-callout .ucic {
    margin: 0 auto;
    width: 48px; height: 48px;
  }
  .urgency-callout h3 { font-size: 1.05rem; }
  .urgency-callout p { font-size: 0.88rem; }
  .urgency-callout .ucbtn .btn { width: 100%; max-width: 280px; }
}

/* === DISCLAIMER BLOCK mobile === */
@media (max-width: 720px) {
  .disclaimer-block { padding: 18px 20px; }
  .disclaimer-block h4 { font-size: 0.95rem; }
  .disclaimer-block p { font-size: 0.85rem; line-height: 1.6; }
}

/* === SOFT REASSURANCE mobile === */
@media (max-width: 720px) {
  .soft-reassurance { 
    padding: 18px 18px !important;
    font-size: 0.9rem;
  }
  .soft-reassurance p { font-size: 0.9rem !important; }
}

/* === WHAT TO EXPECT mobile === */
@media (max-width: 720px) {
  .what-to-expect { 
    grid-template-columns: 1fr; 
    gap: 28px;
    margin-top: 36px;
  }
  .wte-step { padding: 24px 20px; }
  .wte-step h3 { font-size: 0.98rem; }
  .wte-step p { font-size: 0.85rem; }
  .wte-step .wte-num { width: 32px; height: 32px; font-size: 1rem; }
}

/* === ABOUT PREVIEW mobile === */
@media (max-width: 720px) {
  .about-preview { grid-template-columns: 1fr !important; gap: 24px; }
  .about-visual { aspect-ratio: 4 / 3; max-width: 100%; }
  .about-stats { grid-template-columns: repeat(2, 1fr) !important; gap: 14px; }
  .stat-block { padding: 16px 14px; }
  .stat-block .stat-v { font-size: 1rem; }
  .stat-block .stat-k { font-size: 0.74rem; }
}

/* === FOOTER mobile === */
@media (max-width: 720px) {
  .footer { padding: 50px 0 30px; }
  .footer-grid { 
    grid-template-columns: 1fr !important; 
    gap: 30px;
  }
  .footer-col h4 { font-size: 0.95rem; margin-bottom: 12px; }
  .footer-col p, .footer-col li { font-size: 0.88rem; }
  .footer-bottom { 
    flex-direction: column; 
    text-align: center;
    gap: 12px;
    font-size: 0.82rem;
  }
}

/* === CONTACT PREVIEW mobile === */
@media (max-width: 480px) {
  .contact-preview { grid-template-columns: 1fr !important; gap: 16px; }
  .cp-item { padding: 16px 18px; }
  .cp-value { font-size: 1rem; }
}

/* === CONTACT CARDS (kontak.html) mobile === */
@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .contact-card { padding: 24px 20px; }
}

/* === FAB PILL mobile (final tightening) === */
@media (max-width: 480px) {
  .fab-wa-pill {
    bottom: 12px;
    right: 12px;
    padding: 10px 14px 10px 12px;
    font-size: 0.78rem;
  }
  .fab-wa-pill svg { width: 18px !important; height: 18px !important; max-height: 18px !important; }
}

/* === SECTION LOGO MARK mobile === */
@media (max-width: 720px) {
  .section-logo-mark { margin-bottom: 12px; }
  .section-logo-mark img { height: 22px !important; }
  .section-logo-mark .label { font-size: 0.66rem; letter-spacing: 0.14em; }
}

/* === PAGE HERO mobile === */
@media (max-width: 720px) {
  .page-hero { padding: 100px 0 50px; }
  .page-hero h1 { font-size: 1.8rem; line-height: 1.15; }
  .page-hero .lead { font-size: 0.95rem; }
  .breadcrumb { font-size: 0.78rem; }
}

/* === BROSUR BANNER mobile === */
@media (max-width: 720px) {
  .brochure { padding: 0; }
  .brochure-inner { 
    grid-template-columns: 1fr !important; 
    gap: 24px;
    padding: 32px 24px;
  }
  .brochure-preview { display: none; }
  .brochure-text h2 { font-size: 1.4rem; }
  .brochure-text p { font-size: 0.92rem; }
}

/* === FINAL CTA mobile === */
@media (max-width: 720px) {
  .cta-final-inner { 
    padding: 40px 24px !important;
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 20px;
  }
  .cta-final h2 { font-size: 1.4rem; }
  .cta-final p { font-size: 0.95rem; }
  .cta-final .btn { width: 100%; max-width: 280px; }
}

/* === CLASSICO SHOWCASE mobile === */
@media (max-width: 720px) {
  .classico-showcase { 
    grid-template-columns: 1fr; 
    gap: 14px;
    border-radius: 12px;
  }
  .classico-showcase img { min-height: 200px; }
}

/* === PROJECTS GRID mobile === */
@media (max-width: 720px) {
  .projects-grid { grid-template-columns: 1fr !important; gap: 14px; }
}

/* === CATALOG DETAIL products-grid mobile (final) === */
@media (max-width: 480px) {
  .products-grid { 
    grid-template-columns: 1fr !important; 
    gap: 14px;
  }
}

/* === GENERIC SAFETY === */
@media (max-width: 720px) {
  img { max-width: 100%; height: auto; }
  table { display: block; overflow-x: auto; }
  .reveal { transform: none; }
  
  /* Prevent horizontal overflow */
  section, .container, .footer { max-width: 100vw; }
  
  /* Word wrap long text */
  h1, h2, h3 { word-wrap: break-word; overflow-wrap: break-word; }
}


/* ============================================================
   v3.4 — PRECISION MOBILE FIXES (Based on actual render audit)
   ============================================================ */

/* === FIX: Hero mobile compaction === */
@media (max-width: 720px) {
  .hero-photo-bg {
    min-height: auto !important;
    padding: 50px 0 40px !important;
  }
  .hero-photo-bg .hero-inner-center {
    padding: 0;
  }
  .hero-photo-bg .urgency-badge {
    margin-bottom: 18px !important;
  }
  .hero-photo-bg .hero-headline {
    margin-bottom: 12px !important;
  }
  .hero-photo-bg .hero-tagline {
    margin: 6px 0 18px !important;
  }
  .hero-photo-bg .hero-sub {
    margin-bottom: 22px !important;
    font-size: 0.9rem !important;
  }
  .hero-photo-bg .hero-actions {
    margin-bottom: 14px !important;
  }
  .hero-photo-bg .hero-trust {
    padding-top: 16px !important;
    margin-top: 16px !important;
    gap: 10px !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  .hero-photo-bg .hero-trust .trust-item {
    font-size: 0.75rem !important;
  }
}

/* === FIX: Section-logo-mark mobile spacing === */
@media (max-width: 720px) {
  .section-logo-mark {
    margin-bottom: 8px !important;
    gap: 8px;
  }
  .section-logo-mark img {
    height: 20px !important;
  }
  .section-logo-mark .label {
    font-size: 0.62rem !important;
    letter-spacing: 0.12em;
  }
}

/* === FIX: About visual image height === */
@media (max-width: 720px) {
  .about-visual,
  .about-visual.with-photo {
    aspect-ratio: 4 / 3 !important;
    max-height: 300px;
    overflow: hidden;
  }
  .about-visual img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
}

/* === FIX: Cred-strip mobile image height === */
@media (max-width: 720px) {
  .cred-tile {
    aspect-ratio: 16 / 10 !important;
    max-height: 220px;
  }
  .cred-tile img {
    object-fit: cover;
  }
}

/* === FIX: Classico showcase mobile ===  */
@media (max-width: 720px) {
  .classico-showcase {
    grid-template-columns: 1fr !important;
  }
  .classico-showcase img {
    aspect-ratio: 16 / 10;
    max-height: 240px;
    object-fit: cover;
  }
}

/* === FIX: Trust grid item height === */
@media (max-width: 720px) {
  .trust-grid-item img {
    aspect-ratio: 4 / 3 !important;
    max-height: 280px;
    height: auto !important;
    object-fit: cover;
  }
}
@media (max-width: 480px) {
  .trust-grid-item img {
    max-height: 320px;
  }
}

/* === FIX: Brosur mobile === */
@media (max-width: 720px) {
  .brochure-meta {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: flex-start !important;
  }
  .brochure-meta > div {
    display: flex !important;
    gap: 8px;
    flex-direction: row !important;
    align-items: baseline;
  }
  .brochure-meta .k {
    font-size: 0.72rem !important;
  }
  .brochure-meta .v {
    font-size: 0.92rem !important;
    font-weight: 700;
  }
}

/* ============================================================
   v3.4 — PRECISION MOBILE FIXES (Based on actual render audit)
   ============================================================ */

/* === Issue #1: Hero background too zoomed in === */
@media (max-width: 720px) {
  .hero-photo-bg .bg-img {
    object-position: center 65%; /* show more of paving floor, less trees */
  }
  /* Reduce hero height slightly so paving foto lebih natural proporsi */
  .hero-photo-bg { 
    min-height: 540px; 
    padding: 50px 0 40px;
  }
}

/* === Issue #2: Urgency badge "Khusus Jabodetabek · Konsultasi tanpa biaya" tidak rapih, terpotong === */
@media (max-width: 720px) {
  .hero-photo-bg .urgency-badge {
    font-size: 0.74rem !important;
    padding: 6px 14px !important;
    white-space: nowrap !important;  /* FORCE 1 baris */
    max-width: 92vw;
    overflow: visible;
    line-height: 1.2;
  }
  .hero-photo-bg .urgency-badge svg {
    flex-shrink: 0;
  }
}
/* Even narrower screens — shrink text */
@media (max-width: 380px) {
  .hero-photo-bg .urgency-badge {
    font-size: 0.68rem !important;
    padding: 5px 12px !important;
    letter-spacing: 0.02em;
  }
}

/* === Issue #3: Navbar terlalu banyak makan space (logo + hamburger besar) === */
@media (max-width: 720px) {
  .nav { padding: 6px 0 !important; }
  .nav-inner { min-height: 48px !important; padding: 0 !important; }
  .nav .logo img,
  .nav-logo img {
    height: 32px !important;
    max-height: 32px !important;
  }
  .nav-toggle {
    width: 38px !important;
    height: 38px !important;
    padding: 6px !important;
  }
  .nav-toggle svg {
    width: 22px !important;
    height: 22px !important;
  }
  /* Reduce navbar fixed top spacing */
  body { --nav-h: 56px; }
}

/* === Issue #4: Trust foto carousel terpotong (kepala orang hilang) === */
@media (max-width: 720px) {
  .trust-slide {
    width: 260px !important;
  }
  .trust-slide img {
    height: 360px !important; /* taller so portrait photos show full body */
    object-fit: cover !important;
    object-position: center top !important; /* show top (head/face), not center */
  }
}
@media (max-width: 480px) {
  .trust-slide {
    width: 240px !important;
  }
  .trust-slide img {
    height: 320px !important;
    object-position: center top !important;
  }
}

/* === Issue #5: "Rekam Kerja" / About section — text terlalu banyak === */
/* The "Tentang Paving Kota" section has 2 long paragraphs + 4 stat-blocks.
   On mobile this becomes overwhelming + photo gets buried. Fix by:
   - Tighter text spacing
   - Smaller stat blocks
   - Image lebih prominent */
@media (max-width: 720px) {
  .about-preview {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .about-visual {
    margin-bottom: 8px;
    aspect-ratio: 4 / 3;
    max-height: 300px;
    overflow: hidden;
  }
  .about-visual img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .about-preview h2 {
    font-size: 1.3rem !important;
    line-height: 1.25;
  }
  .about-preview p {
    font-size: 0.9rem !important;
    line-height: 1.55;
    margin-bottom: 12px;
  }
  /* Stats lebih ringkas */
  .about-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-top: 16px;
  }
  .stat-block {
    padding: 12px 12px !important;
  }
  .stat-block .stat-k {
    font-size: 0.66rem !important;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
  }
  .stat-block .stat-v {
    font-size: 0.88rem !important;
    line-height: 1.2;
  }
}

/* === Same fix for cred-strip (3 foto pabrik) — buat foto lebih dominan === */
@media (max-width: 720px) {
  .cred-strip { 
    grid-template-columns: 1fr !important; 
    gap: 12px !important;
  }
  .cred-tile {
    aspect-ratio: 16 / 10 !important;
    max-height: 220px;
    overflow: hidden;
    border-radius: 12px;
  }
  .cred-tile img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .cred-tile .cred-label {
    font-size: 0.82rem !important;
    padding: 8px 14px !important;
  }
}

/* === Iconic card (Monas, Heritage) — overlay text harus terbaca === */
@media (max-width: 720px) {
  .iconic-card {
    aspect-ratio: 4 / 3 !important;
    max-height: 320px;
  }
  .iconic-card .overlay-info {
    padding: 16px !important;
  }
  .iconic-card .overlay-info h3 {
    font-size: 1rem !important;
  }
  .iconic-card .overlay-info p {
    font-size: 0.8rem !important;
    line-height: 1.4;
  }
  .iconic-card .overlay-info .badge {
    font-size: 0.68rem !important;
    padding: 3px 9px !important;
  }
}

/* === Brosur block — meta info ke 1 baris ringkas === */
@media (max-width: 720px) {
  .brochure-meta {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 8px !important;
  }
  .brochure-meta-item {
    font-size: 0.78rem !important;
    padding: 6px 10px !important;
  }
}

/* === Service cards (Layanan section) — tighter mobile === */
@media (max-width: 720px) {
  .service-card { padding: 22px 18px !important; }
  .service-card .service-num {
    font-size: 0.72rem !important;
    margin-bottom: 8px;
  }
  .service-card h3 { font-size: 1.05rem !important; margin-bottom: 8px; }
  .service-card p { font-size: 0.88rem !important; margin-bottom: 12px; }
  .service-card ul li { font-size: 0.82rem !important; }
}

/* === Project filter chips wrap properly === */
@media (max-width: 720px) {
  .project-filter,
  .filter-chips {
    gap: 6px !important;
    padding: 0 8px;
  }
  .project-filter .chip,
  .filter-chips .chip {
    font-size: 0.78rem !important;
    padding: 6px 12px !important;
  }
}

/* === FAB pill — pastikan tidak nutupin content === */
@media (max-width: 720px) {
  .fab-wa-pill {
    bottom: 14px !important;
    right: 12px !important;
    padding: 9px 14px 9px 12px !important;
    font-size: 0.8rem !important;
  }
  .fab-wa-pill .fab-text-short { 
    font-size: 0.8rem;
  }
}

/* === Page hero (semua halaman non-homepage) — sesuaikan navbar height baru === */
@media (max-width: 720px) {
  .page-hero {
    padding: 76px 0 36px !important;
  }
  .page-hero h1 { font-size: 1.6rem !important; }
  .page-hero .lead { font-size: 0.92rem !important; }
}

/* === Project cards (proyek.html) — pastikan tidak crop foto === */
@media (max-width: 720px) {
  .project-card {
    aspect-ratio: 3 / 4 !important; /* portrait orientation for less crop */
  }
  .project-card .photo {
    object-position: center center;
  }
  .project-card .info {
    padding: 18px 16px !important;
  }
  .project-card .info h3 {
    font-size: 1.05rem !important;
    line-height: 1.2;
  }
  .project-card .info .meta {
    font-size: 0.8rem !important;
  }
  .project-card .info p {
    font-size: 0.85rem !important;
    line-height: 1.5;
  }
}

/* === Classico showcase (katalog) — 1 column dengan aspect ratio benar === */
@media (max-width: 720px) {
  .classico-showcase {
    grid-template-columns: 1fr !important;
  }
  .classico-showcase img {
    aspect-ratio: 16 / 10 !important;
    min-height: 0 !important;
    max-height: 260px !important;
    object-fit: cover !important;
  }
}

/* === Pola paving section padding === */
@media (max-width: 720px) {
  .pola-section { padding: 40px 0 !important; }
  .pola-section .container { padding: 0 16px !important; }
  .pola-section .pola-head { margin-bottom: 24px !important; }
  .pola-section .pola-title { font-size: 1.25rem !important; }
}

/* === Trust grid item (proyek.html) — aspect ratio fix untuk portrait photos === */
@media (max-width: 720px) {
  .trust-grid-item img {
    height: auto !important;
    aspect-ratio: 4 / 3;
    object-position: center top;
  }
}
@media (max-width: 480px) {
  .trust-grid {
    grid-template-columns: 1fr !important;
  }
  .trust-grid-item img {
    height: auto !important;
    max-height: 380px;
    aspect-ratio: 4 / 3;
  }
}

/* ============================================================
   v3.5 — REFINE: Hero center, FAB center-mobile, bigger text
   ============================================================ */

/* === R1: Hero structure centered on mobile === */
@media (max-width: 720px) {
  .hero-photo-bg .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .hero-photo-bg .hero-inner-center {
    margin: 0 auto !important;
    width: 100%;
    max-width: 100%;
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-photo-bg .urgency-badge,
  .hero-photo-bg .hero-headline,
  .hero-photo-bg .hero-tagline,
  .hero-photo-bg .hero-sub,
  .hero-photo-bg .hero-actions,
  .hero-photo-bg .hero-trust {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }
  .hero-photo-bg .hero-headline {
    width: 100%;
    text-align: center !important;
  }
  /* Ensure PAVING box + word stay centered as a block */
  .hero-photo-bg .hero-headline .word-paving,
  .hero-photo-bg .hero-headline .word-expert {
    display: inline-block;
  }
}

/* === R9: Bigger base text on mobile (subtle bump 14px→15px) === */
@media (max-width: 720px) {
  html { font-size: 15px; }   /* was 14px */
  
  /* Slightly bump key reading text */
  .hero-photo-bg .hero-sub { font-size: 1rem; }
  p { font-size: 1rem; }
  .section-head p { font-size: 1rem; }
  .product-card-v2 .pdesc { font-size: 0.88rem; }
  .product-card-v2 .price-row { font-size: 0.92rem; }
  .product-card-v2 .price-row .pl { font-size: 0.85rem; }
  .product-card-v2 .price-row .pv { font-size: 0.92rem; }
  .trust-caption { font-size: 0.85rem; }
  .project-card .info p { font-size: 0.92rem; }
  .project-card .info .meta { font-size: 0.86rem; }
}
@media (max-width: 380px) {
  html { font-size: 14.5px; }  /* slightly smaller on very narrow screens */
}

/* === R3: Floating WA button — CENTER BOTTOM on mobile, oval, full text === */
@media (max-width: 720px) {
  .fab-wa-pill {
    bottom: 16px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    /* oval shape with generous side+vertical padding */
    padding: 14px 28px 14px 26px !important;
    border-radius: 100px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    max-width: 90vw;
    width: auto;
    justify-content: center;
    gap: 10px !important;
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0,0,0,0.2) !important;
  }
  .fab-wa-pill:hover,
  .fab-wa-pill:active {
    transform: translateX(-50%) translateY(-2px) !important;
  }
  /* Show full long text, hide short version */
  .fab-wa-pill .fab-text-long { display: inline !important; white-space: nowrap; }
  .fab-wa-pill .fab-text-short { display: none !important; }
  .fab-wa-pill svg { width: 20px !important; height: 20px !important; max-height: 20px !important; flex-shrink: 0; }
  /* Adjust pulse position for centered button */
  .fab-wa-pill .fab-pulse {
    left: 26px !important;
  }
}
/* Very narrow screens — keep text but smaller */
@media (max-width: 400px) {
  .fab-wa-pill {
    padding: 12px 20px 12px 18px !important;
    font-size: 0.84rem !important;
  }
}

/* === R3b: Desktop FAB stays bottom-right (unchanged, but ensure transform reset) === */
@media (min-width: 721px) {
  .fab-wa-pill {
    left: auto;
    right: 24px;
    transform: none;
  }
  .fab-wa-pill:hover {
    transform: translateY(-3px);
  }
}

/* ============================================================
   R12 — Image Lightbox / Popup Zoom
   ============================================================ */
.pk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 16, 24, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0s linear 0.28s;
  padding: 40px 20px;
  cursor: zoom-out;
}
.pk-lightbox.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.28s ease, visibility 0s linear 0s;
}
.pk-lightbox-img {
  max-width: 92vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: default;
}
.pk-lightbox.open .pk-lightbox-img {
  transform: scale(1);
}
.pk-lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 47, 74, 0.85);
  color: #fff;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-family: var(--f-display);
  font-weight: 600;
  max-width: 88vw;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.pk-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.pk-lightbox-close:hover {
  background: rgba(217, 161, 26, 0.9);
  color: var(--c-navy-dark);
  transform: rotate(90deg);
}
@media (max-width: 720px) {
  .pk-lightbox-close { top: 14px; right: 14px; width: 42px; height: 42px; font-size: 1.7rem; }
  .pk-lightbox-caption { bottom: 16px; font-size: 0.8rem; padding: 8px 16px; }
  .pk-lightbox-img { max-height: 78vh; }
}
