/* ============================================================
   PT Kurnia Nugraha Wijaya (KAHAJA) — Company Profile
   ============================================================ */

:root {
  --yellow: #ffd400;
  --yellow-soft: #fff6bf;
  --gold: #9a7b3c;
  --gold-dark: #7d622d;
  --ink: #161616;
  --ink-soft: #232323;
  --muted: #5f625f;
  --line: #e5e5de;
  --bg: #ffffff;
  --soft: #f7f7f2;
  --white: #ffffff;
  --radius: 22px;
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 78px;
  --font-head: "Poppins", "Century Gothic", "Trebuchet MS", sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --shadow-sm: 0 6px 20px rgba(20, 20, 15, 0.06);
  --shadow-md: 0 18px 50px rgba(20, 20, 15, 0.1);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

::selection { background: var(--yellow); color: var(--ink); }

:focus-visible {
  outline: 3px solid #0b6b8a;
  outline-offset: 3px;
  border-radius: 4px;
}

section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 300;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 10px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 18px; height: 18px; }

.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: #f2c800; box-shadow: 0 10px 24px rgba(255, 212, 0, 0.35); }

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

.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }

.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--white); }

.btn-sm { padding: 11px 20px; font-size: 0.82rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(20, 20, 15, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--gold-dark);
}
.brand-text small {
  margin-top: 4px;
  font-family: var(--font-head);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); }
.nav a {
  position: relative;
  padding: 6px 0;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current]::after { transform: scaleX(1); }
.nav .nav-wa { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}
.lang-switch button {
  border: 0;
  background: transparent;
  padding: 5px 9px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-switch button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }

.menu-toggle {
  display: none;
  width: 43px;
  height: 43px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Section basics ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink); color: var(--white); }
.section-yellow { background: var(--yellow); color: var(--ink); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.section-head > p:not(.eyebrow):not(.section-sub) {
  margin-top: 16px;
  color: var(--muted);
  max-width: 640px;
}
.section-head.center > p:not(.eyebrow):not(.section-sub) { margin-inline: auto; }
.section-sub {
  margin-top: 12px;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.section-dark .section-sub { color: var(--yellow); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.25);
  flex: none;
}
.eyebrow-dark { color: var(--ink); }
.eyebrow-light { color: rgba(255, 255, 255, 0.72); }

.text-yellow { color: var(--yellow); }
.text-gold { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(36px, 6vw, 76px)) 0 clamp(58px, 7vw, 100px);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 212, 0, 0.2), transparent 32%),
    radial-gradient(circle at 6% 92%, rgba(255, 212, 0, 0.1), transparent 26%),
    var(--bg);
}
.hero::after {
  content: "";
  position: absolute;
  top: 18%;
  right: -90px;
  width: 240px;
  height: 240px;
  border: 2px dashed rgba(154, 123, 60, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.35rem, 4.6vw, 4rem);
  font-weight: 700;
  line-height: 1.03;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  max-width: 13ch;
}
.hero h1 .mark {
  display: inline-block;
  margin-top: 8px;
  padding: 0 0.12em;
  background: var(--yellow);
  border-radius: 8px;
  transform: rotate(-1deg);
}

.hero-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin: 0 0 22px;
  max-width: 560px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-services span { display: inline-flex; align-items: center; }
.hero-services span:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  margin: 0 10px;
}

.hero-tagline {
  max-width: 540px;
  margin: 0 0 30px;
  padding-left: 18px;
  border-left: 3px solid var(--yellow);
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--ink-soft);
}

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-facts li {
  display: flex;
  flex-direction: column;
  padding-right: clamp(20px, 3vw, 34px);
  margin-right: clamp(20px, 3vw, 34px);
  border-right: 1px solid var(--line);
  line-height: 1.3;
}
.hero-facts li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-facts strong {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
}
.hero-facts span { font-size: 0.72rem; color: var(--muted); }

.hero-visual { position: relative; justify-self: end; width: min(100%, 470px); }
.hero-circle { border: 12px solid var(--yellow); }
.hero-circle img { object-position: 50% 40%; }

.hero-chip {
  position: absolute;
  left: -18px;
  bottom: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 13px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
}
.hero-chip .icon { width: 34px; height: 34px; padding: 8px; background: var(--yellow); border-radius: 50%; color: var(--ink); }

.dot { position: absolute; border-radius: 50%; background: var(--yellow); pointer-events: none; }
.dot-lg { width: 62px; height: 62px; right: -12px; top: 6%; }
.dot-sm { width: 18px; height: 18px; left: 8%; top: 14%; background: var(--gold); }

/* ---------- Circle photos ---------- */
.circle-frame {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #ecece6;
}
.circle-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- About ---------- */
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(40px, 7vw, 84px);
}

.split-media { position: relative; width: min(100%, 470px); }
.about-circle { box-shadow: 20px 20px 0 var(--yellow); }

.floating-card {
  position: absolute;
  right: -14px;
  bottom: -18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 22px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 230px;
  line-height: 1.35;
}
.floating-num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.split-copy h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.split-copy p { color: var(--muted); font-size: 0.97rem; }
.split-copy p:nth-of-type(1) { margin-top: 22px; }

.fact-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.fact-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
}
.fact-chips .icon { width: 14px; height: 14px; color: var(--gold); }

/* ---------- Vision & Mission ---------- */
.vision-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(40px, 7vw, 86px);
}
.vision-media { width: min(100%, 420px); }
.mission-circle { box-shadow: -20px 20px 0 var(--yellow); }

.vision-copy h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 26px; }

.vision-statement {
  padding: 20px 24px;
  background: var(--white);
  border-left: 5px solid var(--yellow);
  border-radius: 0 16px 16px 0;
  box-shadow: var(--shadow-sm);
}
.vision-statement h3,
.mission h3 {
  margin-bottom: 8px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.vision-statement p { margin: 0; font-family: var(--font-serif); font-size: 1.02rem; line-height: 1.65; }

.mission { margin-top: 30px; }
.mission ol { counter-reset: mission; display: grid; gap: 13px; }
.mission li {
  counter-increment: mission;
  position: relative;
  padding-left: 40px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.mission li::before {
  content: counter(mission, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--yellow);
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--yellow);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 250px;
}
.service-intro h2 { font-size: clamp(1.7rem, 2.3vw, 2.15rem); line-height: 1.08; }
.service-intro p { margin-top: 14px; max-width: 30ch; font-size: 0.88rem; line-height: 1.55; }
.service-thumb {
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(255, 255, 255, 0.75);
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 212, 0, 0.9);
  box-shadow: var(--shadow-md);
}
.service-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
}
.service-icon .icon { width: 22px; height: 22px; }
.service-num {
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(20, 20, 20, 0.1);
}
.service-card h3 { font-size: 1.08rem; line-height: 1.3; }
.service-card p { margin-top: 10px; font-size: 0.88rem; line-height: 1.6; color: var(--muted); }

/* ---------- Featured projects ---------- */
.projects-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 7vw, 80px);
  align-items: start;
}
.projects-media { position: sticky; top: calc(var(--header-h) + 30px); width: min(100%, 430px); }
.projects-circle { box-shadow: 18px 18px 0 var(--yellow); }
.projects-badge {
  position: absolute;
  right: -18px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 22px;
  background: var(--yellow);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.projects-badge strong { font-size: 1rem; letter-spacing: 0.02em; }

.projects-copy .section-head { margin-bottom: 28px; }
.project-block { padding-top: 26px; border-top: 1px solid var(--line); }
.project-block + .project-block { margin-top: 26px; }
.project-block h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1.12rem;
}
.project-index {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  font-size: 0.68rem;
  font-weight: 700;
  flex: none;
}
.project-block p { font-size: 0.92rem; color: var(--muted); }

.check-list { display: grid; gap: 9px; margin-top: 14px; }
.check-list li { position: relative; padding-left: 28px; font-size: 0.9rem; color: var(--ink-soft); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161616' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat;
}

/* ---------- Portfolio tables ---------- */
.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.tabs button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--yellow); color: var(--ink); font-weight: 600; }
.tab-count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.08);
  font-size: 0.66rem;
}
.tabs button[aria-selected="true"] .tab-count { background: rgba(20, 20, 20, 0.12); }

.table-hint { display: none; }
.table-card {
  margin-top: 26px;
  padding: clamp(6px, 1.4vw, 14px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.table-title {
  padding: 14px 16px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.table-scroll { overflow-x: auto; border-radius: 14px; }

table { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 0.86rem; }
thead th {
  position: sticky;
  top: 0;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}
thead th:first-child { border-radius: 10px 0 0 0; }
thead th:last-child { border-radius: 0 10px 0 0; }
tbody td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #fbfbf7; }
tbody tr:hover { background: var(--yellow-soft); }
tbody td:first-child { font-family: var(--font-head); font-size: 0.76rem; color: var(--muted); width: 52px; }
tbody td:last-child { white-space: nowrap; font-weight: 600; }

.download-row { display: flex; justify-content: center; margin-top: 34px; }

/* ---------- Team ---------- */
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 860px;
  margin-inline: auto;
  padding-top: 8px;
}
.org-node {
  position: relative;
  width: 100%;
  padding: 20px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  border-radius: 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.org-node--lead {
  max-width: 290px;
  background: var(--ink);
  border-color: var(--ink);
  border-top-color: var(--yellow);
  color: var(--white);
}
.org-node--lead::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -37px;
  width: 2px;
  height: 37px;
  background: var(--line);
}
.org-role {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-head);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.org-node--lead .org-role { color: var(--yellow); }
.org-node strong { font-family: var(--font-head); font-size: 1rem; font-weight: 600; }

.org-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
  margin-top: 74px;
}
.org-row::before {
  content: "";
  position: absolute;
  top: -37px;
  left: 16.666%;
  right: 16.666%;
  height: 2px;
  background: var(--line);
}
.org-row .org-node::before {
  content: "";
  position: absolute;
  top: -37px;
  left: 50%;
  width: 2px;
  height: 37px;
  background: var(--line);
}

/* ---------- Gallery ---------- */
.section-dark .section-head > p:not(.eyebrow):not(.section-sub) { color: #b9b9b2; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #242424;
  cursor: zoom-in;
  text-align: left;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), opacity 0.3s;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.78) 100%);
  opacity: 0.75;
  transition: opacity 0.3s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { opacity: 1; }

.gallery-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s, transform 0.25s;
}
.gallery-overlay .icon { width: 15px; height: 15px; }
.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay { opacity: 1; transform: none; }

.gallery-cap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--white);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(40px, 7vw, 80px);
}
.contact-copy h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.contact-lead { max-width: 44ch; margin: 16px 0 26px; font-size: 1rem; }

.contact-list {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(20, 20, 20, 0.1);
  border-radius: 20px;
  padding: 4px 22px;
  backdrop-filter: blur(4px);
}
.contact-list li { display: flex; align-items: flex-start; gap: 14px; padding: 15px 0; }
.contact-list li + li { border-top: 1px solid rgba(20, 20, 20, 0.12); }
.contact-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  flex: none;
}
.contact-icon .icon { width: 17px; height: 17px; }
.contact-list strong {
  display: block;
  margin-bottom: 1px;
  font-family: var(--font-head);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.contact-list a { font-size: 0.92rem; font-weight: 500; line-height: 1.5; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.contact-media { position: relative; width: min(100%, 440px); justify-self: end; }
.contact-circle { border: 10px solid var(--white); box-shadow: var(--shadow-md); }
.contact-media .dot-lg { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: #101010; color: #c9c9c2; padding: clamp(48px, 6vw, 76px) 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: clamp(28px, 4vw, 54px);
}
.footer-brand .brand img { width: 42px; height: 42px; }
.footer-brand .brand-text strong { color: var(--yellow); }
.footer-brand .brand-text small { color: #8f8f88; }
.footer-brand p { margin-top: 18px; max-width: 34ch; font-size: 0.86rem; line-height: 1.7; color: #9a9a93; }

.footer-col h3 {
  margin-bottom: 16px;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { font-size: 0.85rem; color: #b6b6af; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-contact a { word-break: break-word; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(36px, 5vw, 60px);
  padding: 20px 0;
  border-top: 1px solid #262626;
  font-size: 0.76rem;
  color: #8d8d86;
}
.footer-top { display: inline-flex; align-items: center; gap: 7px; color: #c9c9c2; }
.footer-top:hover { color: var(--yellow); }
.icon-up { transform: rotate(-45deg); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.wa-float .icon { width: 27px; height: 27px; }
.wa-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: min(1040px, 94vw);
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #0e0e0e;
  color: var(--white);
  overflow: hidden;
}
.lightbox::backdrop {
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(6px);
}
.lightbox-inner { position: relative; padding: 26px clamp(46px, 7vw, 76px) 22px; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lightbox img {
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
}
.lightbox figcaption {
  margin-top: 14px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  color: #d6d6d0;
  text-align: center;
}
.lb-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
}
.lb-close:hover { background: var(--yellow); color: var(--ink); }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lb-nav:hover { background: var(--yellow); color: var(--ink); }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }
.lb-nav .icon { width: 20px; height: 20px; }

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 14px; }
  .header-cta { display: none; }
}

@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-thumb { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }

  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: calc(var(--header-h) + 10px);
    left: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 14px 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .site-header.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
  .nav a::after { display: none; }
  .nav .nav-wa {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    padding: 13px 18px;
    border: 0;
    border-radius: 999px;
    background: var(--yellow);
    justify-content: center;
    font-weight: 600;
  }

  .hero { padding-top: calc(var(--header-h) + 34px); }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: 620px; }
  .hero-visual { justify-self: center; width: min(78vw, 400px); }
  .hero-chip { left: 0; }

  .split,
  .vision-grid,
  .projects-split,
  .contact-grid { grid-template-columns: 1fr; }
  .split-media,
  .vision-media,
  .contact-media { justify-self: center; width: min(74vw, 400px); }
  .projects-media { position: relative; justify-self: center; width: min(74vw, 400px); margin-bottom: 24px; }
  .projects-badge { right: 2px; bottom: 12px; padding: 12px 16px; }
  .vision-media { order: 2; }
  .contact-media { order: -1; width: min(70vw, 360px); }
  .split-copy { max-width: 660px; }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .brand img { width: 38px; height: 38px; }
  .brand-text strong { font-size: 1.24rem; }

  .hero h1 { font-size: clamp(2.05rem, 9vw, 2.9rem); }
  .hero-services { font-size: 0.66rem; gap: 6px 14px; }
  .hero-services span:not(:last-child)::after { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { gap: 14px 0; }
  .hero-facts li { flex: 1 1 33%; padding-right: 12px; margin-right: 12px; }
  .hero-facts strong { font-size: 1.3rem; }
  .hero-facts span { font-size: 0.64rem; }
  .hero-chip { bottom: 10px; padding: 9px 14px 9px 9px; font-size: 0.68rem; }
  .hero-chip .icon { width: 29px; height: 29px; }
  .dot-lg { width: 44px; height: 44px; }

  .floating-card { right: 0; bottom: -12px; padding: 12px 16px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-intro { min-height: 220px; }
  .service-thumb { display: none; }
  .table-hint { display: block; margin-top: 14px; font-size: 0.72rem; color: var(--muted); }

  .tabs { display: flex; border-radius: 16px; }
  .tabs button { flex: 1; justify-content: center; font-size: 0.74rem; padding: 10px 12px; }

  .org-chart { align-items: stretch; max-width: 380px; }
  .org-node--lead { max-width: none; margin-inline: 0; }
  .org-node--lead::after { display: none; }
  .org-row { grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
  .org-row::before { display: none; }
  .org-row .org-node::before { display: none; }
  .org-row .org-node { text-align: left; border-top-width: 1px; border-left: 4px solid var(--yellow); }
  .org-node { text-align: left; }
  .org-node--lead { text-align: left; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-cap { font-size: 0.64rem; left: 10px; right: 10px; bottom: 9px; }

  .contact-list { padding: 4px 16px; }
  .contact-actions .btn { flex: 1 1 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .lightbox-inner { padding: 46px 14px 18px; }
  .lightbox img { max-height: 66vh; }
  .lb-nav { top: auto; bottom: 12px; transform: none; }
  .lb-prev { left: 14px; }
  .lb-next { right: 14px; }
  .lightbox figcaption { padding: 0 44px 44px; }

  .wa-float { right: 14px; bottom: 14px; width: 50px; height: 50px; }
  .wa-float .icon { width: 24px; height: 24px; }
}

@media (max-width: 420px) {
  .lang-switch button { padding: 5px 7px; }
  .header-actions { gap: 8px; }
  .brand-text small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
