/* =========================================================
   PT Putra Telekomunikasi Indonesia — Company Profile
   ========================================================= */

:root {
  --navy-950: #071338;
  --navy-900: #0b1a4a;
  --navy-800: #0d1f5c;
  --navy-700: #16307d;
  --blue-600: #1d5bd0;
  --blue-500: #2a78ea;
  --cyan-400: #2fb2ec;
  --green-500: #7cbc3f;

  --ink: #0f1b3d;
  --ink-2: #33415f;
  --muted: #5d6a86;
  --line: #e2e8f3;
  --bg: #ffffff;
  --bg-soft: #f3f6fc;
  --bg-tint: #eaf1fd;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 74, .06), 0 2px 8px rgba(11, 26, 74, .05);
  --shadow: 0 10px 30px -10px rgba(11, 26, 74, .18), 0 2px 6px rgba(11, 26, 74, .05);
  --shadow-lg: 0 30px 60px -20px rgba(11, 26, 74, .35);

  --header-h: 76px;
  --container: 1200px;
  --gutter: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.fill { fill: currentColor; stroke: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 2px; border-radius: 6px; }

/* ---------- bilingual text ---------- */
html[data-lang="id"] .t-en,
html[data-lang="en"] .t-id { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none !important;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { font-size: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .6em 1.15em; font-size: .88rem; }
.btn-primary { background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); color: #fff; box-shadow: 0 8px 20px -8px rgba(29, 91, 208, .7); }
.btn-primary:hover { box-shadow: 0 12px 26px -8px rgba(29, 91, 208, .8); }
.btn-light { background: #fff; color: var(--navy-900); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--navy-800); background: #fff; }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); }

/* ---------- section scaffolding ---------- */
.section { padding: 112px 0; position: relative; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.section-head.split .section-lead { max-width: 420px; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue-500), var(--green-500)); }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--green-500), var(--blue-500)); }
.eyebrow-light { color: #9fd3ff; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.section-title.light { color: #fff; }
.section-lead { font-size: 1.08rem; color: var(--muted); }
.section-lead.light { color: #c4d3f3; max-width: 720px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(11, 26, 74, .25); border-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand img { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  color: var(--ink-2); font-weight: 600; font-size: .93rem; text-decoration: none;
  transition: color .2s, background-color .2s;
}
.main-nav a:hover { color: var(--blue-600); background: var(--bg-tint); }
.main-nav a.active { color: var(--blue-600); }
.main-nav a.active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px; margin-left: -9px; border-radius: 3px; background: var(--blue-500); }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }
.lang-switch button { border: 0; background: transparent; padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 800; color: var(--muted); letter-spacing: .04em; }
.lang-switch button[aria-pressed="true"] { background: var(--navy-800); color: #fff; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--navy-900); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; isolation: isolate; color: #fff;
  padding: calc(var(--header-h) + 96px) 0 0;
  min-height: min(100vh, 920px);
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--navy-900);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--navy-950); }
.hero-bg::before {
  /* head-office building (Gedung GKP PT INTI), kept to the right so the tower isn't behind the headline */
  content: ""; position: absolute; top: 0; bottom: 0; left: 30%; right: 0;
  background: url("../img/office.jpg") center 30% / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(7, 19, 56, .9) 0%, rgba(7, 19, 56, 0) 38%),
    linear-gradient(90deg, var(--navy-950) 0%, var(--navy-950) 30%, rgba(7, 19, 56, .82) 46%, rgba(11, 26, 74, .35) 72%, rgba(11, 26, 74, .12) 100%);
}
.hero-caption {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + 24px);
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(7, 19, 56, .55); border: 1px solid rgba(255, 255, 255, .18); color: #dbe6ff;
  font-size: .8rem; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-caption svg { color: #8fd6ff; }
@media (min-width: 1248px) { .hero-caption { right: calc((100vw - var(--container)) / 2 + var(--gutter)); } }
@media (max-width: 900px) {
  .hero-bg::before { left: 0; background-position: 60% 30%; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(7, 19, 56, .42) 0%, rgba(11, 26, 74, .7) 45%, rgba(7, 19, 56, .95) 100%); }
  .hero-caption { display: none; }
}
.hero-inner { max-width: var(--container); }
.hero-title {
  color: #fff; font-size: clamp(2.3rem, 5.6vw, 4.2rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em;
  max-width: 820px; margin-bottom: 24px;
}
.hero-title em { font-style: normal; background: linear-gradient(90deg, #6fd0ff, #a6e06b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: #cbd8f5; max-width: 640px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  margin: 72px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  border-bottom: 0; border-radius: 22px 22px 0 0;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-stats > div { padding: 26px 28px 30px; border-left: 1px solid rgba(255, 255, 255, .12); transition: background-color .3s; }
.hero-stats > div:first-child { border-left: 0; }
.hero-stats > div:hover { background: rgba(255, 255, 255, .05); }
.hero-stats dt { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.stat-num { font-size: clamp(2.3rem, 3.8vw, 3.1rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-num .plus { margin-left: 2px; background: linear-gradient(90deg, #6fd0ff, #a6e06b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #8fd6ff; stroke-width: 1.8; }
.hero-stats dd { margin: 0; line-height: 1.45; }
.hero-stats dd strong { display: block; color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 2px; }
.stat-sub { display: block; color: #b9c9ec; font-size: .84rem; }

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.about-media { position: relative; padding: 0 0 36px 36px; }
.about-media::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 75%;
  border-radius: var(--radius); background: linear-gradient(135deg, var(--blue-500), var(--cyan-400)); opacity: .14;
}
.about-photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); /* hides the brochure frame's rounded corners */ }
.about-badge {
  position: absolute; right: -18px; bottom: 6px; display: flex; gap: 12px; align-items: center;
  background: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow);
}
.about-badge > svg { font-size: 1.6rem; color: var(--blue-600); }
.about-badge strong { display: block; color: var(--ink); font-size: .95rem; }
.about-badge span { display: block; font-size: .82rem; color: var(--muted); }
.about-text > div p { font-size: 1.04rem; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 38px; color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 8px;
  background: var(--bg-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d5bd0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 96px; }
.vm-card {
  position: relative; overflow: hidden; padding: 40px 40px 36px; border-radius: 22px;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-950)); color: #c8d6f4;
}
.vm-card:nth-child(2) { background: linear-gradient(145deg, var(--blue-600), var(--navy-800)); }
.vm-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  border: 36px solid rgba(255, 255, 255, .05);
}
.vm-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 12px; }
.vm-card p { font-size: 1.06rem; line-height: 1.7; margin: 0; }
.vm-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(255, 255, 255, .1); color: #8fd6ff; font-size: 1.5rem;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services { background: var(--bg-soft); }
.services::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 0% 0%, rgba(42, 120, 234, .08), transparent 70%), radial-gradient(500px 300px at 100% 100%, rgba(124, 188, 63, .08), transparent 70%);
}
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 26px;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfdbf2; }
.service-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400)); color: #fff; font-size: 1.55rem;
  box-shadow: 0 10px 20px -10px rgba(29, 91, 208, .8);
}
.service-card:nth-child(3n+2) .service-icon { background: linear-gradient(135deg, var(--navy-700), var(--blue-500)); }
.service-card:nth-child(3n) .service-icon { background: linear-gradient(135deg, #2e9b6a, var(--green-500)); box-shadow: 0 10px 20px -10px rgba(78, 160, 60, .8); }
.service-card h3 { font-size: 1.14rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .97rem; flex: 1; }
.tags { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .75rem; font-weight: 700; color: var(--navy-700); background: var(--bg-tint); padding: 4px 10px; border-radius: 999px; }
.service-card-cta { background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); border-color: transparent; }
.service-card-cta:hover { border-color: transparent; }
.service-card-cta h3 { color: #fff; }
.service-card-cta p { color: #c3d1f0; }
.service-card.service-card-cta .service-icon { background: rgba(255, 255, 255, .12); box-shadow: none; color: #8fd6ff; }
.service-card-cta .btn { align-self: flex-start; margin-top: 6px; }

/* =========================================================
   PORTFOLIO
   ========================================================= */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-2);
  padding: 8px 16px; border-radius: 999px; font-size: .88rem; font-weight: 700;
  transition: all .2s var(--ease); display: inline-flex; align-items: center; gap: 8px;
}
.chip small { font-size: .72rem; font-weight: 800; color: var(--muted); background: var(--bg-soft); border-radius: 999px; padding: 1px 7px; }
.chip:hover { border-color: var(--blue-500); color: var(--blue-600); }
.chip[aria-selected="true"], .chip[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chip[aria-selected="true"] small, .chip[aria-pressed="true"] small { background: rgba(255, 255, 255, .16); color: #fff; }
.filter-desc { color: var(--muted); margin: 0 0 26px; min-height: 1.65em; max-width: 820px; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 36px; }
.g-item {
  position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--bg-soft); box-shadow: var(--shadow-sm);
  animation: pop .5s var(--ease) both;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7, 19, 56, .85));
  opacity: 0; transition: opacity .3s;
}
.g-item span {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: #fff; text-align: left;
  font-size: .82rem; font-weight: 700; transform: translateY(8px); opacity: 0; transition: all .3s var(--ease);
}
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.06); }
.g-item:hover::after, .g-item:focus-visible::after, .g-item:hover span, .g-item:focus-visible span { opacity: 1; transform: none; }
@keyframes pop { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
#gallery-more[hidden] { display: none; }

/* =========================================================
   TOOLS
   ========================================================= */
.tools { background: linear-gradient(160deg, var(--navy-900), var(--navy-950)); overflow: hidden; }
.tools::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 178, 236, .25), transparent 65%);
}
.tools .section-head { margin-bottom: 16px; }
.tools .section-lead { margin-bottom: 40px; }
.tools-nav { display: flex; gap: 10px; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25); background: transparent;
  color: #fff; display: grid; place-items: center; font-size: 1.2rem; transition: background-color .2s, border-color .2s;
}
.round-btn:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.tools-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 300px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 12px;
  scroll-padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  scrollbar-width: none; position: relative;
}
.tools-track::-webkit-scrollbar { display: none; }
.tools-track .g-item { scroll-snap-align: start; border-radius: 16px; box-shadow: none; animation: none; }

/* =========================================================
   EXPERIENCE
   ========================================================= */
.client-wall {
  --cols: 5;
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
}
.client-wall li {
  flex: 0 0 calc((100% - (var(--cols) - 1) * 14px) / var(--cols));
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 12px;
  padding: 22px 14px 14px; border-radius: 16px; text-align: center;
  background: #fff; border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.client-wall li:hover { border-color: #c6d5f1; box-shadow: var(--shadow); transform: translateY(-3px); }
.client-wall .logo-box { height: 56px; width: 100%; display: grid; place-items: center; }
.client-wall .logo-box img { max-height: 48px; max-width: min(150px, 88%); width: auto; height: auto; object-fit: contain; }
.client-wall .logo-box img[src$="bakti.png"] { max-height: 58px; } /* tall lockup with tagline reads small otherwise */
.client-wall .wordmark { font-size: 1.5rem; font-weight: 800; letter-spacing: .12em; color: var(--navy-700); }
.client-wall .client-name {
  width: 100%; padding-top: 10px; border-top: 1px solid var(--line);
  font-size: .76rem; font-weight: 600; color: var(--muted); line-height: 1.35;
}
@media (max-width: 1080px) { .client-wall { --cols: 4; } }
@media (max-width: 900px) { .client-wall { --cols: 3; } }

/* =========================================================
   QUALITY & PERMITS
   ========================================================= */
.quality { background: var(--bg-soft); }
.quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.quality-grid > div:first-child > p { color: var(--muted); }
.permit-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.permit-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue-500); border-radius: 12px; padding: 14px 18px;
}
.permit-list li:nth-child(n+2) { border-left-color: var(--green-500); }
.permit-list strong { color: var(--ink); }
.permit-list span { font-size: .82rem; font-weight: 700; color: var(--muted); background: var(--bg-soft); padding: 3px 10px; border-radius: 999px; }

.qmp-card { background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); color: #c3d1f0; border-radius: 22px; padding: 40px; box-shadow: var(--shadow-lg); }
.qmp-card h3 { color: #fff; font-size: 1.5rem; }
.qmp-steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.qmp-steps li { counter-increment: s; position: relative; padding-left: 54px; font-size: .95rem; }
.qmp-steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #8fd6ff; font-weight: 800; font-size: .85rem;
}
.qmp-steps strong { display: block; color: #fff; margin-bottom: 2px; }

/* =========================================================
   TEAM
   ========================================================= */
.org { display: grid; gap: 0; }
.org-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px 28px; position: relative; padding: 36px 0; }
.org-row + .org-row::before {
  /* vertical connector from the row above */
  content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 36px; background: linear-gradient(var(--blue-500), #b7c8ee);
}
.org-mid::after, .org-staff::after {
  content: ""; position: absolute; top: 36px; left: 12%; right: 12%; height: 2px; background: #c9d6f2;
}
.org-lead { padding-top: 0; }
.person { margin: 0; width: 200px; text-align: center; position: relative; z-index: 1; padding-top: 18px; }
.person img {
  width: 128px; height: 128px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px;
  border: 5px solid #fff; box-shadow: 0 12px 26px -12px rgba(11, 26, 74, .45);
  transition: transform .3s var(--ease);
}
.person:hover img { transform: translateY(-4px); }
.person strong { display: block; color: var(--ink); font-size: 1rem; line-height: 1.3; }
.person figcaption > span { display: block; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.person-lg { width: 260px; padding-top: 0; }
.person-lg img { width: 168px; height: 168px; border-width: 6px; box-shadow: 0 0 0 10px var(--bg-tint), 0 20px 40px -16px rgba(11, 26, 74, .5); }
.person-lg strong { font-size: 1.2rem; }
.person-lg figcaption > span { color: var(--blue-600); font-weight: 700; }
.person-sm { width: 160px; }
.person-sm img { width: 104px; height: 104px; }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band { padding: 0 0 0; position: relative; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  background: linear-gradient(110deg, var(--blue-600), var(--navy-800) 70%);
  border-radius: 24px; padding: 48px 56px; color: #d2defa; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-inner::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .06); }
.cta-inner h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 8px; }
.cta-inner p { margin: 0; max-width: 560px; }
.cta-inner .btn { position: relative; z-index: 1; }
.cta-inner .btn svg { color: #25a244; font-size: 1.3em; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.ci { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-tint); color: var(--blue-600); font-size: 1.25rem; }
.contact-list strong { display: block; color: var(--ink); margin-bottom: 2px; }
.contact-list li > div > span, .contact-list a { color: var(--muted); }
.contact-list a:hover { color: var(--blue-600); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form-note { color: var(--muted); font-size: .88rem; margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: .85rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft);
  font: inherit; font-size: .95rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(42, 120, 234, .12); }
.field .invalid { border-color: #d64545; background: #fff7f7; }
.form-error { color: #c23434; font-size: .88rem; font-weight: 600; margin: -4px 0 14px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy-950); color: #9fb0d6; padding: 80px 0 0; margin-top: 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 18px; background: #fff; padding: 8px 14px; border-radius: 14px; }
.footer-brand p { max-width: 300px; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #c7d4f2; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer-bottom p { margin: 0; }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; font-size: 1.9rem;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7); transition: transform .25s var(--ease);
}
.wa-float svg { fill: currentColor; stroke: none; }
.wa-float:hover { transform: scale(1.08); }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(5, 12, 36, .94);
  display: flex; align-items: center; justify-content: center; padding: 64px 80px;
  animation: fade .25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { width: min(760px, 100%); height: auto; max-height: calc(100vh - 170px); object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: #c8d4f0; font-size: .92rem; text-align: center; }
.lb-close { position: absolute; top: 16px; right: 20px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 2rem; line-height: 1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; font-size: 1.4rem; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .2); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
body.no-scroll { overflow: hidden; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .main-nav a { padding: 8px 10px; }
  .header-cta { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .brand img { height: 40px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 22px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(11, 26, 74, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s var(--ease);
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 12px 14px; font-size: 1rem; border-radius: 12px; }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { background: var(--bg-tint); }
  .nav-cta-mobile { display: block; margin-top: 8px; text-align: center; background: var(--navy-800); color: #fff !important; }
  .header-actions { margin-left: auto; }

  .section { padding: 80px 0; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 64px); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .hero-stats > div:nth-child(3) { border-left: 0; }
  .hero-stats > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .about-grid, .quality-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; }
  .vm-grid { grid-template-columns: 1fr; margin-top: 64px; }
  .org-mid::after, .org-staff::after, .org-row + .org-row::before { display: none; }
  .org-row { padding: 20px 0; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .lang-switch button { padding: 5px 9px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats > div { padding: 18px 16px 22px; }
  .hero-stats dt { margin-bottom: 10px; gap: 6px; }
  .stat-num { font-size: 2.1rem; }
  .stat-icon { width: 32px; height: 32px; padding: 7px; border-radius: 10px; }
  .hero-stats dd strong { font-size: .88rem; }
  .stat-sub { font-size: .76rem; }
  .about-media { padding: 0 0 28px 20px; }
  .about-badge { right: 8px; }
  .vm-card, .qmp-card, .contact-form { padding: 28px 22px; }
  .service-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .g-item span { display: none; }
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .tools-nav { display: none; }
  .tools-track { grid-auto-columns: 72%; }
  .client-wall { --cols: 2; gap: 10px; }
  .client-wall li { flex-basis: calc((100% - 10px) / 2); padding: 16px 10px 10px; gap: 10px; }
  .client-wall .logo-box { height: 46px; }
  .client-wall .logo-box img { max-height: 38px; }
  .client-wall .client-name { font-size: .72rem; }


  .person { width: calc(50% - 14px); }
  .person-lg { width: 100%; }
  .person img { width: 104px; height: 104px; }
  .person-sm img { width: 92px; height: 92px; }
  .cta-inner { padding: 36px 24px; }
  .cta-inner .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .lightbox { padding: 64px 12px 80px; }
  .lb-nav { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; font-size: 1.7rem; }
}
