/* =========================================================
   PT Global Perkasa Cipta Sarana — main stylesheet
   Palette taken from the company logo (#44429a / #75a6d9)
   ========================================================= */
:root {
  --indigo-900: #16153d;
  --indigo-800: #1f1e55;
  --indigo-700: #2b2a6e;
  --indigo-600: #44429a;
  --sky-500: #4f8fd3;
  --sky-400: #75a6d9;
  --sky-100: #e7f0fa;
  --ink: #1b1f33;
  --muted: #5a6077;
  --line: #e2e6f0;
  --bg: #ffffff;
  --bg-tint: #f4f7fc;
  --wa: #25d366;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(31, 30, 85, .25);
  --shadow-sm: 0 4px 14px -6px rgba(31, 30, 85, .2);
  --header-h: 72px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky-400); outline-offset: 2px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; transition: transform .15s, background .2s, color .2s, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--sky-400); color: var(--indigo-900); }
.btn--primary:hover { background: #8db6e1; }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { border-color: var(--indigo-600); color: var(--indigo-600); background: transparent; }
.btn--outline:hover { background: var(--indigo-600); color: #fff; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  transition: background .25s, box-shadow .25s;
}
.header.is-scrolled, .header.is-open { background: rgba(255,255,255,.97); box-shadow: 0 2px 16px rgba(22,21,61,.08); backdrop-filter: blur(8px); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: auto; }
.brand__text { white-space: nowrap; display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-size: .95rem; font-weight: 800; letter-spacing: .02em; }
.brand__text small { font-size: .72rem; font-weight: 600; letter-spacing: .18em; opacity: .85; }
.header.is-scrolled .brand, .header.is-open .brand { color: var(--indigo-700); }

.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav__list a { white-space: nowrap; display: block; padding: 8px 12px; border-radius: 8px; color: #fff; font-weight: 600; font-size: .92rem; }
.nav__list a:hover { text-decoration: none; background: rgba(255,255,255,.12); }
.header.is-scrolled .nav__list a { color: var(--ink); }
.header.is-scrolled .nav__list a:hover { background: var(--sky-100); }
.nav__list a.is-current { color: var(--sky-400); }
.header.is-scrolled .nav__list a.is-current { color: var(--indigo-600); }
.nav__list .nav__cta, .header.is-scrolled .nav__list .nav__cta { background: var(--sky-400); color: var(--indigo-900); padding: 8px 16px; border-radius: 999px; margin-left: 6px; }
.nav__list .nav__cta:hover { background: #8db6e1; }

.header__actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1.5px solid rgba(255,255,255,.5); border-radius: 999px; padding: 2px; }
.lang__btn { border: 0; background: transparent; color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.lang__btn.is-active { background: #fff; color: var(--indigo-700); }
.header.is-scrolled .lang, .header.is-open .lang { border-color: var(--line); }
.header.is-scrolled .lang__btn, .header.is-open .lang__btn { color: var(--muted); }
.header.is-scrolled .lang__btn.is-active, .header.is-open .lang__btn.is-active { background: var(--indigo-600); color: #fff; }

.burger { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 10px; border-radius: 8px; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger span + span { margin-top: 6px; }
.header.is-scrolled .burger span, .header.is-open .burger span { background: var(--indigo-700); }
.header.is-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header.is-open .burger span:nth-child(2) { opacity: 0; }
.header.is-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1180px) {
  .burger { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
    box-shadow: 0 16px 24px -16px rgba(22,21,61,.25);
  }
  .header.is-open .nav { max-height: 80vh; }
  .nav__list { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 0; }
  .nav__list a, .header.is-scrolled .nav__list a { color: var(--ink); padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__list .nav__cta, .header.is-scrolled .nav__list .nav__cta { margin: 12px 0 0; text-align: center; border-bottom: 0; border-radius: 999px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 48px) 0 40px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; z-index: -2; transform: scale(1.04); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(22,21,61,.95) 0%, rgba(31,30,85,.85) 45%, rgba(43,42,110,.45) 100%),
    radial-gradient(circle at 85% 20%, rgba(117,166,217,.35), transparent 50%);
}
.hero__inner { max-width: 1200px; }
.hero__title { font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 800; margin: .2em 0 .35em; }
.hero__sub { display: block; margin-top: .45em; font-size: clamp(1.15rem, 2.6vw, 1.7rem); font-weight: 700; color: var(--sky-400); letter-spacing: 0; }
.hero__lead { max-width: 620px; font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255,255,255,.88); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-500); margin-bottom: .8em; }
.eyebrow--light { color: var(--sky-400); }

.stats { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 56px; background: rgba(255,255,255,.15); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.15); }
.stats li { background: rgba(22,21,61,.55); backdrop-filter: blur(6px); padding: 20px; }
.stats strong { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--sky-400); line-height: 1.1; }
.stats span { font-size: .88rem; color: rgba(255,255,255,.82); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
@media (min-width: 768px) { .section { padding: 104px 0; } }
.section--tint { background: var(--bg-tint); }
.section--dark { background: linear-gradient(160deg, var(--indigo-900), var(--indigo-700)); color: #fff; }
.section--dark .section__lead { color: rgba(255,255,255,.8); }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
.section__lead { color: var(--muted); font-size: 1.05rem; }

/* ---------- About ---------- */
.about { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 5fr 7fr; gap: 64px; } }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; max-height: 560px; }
.about__badge { position: absolute; right: -8px; bottom: 24px; background: var(--indigo-600); color: #fff; padding: 16px 22px; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.about__badge strong { display: block; font-size: 2rem; line-height: 1; color: var(--sky-400); }
.about__badge span { font-size: .85rem; }
.about__body p { color: var(--muted); }
.about__body strong { color: var(--ink); }


.quote { margin-top: 72px; text-align: center; }
.quote p { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 700; color: var(--indigo-700); max-width: 820px; margin: 0 auto; font-style: italic; }

/* ---------- Cards / services ---------- */
.cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards--4, .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.1rem; color: var(--indigo-700); }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--sky-100); display: grid; place-items: center; margin-bottom: 18px; }
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--indigo-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Featured division: Motorola radio */
.radio { display: grid; gap: 28px; margin-bottom: 20px; padding: 32px 24px; border-radius: var(--radius); color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(140deg, var(--indigo-900) 0%, var(--indigo-700) 60%, var(--indigo-600) 100%); box-shadow: var(--shadow); }
.radio::after { content: ""; position: absolute; z-index: -1; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(117,166,217,.18) 0 2px, transparent 2px 34px); }
@media (min-width: 768px) { .radio { padding: 40px; } }
@media (min-width: 1024px) { .radio { grid-template-columns: 1fr 260px; gap: 48px; align-items: center; } }
.radio__head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.radio__icon { flex: 0 0 60px; height: 60px; border-radius: 14px; background: var(--sky-400); display: grid; place-items: center; }
.radio__icon svg { width: 32px; height: 32px; fill: none; stroke: var(--indigo-900); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.radio__tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-400); margin-bottom: 4px; }
.radio h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 0; color: #fff; }
.radio__main > p { color: rgba(255,255,255,.85); max-width: 720px; }
.radio__link { margin-top: 24px; }
.radio__list { list-style: none; display: grid; gap: 10px 28px; margin-top: 18px; }
@media (min-width: 768px) { .radio__list { grid-template-columns: repeat(2, 1fr); } }
.radio__list li { position: relative; padding-left: 28px; font-size: .94rem; color: rgba(255,255,255,.92); }
.radio__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sky-400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316153d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.radio__stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: var(--radius-sm); overflow: hidden; background: rgba(255,255,255,.15); }
@media (min-width: 1024px) { .radio__stats { grid-template-columns: 1fr; } }
.radio__stats li { background: rgba(22,21,61,.45); padding: 16px 14px; }
.radio__stats strong { display: block; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; color: var(--sky-400); font-weight: 800; }
.radio__stats span { font-size: .8rem; color: rgba(255,255,255,.8); line-height: 1.35; display: block; }

/* ---------- Largest projects ---------- */
.top { list-style: none; padding: 0; margin: 0; counter-reset: top; display: grid; gap: 16px; }
@media (min-width: 640px) { .top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .top { grid-template-columns: repeat(3, 1fr); } }
.top__item { counter-increment: top; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px 76px; min-height: 120px; transition: transform .2s, box-shadow .2s; }
.top__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.top__item::before { content: counter(top, upper-alpha); position: absolute; left: 20px; top: 22px; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--sky-100); color: var(--indigo-600); font-weight: 800; font-size: 1.1rem; }
.top__item h3 { font-size: 1.05rem; color: var(--indigo-700); margin: 8px 0 4px; }
.top__meta { margin: 0; color: var(--muted); font-size: .92rem; }
.top__meta strong { font-size: 1.4rem; color: var(--indigo-600); font-weight: 800; }
.top__tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; background: var(--indigo-600); color: #fff; }
.top__tag--cmax { background: #e3e2f6; color: var(--indigo-700); }
.top__tag--lcp { background: var(--sky-100); color: #2c6aa8; }
.top__tag--ipsc { background: #e3f4ee; color: #1d7a58; }
.top__item--feature { background: linear-gradient(150deg, var(--indigo-800), var(--indigo-600)); border-color: transparent; color: #fff; }
.top__item--feature::before { background: rgba(255,255,255,.15); color: #fff; }
.top__item--feature h3 { color: #fff; }
.top__item--feature .top__meta { color: rgba(255,255,255,.8); }
.top__item--feature .top__meta strong { color: var(--sky-400); }
.top__item--feature .top__tag { background: var(--sky-400); color: var(--indigo-900); }

/* ---------- Achievements ---------- */
.achv { display: grid; gap: 20px; }
@media (min-width: 900px) { .achv { grid-template-columns: repeat(2, 1fr); } }
.achv__item { display: grid; grid-template-columns: 120px 1fr; gap: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 18px; }
@media (min-width: 480px) { .achv__item { grid-template-columns: 150px 1fr; } }
.achv__item img { width: 100%; height: 100%; min-height: 170px; object-fit: cover; border-radius: var(--radius-sm); }
.achv__item h3 { font-size: 1.08rem; color: var(--sky-400); }
.achv__item ul { padding-left: 1.1em; color: rgba(255,255,255,.85); font-size: .93rem; }
.achv__item li + li { margin-top: .35em; }
.achv__item strong { color: #fff; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -16px 0 32px; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--muted); padding: 8px 16px; border-radius: 999px; font-size: .88rem; font-weight: 600; transition: all .2s; }
.chip:hover { border-color: var(--sky-400); color: var(--indigo-600); }
.chip.is-active { background: var(--indigo-600); border-color: var(--indigo-600); color: #fff; }

.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard[hidden] { display: none; }
.pcard__img { aspect-ratio: 16/11; overflow: hidden; background: var(--bg-tint); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__body { padding: 22px; }
.pcard__body h3 { font-size: 1.05rem; color: var(--indigo-700); }
.pcard__body ul { padding-left: 1.1em; color: var(--muted); font-size: .92rem; }
.pcard__body li + li { margin-top: .3em; }

/* ---------- Experience ---------- */
.exp { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.exp__table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.exp__table th { text-align: left; background: var(--indigo-600); color: #fff; padding: 14px 20px; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.exp__table td { padding: 13px 20px; border-top: 1px solid var(--line); vertical-align: top; }
.exp__table td:first-child { font-weight: 600; width: 42%; }
.exp__table td:last-child { color: var(--muted); }
.exp__table tbody tr:nth-child(even) { background: var(--bg-tint); }
.exp.is-collapsed tbody tr:nth-child(n+11) { display: none; }
.exp__more { margin: 20px auto; display: flex; }
@media (max-width: 640px) {
  .exp__table thead { display: none; }
  .exp__table tr { display: block; padding: 12px 16px; border-top: 1px solid var(--line); }
  .exp__table td { display: block; padding: 0; border: 0; width: auto !important; }
  .exp__table td:last-child { font-size: .9rem; }
}

/* ---------- Products & certifications ---------- */
.split { display: grid; gap: 56px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.partners { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.certs { list-style: none; display: grid; gap: 10px; }
.certs li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .93rem; font-weight: 500; background: #fff; }
.certs li::before { content: ""; flex: 0 0 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--sky-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2344429a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Client logos ---------- */
.logos__label { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--indigo-600); margin: 8px 0 18px; }
.logos { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 40px; }
@media (min-width: 560px) { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .logos { grid-template-columns: repeat(5, 1fr); } }
.logos li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); height: 120px; display: grid; place-items: center; padding: 16px 20px; transition: box-shadow .2s, transform .2s; }
.logos li:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.logos img { max-height: 80px; max-width: 100%; width: auto; object-fit: contain; }

/* ---------- Org chart ---------- */
.org { overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.org__tree, .org__tree ul { list-style: none; display: flex; justify-content: center; position: relative; }
.org__tree { min-width: 760px; }
.org__tree ul { padding-top: 22px; }
.org__tree li { position: relative; padding: 22px 6px 0; display: flex; flex-direction: column; align-items: center; }
.org__tree > li { padding-top: 0; }
/* connectors */
.org__tree li::before, .org__tree li::after { content: ""; position: absolute; top: 0; width: 50%; height: 22px; border-top: 2px solid var(--sky-400); }
.org__tree li::before { right: 50%; }
.org__tree li::after { left: 50%; border-left: 2px solid var(--sky-400); }
.org__tree li:only-child::before, .org__tree li:only-child::after { border-top: 0; }
.org__tree li:only-child::before { display: none; }
.org__tree li:first-child::before, .org__tree li:last-child::after { border-top: 0; }
.org__tree li:last-child::before { border-right: 2px solid var(--sky-400); border-radius: 0 6px 0 0; }
.org__tree li:first-child::after { border-radius: 6px 0 0 0; }
.org__tree > li::before, .org__tree > li::after { display: none; }
.org__tree ul::before { content: ""; position: absolute; top: 0; left: 50%; height: 22px; border-left: 2px solid var(--sky-400); }
.org__node { display: inline-block; padding: 9px 14px; border-radius: 8px; font-size: .82rem; font-weight: 700; background: var(--indigo-600); color: #fff; white-space: nowrap; box-shadow: var(--shadow-sm); }
.org__node--top { background: var(--indigo-800); padding: 11px 22px; font-size: .9rem; }
.org__node--sub { background: var(--sky-500); }
.org__node--leaf { background: #fff; color: var(--indigo-700); border: 1.5px solid var(--sky-400); box-shadow: none; font-weight: 600; }

/* ---------- Gallery ---------- */
.gallery { columns: 2 160px; column-gap: 12px; }
@media (min-width: 768px) { .gallery { columns: 4 200px; column-gap: 16px; } }
.gallery button { display: block; width: 100%; border: 0; padding: 0; margin: 0 0 12px; border-radius: var(--radius-sm); overflow: hidden; background: var(--line); break-inside: avoid; cursor: zoom-in; }
@media (min-width: 768px) { .gallery button { margin-bottom: 16px; } }
.gallery img { width: 100%; transition: transform .4s, filter .3s; }
.gallery button:hover img { transform: scale(1.04); filter: brightness(1.05); }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10,10,30,.92); display: grid; place-items: center; padding: 56px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1000px, 100%); max-height: calc(100vh - 112px); width: auto; border-radius: 8px; }
.lightbox__close { position: absolute; top: 12px; right: 16px; background: transparent; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1; }
.lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact { grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; } }
.contact__list { list-style: none; display: grid; gap: 18px; margin: 28px 0; }
.contact__list li { display: flex; gap: 14px; }
.contact__list svg { flex: 0 0 44px; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(117,166,217,.18); fill: none; stroke: var(--sky-400); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact__list strong { display: block; font-size: .85rem; color: var(--sky-400); text-transform: uppercase; letter-spacing: .08em; }
.contact__list span, .contact__list a { color: #fff; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.15); aspect-ratio: 16/9; background: rgba(255,255,255,.05); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px 24px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); display: grid; gap: 14px; }
@media (min-width: 768px) { .form { padding: 36px; } }
.form h3 { font-size: 1.25rem; color: var(--indigo-700); }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-tint); color: var(--ink); transition: border-color .2s, background .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sky-500); background: #fff; }
.form textarea { resize: vertical; }
.form__error { color: #c0392b; font-size: .88rem; margin: 0; }
.form__alt { text-align: center; font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--indigo-900); color: rgba(255,255,255,.75); padding: 48px 0 24px; font-size: .92rem; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.footer__brand { display: flex; gap: 14px; align-items: center; }
.footer__brand img { width: 36px; }
.footer__brand strong { color: #fff; }
.footer__brand p { margin: 0; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__nav a { color: rgba(255,255,255,.8); }
.footer__nav a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 20px; font-size: .85rem; }
.footer__bottom p { margin: 0; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(37,211,102,.6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* =========================================================
   Subpage: /mototrbo/
   ========================================================= */
.hero--page { min-height: 0; padding: calc(var(--header-h) + 40px) 0 56px; }
.hero__title--page { font-size: clamp(1.9rem, 4.6vw, 3.3rem); max-width: 900px; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.crumbs a { color: var(--sky-400); }
.stats--page { margin-top: 40px; }

.sys { display: grid; gap: 20px; }
@media (min-width: 900px) { .sys { grid-template-columns: repeat(2, 1fr); } }
.sys__item { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--sky-400); border-radius: var(--radius); padding: 26px 24px; }
.sys__item h3 { font-size: 1.25rem; color: var(--indigo-700); margin: 12px 0 10px; }
.sys__item p { color: var(--muted); font-size: .95rem; }
.sys__ref { margin: 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .9rem !important; }
.sys__ref strong { color: var(--ink); }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 16px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 1.6rem; font-weight: 800; color: var(--sky-400); line-height: 1; margin-bottom: 12px; }
.steps h3 { font-size: 1.05rem; color: var(--indigo-700); }
.steps p { margin: 0; color: var(--muted); font-size: .93rem; }

.mgallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; }
@media (min-width: 900px) { .mgallery { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.mgallery figure { margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3/4; background: var(--bg-tint); }
.mgallery img { width: 100%; height: 100%; object-fit: cover; }
.mgallery figcaption { position: absolute; inset: auto 0 0 0; padding: 28px 12px 10px; font-size: .8rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(22,21,61,.9)); }

.ind { list-style: none; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .ind { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ind { grid-template-columns: repeat(3, 1fr); } }
.ind li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--indigo-600); border-radius: var(--radius-sm); padding: 18px 20px; }
.ind strong { display: block; color: var(--indigo-700); margin-bottom: 4px; }
.ind span { color: var(--muted); font-size: .92rem; }

.faq-wrap { max-width: 900px; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 700; color: var(--indigo-700); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--sky-500); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 0 0 18px; }

.cta-band { display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .cta-band { grid-template-columns: 3fr 2fr; gap: 56px; } .cta-band .contact__list { margin: 0; } }
.footer__tm { margin-top: 10px !important; font-size: .78rem; opacity: .7; max-width: 900px; }
