/* Mezota — site styles */
:root {
  --ink: #0b0c0e;
  --ink-2: #111215;
  --g-1: #16171a;
  --g-2: #1d1f23;
  --g-3: #282a2f;
  --g-4: #3a3d44;
  --text: #ececed;
  --muted: #a3a6ad;
  --dim: #72767e;
  --paper: #f3f3f1;
  --paper-2: #e9e9e6;
  --paper-line: #d9d9d5;
  --paper-text: #121316;
  --paper-muted: #5c5f66;
  --accent: #fda60f;
  --accent-hover: #ffb733;
  --accent-ink: #1a1102;
  --radius: 14px;
  --max: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 16px/1.6 var(--font); font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 136px) 0; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section--gray { background: var(--g-1); border-block: 1px solid var(--g-2); }
.section--paper { background: var(--paper); color: var(--paper-text); }
.section--paper .muted, .section--paper .label { color: var(--paper-muted); }
.muted { color: var(--muted); }

/* ---------- Type ---------- */
.label { font-size: 13px; font-weight: 500; color: var(--dim); letter-spacing: .02em; display: inline-flex; align-items: center; gap: 8px; }
.label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.h-xl { font-size: clamp(42px, 6.6vw, 80px); letter-spacing: -0.04em; line-height: 1.02; }
.h-lg { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -0.035em; }
.h-md { font-size: clamp(24px, 2.6vw, 32px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); line-height: 1.55; }
.section--paper .lead { color: var(--paper-muted); }

.sec-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .label { margin-bottom: 18px; }
.sec-head--stack { grid-template-columns: 1fr; max-width: 760px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--g-4); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.text-link:hover { border-color: var(--accent); color: var(--accent); }
.section--paper .text-link { color: var(--paper-text); border-color: var(--paper-line); }
.section--paper .text-link:hover { color: #b46f00; border-color: #b46f00; }
.text-link svg, .btn svg { width: 15px; height: 15px; flex: none; transition: transform .25s var(--ease); }
.text-link:hover svg, .btn:hover svg.arr { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 20px; border-radius: 10px; font: 500 15px var(--font);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { background: var(--g-2); border-color: var(--g-3); color: var(--text); }
.btn--ghost:hover { background: var(--g-3); border-color: var(--g-4); }
.btn--light { background: #fff; color: var(--paper-text); border-color: var(--paper-line); }
.btn--light:hover { background: var(--paper-2); }
.btn--wa { background: #1f2a22; border-color: #2d4033; color: #d9f5e1; }
.btn--wa:hover { background: #25352a; }
.btn--wa svg { width: 18px; height: 18px; color: #25d366; }
.btn--sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 60; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.header.is-scrolled { background: rgba(11, 12, 14, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-color: var(--g-2); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) { padding: 8px 13px; border-radius: 8px; color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .2s, background .2s; }
.nav a:not(.btn):hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); background: var(--g-2); }
.nav .btn { margin-left: 12px; height: 40px; }
.menu-toggle { display: none; background: var(--g-2); border: 1px solid var(--g-3); color: var(--text); width: 42px; height: 42px; border-radius: 10px; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 16px; height: 1.5px; background: currentColor; margin: auto; position: relative; transition: transform .25s, background .25s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -5px; } .menu-toggle span::after { top: 5px; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { transform: translateY(5px) rotate(45deg); }
.nav-open .menu-toggle span::after { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 960px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav { position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px;
    background: rgba(11, 12, 14, .97); border-bottom: 1px solid var(--g-2); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: .25s var(--ease); }
  .nav a:not(.btn) { padding: 13px 12px; font-size: 16px; }
  .nav .btn { margin: 10px 0 0; height: 46px; }
  .nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 164px 0 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 420px at 72% -80px, rgba(253, 166, 15, .10), transparent 70%),
              radial-gradient(700px 380px at 10% 10%, rgba(255, 255, 255, .035), transparent 70%); }
.hero__copy { position: relative; max-width: 900px; }
.hero h1 { margin: 22px 0 24px; }
.hero .lead { max-width: 640px; }
.hero .btn-row { margin-top: 36px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; color: var(--dim); font-size: 14px; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--muted); }
.hero__visual { position: relative; margin-top: 72px; }
.hero__visual::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, var(--ink)); pointer-events: none; }
.page-hero { padding: 156px 0 72px; position: relative; overflow: hidden; border-bottom: 1px solid var(--g-2); }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(800px 360px at 80% -60px, rgba(253, 166, 15, .08), transparent 70%); }
.page-hero h1 { margin: 20px 0 22px; font-size: clamp(38px, 5.6vw, 66px); letter-spacing: -0.04em; max-width: 900px; }
.page-hero .lead { max-width: 680px; }
.crumbs { font-size: 13.5px; color: var(--dim); }
.crumbs a:hover { color: var(--text); }

/* ---------- Home hero (grid + terminal) ---------- */
.hero--home { padding: 150px 0 110px; isolation: isolate; }
.hero--home::before { display: none; }
.hero__bg-grid { position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image: linear-gradient(var(--g-2) 1px, transparent 1px), linear-gradient(90deg, var(--g-2) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 65% at 50% 30%, #000 30%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 30%, #000 30%, transparent 78%); }
.hero__glow { position: absolute; z-index: -1; width: 720px; height: 720px; border-radius: 50%; top: -280px; right: -180px;
  background: radial-gradient(circle, rgba(253, 166, 15, .22), transparent 65%); filter: blur(10px); animation: glow 9s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate(-60px, 40px) scale(1.08); opacity: .8; } }
.hero__split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero--home h1 { font-size: clamp(40px, 5.6vw, 72px); }
@media (max-width: 980px) { .hero__split { grid-template-columns: 1fr; } .hero--home { padding-bottom: 80px; } }

.terminal { background: linear-gradient(180deg, var(--g-2), var(--g-1)); border: 1px solid var(--g-3); border-radius: 16px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85); font: 14px/1.85 "JetBrains Mono", ui-monospace, Consolas, monospace; overflow: hidden; }
.terminal__bar { display: flex; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--g-3); align-items: center; }
.terminal__bar i { width: 11px; height: 11px; border-radius: 50%; }
.terminal__bar i:nth-child(1) { background: #ff5f57; } .terminal__bar i:nth-child(2) { background: #febc2e; } .terminal__bar i:nth-child(3) { background: #28c840; }
.terminal__bar span { margin-left: auto; color: var(--dim); font-size: 12px; }
.terminal__body { padding: 22px 22px 26px; color: var(--muted); min-height: 300px; }
.terminal__body .k { color: var(--accent); } .terminal__body .s { color: #8fe3a5; } .terminal__body .c { color: var(--dim); } .terminal__body .w { color: var(--text); }
.cursor { display: inline-block; width: 8px; height: 17px; background: var(--accent); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 520px) { .terminal { font-size: 12.5px; } .terminal__body { min-height: 260px; padding: 18px; } }

/* ---------- Page hero variants ---------- */
.page-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 960px) { .page-hero__grid { grid-template-columns: 1fr; } }
.page-hero--gray { background: var(--g-1); }
.page-hero--gray::before { background-image: radial-gradient(var(--g-3) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); }
.page-hero--paper { background: var(--paper); color: var(--paper-text); border-color: var(--paper-line); }
.page-hero--paper::before { display: none; }
body:has(.page-hero--paper) .header { background: rgba(11, 12, 14, .94); border-color: var(--g-2); }
.page-hero--paper .lead, .page-hero--paper .crumbs { color: var(--paper-muted); }
.page-hero--paper .btn--ghost { background: #fff; border-color: var(--paper-line); color: var(--paper-text); }
.page-hero--paper .btn--ghost:hover { background: var(--paper-2); }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center .lead { margin-inline: auto; }
.page-hero--center .btn-row { justify-content: center; }
.page-hero--glow::before { background: radial-gradient(700px 400px at 85% 40%, rgba(253, 166, 15, .12), transparent 70%); }

.hero-index { background: var(--g-1); border: 1px solid var(--g-3); border-radius: 16px; padding: 10px; }
.hero-index__title { display: block; padding: 10px 12px 8px; font-size: 13px; color: var(--dim); }
.hero-index a { display: grid; grid-template-columns: 22px 1fr 18px; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 9px; color: #d4d6da; font-size: 15px; transition: background .2s, color .2s; }
.hero-index a svg { width: 18px; height: 18px; color: var(--dim); transition: color .2s, transform .25s var(--ease); }
.hero-index a:hover { background: var(--g-2); color: var(--text); }
.hero-index a:hover svg { color: var(--accent); }
.hero-index a:hover svg:last-child { transform: translateX(3px); }

.hero-tiles { display: grid; gap: 10px; }
.hero-tile { display: grid; grid-template-columns: auto 1fr 18px; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 14px; background: var(--g-2); border: 1px solid var(--g-3); transition: border-color .2s, transform .3s var(--ease); }
.hero-tile:hover { border-color: var(--g-4); transform: translateX(4px); }
.hero-tile .card__icon { margin: 0; background: var(--ink-2); color: var(--accent); }
.hero-tile b { display: block; font-weight: 600; }
.hero-tile small { display: block; color: var(--muted); font-size: 13.5px; }
.hero-tile > svg { width: 18px; height: 18px; color: var(--dim); }
.hero-tile--soon { background: transparent; border-style: dashed; }

.topic-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.topic-tags span { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--paper-line); color: var(--paper-muted); font-size: 14px; }

.team-stack { background: var(--g-1); border: 1px solid var(--g-3); border-radius: 18px; padding: 30px; }
.team-stack__faces { display: flex; margin-bottom: 20px; }
.team-stack__faces .avatar { width: 54px; height: 54px; border: 3px solid var(--g-1); margin-left: -12px; background: var(--g-3); font-size: 16px; }
.team-stack__faces .avatar:first-child { margin-left: 0; background: var(--accent); color: var(--accent-ink); }
.team-stack p { color: var(--muted); font-size: 16px; }
.team-stack p b { color: var(--text); }
.team-stack__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.team-stack__facts div { padding: 16px; border-radius: 12px; background: var(--g-2); }
.team-stack__facts b { display: block; font-size: 24px; letter-spacing: -0.03em; }
.team-stack__facts span { color: var(--muted); font-size: 13.5px; }

.quick-contact { display: grid; gap: 10px; }
.quick-contact a { display: grid; grid-template-columns: 48px 1fr 18px; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 14px; background: var(--g-1); border: 1px solid var(--g-3); transition: border-color .2s, transform .3s var(--ease); }
.quick-contact a:hover { border-color: var(--g-4); transform: translateY(-2px); }
.quick-contact b { display: block; font-weight: 600; }
.quick-contact small { color: var(--muted); font-size: 14px; }
.quick-contact > a > svg { width: 18px; height: 18px; color: var(--dim); }
.qc-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--g-2); color: var(--text); }
.qc-icon svg { width: 22px; height: 22px; }
.qc-icon--wa { background: #25d366; color: #fff; }

/* ---------- Centred dark page heroes (unique per page) ---------- */
.ph { padding: 168px 0 96px; text-align: center; isolation: isolate; background: var(--ink); }
.ph::before { display: none; }
.ph-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ph-fx::before, .ph-fx::after { content: ""; position: absolute; }
.ph-copy { max-width: 860px; margin: 0 auto; }
.ph h1 { font-size: clamp(38px, 6vw, 70px); letter-spacing: -0.045em; line-height: 1.04; margin: 22px auto 22px; max-width: 880px; }
.ph .lead { max-width: 640px; margin: 0 auto; }
.ph .btn-row { justify-content: center; margin-top: 34px; }
.ph-crumb { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--g-3); background: rgba(22, 23, 26, .7); backdrop-filter: blur(6px); font-size: 13px; color: var(--muted); }
.ph-crumb a { color: var(--dim); } .ph-crumb a:hover { color: var(--text); }
.ph-crumb span { color: var(--g-4); }
.ph-below { margin-top: 48px; }

.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 900px; margin: 0 auto; }
.hero-chips a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px; border-radius: 999px; background: var(--g-1); border: 1px solid var(--g-3); color: #cfd1d6; font-size: 14px; font-weight: 500; transition: border-color .2s, color .2s, transform .25s var(--ease), background .2s; }
.hero-chips a svg { width: 16px; height: 16px; color: var(--dim); transition: color .2s; }
.hero-chips a:hover { border-color: var(--g-4); color: var(--text); transform: translateY(-2px); background: var(--g-2); }
.hero-chips a:hover svg { color: var(--accent); }
.hero-chips .chip-accent { border-color: rgba(253, 166, 15, .35); color: var(--accent); background: rgba(253, 166, 15, .06); }
.hero-chips .chip-accent svg { color: var(--accent); }

/* Services: concentric rings */
.ph-services .ph-fx::before { width: 1300px; height: 1300px; left: 50%; top: 50%; transform: translate(-50%, -46%); border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 69px, rgba(255, 255, 255, .055) 69px 70px);
  mask-image: radial-gradient(circle, #000 15%, transparent 62%); -webkit-mask-image: radial-gradient(circle, #000 15%, transparent 62%);
  animation: ph-pulse 12s ease-in-out infinite alternate; }
.ph-services .ph-fx::after { width: 520px; height: 520px; left: 50%; top: 42%; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 166, 15, .14), transparent 65%); }
@keyframes ph-pulse { to { transform: translate(-50%, -46%) scale(1.06); } }

/* Products: spotlight beam + dot grid */
.ph-products .ph-fx::before { inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px); background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 20%, transparent 75%); }
.ph-products .ph-fx::after { width: 900px; height: 900px; left: 50%; top: -420px; transform: translateX(-50%);
  background: conic-gradient(from 160deg at 50% 50%, transparent 0deg, rgba(253, 166, 15, .16) 20deg, transparent 40deg);
  filter: blur(30px); border-radius: 50%; animation: ph-sway 10s ease-in-out infinite alternate; }
@keyframes ph-sway { from { transform: translateX(-50%) rotate(-6deg); } to { transform: translateX(-50%) rotate(6deg); } }

/* Education: vertical light lines + warm floor glow */
.ph-education .ph-fx::before { inset: 0; background: repeating-linear-gradient(90deg, transparent 0 79px, rgba(255, 255, 255, .045) 79px 80px);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent); }
.ph-education .ph-fx::after { width: 1100px; height: 360px; left: 50%; bottom: -220px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(ellipse, rgba(253, 166, 15, .22), transparent 68%); }

/* About: giant outlined wordmark */
.ph-about .ph-fx::before { content: "MEZOTA"; left: 50%; top: 52%; transform: translate(-50%, -50%); white-space: nowrap;
  font: 800 clamp(120px, 22vw, 330px)/1 var(--font); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07);
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); }
.ph-about .ph-fx::after { width: 700px; height: 400px; left: 50%; top: -120px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 255, 255, .06), transparent 70%); }

/* Contact: horizon arc */
.ph-contact { padding-bottom: 120px; }
.ph-contact .ph-fx::before { width: 1800px; height: 1800px; left: 50%; top: calc(100% - 150px); transform: translateX(-50%); border-radius: 50%;
  border-top: 1px solid rgba(253, 166, 15, .55); box-shadow: 0 -30px 120px -20px rgba(253, 166, 15, .35), inset 0 40px 80px -40px rgba(253, 166, 15, .25); background: var(--ink-2); }
.ph-contact .ph-fx::after { inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1.3px); background-size: 140px 110px; opacity: .12; }

/* Article + 404 */
.ph-article { padding-bottom: 72px; }
.ph-article .ph-fx::before { left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .6; top: 72px; }
.ph-article .ph-fx::after { width: 800px; height: 300px; left: 50%; top: -100px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(253, 166, 15, .1), transparent 70%); }
.ph-article .article-meta { justify-content: center; }
.ph-notfound .ph-fx::before { content: "404"; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 800 clamp(160px, 30vw, 420px)/1 var(--font); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07); }

.team-line { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 20px; padding: 12px 22px 12px 14px; border-radius: 999px; border: 1px solid var(--g-3); background: rgba(22, 23, 26, .8); backdrop-filter: blur(6px); color: var(--muted); font-size: 14.5px; }
.team-line .team-stack__faces { margin: 0; }
.team-line .avatar { width: 38px; height: 38px; font-size: 12.5px; border: 2px solid var(--g-1); margin-left: -10px; }
.team-line .avatar:first-child { margin-left: 0; }
.team-line b { color: var(--text); }
.team-line .text-link { border: 0; padding: 0; }
@media (max-width: 640px) { .team-line { border-radius: 18px; padding: 16px; } }

.hero-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 860px; margin: 0 auto; text-align: left; }
.hero-contact a { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 14px; background: rgba(22, 23, 26, .85); border: 1px solid var(--g-3); backdrop-filter: blur(6px); transition: border-color .2s, transform .3s var(--ease); }
.hero-contact a:hover { border-color: var(--g-4); transform: translateY(-3px); }
.hero-contact svg { width: 22px; height: 22px; flex: none; color: var(--muted); }
.hero-contact b { display: block; font-weight: 600; font-size: 15px; }
.hero-contact small { color: var(--dim); font-size: 13px; }
.hero-contact .hc-wa { border-color: rgba(37, 211, 102, .35); }
.hero-contact .hc-wa svg { color: #25d366; }
@media (max-width: 760px) { .hero-contact { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .ph-fx::before, .ph-fx::after { animation: none !important; } }

/* ---------- Clients marquee ---------- */
.clients { padding: 28px 0 0; }
.clients__label { color: var(--dim); font-size: 13.5px; text-align: center; margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: #4c5058; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services list ---------- */
.svc { border-top: 1px solid var(--g-3); }
.svc__row {
  display: grid; grid-template-columns: 56px 1fr 1.25fr 28px; gap: 24px; align-items: center;
  padding: 28px 8px; border-bottom: 1px solid var(--g-3); transition: background .25s;
}
.svc__row:hover { background: var(--g-1); }
.svc__icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--g-2); border: 1px solid var(--g-3); color: var(--text); }
.svc__icon svg { width: 21px; height: 21px; }
.svc__row h3 { font-size: 20px; }
.svc__row p { color: var(--muted); font-size: 15.5px; }
.svc__row .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font-size: 12.5px; padding: 3px 9px; border-radius: 6px; background: var(--g-2); color: var(--muted); border: 1px solid var(--g-3); }
.svc__arrow { color: var(--dim); transition: transform .25s var(--ease), color .25s; }
.svc__arrow svg { width: 20px; height: 20px; }
.svc__row:hover .svc__arrow { color: var(--accent); transform: translateX(4px); }
@media (max-width: 760px) {
  .svc__row { grid-template-columns: 44px 1fr; gap: 14px 16px; padding: 22px 4px; align-items: start; }
  .svc__row > div:nth-child(3) { grid-column: 2; }
  .svc__arrow { display: none; }
}

/* ---------- Product blocks ---------- */
.product { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; }
.product + .product { border-top: 1px solid var(--g-2); }
.product--flip .product__copy { order: 2; }
@media (max-width: 920px) { .product { grid-template-columns: 1fr; } .product--flip .product__copy { order: 0; } }
.product__copy .label { margin-bottom: 14px; }
.product__copy h3 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.03em; }
.product__copy h3 small { display: block; font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 10px; }
.product__copy > p { color: var(--muted); margin: 18px 0 24px; font-size: 16.5px; }
.ticks { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.ticks li { display: flex; gap: 10px; font-size: 15px; color: #d4d6da; }
.ticks svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 2px; }
.section--paper .ticks li { color: var(--paper-text); }
.section--paper .ticks svg { color: #c27800; }
@media (max-width: 520px) { .ticks { grid-template-columns: 1fr; } }

/* ---------- Product UI mock ---------- */
.mock { border-radius: 14px; border: 1px solid var(--g-3); background: var(--g-1); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9); overflow: hidden; font-size: 12px; color: #2b2d31; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--g-2); border-bottom: 1px solid var(--g-3); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--g-4); }
.mock__bar span { margin: 0 auto; padding: 3px 14px; border-radius: 6px; background: var(--ink-2); color: var(--dim); font-size: 11.5px; }
.mock__app { display: grid; grid-template-columns: 170px 1fr; background: #f6f6f4; min-height: 340px; }
.mock__side { background: #fff; border-right: 1px solid #e6e6e2; padding: 16px 12px; display: flex; flex-direction: column; gap: 3px; }
.mock__side b { font-size: 14px; color: #111; padding: 0 8px 14px; display: flex; align-items: center; gap: 8px; }
.mock__side b::before { content: ""; width: 18px; height: 18px; border-radius: 5px; background: var(--accent); }
.mock__side span { padding: 7px 8px; border-radius: 6px; color: #63666d; }
.mock__side span.on { background: #f1f1ee; color: #111; font-weight: 600; }
.mock__main { padding: 18px; display: grid; gap: 14px; align-content: start; }
.mock__top { display: flex; justify-content: space-between; align-items: center; }
.mock__top b { font-size: 15px; color: #111; }
.mock__top em { font-style: normal; padding: 5px 10px; border-radius: 6px; background: #111; color: #fff; font-size: 11px; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__kpis div { background: #fff; border: 1px solid #e6e6e2; border-radius: 9px; padding: 11px 12px; }
.mock__kpis small { display: block; color: #7a7d84; font-size: 10.5px; }
.mock__kpis strong { display: block; font-size: 16px; color: #111; margin-top: 3px; letter-spacing: -0.02em; }
.mock__kpis i { font-style: normal; font-size: 10.5px; color: #1d8a4a; }
.mock__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.mock__card { background: #fff; border: 1px solid #e6e6e2; border-radius: 9px; padding: 12px; }
.mock__card > small { display: block; color: #7a7d84; font-size: 10.5px; margin-bottom: 10px; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 110px; }
.bars span { flex: 1; height: var(--h); background: #d9d9d4; border-radius: 4px 4px 2px 2px; transform-origin: bottom; }
.bars span.hi { background: var(--accent); }
.is-in .bars span { animation: grow 1s var(--ease) both; }
.is-in .bars span:nth-child(2) { animation-delay: .05s; } .is-in .bars span:nth-child(3) { animation-delay: .1s; }
.is-in .bars span:nth-child(4) { animation-delay: .15s; } .is-in .bars span:nth-child(5) { animation-delay: .2s; }
.is-in .bars span:nth-child(6) { animation-delay: .25s; } .is-in .bars span:nth-child(7) { animation-delay: .3s; }
@keyframes grow { from { transform: scaleY(0); } }
.rows { display: grid; gap: 7px; }
.rows div { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 7px; border-bottom: 1px solid #efefec; color: #3c3f45; }
.rows div:last-child { border: 0; padding: 0; }
.rows b { font-weight: 600; color: #111; }
.rows span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { font-style: normal; font-size: 10px; padding: 1px 7px; border-radius: 999px; background: #e9f6ee; color: #1d8a4a; }
.pill.w { background: #fff4df; color: #a76500; }
@media (max-width: 620px) {
  .mock__app { grid-template-columns: 1fr; min-height: 0; }
  .mock__side { display: none; }
  .mock__kpis { grid-template-columns: repeat(2, 1fr); }
  .mock__kpis div:nth-child(3) { display: none; }
  .mock__grid { grid-template-columns: 1fr; }
}

/* ---------- Generic cards & grids ---------- */
.grid { display: grid; gap: 16px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .g-4 { grid-template-columns: repeat(2, 1fr); } .g-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

.card { background: var(--g-1); border: 1px solid var(--g-2); border-radius: var(--radius); padding: 28px; transition: border-color .25s, transform .3s var(--ease); }
.card:hover { border-color: var(--g-3); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card__icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--g-2); border: 1px solid var(--g-3); margin-bottom: 22px; color: var(--text); }
.card__icon svg { width: 20px; height: 20px; }
.section--paper .card { background: #fff; border-color: var(--paper-line); }
.section--paper .card:hover { border-color: #c6c6c1; transform: translateY(-2px); }
.section--paper .card p { color: var(--paper-muted); }
.section--paper .card__icon { background: var(--paper); border-color: var(--paper-line); color: var(--paper-text); }
.section--gray .card { background: var(--g-2); border-color: var(--g-3); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--g-3); }
.stats div { padding: 28px 24px 0 0; }
.stats b { display: block; font-size: clamp(36px, 4.4vw, 52px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.stats span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 10px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 8px; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split p + p { margin-top: 16px; }

/* ---------- Security band ---------- */
.secure { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .secure { grid-template-columns: 1fr; } }
.shield-list { display: grid; gap: 0; border-top: 1px solid var(--g-3); }
.shield-list > div { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--g-3); }
.shield-list svg { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.shield-list b { display: block; font-weight: 600; margin-bottom: 2px; }
.shield-list span { color: var(--muted); font-size: 15px; }

/* ---------- Projects ---------- */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
@media (max-width: 960px) { .work { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .work { grid-template-columns: 1fr; } }
.work__shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--g-3); background: var(--g-2); aspect-ratio: 16 / 10; }
.work__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.work__item:hover .work__shot img { transform: scale(1.035); }
.work__meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 16px; }
.work__meta h3 { font-size: 17px; }
.work__meta p { color: var(--dim); font-size: 14px; margin-top: 3px; }
.section--paper .work__shot { border-color: var(--paper-line); background: #fff; }
.section--paper .work__meta p { color: var(--paper-muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { font: 500 14px var(--font); height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--paper-line); background: #fff; color: var(--paper-muted); cursor: pointer; transition: .2s; }
.filters button.on, .filters button:hover { background: var(--paper-text); color: #fff; border-color: var(--paper-text); }
.work__item.is-hidden { display: none; }

/* ---------- Coming soon ---------- */
.soon { position: relative; }
.soon .badge { position: absolute; top: 28px; right: 28px; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: rgba(253, 166, 15, .1); color: var(--accent); border: 1px solid rgba(253, 166, 15, .25); }

/* ---------- Education ---------- */
.course { display: flex; flex-direction: column; height: 100%; }
.course__thumb { aspect-ratio: 16 / 9; border-radius: 10px; margin-bottom: 20px; display: grid; place-items: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--c1, #2a2c31), var(--c2, #17181b)); color: #fff; }
.course__thumb svg { width: 44px; height: 44px; opacity: .9; }
.course__meta { display: flex; gap: 12px; font-size: 13px; color: var(--dim); margin-bottom: 10px; }
.section--paper .course__meta { color: var(--paper-muted); }
.course h3 { font-size: 19px; margin-bottom: 10px; }
.course .text-link { margin-top: auto; padding-top: 18px; border: 0; align-self: flex-start; }
.yt { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 28px 32px; border-radius: var(--radius); background: var(--g-1); border: 1px solid var(--g-2); }
.yt__logo { width: 56px; height: 56px; border-radius: 14px; background: #ff0033; display: grid; place-items: center; color: #fff; }
.yt__logo svg { width: 28px; height: 28px; }
.yt h3 { font-size: 20px; margin-bottom: 4px; }
@media (max-width: 700px) { .yt { grid-template-columns: 1fr; } }

/* Article */
.article { max-width: 760px; margin-inline: auto; }
.article h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 48px 0 16px; }
.article h3 { font-size: 20px; margin: 32px 0 12px; }
.article p, .article li { color: #c9cbd0; font-size: 17px; line-height: 1.75; }
.article p { margin-bottom: 16px; }
.article ul, .article ol { padding-left: 22px; margin: 0 0 20px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--text); }
.callout { padding: 20px 22px; border-radius: 12px; background: var(--g-1); border: 1px solid var(--g-3); border-left: 3px solid var(--accent); margin: 28px 0; }
.callout p { margin: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--dim); font-size: 14px; }

/* ---------- Testimonials ---------- */
.quote { margin: 0; padding: 36px; border-radius: var(--radius); background: #fff; border: 1px solid var(--paper-line); display: flex; flex-direction: column; gap: 28px; }
.quote blockquote { margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--paper-text); letter-spacing: -0.01em; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote figcaption b { display: block; font-weight: 600; }
.quote figcaption span { color: var(--paper-muted); font-size: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--g-3); color: #fff; font-weight: 600; font-size: 15px; }
.section--paper .avatar { background: var(--paper-text); }

/* ---------- Team ---------- */
.team-grid { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.member { padding: 10px 10px 22px; }
.member__photo { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--g-2); margin-bottom: 18px; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; filter: grayscale(.35) contrast(1.02); transform: scale(1.04); transition: filter .5s var(--ease), transform .7s var(--ease); }
.member:hover .member__photo img { filter: none; transform: scale(1.09); }
.member h3, .member p { padding-inline: 8px; }
@media (max-width: 720px) { .member h3 { font-size: 15.5px; } .member p { font-size: 13px; } }
img.avatar { object-fit: cover; padding: 0; }
.member h3 { font-size: 18px; margin-bottom: 4px; }
.member p { font-size: 14.5px; }

/* ---------- CTA ---------- */
.cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; padding: clamp(40px, 6vw, 72px); border-radius: 20px; background: var(--g-1); border: 1px solid var(--g-2); }
.cta .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta .btn-row { justify-content: flex-start; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.info { display: grid; gap: 0; border-top: 1px solid var(--g-3); }
.info > div { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--g-3); }
.info svg { width: 22px; height: 22px; color: var(--muted); margin-top: 2px; }
.info h3 { font-size: 15px; margin-bottom: 4px; }
.info p, .info a { color: var(--muted); font-size: 15.5px; }
.info a:hover { color: var(--accent); }
.form { padding: 36px; border-radius: 16px; background: var(--g-1); border: 1px solid var(--g-2); }
.form h2 { font-size: 26px; margin-bottom: 6px; }
.form > p { color: var(--muted); margin-bottom: 28px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .form { padding: 24px 18px; } }
label { font-size: 13.5px; font-weight: 500; color: #c6c8cd; }
input, select, textarea { width: 100%; padding: 12px 14px; border-radius: 9px; border: 1px solid var(--g-3); background: var(--ink-2); color: var(--text); font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--g-4); box-shadow: 0 0 0 3px rgba(253, 166, 15, .18); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 22px; font-weight: 400; }
.consent input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--accent); flex: none; padding: 0; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 16px; padding: 13px 15px; border-radius: 9px; font-size: 15px; display: none; }
.form-status.ok { display: block; background: rgba(37, 211, 102, .08); border: 1px solid rgba(37, 211, 102, .3); color: #a6ebbd; }
.form-status.err { display: block; background: rgba(255, 95, 87, .08); border: 1px solid rgba(255, 95, 87, .3); color: #ffb3ae; }
.map { margin-top: 24px; border-radius: 16px; overflow: hidden; border: 1px solid var(--g-2); height: 340px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.9); }

/* ---------- Social ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--g-2); border: 1px solid var(--g-3); color: var(--muted); transition: color .2s, background .2s, border-color .2s; }
.socials a:hover { color: var(--text); background: var(--g-3); border-color: var(--g-4); }
.socials svg { width: 17px; height: 17px; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .6); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--g-2); padding: 72px 0 28px; background: var(--ink-2); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 1000px) { .footer__top { grid-template-columns: 1fr 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr 1fr; } }
.footer__brand p { color: var(--muted); font-size: 14.5px; margin: 18px 0 22px; max-width: 340px; }
.footer h4 { font-size: 13px; font-weight: 500; color: var(--dim); margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer li, .footer li a { color: var(--muted); font-size: 14.5px; }
.footer li a:hover { color: var(--text); }
.footer__bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--g-2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--dim); font-size: 13.5px; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .is-in .bars span, .hero__glow, .cursor { animation: none; }
  .work__shot img { transition: none; }
}
