/* ==========================================================================
   TitanX — main stylesheet (v2)
   Clean · friendly · professional. White base, navy text, electric-blue accent.
   ========================================================================== */

/* ---------- Fonts (self-hosted Plus Jakarta Sans variable, SIL OFL) ---------- */
@font-face {
  font-family: "Jakarta"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/jakarta-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/jakarta-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #020e1c;
  --navy-2: #0b1b33;
  --ink: #0b1324;
  --text: #3b4658;
  --muted: #667085;
  --line: #e6eaf2;
  --line-2: #d5dbe7;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-tint: #eef3ff;

  --blue: #0837fb;
  --blue-600: #062ad0;
  --blue-50: #eef2ff;
  --blue-100: #dde5ff;
  --blue-light: #6d8bff;
  --green: #16a34a;
  --wa: #25d366;

  --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --section: 96px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --header-h: 72px;

  --shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, .06), 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-md: 0 12px 24px -8px rgba(16, 24, 40, .10), 0 4px 8px -4px rgba(16, 24, 40, .05);
  --shadow-lg: 0 24px 48px -12px rgba(16, 24, 40, .18);
  --shadow-blue: 0 10px 24px -8px rgba(8, 55, 251, .45);

  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.7; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
main { display: block; outline: none; }
[hidden] { display: none !important; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 16px; }

@view-transition { navigation: auto; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.section--soft { background: var(--bg-soft); }
.section--flush-top { padding-top: 0; }
/* Two white sections in a row share one gap */
.section:not(.section--soft) + .section:not(.section--soft) { padding-top: 0; }

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.375rem); font-weight: 800; }
.section-head p { margin-top: 14px; font-size: 1.0625rem; color: var(--muted); }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; text-align: left; }
.section-head--row > div { max-width: 620px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; margin-bottom: 16px; border-radius: 999px;
  background: var(--blue-50); color: var(--blue); font-size: .8125rem; font-weight: 600; letter-spacing: .01em;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.text-blue { color: var(--blue); }
.muted { color: var(--muted); }
.lead { font-size: 1.125rem; color: var(--muted); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.logo__mark { width: 38px; height: auto; flex: none; }
.logo__divider { width: 1px; height: 26px; background: currentColor; opacity: .3; }
.logo__type { display: flex; flex-direction: column; gap: 5px; }
.logo__word { width: 104px; height: auto; }
.logo__tag { font-size: .5rem; letter-spacing: .38em; text-transform: uppercase; font-weight: 600; opacity: .75; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h);
  padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font-size: .9375rem; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn__arrow {
  position: relative; display: grid; place-items: center; width: 26px; height: 26px; margin-right: -8px; border-radius: 8px; overflow: hidden;
  background: rgba(255, 255, 255, .16); transition: background-color .25s var(--ease);
}
.btn__arrow .icon { grid-area: 1 / 1; width: 15px; height: 15px; transition: transform .35s var(--ease); }
.btn__arrow .icon + .icon { transform: translateX(-160%); }
.btn:hover .btn__arrow .icon:first-child, .btn:focus-visible .btn__arrow .icon:first-child { transform: translateX(160%); }
.btn:hover .btn__arrow .icon + .icon, .btn:focus-visible .btn__arrow .icon + .icon { transform: none; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(8, 55, 251, .25), inset 0 1px 0 rgba(255, 255, 255, .15); }
.btn--primary:hover { background: var(--blue-600); box-shadow: var(--shadow-blue); transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--navy-2); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--light { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-xs); }
.btn--light .btn__arrow { background: var(--bg-tint); color: var(--blue); }
.btn--light:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white .btn__arrow { background: var(--blue); color: #fff; }
.btn--white:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1fb959; transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .7); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: .875rem; border-radius: 10px; }
.btn--sm .btn__arrow { width: 22px; height: 22px; border-radius: 6px; margin-right: -6px; }
.btn--lg { --h: 54px; padding: 0 24px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9375rem; color: var(--blue); }
.link-arrow .icon { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.link-arrow:hover .icon, a:hover > * > .link-arrow .icon, a.card:hover .link-arrow .icon { transform: translateX(4px); }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(16, 24, 40, .12); background: rgba(255, 255, 255, .94); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__logo { display: inline-flex; flex: none; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 10px;
  font-size: .9375rem; font-weight: 500; color: var(--text); transition: color .2s, background-color .2s;
}
.nav__link:hover { color: var(--ink); background: var(--bg-soft); }
.nav__link.is-active { color: var(--blue); font-weight: 600; }
.nav__link.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--blue); }
.site-header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink);
  background: #fff; transition: border-color .2s, color .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--line-2); background: var(--bg-soft); }
.icon-btn .icon { width: 19px; height: 19px; }
.icon-btn--wa { color: #128c4b; }
.menu-toggle { display: none; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; transition: visibility 0s .35s; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(2, 14, 28, .45); opacity: 0; transition: opacity .3s var(--ease); }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 18px; border-bottom: 1px solid var(--line); flex: none; }
.drawer__nav { padding: 12px; overflow-y: auto; }
.drawer__nav a { display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 0 14px; border-radius: 12px; font-weight: 600; color: var(--ink); }
.drawer__nav a:hover, .drawer__nav a[aria-current="page"] { background: var(--bg-tint); color: var(--blue); }
.drawer__nav .icon { width: 18px; height: 18px; color: var(--muted); }
.drawer__foot { margin-top: auto; padding: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer__contact { font-size: .875rem; color: var(--muted); display: grid; gap: 4px; margin-top: 6px; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding: 80px 0 96px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.hero::before, .page-hero::before, .detail-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 80% 20%, #000, transparent 72%); mask-image: radial-gradient(ellipse 60% 70% at 80% 20%, #000, transparent 72%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; }
.hero__text { margin: 20px 0 32px; font-size: 1.125rem; max-width: 32em; color: var(--muted); }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; font-size: .9375rem; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--blue-50); color: var(--blue); }

.hero-card { position: relative; width: 100%; max-width: 440px; margin-left: auto; }
.hero-card__main {
  position: relative; aspect-ratio: 1 / .95; border-radius: 28px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 80% 10%, #1b3a8a 0%, var(--navy-2) 45%, var(--navy) 100%); box-shadow: var(--shadow-lg);
}
.hero-card__main > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); font-size: .875rem; font-weight: 600; color: var(--ink); line-height: 1.35;
  animation: float 6s ease-in-out infinite;
}
.hero-chip small { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); }
.hero-chip__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-50); color: var(--blue); flex: none; }
.hero-chip__icon .icon { width: 18px; height: 18px; }
.hero-chip--a { left: -44px; top: 16%; }
.hero-chip--b { right: -28px; bottom: 12%; animation-delay: -3s; }
.hero-chip--b .hero-chip__icon { background: #e8f8ee; color: var(--green); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 56px 0 60px; background: linear-gradient(180deg, #fff, var(--bg-soft)); border-bottom: 1px solid var(--line); }
.page-hero .container, .detail-head .container { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.875rem); font-weight: 800; letter-spacing: -.03em; max-width: 18em; }
.page-hero p { margin-top: 14px; max-width: 40em; font-size: 1.0625rem; color: var(--muted); }
.page-hero .btn-row { margin-top: 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: .8125rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }

.svc-card { padding: 28px; }
.svc-card__icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 12px; background: var(--blue-50); color: var(--blue); flex: none;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.svc-card__icon .icon { width: 22px; height: 22px; }
a.card:hover .svc-card__icon { background: var(--blue); color: #fff; transform: rotate(-6deg); }
.svc-card h3 { font-size: 1.125rem; margin-bottom: 8px; }
.svc-card p { font-size: .9375rem; color: var(--muted); line-height: 1.6; flex: 1; }
.svc-card .link-arrow { margin-top: 18px; font-size: .875rem; }

.work-card { overflow: hidden; }
.work-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.work-card__media img, .work-card__media .img-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.04); }
.work-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.work-card__cat { align-self: flex-start; margin-bottom: 12px; }
.work-card h2, .work-card h3 { font-size: 1.0625rem; line-height: 1.35; margin-bottom: 6px; }
.work-card p { font-size: .875rem; color: var(--muted); line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.work-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; font-size: .8125rem; color: var(--muted); }
.work-card__go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--bg-soft); color: var(--ink); transition: background-color .3s var(--ease), color .3s var(--ease); }
.work-card__go .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.work-card:hover .work-card__go { background: var(--blue); color: #fff; }
.work-card:hover .work-card__go .icon { transform: rotate(-45deg); }

.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-size: .75rem; font-weight: 600; white-space: nowrap; }
.chip--gray { background: var(--bg-soft); color: var(--text); border: 1px solid var(--line); }
.chip--live { background: #e8f8ee; color: #15803d; }
.chip--beta { background: #fff4e5; color: #b45309; }
.chip--soon { background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.chip--live::before, .chip--beta::before { content: ""; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; }

.img-fallback { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-2), var(--navy)); }
.img-fallback svg { width: 34%; max-width: 120px; color: rgba(255, 255, 255, .85); }

.prod-card { padding: 24px; }
.prod-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.prod-card__logo { position: relative; width: 56px; height: 56px; border-radius: 14px; overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); flex: none; }
.prod-card__logo img, .prod-card__logo .img-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prod-card__field { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.prod-card h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.prod-card p { font-size: .9375rem; color: var(--muted); flex: 1; }
.prod-card .link-arrow { margin-top: 18px; }

.feature { padding: 24px; }
.feature__num { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 12px; background: var(--ink); color: #fff; font-size: .875rem; font-weight: 700; }
.feature h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.feature p { font-size: .9375rem; color: var(--muted); }

.checks { display: grid; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-weight: 500; }
.checks .icon { width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--blue); color: #fff; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split h2 { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.375rem); font-weight: 800; margin-bottom: 16px; }
.split .lead { margin-bottom: 24px; }
.split .checks { margin-bottom: 28px; }

.brand-visual {
  position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-lg); overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(120% 100% at 85% 0%, #1b3a8a, var(--navy-2) 45%, var(--navy));
}
.brand-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.step { position: relative; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.step__n { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 14px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-size: .8125rem; font-weight: 700; }
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: .875rem; color: var(--muted); line-height: 1.6; }

.cta {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center;
  padding: 56px; border-radius: 24px; color: rgba(255, 255, 255, .78);
  background: radial-gradient(90% 140% at 100% 0%, #1d49e6 0%, #0a2a9c 30%, var(--navy-2) 65%, var(--navy) 100%);
}
.cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); }
.cta > * { position: relative; }
.cta h2 { color: #fff; font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 800; margin-bottom: 10px; }
.cta p { font-size: 1.0625rem; max-width: 34em; }

/* ---------- Portfolio ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.toolbar .results-note { margin: 0; }
.search { position: relative; flex: 0 1 300px; }
.search .icon { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 44px; padding: 0 14px 0 42px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-size: .9375rem; transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(8, 55, 251, .1); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; font-size: .875rem; font-weight: 500; color: var(--text); transition: background-color .2s, border-color .2s, color .2s;
}
.filter:hover { border-color: var(--line-2); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter span { font-size: .75rem; opacity: .6; }
.results-note { font-size: .875rem; color: var(--muted); }
.filters-row { margin-bottom: 28px; }
.empty-state { padding: 56px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); }
.more-row { display: flex; justify-content: center; margin-top: 40px; }
.work-grid > .is-hidden { display: none; }

/* ---------- Detail pages ---------- */
.detail-head { position: relative; overflow: hidden; padding: 48px 0 40px; background: linear-gradient(180deg, #fff, var(--bg-soft)); border-bottom: 1px solid var(--line); }
.detail-head h1 { font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; margin: 14px 0 12px; }
.detail-head p { font-size: 1.0625rem; color: var(--muted); max-width: 44em; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.cover { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 40px; }
.cover img, .cover .img-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prose h2 { font-size: 1.375rem; margin: 40px 0 12px; }
.prose > h2:first-child { margin-top: 0; }
.prose p { font-size: 1.0625rem; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.ticks .icon { width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }
.result-box { padding: 24px; border-radius: var(--r); background: var(--bg-tint); border: 1px solid var(--blue-100); color: var(--ink); }
.side-card { position: sticky; top: 96px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
.side-card h3 { font-size: 1rem; margin-bottom: 16px; }
.meta-list { display: grid; gap: 12px; margin: 0 0 24px; }
.meta-list div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.meta-list dt { color: var(--muted); }
.meta-list dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.meta-list a { color: var(--blue); }
.side-card .btn { width: 100%; }
.side-card .btn + .btn { margin-top: 10px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery button { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-soft); }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery button::after { content: ""; position: absolute; inset: 0; background: rgba(2, 14, 28, 0); transition: background-color .3s; }
.gallery button:hover img { transform: scale(1.05); }
.gallery button:hover::after { background: rgba(2, 14, 28, .12); }
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; padding: 72px 76px; background: rgba(2, 14, 28, .92); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img { width: auto; height: auto; max-width: min(100%, 1200px); max-height: calc(100vh - 144px); max-height: calc(100dvh - 144px); object-fit: contain; border-radius: 12px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; transition: background-color .2s; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; margin-top: -23px; }
.lightbox__next { right: 16px; top: 50%; margin-top: -23px; }
.lightbox__prev .icon { transform: rotate(180deg); }
.lightbox__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .75); font-size: .875rem; }

/* ---------- About: chairman & team ---------- */
.chairman { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: center; padding: 40px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.chairman__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-soft); }
.chairman__photo img, .chairman__photo .avatar { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chairman__quote { width: 40px; height: 40px; color: var(--blue); margin-bottom: 16px; }
.chairman__msg { font-size: 1.0625rem; }
.chairman__sig { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.chairman__sig strong { display: block; color: var(--ink); font-size: 1.0625rem; }
.chairman__sig span { font-size: .875rem; color: var(--muted); }
.avatar { display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-100), var(--bg-tint)); color: var(--blue); font-weight: 800; font-size: 2rem; letter-spacing: .02em; }
.team-card { padding: 12px 12px 22px; text-align: center; }
.team-card__photo { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--bg-soft); margin-bottom: 16px; }
.team-card__photo img, .team-card__photo .avatar { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.team-card:hover .team-card__photo img { transform: scale(1.04); }
.team-card h3 { font-size: 1.0625rem; margin-bottom: 2px; }
.team-card p { font-size: .875rem; color: var(--muted); }
.team-card__social { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.team-card__social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--bg-soft); color: var(--text); transition: background-color .2s, color .2s; }
.team-card__social a:hover { background: var(--blue); color: #fff; }
.team-card__social .icon { width: 16px; height: 16px; }
.value-card { padding: 28px; }
.value-card h3 { font-size: 1.125rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: .9375rem; }

/* Services list page */
.svc-list { display: grid; gap: 14px; }
.svc-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 24px; }
.svc-row .svc-card__icon { margin: 0; }
.svc-row h2 { font-size: 1.1875rem; margin-bottom: 4px; }
.svc-row p { font-size: .9375rem; color: var(--muted); margin: 0; }
.svc-row__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.svc-row__go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--bg-soft); transition: background-color .3s var(--ease), color .3s var(--ease); }
.svc-row__go .icon { transition: transform .3s var(--ease); width: 18px; height: 18px; }
a.svc-row:hover .svc-row__go { background: var(--blue); color: #fff; }
a.svc-row:hover .svc-row__go .icon { transform: rotate(-45deg); }
.svc-visual { border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(160deg, var(--navy-2), var(--navy)); aspect-ratio: 4 / 3; box-shadow: var(--shadow-md); }
.cap-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cap-list li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-weight: 600; color: var(--ink); }
.cap-list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--blue-50); color: var(--blue); }

/* Service illustrations */
.sv { width: 100%; height: 100%; }
.sv-panel { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .16); stroke-width: 1.2; }
.sv-line { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.4; }
.sv-grid { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.sv-diag { stroke: rgba(109, 139, 255, .14); stroke-width: 1; }
.sv-soft { fill: rgba(255, 255, 255, .1); }
.sv-light { fill: rgba(255, 255, 255, .8); }
.sv-light.o5 { opacity: .5; }
.sv-fill { fill: var(--blue); }
.sv-dot { fill: rgba(255, 255, 255, .25); }
.sv-node { fill: var(--navy-2); stroke: var(--blue-light); stroke-width: 2; }
.sv-anchor { fill: var(--navy-2); stroke: #fff; stroke-width: 1.5; }
.sv-blue { fill: none; stroke: var(--blue-light); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sv-white { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sv-mark { fill: #fff; }
.sv-num { font: 800 18px var(--font); fill: rgba(255, 255, 255, .45); }
.sv-num--on { fill: #fff; }
.sv-type { font: 800 64px var(--font); fill: #fff; }
.sv-ai { font: 800 26px var(--font); fill: #fff; text-anchor: middle; }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--bg-soft); color: var(--blue); transition: transform .3s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq__a { padding: 0 20px 18px; color: var(--muted); font-size: .9375rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
.contact-grid h2 { font-size: 1.5rem; margin-bottom: 8px; }
.contact-grid > div > p { color: var(--muted); margin-bottom: 24px; }
.info-list { display: grid; gap: 12px; }
.info-item { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.info-item:hover { border-color: var(--blue-100); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.info-item__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue); flex: none; }
.info-item__icon--wa { background: #e8f8ee; color: #128c4b; }
.info-item small { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.info-item strong { font-weight: 600; color: var(--ink); word-break: break-word; }
.form-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.375rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 24px; font-size: .9375rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-size: .9375rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field textarea { height: auto; min-height: 130px; padding: 12px 14px; resize: vertical; line-height: 1.6; }
.field select { padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(8, 55, 251, .1); }
.field.has-error input, .field.has-error textarea { border-color: #d92d20; }
.field__error { font-size: .8125rem; color: #d92d20; font-weight: 500; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.form-foot small { color: var(--muted); font-size: .8125rem; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; margin-bottom: 20px; font-size: .9375rem; font-weight: 500; }
.alert .icon { width: 20px; height: 20px; margin-top: 1px; }
.alert--success { background: #ecfdf3; color: #05603a; border: 1px solid #abefc6; }
.alert--error { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.map { margin-top: 40px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 6; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .66); font-size: .9375rem; }
.site-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 72px 0 48px; }
.site-footer .logo { color: #fff; }
.site-footer__desc { margin: 20px 0 22px; max-width: 24em; line-height: 1.7; }
.site-footer h2 { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer__contact a, .site-footer__contact span { display: inline-flex; gap: 10px; align-items: flex-start; word-break: break-word; }
.site-footer__contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--blue-light); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: #fff; transition: background-color .2s, transform .2s, color .2s; }
.socials a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); color: #fff; }
.socials .icon { width: 17px; height: 17px; }
.socials--dark a { background: #fff; border-color: var(--line); color: var(--ink); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .875rem; }
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Floating WhatsApp + chatbot ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 150; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fab__btn {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff;
  box-shadow: 0 10px 25px -8px rgba(2, 14, 28, .45); transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .25s;
}
.fab__btn:hover { transform: translateY(-2px) scale(1.04); }
.fab__btn .icon { width: 26px; height: 26px; }
.fab__wa { width: 50px; height: 50px; background: var(--wa); }
.fab__wa .icon { width: 24px; height: 24px; }
.fab__chat { background: var(--blue); }
.fab__chat::after { content: ""; position: absolute; top: 2px; right: 2px; width: 13px; height: 13px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; }
.fab:has(.fab__chat[aria-expanded="true"]) .fab__wa { opacity: 0; pointer-events: none; transform: scale(.8); }
.fab__chat .icon-close { display: none; }
.fab__chat[aria-expanded="true"] .icon-chat { display: none; }
.fab__chat[aria-expanded="true"] .icon-close { display: block; }
.fab__chat[aria-expanded="true"]::after { display: none; }
.fab__tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%); opacity: 0; pointer-events: none; white-space: nowrap;
  padding: 7px 12px; border-radius: 8px; background: var(--ink); color: #fff; font-size: .8125rem; font-weight: 500; transition: opacity .2s, transform .2s;
}
.fab__btn:hover .fab__tip { opacity: 1; transform: translate(0, -50%); }
.fab__chat[aria-expanded="true"] .fab__tip { display: none; }

.chat {
  position: fixed; right: 20px; bottom: 90px; z-index: 160; width: min(380px, calc(100vw - 24px)); height: min(580px, calc(100dvh - 120px));
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden;
  transform-origin: bottom right; opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.chat.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; flex: none; }
.chat__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue); flex: none; }
.chat__avatar svg { width: 24px; color: #fff; }
.chat__title { flex: 1; min-width: 0; line-height: 1.35; }
.chat__title strong { display: block; font-size: .9375rem; }
.chat__title span { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; color: rgba(255, 255, 255, .72); }
.chat__title span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.chat__icon-btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; }
.chat__icon-btn:hover { background: rgba(255, 255, 255, .12); }
.chat__icon-btn .icon { width: 18px; height: 18px; }
.chat__body { flex: 1; overflow-y: auto; padding: 18px 14px; background: var(--bg-soft); display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: .9063rem; line-height: 1.55; overflow-wrap: anywhere; animation: msgIn .25s var(--ease); }
.msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--text); border-bottom-left-radius: 4px; }
.msg--user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.msg a { color: var(--blue); text-decoration: underline; }
.msg strong { color: var(--ink); }
.msg p { margin: 0; }
.msg p + p, .msg p + ul, .msg ul + p { margin-top: 6px; }
.msg ul { padding-left: 18px; list-style: disc; }
.msg li + li { margin-top: 2px; }
.msg-actions { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 6px; max-width: 94%; }
.msg-actions a, .msg-actions button {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--blue-100);
  color: var(--blue); font-size: .8125rem; font-weight: 600; transition: background-color .2s, color .2s;
}
.msg-actions a:hover, .msg-actions button:hover { background: var(--blue); color: #fff; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; border-bottom-left-radius: 4px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: .9; transform: translateY(-3px); } }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; flex: none; }
.chat__form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; font-size: .9375rem; }
.chat__form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8, 55, 251, .1); }
.chat__send { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: #fff; flex: none; transition: background-color .2s; }
.chat__send:hover { background: var(--blue-600); }
.chat__send:disabled { opacity: .5; cursor: default; }
.chat__send .icon { width: 18px; height: 18px; }
.chat__note { padding: 0 12px 10px; font-size: .6875rem; color: var(--muted); text-align: center; background: #fff; flex: none; }

/* ---------- 404 ---------- */
.notfound { padding: 96px 0; text-align: center; }
.notfound__code { font-size: clamp(5rem, 14vw, 8rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--blue-100); }
.notfound h1 { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.25rem); margin: 8px 0 12px; }
.notfound .btn-row { justify-content: center; margin-top: 28px; }

/* ---------- Motion ---------- */
@media (scripting: enabled) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
  .reveal.is-in { opacity: 1; transform: none; }
}
.fade-up { animation: fadeUp .7s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes fadeUp { from { opacity: .001; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-card { animation: cardIn .9s var(--ease) .15s both; }
@keyframes cardIn { from { opacity: .001; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav__link { padding: 0 10px; }
  .hero-chip--a { left: -16px; }
  .hero-chip--b { right: -8px; }
}
@media (max-width: 960px) {
  :root { --section: 72px; --header-h: 64px; }
  .nav, .hide-mobile { display: none !important; }
  .menu-toggle { display: inline-grid; }
  .hero { padding: 48px 0 64px; }
  .hero__grid, .split, .contact-grid, .detail { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 400px; margin: 0 auto; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-card { position: static; }
  .chairman { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .chairman__photo { max-width: 260px; }
  .cta { grid-template-columns: 1fr; padding: 40px 32px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --section: 56px; --gutter: 18px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid.team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .grid-4 > .svc-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 18px; }
  .grid-4 > .svc-card .svc-card__icon { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
  .grid-4 > .svc-card h3 { margin-bottom: 4px; }
  .grid-4 > .svc-card .link-arrow { display: none; }
  .grid-4:has(> .svc-card) { gap: 12px; }
  .team-card { padding: 8px 8px 16px; }
  .steps { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 32px; }
  .hero-chip { font-size: .8125rem; padding: 8px 12px 8px 8px; }
  .hero-chip__icon { width: 30px; height: 30px; }
  .hero-chip--a { left: -4px; top: 8%; }
  .hero-chip--b { right: -4px; bottom: 6%; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .toolbar { flex-direction: column-reverse; align-items: stretch; }
  .search { flex-basis: auto; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .filters::-webkit-scrollbar { display: none; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cap-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .svc-row { grid-template-columns: 44px minmax(0, 1fr); padding: 18px; gap: 16px; }
  .svc-row__go { display: none; }
  .cta { padding: 32px 22px; border-radius: 20px; }
  .cta .btn { flex: 1 1 100%; }
  .site-footer__top { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
  .map { aspect-ratio: 4 / 3; }
  .fab { right: 14px; bottom: 14px; }
  .chat { right: 10px; left: 10px; width: auto; bottom: 80px; height: calc(100dvh - 100px); }
  .lightbox { padding-inline: 16px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
@media print { .site-header, .fab, .chat, .cta { display: none !important; } }

/* Portfolio title artwork and service reviews */
.work-card__title-art { padding: 18px; text-align: center; }
.work-card__title-art > span { color: #fff; font-weight: 800; font-size: clamp(1.35rem, 3vw, 2.6rem); line-height: 1.12; letter-spacing: -.035em; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.svc-card h2 { font-size: 1.125rem; margin-bottom: 8px; }
.service-reviews { position:relative; overflow:hidden; background:linear-gradient(135deg,#07142e 0%,#0b1e49 48%,#102c72 100%); color:#fff; }
.service-reviews::before,.service-reviews::after { content:""; position:absolute; width:34rem; height:34rem; border-radius:50%; filter:blur(22px); opacity:.28; pointer-events:none; animation:reviewFloat 11s ease-in-out infinite alternate; }
.service-reviews::before{background:#1555ff;top:-22rem;right:-11rem}.service-reviews::after{background:#31d686;bottom:-27rem;left:-13rem;animation-delay:-5s}
.service-reviews .container{position:relative;z-index:1}.service-reviews .badge{background:rgba(255,255,255,.12);color:#cbdcff;border:1px solid rgba(255,255,255,.2)}.service-reviews .section-head p{color:#c6d2e8}
.review-head h2{color:#fff}
.review-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: start; }
.review-list { display: grid; gap: 12px; }
.review-entry, .review-form { padding: clamp(20px, 3vw, 32px); background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.22);box-shadow:0 24px 60px rgba(0,0,0,.2);backdrop-filter:blur(14px); }
.review-entry{transition:transform .3s var(--ease),background-color .3s var(--ease)}.review-entry:hover{transform:translateY(-5px);background:rgba(255,255,255,.14)}
.review-entry header { display:grid;grid-template-columns:42px 1fr auto; align-items:center; gap:10px; }
.review-entry header small{display:block;color:#b9c8e8;font-size:.72rem;margin-top:2px}.review-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#3971ff,#48d6a1);color:#fff;font-weight:800}.review-entry p { margin-top:16px; overflow-wrap:anywhere;color:#f4f7ff;line-height:1.72; }.review-stars { color:#ffd56a; letter-spacing:.11em; white-space:nowrap; }
.review-form { display:grid;gap:14px;position:sticky;top:90px }.review-form h3{color:#fff;margin:0}.review-form__eyebrow{color:#8ef0c5;font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;font-weight:800}
.review-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.review-choice { display: flex; gap: 5px; flex-wrap: wrap; }
.review-choice label { display:grid;place-items:center;cursor:pointer;width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16);color:#93a5c6;font-size:1.45rem; }
.review-choice label:has(input:checked), .review-choice label:has(~ label input:checked), .review-choice label:hover { background:rgba(255,211,91,.18);border-color:#ffd56a;color:#ffd56a; }
@media (prefers-reduced-motion: no-preference) { .review-choice label { transition: background-color .18s, color .18s, transform .18s; } .review-choice label:hover { transform: translateY(-2px); } }
.review-choice label:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.review-field { display: grid; gap: 5px; }
.review-field input, .review-field textarea { padding: 11px 12px; width: 100%; border:1px solid rgba(255,255,255,.22); border-radius:12px; background:rgba(3,13,35,.35); color:#fff; font:inherit; }.review-field textarea{min-height:130px}.review-field input::placeholder,.review-field textarea::placeholder{color:#b6c4dd}
.review-field input:focus, .review-field textarea:focus { outline: 2px solid var(--blue); outline-offset: 2px; }
.review-note { padding:10px 12px;border-radius:10px;background:rgba(67,211,137,.16);border:1px solid rgba(112,234,167,.35);color:#d7ffe8 }.review-note--error {background:rgba(255,103,96,.15);border-color:rgba(255,142,135,.35);color:#ffe1df}.service-reviews .results-note{color:#c6d2e8}
@keyframes reviewFloat{to{transform:translate3d(-36px,28px,0) scale(1.08)}}
@media (max-width: 700px) {
  .review-layout { grid-template-columns: minmax(0, 1fr); }
  .services-grid.grid-4 > .svc-card { display: flex; padding: 22px; }
  .services-grid .svc-card .link-arrow { display: inline-flex; }
}
