/* ============================================================
   PT. Konstruksi Utama Indonesia — Company Profile
   Aesthetic: industrial / architectural editorial
   Palette: KUI brand red + navy blue on warm off-white, charcoal type
   ============================================================ */

:root {
  /* Brand: KUI logo red + navy blue */
  --red:     #d8232a;
  --red-dk:  #b21d23;
  --blue:    #1d3a8a;
  --blue-dk: #14275f;
  --ink:     #14161c;
  --ink-2:   #4a4f5c;
  --paper:   #f6f7f9;
  --paper-2: #ffffff;
  --line:    #e0e3ea;
  --dark:    #0e1119;
  --dark-2:  #131829;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 72px);

  --f-display: 'Archivo', sans-serif;
  --f-body: 'Hanken Grotesk', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--f-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--red); color: #fff; }

/* ---------- Logo wordmark (K = red, UI = navy, matches KUI brand) ---------- */
.logo {
  font-family: var(--f-display);
  font-weight: 900;
  letter-spacing: -0.05em;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--blue);
  display: inline-block;
}
.logo__k { color: var(--red); }
.logo--lg { font-size: 3.4rem; color: #fff; }
.logo--lg .logo__k { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .02em;
  padding: .85em 1.5em;
  border-radius: 2px;
  transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: var(--red); transform: translateY(-3px); box-shadow: 0 12px 28px -12px rgba(216,35,42,.6); }
.btn--ghost { color: var(--ink); border: 1.5px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }
.btn--nav { background: var(--red); color: #fff; padding: .7em 1.25em; }
.btn--nav:hover { background: var(--red-dk); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 16px var(--gutter);
  background: rgba(246,247,245,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, padding .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); padding-top: 12px; padding-bottom: 12px; }

.nav__brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.nav__logo { height: 52px; width: auto; display: block; transition: height .3s; }
.nav.scrolled .nav__logo { height: 44px; }
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { width: 100%; }
.nav__brand-full {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: -.01em;
  color: var(--ink-2);
  max-width: 180px;
  line-height: 1.15;
}
.nav__links { display: flex; gap: 1.6rem; }
.nav__links a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  transition: color .25s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -5px;
  width: 0; height: 2px; background: var(--red); transition: width .3s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px var(--gutter) 80px;
  overflow: hidden;
}
.hero__inner { max-width: var(--maxw); margin: 0 auto; width: 100%; position: relative; z-index: 2; }

/* diagonal stripe motif */
.hero__stripes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.stripe {
  position: absolute;
  height: 14px;
  border-radius: 20px;
  transform: rotate(-32deg);
  transform-origin: right center;
}
.stripe--g  { background: var(--red); }
.stripe--b  { background: var(--blue); }
.stripe--g2 { background: var(--red); opacity: .4; }

/* Corner accents only — kept clear of the headline band */
.hero .stripe--g  { width: 360px; top: -40px;  right: -70px; opacity: .85; animation: drift 9s var(--ease) infinite alternate; }
.hero .stripe--b  { width: 480px; top: 18px;   right: -150px; opacity: .8; animation: drift 11s var(--ease) infinite alternate-reverse; }
.hero .stripe--g2 { width: 260px; bottom: -30px; right: 6%; opacity: .4; animation: drift 10s var(--ease) infinite alternate; }

@keyframes drift { from { transform: translateY(0) rotate(-32deg);} to { transform: translateY(-22px) rotate(-32deg);} }

.hero__eyebrow {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red-dk);
  margin-bottom: 1.4rem;
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.9rem, 8.5vw, 7rem);
  line-height: .96;
  letter-spacing: -.035em;
  margin-bottom: 1.6rem;
}
.hero__title span { display: block; }
.hero__title-accent { color: var(--red); }
.hero__lead {
  max-width: 560px;
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  color: var(--ink-2);
  margin-bottom: 2.4rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.5rem; }

.hero__stats { display: flex; gap: clamp(1.5rem, 5vw, 4rem); flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: var(--f-display); font-weight: 800; font-size: 2.2rem; letter-spacing: -.03em; line-height: 1; }
.stat__label { font-size: .82rem; color: var(--ink-2); margin-top: .35rem; }

.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%; transform: translateX(-50%);
  font-family: var(--f-display); font-size: .68rem; font-weight: 600;
  letter-spacing: .35em; color: var(--ink-2);
  writing-mode: vertical-rl;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translateX(-50%) translateY(0);opacity:.5} 50%{transform:translateX(-50%) translateY(8px);opacity:1} }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding: clamp(64px, 11vh, 130px) var(--gutter); position: relative; }
.section > *:not(.cta__stripes) { max-width: var(--maxw); margin-inline: auto; }

.section__head { display: flex; align-items: baseline; gap: 1.2rem; margin-bottom: clamp(2.4rem, 5vw, 4rem); flex-wrap: wrap; }
.section__index {
  font-family: var(--f-display); font-weight: 800; font-size: .9rem;
  color: var(--red); letter-spacing: .1em;
}
.section__title {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(1.9rem, 4.4vw, 3.3rem);
  letter-spacing: -.03em; line-height: 1;
}
.rule { flex: 1; height: 1px; background: var(--line); min-width: 40px; align-self: center; }
.rule--light { background: rgba(255,255,255,.18); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about__lead p { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.28; letter-spacing: -.02em; }
.about__cols { display: flex; flex-direction: column; gap: 1.3rem; }
.about__cols p { color: var(--ink-2); font-size: 1.02rem; }

/* ---------- Biodata (dark) ---------- */
.section--dark { background: var(--dark); color: #eef1ef; }
.section--dark .section__title { color: #fff; }
.biodata { display: grid; gap: 0; }
.biodata__row {
  display: grid; grid-template-columns: 280px 1fr; gap: 2rem;
  padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.1);
  align-items: baseline;
}
.biodata__row:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.biodata dt { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; color: #fff; }
.biodata dd { color: #b9c2bf; font-size: 1.02rem; }
.biodata dd a { color: var(--red); transition: color .25s; }
.biodata dd a:hover { color: #fff; }

/* ---------- Visi Misi ---------- */
.section--vm { background: var(--paper-2); }
.vm { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.vm__tag {
  display: inline-block; font-family: var(--f-display); font-weight: 800;
  font-size: 1.05rem; color: #fff; background: var(--red);
  padding: .35em 1.1em; border-radius: 2px; margin-bottom: 1.3rem;
}
.vm__tag--blue { background: var(--blue); }
.vm__visi p { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 500; line-height: 1.45; letter-spacing: -.01em; }
.vm__visi { position: sticky; top: 110px; }
.vm__list { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; counter-reset: m; }
.vm__list li {
  position: relative; padding: 1.2rem 1.2rem 1.2rem 3.6rem;
  background: var(--paper); border-radius: 4px;
  border-left: 3px solid var(--red);
  color: var(--ink-2); transition: transform .4s var(--ease), box-shadow .4s;
  counter-increment: m;
}
.vm__list li:hover { transform: translateX(6px); box-shadow: 0 14px 30px -18px rgba(0,0,0,.25); }
.vm__list li::before {
  content: counter(m, decimal-leading-zero);
  position: absolute; left: 1.2rem; top: 1.2rem;
  font-family: var(--f-display); font-weight: 800; font-size: .9rem; color: var(--red);
}
.vm__list strong { color: var(--ink); font-weight: 700; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service {
  position: relative; background: var(--paper); padding: clamp(1.8rem, 3.5vw, 3rem);
  transition: background .4s, transform .4s var(--ease);
  overflow: hidden;
}
.service::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--red), var(--blue));
  transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease);
}
.service:hover { background: var(--paper-2); }
.service:hover::before { transform: scaleY(1); }
.service__num { font-family: var(--f-display); font-weight: 800; font-size: .8rem; color: var(--ink-2); letter-spacing: .1em; }
.service__icon { width: 52px; height: 52px; color: var(--red); margin: 1.2rem 0 1.1rem; transition: transform .45s var(--ease); }
.service:hover .service__icon { transform: translateY(-4px) scale(1.06); }
.service__icon svg { width: 100%; height: 100%; }
.service h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; margin-bottom: .7rem; }
.service p { color: var(--ink-2); font-size: .98rem; }

/* ---------- Org tree: connector lines, fits without horizontal scroll ----------
   Exec chain is vertical; the 6 divisions share one equal-column row;
   each division's team stacks VERTICALLY beneath it, so width stays bounded. */
.section--org { background: var(--paper-2); }

.tree__top { display: flex; flex-direction: column; align-items: center; }
.tree__v { width: 2px; height: 26px; background: var(--line); }

.tree__node {
  font-family: var(--f-display); font-weight: 700; font-size: .9rem;
  padding: .65em 1.4em; border-radius: 3px; text-align: center; line-height: 1.25;
}
.tree__node--exec { background: var(--ink); color: #fff; }
.tree__node--div {
  border: 1.5px solid var(--red); color: var(--red-dk); background: var(--paper-2);
  font-size: .82rem; padding: .6em .7em; width: 100%;
}

.tree__row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding-top: 24px;
}
/* horizontal connector spanning the centers of first..last column */
.tree__row::before {
  content: ''; position: absolute; top: 0;
  left: calc(100% / 12); right: calc(100% / 12);
  border-top: 2px solid var(--line);
}
.tree__branch { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 22px; }
/* drop from horizontal line to each division node */
.tree__branch::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  height: 22px; border-left: 2px solid var(--line);
}

/* vertical team stacks: node → tick → leaf → tick → leaf */
.tree__stack { list-style: none; width: 100%; display: flex; flex-direction: column; align-items: center; }
.tree__stack > li { display: flex; flex-direction: column; align-items: center; width: 100%; }
.tree__stack > li > .tree__leaf::before { content: ''; display: block; }
.tree__leaf {
  position: relative; display: block; width: 100%;
  font-family: var(--f-display); font-weight: 600; font-size: .74rem; line-height: 1.3;
  color: var(--ink-2); text-align: center;
  border: 1px solid var(--line); border-radius: 3px; background: var(--paper);
  padding: .55em .5em; margin-top: 12px;
}
/* tick above each leaf */
.tree__leaf::after {
  content: ''; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  height: 12px; border-left: 2px solid var(--line);
}
.tree__leaf--pm { border-color: var(--blue); color: var(--blue); font-weight: 700; }
.tree__stack--sub { width: 88%; }
.tree__stack--sub .tree__leaf { font-size: .7rem; background: var(--paper-2); }

@media (max-width: 1000px) {
  .tree__row { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .tree__row::before, .tree__branch::before { display: none; }
  .tree__top .tree__v:last-child { display: none; }
  .tree__row { border-top: 2px solid var(--line); margin-top: 0; padding-top: 24px; }
}
@media (max-width: 560px) {
  .tree__row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Clients ---------- */
.section--clients { background: var(--dark); color: #fff; }
.section--clients .section__title { color: #fff; }
.section--clients .rule { background: rgba(255,255,255,.16); }
.section--clients .section__index { color: var(--red); }
.clients { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.client {
  display: flex; align-items: center; gap: 1.2rem;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.15rem, 2.6vw, 1.9rem);
  letter-spacing: -.02em; padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: padding-left .35s var(--ease), color .35s;
}
.client:hover { padding-left: 1rem; color: var(--red); }
.client__no { font-size: .85rem; color: var(--red); font-weight: 700; }

/* ---------- CTA ---------- */
.section--cta { background: var(--dark-2); color: #fff; overflow: hidden; }
.cta__stripes { position: absolute; inset: 0; pointer-events: none; opacity: .9; }
.cta__stripes .stripe--g { width: 600px; top: -20px; right: -140px; }
.cta__stripes .stripe--b { width: 460px; bottom: 30px; left: -120px; opacity: .8; }
.cta__inner { position: relative; z-index: 2; }
.cta__eyebrow { font-family: var(--f-display); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; color: var(--red); margin-bottom: 1rem; }
.cta__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.1rem, 5.5vw, 4.2rem); line-height: 1; letter-spacing: -.035em; margin-bottom: 2.8rem; }
.cta__contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.cta__contact { display: flex; flex-direction: column; gap: .4rem; padding: 1.4rem 1.5rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 4px; transition: background .3s, transform .4s var(--ease), border-color .3s; }
a.cta__contact:hover { background: rgba(216,35,42,.12); border-color: var(--red); transform: translateY(-4px); }
.cta__contact-label { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: #93a09c; }
.cta__contact-val { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; word-break: break-word; }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark); color: #fff;
  padding: 3rem var(--gutter);
  display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-end;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer__brand { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }
.footer__logo { background: #fff; border-radius: 10px; padding: 14px 20px; display: inline-block; line-height: 0; }
.footer__logo img { height: 58px; width: auto; display: block; }
.footer__brand p { color: #93a09c; font-size: .92rem; line-height: 1.5; }
.footer__meta { display: flex; flex-direction: column; gap: .5rem; text-align: right; font-size: .85rem; color: #93a09c; }
.footer__meta a { color: var(--red); }
.footer__meta a:hover { color: #fff; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .stripe, .hero__scroll { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .about__grid, .vm { grid-template-columns: 1fr; }
  .vm__visi { position: static; }
  .biodata__row { grid-template-columns: 1fr; gap: .4rem; }
  .cta__contacts { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .btn--nav { display: none; }
  .nav__brand-full { display: none; }
  .nav__toggle { display: flex; }

  .nav__links.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .nav__links.open a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav__links.open a::after { display: none; }

  .services { grid-template-columns: 1fr; }
  .clients { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   CLIENT LOGO WALL
   ============================================================ */
.client-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
  margin-bottom: 3.5rem;
}
.client-logo {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; padding: 2rem 1.2rem; background: var(--dark);
  transition: background .35s;
}
.client-logo:hover { background: #161b27; }
/* white chip so full-color logos read cleanly on the dark section */
.client-logo__chip {
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 210px; height: 96px;
  background: #fff; border-radius: 8px; padding: 14px 18px;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.client-logo:hover .client-logo__chip {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px -16px rgba(0,0,0,.55);
}
.client-logo img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain;
}
.client-logo figcaption {
  font-family: var(--f-display); font-weight: 700; font-size: .92rem;
  letter-spacing: -.01em; color: #c2cad8; text-align: center;
}

/* ============================================================
   FAQ
   ============================================================ */
.section--faq { background: var(--paper-2); }
.faq { display: flex; flex-direction: column; gap: .9rem; max-width: 860px; }
.faq__item {
  border: 1px solid var(--line); border-radius: 6px; background: var(--paper);
  padding: 0 1.4rem; transition: border-color .3s, box-shadow .3s;
}
.faq__item[open] { border-color: var(--red); box-shadow: 0 14px 34px -22px rgba(216,35,42,.4); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 1.25rem 2rem 1.25rem 0; position: relative;
  font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 600; color: var(--red); transition: transform .3s var(--ease);
  line-height: 1;
}
.faq__item[open] summary::after { content: '\2212'; transform: translateY(-50%) rotate(180deg); }
.faq__item p { padding: 0 0 1.4rem; color: var(--ink-2); font-size: 1rem; max-width: 64ch; }

/* ============================================================
   WHATSAPP FLOATING ACTION BUTTON
   ============================================================ */
.wa-fab {
  position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px);
  z-index: 90; display: inline-flex; align-items: center; gap: 0;
  background: #25d366; color: #fff; border-radius: 999px;
  padding: 14px; box-shadow: 0 12px 30px -8px rgba(37,211,102,.55);
  transition: transform .4s var(--ease), gap .4s var(--ease), padding .4s var(--ease), box-shadow .3s;
  overflow: hidden;
}
.wa-fab__icon { width: 30px; height: 30px; fill: #fff; flex-shrink: 0; }
.wa-fab__label {
  font-family: var(--f-display); font-weight: 700; font-size: .92rem; white-space: nowrap;
  max-width: 0; opacity: 0; transition: max-width .4s var(--ease), opacity .3s, margin .4s var(--ease);
}
.wa-fab:hover { transform: translateY(-3px); box-shadow: 0 16px 38px -8px rgba(37,211,102,.7); gap: 10px; padding-right: 22px; }
.wa-fab:hover .wa-fab__label { max-width: 220px; opacity: 1; }
/* gentle attention pulse */
.wa-fab::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: waPulse 2.6s ease-out infinite;
}
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70%,100% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } }

@media (prefers-reduced-motion: reduce) { .wa-fab::before { animation: none; } }

@media (max-width: 760px) {
  .client-logos { grid-template-columns: repeat(2, 1fr); }
  /* keep label collapsed on mobile — icon-only FAB */
  .wa-fab:hover { gap: 0; padding-right: 14px; }
  .wa-fab:hover .wa-fab__label { max-width: 0; opacity: 0; }
}

/* ============================================================
   MENGAPA MEMILIH KAMI (Why Choose Us)
   ============================================================ */
.section--whyus { background: var(--paper-2); }
.whyus { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.whyus__item {
  background: var(--paper); padding: clamp(1.6rem, 3vw, 2.4rem);
  position: relative; transition: background .4s, transform .4s var(--ease);
}
.whyus__item::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.whyus__item:hover { background: var(--paper-2); }
.whyus__item:hover::after { transform: scaleX(1); }
.whyus__num {
  font-family: var(--f-display); font-weight: 800; font-size: 2.4rem;
  letter-spacing: -.04em; color: var(--line); line-height: 1; display: block; margin-bottom: 1rem;
  transition: color .4s;
}
.whyus__item:hover .whyus__num { color: var(--red); }
.whyus__item h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; margin-bottom: .7rem; }
.whyus__item p { color: var(--ink-2); font-size: .96rem; }

@media (max-width: 920px) { .whyus { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .whyus { grid-template-columns: 1fr; } }

/* ============================================================
   HERO STRIPES — MOBILE: shrink to a tidy top-right accent
   ============================================================ */
@media (max-width: 760px) {
  .hero .stripe--g  { width: 190px; top: -28px; right: -50px; opacity: .8; }
  .hero .stripe--b  { width: 250px; top: 6px;   right: -90px; opacity: .7; }
  .hero .stripe--g2 { display: none; }
}

/* ============================================================
   MULTI-PAGE COMPONENTS
   ============================================================ */

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 160px var(--gutter) clamp(48px, 8vh, 84px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero__inner { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 2; }
.page-hero .stripe { height: 12px; }
.page-hero .stripe--g { width: 300px; top: 40px; right: -70px; opacity: .8; }
.page-hero .stripe--b { width: 400px; top: 96px; right: -140px; opacity: .75; }
.page-hero__title {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: .98; letter-spacing: -.035em;
  margin: .8rem 0 1rem; max-width: 16ch;
}
.page-hero__title .accent { color: var(--red); }
.page-hero__lead { max-width: 620px; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--ink-2); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .82rem; color: var(--ink-2); font-weight: 500; }
.breadcrumb a { color: var(--red-dk); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--ink); }
.breadcrumb .sep { margin: 0 .5em; color: var(--line); }

/* ---------- Teaser blocks (home) ---------- */
.teaser-cta { margin-top: 2.4rem; }
.linkmore {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-display); font-weight: 700; font-size: .9rem;
  color: var(--red-dk); transition: gap .3s var(--ease);
}
.linkmore:hover { gap: .9em; }

/* ---------- Service detail rows ---------- */
.svc-list { display: flex; flex-direction: column; gap: 0; }
.svc {
  display: grid; grid-template-columns: 80px 1fr; gap: clamp(1.2rem, 4vw, 3rem);
  padding: clamp(2rem, 5vw, 3.4rem) 0; border-top: 1px solid var(--line);
  align-items: start;
}
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc__num { font-family: var(--f-display); font-weight: 800; font-size: 2rem; color: var(--red); letter-spacing: -.03em; }
.svc__icon { width: 46px; height: 46px; color: var(--red); margin-bottom: 1rem; }
.svc__icon svg { width: 100%; height: 100%; }
.svc h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.02em; margin-bottom: .9rem; }
.svc__body p { color: var(--ink-2); max-width: 70ch; margin-bottom: 1.1rem; }
.svc__tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.svc__tags li {
  font-family: var(--f-display); font-weight: 600; font-size: .8rem; color: var(--blue-dk);
  background: rgba(29,58,138,.07); border: 1px solid rgba(29,58,138,.15);
  padding: .35em .8em; border-radius: 999px;
}

/* ---------- Project grid ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.proj-card {
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--paper-2);
  transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
}
.proj-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -26px rgba(0,0,0,.3); border-color: var(--red); }
.proj-card__media { aspect-ratio: 16/10; background: linear-gradient(135deg, #e8ebf2, #d6dbe6); display: grid; place-items: center; color: #9aa3b5; position: relative; }
.proj-card__media svg { width: 54px; height: 54px; opacity: .55; }
.proj-card__tag { position: absolute; top: 12px; left: 12px; font-family: var(--f-display); font-weight: 700; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; background: var(--red); color: #fff; padding: .35em .7em; border-radius: 3px; }
.proj-card__body { padding: 1.3rem 1.4rem 1.5rem; }
.proj-card h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: .5rem; }
.proj-card__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .85rem; color: var(--ink-2); }
.proj-card__meta b { color: var(--ink); font-weight: 600; }
.proj-note { margin-top: 2.2rem; font-size: .92rem; color: var(--ink-2); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  display: flex; gap: 1rem; padding: 1.3rem 1.4rem; border: 1px solid var(--line);
  border-radius: 8px; background: var(--paper-2); transition: border-color .3s, transform .35s var(--ease);
}
a.contact-card:hover { border-color: var(--red); transform: translateX(4px); }
.contact-card__icon { width: 26px; height: 26px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.contact-card__icon svg { width: 100%; height: 100%; }
.contact-card__label { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.contact-card__val { font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; color: var(--ink); word-break: break-word; }

.map-embed { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map-embed iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

.cform { display: grid; gap: 1rem; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cform label { display: flex; flex-direction: column; gap: .4rem; font-family: var(--f-display); font-weight: 600; font-size: .82rem; color: var(--ink); }
.cform input, .cform textarea {
  font-family: var(--f-body); font-size: 1rem; padding: .8em .9em; border: 1px solid var(--line);
  border-radius: 6px; background: var(--paper-2); color: var(--ink); transition: border-color .25s, box-shadow .25s;
}
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(216,35,42,.12); }
.cform textarea { resize: vertical; min-height: 120px; }

/* ---------- Footer nav ---------- */
.footer { align-items: flex-start; }
.footer__nav { display: flex; flex-direction: column; gap: .6rem; }
.footer__nav h4 { font-family: var(--f-display); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #93a09c; margin-bottom: .3rem; }
.footer__nav a { font-size: .92rem; color: #c2cad8; transition: color .25s; }
.footer__nav a:hover { color: var(--red); }

@media (max-width: 920px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .svc { grid-template-columns: 1fr; gap: .6rem; }
  .svc__num { font-size: 1.5rem; }
  .cform__row { grid-template-columns: 1fr; }
  .page-hero .stripe--g { width: 150px; top: 30px; right: -40px; }
  .page-hero .stripe--b { width: 200px; top: 70px; right: -70px; }
}

/* ---------- Map embed (kontak) ---------- */
.cta__map {
  margin-top: 1.5rem; border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.12); line-height: 0;
}
.cta__map iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(.15); }
@media (max-width: 760px) { .cta__map iframe { height: 280px; } }

/* ---------- Service & about photos (from company profile) ---------- */
.service__media {
  margin-top: 1.2rem; border-radius: 4px; overflow: hidden;
  aspect-ratio: 16 / 10;
}
.service__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s var(--ease);
}
.service:hover .service__media img { transform: scale(1.05); }

.about__media {
  margin-top: clamp(2rem, 5vw, 3.5rem); border-radius: 6px; overflow: hidden;
}
.about__media img {
  width: 100%; height: clamp(240px, 38vw, 440px); object-fit: cover; display: block;
}
