/* ---------- Mobile Engineer — styles ---------- */
:root {
  --blue: #1450F5;
  --blue-dark: #0D3BC4;
  --blue-soft: #E8EEFE;
  --bg: #FFFFFF;
  --bg-alt: #F4F6FB;
  --bg-alt-2: #EDF1F8;
  --ink: #141414;
  --ink-2: #2B2E35;
  --muted: #6B7280;
  --line: #E4E7EE;
  --line-2: #D6DBE4;
  --radius-card: 12px;
  --radius-btn: 8px;
  --max: 1280px;
  --pad-x: clamp(20px, 4vw, 40px);
  --section-pad: clamp(56px, 9vw, 128px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Noto Sans Thai', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 18px;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 7vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 4.5vw, 56px); line-height: 1.05; }
h3 { font-size: 22px; line-height: 1.3; }
p  { margin: 0; text-wrap: pretty; }
.lead { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 620px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 1px 0 rgba(20,80,245,.3); }
.btn--primary:hover { background: var(--blue-dark); box-shadow: 0 8px 22px -8px rgba(13,59,196,.6); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn--ghost-white:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--invert { background: #fff; color: var(--blue); }
.btn--invert:hover { background: #F0F3FF; }
.btn--sm { padding: 10px 16px; font-size: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue); font-weight: 600; font-size: 15px;
}
.link-arrow svg { transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------ NAV ------ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; align-items: center; gap: 28px;
  height: 72px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; font-size: 18px; }
.nav__logo-mark {
  width: 32px; height: 32px; border-radius: 7px;
  background: var(--blue);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 15px;
  letter-spacing: 0;
}
.nav__logo-sub { color: var(--muted); font-weight: 500; font-size: 12px; display: block; line-height: 1; margin-top: 2px; }

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--ink-2);
  border-radius: 6px; display: inline-flex; align-items: center; gap: 5px;
}
.nav__link:hover { background: var(--bg-alt); color: var(--ink); }
.nav__caret { color: var(--muted); transition: transform .2s ease; }
.nav__link:hover .nav__caret { transform: translateY(1px); }

.nav__lang {
  display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 3px; font-size: 13px; font-weight: 600;
  margin-left: 10px;
}
.nav__lang button { padding: 6px 12px; border-radius: 999px; color: var(--muted); }
.nav__lang button.is-active { background: var(--ink); color: #fff; }

.nav__cta { margin-left: 8px; }
.nav__hamburger { display: none; width: 44px; height: 44px; border-radius: 8px; margin-left: auto; align-items: center; justify-content: center; }
.nav__hamburger:hover { background: var(--bg-alt); }

/* Dropdown menu */
.nav__dropdown-wrap { position: relative; }
.nav__dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 280px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 10px 10px;
  box-shadow: 0 20px 40px -16px rgba(20,30,60,.18);
  display: none; flex-direction: column;
  z-index: 60;
}
.nav__dropdown-wrap.is-open .nav__dropdown { display: flex; }
.nav__dropdown-wrap:hover .nav__dropdown { display: flex; }
.nav__dropdown-wrap.is-open > button.nav__link .nav__caret { transform: rotate(180deg); }
.nav__dropdown a {
  padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2);
  display: flex; flex-direction: column; gap: 2px;
}
.nav__dropdown a:hover { background: var(--bg-alt); color: var(--ink); }
.nav__dropdown a .sub { font-size: 12px; color: var(--muted); font-weight: 400; }

/* Mobile nav panel */
.mobile-panel {
  position: fixed; inset: 72px 0 0 0; z-index: 49;
  background: #fff; padding: 20px var(--pad-x); overflow-y: auto;
}
.mobile-panel a { display: block; padding: 16px 0; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-panel .btn { width: 100%; justify-content: center; margin-top: 20px; }

/* ------ HERO ------ */
.hero .container { width: 100%; }
.hero {
  position: relative;
  min-height: min(85vh, 820px);
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
  padding-bottom: clamp(56px, 8vw, 120px);
  padding-top: clamp(80px, 10vw, 140px);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,14,28,.82) 0%, rgba(10,14,28,.55) 45%, rgba(10,14,28,.15) 80%, rgba(10,14,28,0) 100%),
    linear-gradient(180deg, rgba(10,14,28,.15) 0%, rgba(10,14,28,.1) 60%, rgba(10,14,28,.55) 100%);
}
.hero__content { position: relative; z-index: 1; max-width: 640px; margin-right: auto; margin-left: 0; padding-left: 0; padding-right: 0; width: 100%; }
.hero__eyebrow { color: #A9BFFF; font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 28px; display: inline-flex; align-items: center; gap: 10px; }
.hero__eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--blue); display: inline-block; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero__sub { font-size: clamp(18px, 2vw, 22px); max-width: 560px; color: rgba(255,255,255,.88); line-height: 1.5; margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll {
  position: absolute; right: var(--pad-x); bottom: 36px; z-index: 2;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.7);
  display: flex; align-items: center; gap: 12px;
}
.hero__scroll::after { content: ''; width: 1px; height: 48px; background: rgba(255,255,255,.4); }
@media (max-width: 760px) { .hero__scroll { display: none; } }

/* ------ TRUST STRIP ------ */
.trust {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.trust__grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 40px 0;
}
.trust__item { padding: 4px 28px; border-left: 1px solid var(--line-2); display: flex; flex-direction: column; align-items: center; text-align: center; }
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__lbl { font-size: 14px; color: var(--muted); margin-top: auto; padding-top: 6px; }
.trust__num { font-size: clamp(22px, 2.5vw, 30px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; display: flex; align-items: center; }
.trust__num img { max-height: 44px; width: auto; object-fit: contain; }
@media (max-width: 860px) {
  .trust__grid { grid-template-columns: 1fr 1fr; gap: 24px 0; padding: 28px 0; }
  .trust__item { padding: 0 18px; border-left: 1px solid var(--line-2); }
  .trust__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trust__item:nth-child(5) { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line-2); padding-top: 24px; }
}

/* ------ SECTION HEADERS ------ */
.s-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.s-head h2 { margin-bottom: 16px; }
.s-head .lead { font-size: 19px; }
.s-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.s-head--center .lead { margin-left: auto; margin-right: auto; }

/* ------ SOLUTIONS ------ */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sol-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px 28px 26px;
  display: flex; flex-direction: column;
  gap: 14px;
  min-height: 260px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.sol-card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.sol-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(20,30,60,.25); border-color: var(--line-2); }
.sol-card:hover::after { transform: scaleX(1); }
.sol-card__icon { width: 44px; height: 44px; color: var(--blue); }
.sol-card h3 { font-size: 22px; }
.sol-card p { color: var(--muted); font-size: 16px; line-height: 1.55; flex: 1; }
.sol-card__link { margin-top: auto; }

@media (max-width: 960px) { .sol-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sol-grid { grid-template-columns: 1fr; } }

/* ------ SERVICES ------ */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card {
  padding: 32px 28px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: #fff;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 300px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(20,30,60,.25); }
.svc-card__num { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--muted); }
.svc-card__icon-wrap { width: 64px; height: 64px; border-radius: 14px; background: var(--blue-soft); display: grid; place-items: center; color: var(--blue); margin-bottom: 6px; }
.svc-card__icon-wrap svg { width: 32px; height: 32px; }
.svc-card h3 { font-size: 22px; }
.svc-card p { color: var(--muted); font-size: 16px; flex: 1; }
@media (max-width: 1080px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* ------ PORTFOLIO ------ */
.portfolio__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proj {
  background: #fff; border-radius: var(--radius-card); overflow: hidden;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.proj:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -22px rgba(20,30,60,.28); }
.proj__img { aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--bg-alt-2); }
.proj__img .ph-tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.9); color: var(--ink-2); font-size: 11px; letter-spacing: 0.12em; font-weight: 600; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.proj__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; }
.proj__name { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.proj__meta { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.proj__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); display: inline-block; }
.proj__link { margin-top: 6px; }
.portfolio__footer { margin-top: 48px; text-align: center; }
@media (max-width: 900px) { .portfolio__grid { grid-template-columns: 1fr; } }

/* ------ WHY ------ */
.why-layout {
  display: grid; grid-template-columns: 1.1fr 1.6fr; gap: clamp(32px, 5vw, 80px);
  align-items: flex-start;
}
.why-layout > div:first-child { position: sticky; top: 88px; }
.why-list { display: flex; flex-direction: column; }
.why-item {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 24px;
  padding: 32px 0; border-top: 1px solid var(--line);
  align-items: flex-start;
}
.why-item:last-child { border-bottom: 1px solid var(--line); }
.why-item__icon { width: 44px; height: 44px; color: var(--blue); }
.why-item h3 { font-size: 22px; margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: 16px; }
.why-item__num { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.14em; font-variant-numeric: tabular-nums; padding-top: 6px; }
@media (max-width: 900px) {
  .why-layout { grid-template-columns: 1fr; }
  .why-layout > div:first-child { position: static; }
  .why-item { grid-template-columns: 44px 1fr; }
  .why-item__num { display: none; }
}

/* ------ TESTIMONIAL ------ */
.testi {
  background: var(--bg-alt);
  text-align: center;
}
.testi__inner { max-width: 820px; margin: 0 auto; }
.testi__quote-mark { font-family: 'Inter', serif; font-size: 120px; line-height: 0.6; color: var(--blue); margin-bottom: 12px; font-weight: 700; }
.testi__quote { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 32px; text-wrap: balance; }
.testi__author { font-weight: 700; font-size: 17px; }
.testi__role { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* ------ FINAL CTA ------ */
.final-cta {
  background: linear-gradient(135deg, #0A0E1C 0%, #0D1F5C 45%, #1450F5 100%);
  color: #fff;
  text-align: center;
  padding: clamp(80px, 12vw, 140px) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.final-cta::before, .final-cta::after {
  content: ''; position: absolute; border-radius: 50%; opacity: .18; pointer-events: none;
}
.final-cta::before { width: 440px; height: 440px; background: radial-gradient(circle, rgba(255,255,255,.5), transparent 70%); left: -120px; top: -120px; }
.final-cta::after { width: 520px; height: 520px; background: radial-gradient(circle, rgba(255,255,255,.35), transparent 70%); right: -160px; bottom: -200px; }
.final-cta__inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.final-cta h2 { color: #fff; margin-bottom: 18px; font-size: clamp(34px, 5vw, 56px); }
.final-cta__sub { font-size: clamp(18px, 2vw, 21px); color: rgba(255,255,255,.88); max-width: 560px; margin: 0 auto 36px; }
.final-cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 28px; }
.final-cta__small { font-size: 14px; color: rgba(255,255,255,.75); letter-spacing: 0.02em; }
.final-cta__small span { margin: 0 10px; color: rgba(255,255,255,.4); }

/* ------ FOOTER ------ */
.footer { background: var(--ink); color: #D6D9E0; padding: 80px var(--pad-x) 28px; }
.footer__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid #2A2D34; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 20px; font-weight: 600; }
.footer a { color: #B9BECB; font-size: 15px; display: block; padding: 6px 0; transition: color .15s ease; }
.footer a:hover { color: #fff; }
.footer__brand p { color: #8F95A3; font-size: 15px; margin-top: 14px; max-width: 300px; }
.footer__brand-logo { display: flex; align-items: center; gap: 12px; }
.footer__brand-logo .nav__logo-mark { background: var(--blue); }
.footer__brand-logo .name { color: #fff; font-size: 18px; font-weight: 700; }
.footer__socials { display: flex; gap: 10px; margin-top: 20px; }
.footer__socials a { width: 38px; height: 38px; border-radius: 8px; background: #1F232B; display: grid; place-items: center; padding: 0; }
.footer__socials a:hover { background: var(--blue); }
.footer__contact p { color: #B9BECB; font-size: 15px; margin: 6px 0; line-height: 1.6; }
.footer__bottom {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding-top: 28px; font-size: 13px; color: #8F95A3;
}
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ------ QUOTE MODAL ------ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 14, 28, 0.55);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  padding: 20px;
  animation: fadein .2s ease;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: #fff; border-radius: 16px; width: 100%; max-width: 560px;
  padding: 40px; position: relative;
  box-shadow: 0 30px 80px -20px rgba(10,14,28,.4);
  max-height: 92vh; overflow-y: auto;
  animation: slideup .25s ease;
}
@keyframes slideup { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal__close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 8px; color: var(--muted); display: grid; place-items: center; }
.modal__close:hover { background: var(--bg-alt); color: var(--ink); }
.modal h3 { font-size: 26px; margin-bottom: 8px; font-weight: 700; letter-spacing: -0.02em; }
.modal__sub { color: var(--muted); font-size: 15px; margin-bottom: 26px; }

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.form-group label .req { color: var(--blue); }
.form-group input, .form-group select, .form-group textarea {
  font-family: inherit; font-size: 15px;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20,80,245,.15);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-err { color: #C4182A; font-size: 12px; margin-top: 2px; }
.form-group.is-invalid input, .form-group.is-invalid select { border-color: #C4182A; }
.modal .btn { width: 100%; justify-content: center; margin-top: 8px; }

.success-state { text-align: center; padding: 20px 0; }
.success-state__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin: 0 auto 20px; }
.success-state h3 { margin-bottom: 10px; }
.success-state p { color: var(--muted); margin-bottom: 24px; }

/* ------ Placeholder image art ------ */
.ph {
  width: 100%; height: 100%; position: relative;
  background-color: #2B3551;
  overflow: hidden;
}
.ph--hero { background: linear-gradient(135deg, #0F1A38 0%, #1A2A54 45%, #243A6E 100%); }
.ph__stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0, rgba(255,255,255,.04) 2px, transparent 2px, transparent 14px);
}
.ph__label {
  position: absolute; left: 24px; bottom: 24px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; letter-spacing: 0.04em;
  color: rgba(255,255,255,.55);
  background: rgba(0,0,0,.35);
  padding: 6px 10px; border-radius: 4px;
  border: 1px solid rgba(255,255,255,.08);
}

/* Generative geometric art for hero */
.hero-art__building {
  position: absolute; right: -40px; bottom: 0; width: 58%; height: 90%;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.06)),
    repeating-linear-gradient(180deg, rgba(255,255,255,.07) 0 2px, transparent 2px 42px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 2px, transparent 2px 42px);
  border-left: 1px solid rgba(255,255,255,.08);
  mask-image: linear-gradient(180deg, black 70%, transparent 100%);
}
.hero-art__glow {
  position: absolute; inset: auto 0 0 -10%; height: 60%;
  background: radial-gradient(ellipse at 20% 100%, rgba(20,80,245,.35), transparent 55%);
}

/* ---------- Page-specific ---------- */
.subhero {
  padding: clamp(90px, 11vw, 160px) 0 clamp(50px, 7vw, 90px);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.subhero--dark {
  background: linear-gradient(135deg, #0F1A38 0%, #1A2A54 60%, #243A6E 100%);
  color: #fff;
  border-bottom: 0;
}
.subhero--dark h1, .subhero--dark .eyebrow { color: #fff; }
.subhero--dark .eyebrow { color: #A9BFFF; }
.subhero--dark .lead { color: rgba(255,255,255,.85); }
.subhero__inner { max-width: 820px; }
.subhero h1 { margin-bottom: 20px; font-size: clamp(36px, 6vw, 64px); }
.subhero .lead { font-size: clamp(18px, 2vw, 22px); max-width: 660px; }
.subhero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; letter-spacing: 0.04em; }
.subhero--dark .breadcrumb { color: rgba(255,255,255,.65); }
.breadcrumb a { color: inherit; } .breadcrumb a:hover { color: var(--blue); }
.subhero--dark .breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }

/* Urgency strip */
.urgency { background: var(--blue); color: #fff; padding: 28px 0; }
.urgency__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: center; }
.urgency__item { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 500; }
.urgency__item strong { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.urgency__icon { width: 36px; height: 36px; color: #fff; flex-shrink: 0; }
@media (max-width: 760px) { .urgency__grid { grid-template-columns: 1fr; } }

/* How it works steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  display: flex; flex-direction: column; gap: 12px; position: relative;
}
.step__num { font-size: 36px; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; line-height: 1; }
.step h3 { font-size: 18px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Brand strip */
.brand-strip {
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center;
  padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.brand-chip {
  padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.brand-chip.is-official { background: var(--blue-soft); border-color: transparent; color: var(--blue); }

/* Callout card */
.callout {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start;
  box-shadow: 0 12px 30px -20px rgba(20,30,60,.15);
}
.callout h3 { font-size: 26px; margin-bottom: 14px; letter-spacing: -0.02em; }
.callout__list { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.callout__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-2); }
.callout__list svg { flex-shrink: 0; color: var(--blue); margin-top: 3px; }
@media (max-width: 860px) { .callout { grid-template-columns: 1fr; padding: 28px; } }

/* Table */
.price-table {
  width: 100%; border-collapse: collapse;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  overflow: hidden;
}
.price-table th, .price-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table th { background: var(--bg-alt); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.price-table td { font-size: 16px; }
.price-table td:last-child { font-weight: 600; white-space: nowrap; text-align: right; }
.price-table .check { color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.price-table .dim { color: var(--muted); }

/* Pricing cards */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan {
  padding: 36px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  display: flex; flex-direction: column; gap: 14px;
}
.plan.is-primary { border-color: var(--blue); box-shadow: 0 20px 50px -30px rgba(20,80,245,.5); position: relative; }
.plan__badge {
  position: absolute; top: -12px; left: 32px;
  background: var(--blue); color: #fff; padding: 6px 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; border-radius: 999px;
}
.plan h3 { font-size: 22px; }
.plan__price { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 6px 0; }
.plan__price span { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 10px 0 20px; display: flex; flex-direction: column; gap: 10px; }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan li svg { flex-shrink: 0; color: var(--blue); margin-top: 2px; }
.plan .btn { margin-top: auto; justify-content: center; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* Checklist grid */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 36px; }
.checklist li { list-style: none; display: flex; align-items: flex-start; gap: 12px; font-size: 16px; }
.checklist li svg { flex-shrink: 0; color: var(--blue); margin-top: 3px; }
.checklist li strong { font-weight: 600; }
@media (max-width: 760px) { .checklist { grid-template-columns: 1fr; } }

/* Filter tabs */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-tab {
  padding: 10px 18px; border-radius: 999px; font-weight: 500; font-size: 14px;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink-2);
  transition: all .15s ease;
}
.filter-tab:hover { border-color: var(--ink); }
.filter-tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Portfolio big grid */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .proj-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .proj-grid { grid-template-columns: 1fr; } }

/* About two-column */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.story__text p { margin: 18px 0; color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.story__img { aspect-ratio: 4/5; border-radius: var(--radius-card); overflow: hidden; background: var(--bg-alt); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

/* Team cards */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(20,30,60,.22); }
.team-card__photo { aspect-ratio: 4/5; background: var(--bg-alt); position: relative; }
.team-card__body { padding: 24px 26px 26px; }
.team-card__name { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
.team-card__role { color: var(--blue); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.team-card__spec { font-size: 13px; color: var(--muted); margin-bottom: 14px; letter-spacing: 0.02em; }
.team-card__bio { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 960px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* Facts panel */
.facts-panel { background: var(--bg-alt); border-radius: var(--radius-card); padding: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.facts-panel dt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.facts-panel dd { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); }
@media (max-width: 760px) { .facts-panel { grid-template-columns: 1fr; } }

/* Contact layout */
.contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: flex-start; }
.contact-form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 36px; box-shadow: 0 12px 30px -20px rgba(20,30,60,.15);
}
.contact-form-card h3 { font-size: 22px; margin-bottom: 8px; }
.contact-form-card .sub { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.contact-channels { display: flex; flex-direction: column; gap: 20px; }
.channel-block {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px 26px;
}
.channel-block h4 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 12px; }
.channel-block p { font-size: 16px; color: var(--ink-2); margin: 4px 0; line-height: 1.5; }
.channel-block a { color: var(--ink); font-weight: 500; }
.channel-block a:hover { color: var(--blue); }
.map-placeholder {
  aspect-ratio: 21/9; border-radius: var(--radius-card); overflow: hidden; background: var(--bg-alt);
  border: 1px solid var(--line); position: relative;
  margin-top: 40px;
}
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }

/* Brand tiles (about) */
.brand-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.brand-tile {
  padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
}
.brand-tile__name { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.brand-tile__badge { display: inline-block; font-size: 12px; font-weight: 600; color: var(--blue); background: var(--blue-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; letter-spacing: 0.04em; }
.brand-tile p { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .brand-tiles { grid-template-columns: 1fr; } }

/* Two-column generic */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

@media (max-width: 960px) {
  .nav__links, .nav__cta, .nav__lang { display: none; }
  .nav__hamburger { display: inline-flex; }
}
/* added by optimizer */
details[open] > summary { color: var(--blue); }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; float: right; font-size: 24px; color: var(--muted); font-weight: 400; line-height: 1; }
details[open] summary::after { content: '−'; color: var(--blue); }
.mobile-panel[hidden] { display: none; }
.modal-overlay[hidden] { display: none; }
.nav__lang a { padding: 6px 12px; border-radius: 999px; color: var(--muted); display: inline-block; cursor: pointer; text-decoration: none; }
.nav__lang a.is-active { background: var(--ink); color: #fff; }
img, video { height: auto; }
.hero video { width: 100%; height: 100%; object-fit: cover; }



/* ---- Brand logos ---- */
.brand-chip img, .brand-tile__logo { display: block; max-height: 32px; width: auto; object-fit: contain; }
.brand-chip { gap: 10px; align-items: center; }
.brand-chip.is-official img { max-height: 28px; filter: none; }
.brand-tile__logo-wrap { height: 40px; display: flex; align-items: center; margin-bottom: 12px; }
.brand-tile__logo-wrap img { max-height: 36px; max-width: 140px; width: auto; object-fit: contain; }

/* ---- Project logos ---- */
.proj__client-logo { height: 48px; display: flex; align-items: center; justify-content: center;
  padding: 10px 16px; background: #fff; border-top: 1px solid var(--line); }
.proj__client-logo img { max-height: 32px; max-width: 100px; width: auto; object-fit: contain;
  filter: grayscale(1) opacity(0.7); transition: filter .2s ease; }
.proj:hover .proj__client-logo img { filter: none; }

/* Overlay variant: logo inside proj__img */
.proj__img > .proj__client-logo {
  position: absolute; bottom: 14px; left: 14px;
  height: auto; border-top: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 8px;
  padding: 8px 14px;
  max-width: 140px;
  z-index: 2;
}
.proj__img > .proj__client-logo img {
  max-height: 44px; max-width: 110px;
  filter: brightness(0) invert(1);
  opacity: .92;
}
.proj:hover .proj__img > .proj__client-logo img { filter: brightness(0) invert(1); opacity: 1; }
