/* ==========================================================================
   MTechNets Pro — main stylesheet
   01 Tokens · 02 Base · 03 Layout · 04 Buttons & small parts · 05 Header
   06 Hero · 07 Sections & cards · 08 Process · 09 Portfolio & covers
   10 Contact & forms · 11 Blog & prose · 12 Footer · 13 Motion · 14 Responsive
   ========================================================================== */

/* 01 Tokens ---------------------------------------------------------------- */
:root {
  --primary: #16C7D9;
  --primary-hover: #19BFD1;
  --primary-dark: #0EA5C6;
  --primary-ink: #087F99;
  --primary-glow: rgba(22, 199, 217, 0.28);
  --primary-soft: rgba(22, 199, 217, 0.1);
  --cyan-soft: #67E8F9;
  --blue-accent: #1261A0;

  --navy-950: #040E18;
  --navy-900: #061A2B;
  --navy-850: #082137;
  --navy-800: #0A2940;
  --navy-700: #124068;

  --bg: #FFFFFF;
  --bg-tint: #F4F8FB;
  --text: #0B1F33;
  --muted: #556B82;
  --muted-light: #94A3B8;
  --border: #E2E8F0;
  --border-dark: rgba(255, 255, 255, 0.1);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(11, 31, 51, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 31, 51, 0.08);
  --shadow-lg: 0 18px 40px rgba(11, 31, 51, 0.12);

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', var(--font);
  --font-mono: 'Fira Code', ui-monospace, Menlo, Consolas, monospace;

  --container: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 02 Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.mtn {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.mtn h1, .mtn h2, .mtn h3, .mtn h4 { margin: 0 0 0.6em; line-height: 1.2; font-weight: 700; color: var(--text); letter-spacing: -0.015em; }
.mtn h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; }
.mtn h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -0.025em; }
.mtn h3 { font-size: 1.2rem; }
.mtn p { margin: 0 0 1.1em; color: var(--muted); }
.mtn a { color: inherit; text-decoration: none; transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
.mtn img { max-width: 100%; height: auto; display: block; }
.mtn ul, .mtn ol { margin: 0; padding: 0; list-style: none; }
.mtn dl, .mtn dd, .mtn figure, .mtn blockquote { margin: 0; }
.mtn button { font: inherit; cursor: pointer; }
.mtn :focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
.mtn-icon { flex: none; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--primary); color: var(--navy-950) !important; font-weight: 700; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

.text-gradient { background: linear-gradient(135deg, #16C7D9 0%, #67E8F9 50%, #38BDF8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.center { text-align: center; }

/* 03 Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 900px; }
.site-main { display: block; min-height: 40vh; }

.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--tight { padding: clamp(48px, 5vw, 72px) 0; }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--navy-900); position: relative; overflow: hidden; }
.section--dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 320px at 15% 0%, rgba(22, 199, 217, 0.14), transparent 70%), radial-gradient(600px 300px at 90% 100%, rgba(18, 97, 160, 0.3), transparent 70%); pointer-events: none; }
.section--dark > .container { position: relative; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--muted-light); }
.section--pull { padding: 0 0 24px; margin-top: -72px; position: relative; z-index: 2; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 0.4em; }
.section-head .lead { font-size: 1.08rem; margin: 0; }
.split__copy .section-head, .contact__info .section-head { margin-bottom: 20px; }
.section-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-row .section-head { margin-bottom: 0; }

.eyebrow { display: inline-block; margin: 0 0 14px !important; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary-ink) !important; }
.section--dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow, .cta-band .eyebrow { color: var(--primary) !important; }
.eyebrow--pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border: 1px solid rgba(22, 199, 217, 0.3); border-radius: var(--radius-full); background: rgba(22, 199, 217, 0.08); letter-spacing: 0.1em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(22, 199, 217, 0.22); }

/* 04 Buttons & small parts ------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: var(--radius-full); border: 1.5px solid transparent; font-weight: 700; font-size: 0.97rem; line-height: 1.2; white-space: nowrap; transition: transform 0.25s var(--ease), box-shadow 0.25s, background-color 0.2s, border-color 0.2s, color 0.2s; }
.btn .mtn-icon { transition: transform 0.25s var(--ease); }
.btn:hover .mtn-icon { transform: translateX(3px); }
.btn--primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--navy-950) !important; box-shadow: 0 8px 22px var(--primary-glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(22, 199, 217, 0.42); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.26); color: #fff !important; background: rgba(255, 255, 255, 0.04); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary) !important; }
.btn--outline { border-color: var(--border); color: var(--text) !important; background: #fff; }
.btn--outline:hover { border-color: var(--primary-dark); color: var(--primary-ink) !important; }
.btn--sm { padding: 10px 20px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn-row--center { justify-content: center; }
p.center .btn { margin-top: 40px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.93rem; color: var(--primary-ink) !important; margin-top: auto; }
.link-arrow .mtn-icon { transition: transform 0.25s var(--ease); }
.link-arrow:hover .mtn-icon { transform: translateX(4px); }

.icon-tile { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; flex: none; border-radius: var(--radius-md); background: var(--primary-soft); color: var(--primary-ink); border: 1px solid rgba(22, 199, 217, 0.22); }
.icon-tile--dark { background: rgba(22, 199, 217, 0.12); color: var(--primary); }
.icon-tile--lg { width: 64px; height: 64px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li, .chips li a { display: inline-block; padding: 6px 13px; border-radius: var(--radius-full); background: var(--bg-tint); border: 1px solid var(--border); font-size: 0.84rem; font-weight: 600; color: #33475b; }
.chips li a { padding: 0; border: 0; background: none; }
.chips--sm li { padding: 4px 11px; font-size: 0.78rem; }
.chips--lg li { padding: 10px 20px; font-size: 0.95rem; background: #fff; box-shadow: var(--shadow-sm); }
.chips--center { justify-content: center; }
.tag { display: inline-block; margin: 0 0 10px !important; padding: 4px 12px; border-radius: var(--radius-full); background: var(--primary-soft); color: var(--primary-ink) !important; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

.checklist { display: grid; gap: 12px; margin: 20px 0 !important; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 0.97rem; }
.checklist .mtn-icon { margin-top: 4px; padding: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-ink); }
.checklist strong { color: var(--text); }
.checklist--lg { margin: 28px 0 32px !important; }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s; }

/* 05 Header ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(4, 14, 24, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border-dark); transition: box-shadow 0.3s, background-color 0.3s; }
.site-header.is-stuck { background: rgba(4, 14, 24, 0.96); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.site-logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.site-logo__img { height: 42px; width: auto; }
.site-logo__text { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.site-logo__text span { color: var(--primary); }

.site-nav { margin-left: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item.has-mega { position: static; }
.nav__link { display: block; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 600; color: #cbd5e1 !important; }
.nav__link:hover, .nav__item.is-current > .nav__link, .nav__item.is-open > .nav__link { color: #fff !important; }
.nav__item.is-current > .nav__link { color: var(--primary) !important; }
.nav__toggle { display: inline-flex; margin-left: -12px; padding: 6px; border: 0; background: none; color: #94a3b8; transition: transform 0.25s; }
.nav__item.is-open > .nav__toggle { transform: rotate(180deg); color: var(--primary); }
.site-nav__cta { display: none; }

.mega, .nav__sub { position: absolute; top: calc(100% - 6px); left: 50%; transform: translate(-50%, 10px); opacity: 0; visibility: hidden; transition: opacity 0.22s, transform 0.3s var(--ease), visibility 0.22s; background: var(--navy-850); border: 1px solid var(--border-dark); border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.mega { width: min(980px, calc(100vw - 48px)); overflow: hidden; }
.nav__sub { min-width: 220px; padding: 10px; }
.nav__sub a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); color: #cbd5e1 !important; font-size: 0.93rem; }
.nav__sub a:hover { background: rgba(255, 255, 255, 0.06); color: #fff !important; }
.nav__item.is-open > .mega, .nav__item.is-open > .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 26px 22px 18px; }
.mega__title { margin: 0 0 10px 12px !important; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary) !important; }
.mega__link { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: var(--radius-md); }
.mega__link:hover { background: rgba(255, 255, 255, 0.05); }
.mega__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border-radius: 11px; background: rgba(22, 199, 217, 0.12); color: var(--primary); }
.mega__link strong { display: block; color: #fff; font-size: 0.96rem; font-weight: 700; line-height: 1.3; }
.mega__link small { display: block; margin-top: 2px; color: var(--muted-light); font-size: 0.82rem; }
.mega__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 34px; background: rgba(0, 0, 0, 0.25); border-top: 1px solid var(--border-dark); font-size: 0.9rem; color: var(--muted-light); }
.mega__foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--primary) !important; font-weight: 700; }

.site-header__actions { display: flex; align-items: center; gap: 18px; }
.site-header__phone { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: #cbd5e1 !important; font-size: 0.9rem; font-weight: 600; }
.site-header__phone:hover { color: var(--primary) !important; }
.nav-burger { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border-dark); border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.04); color: #fff; }
.nav-burger__close { display: none; }
.nav-open .nav-burger__open { display: none; }
.nav-open .nav-burger__close { display: inline-flex; }

/* 06 Hero ------------------------------------------------------------------ */
.hero, .page-hero { position: relative; background: var(--navy-950); color: #fff; overflow: hidden; }
.hero { padding: clamp(56px, 7vw, 96px) 0 0; }
.hero__bg, .page-hero__bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 30%, transparent 78%); mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 30%, transparent 78%); }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.hero__glow--a { width: 520px; height: 520px; left: -140px; top: -180px; background: rgba(22, 199, 217, 0.22); }
.hero__glow--b { width: 560px; height: 560px; right: -160px; top: 60px; background: rgba(18, 97, 160, 0.45); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; margin: 6px 0 22px; }
.hero__text { font-size: 1.14rem; color: #b6c4d4 !important; max-width: 580px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px !important; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; color: #b6c4d4; font-size: 0.9rem; font-weight: 500; }
.hero__points .mtn-icon { color: var(--primary); }

.hero__visual { position: relative; padding: 24px 0 24px 12px; }
.code-card { position: relative; border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(10, 41, 64, 0.95), rgba(6, 26, 43, 0.95)); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 60px rgba(22, 199, 217, 0.12); overflow: hidden; }
.code-card__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--border-dark); background: rgba(0, 0, 0, 0.2); }
.code-card__bar i { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.code-card__bar i:nth-child(1) { background: #f87171; } .code-card__bar i:nth-child(2) { background: #fbbf24; } .code-card__bar i:nth-child(3) { background: #34d399; }
.code-card__bar span { margin-left: 10px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted-light); }
.code-card pre { margin: 0; padding: 22px 22px 58px; overflow-x: auto; font-family: var(--font-mono); font-size: 0.84rem; line-height: 1.85; color: #dbe7f3; }
.code-card code { font-family: inherit; }
.c-k { color: #7dd3fc; } .c-s { color: #86efac; } .c-f { color: #67e8f9; } .c-c { color: #64748b; }
.float-chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-md); background: rgba(8, 33, 55, 0.92); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4); backdrop-filter: blur(8px); color: var(--primary); animation: mtn-float 6s ease-in-out infinite; }
.float-chip strong { display: block; color: #fff; font-size: 0.88rem; line-height: 1.2; }
.float-chip small { color: var(--muted-light); font-size: 0.76rem; }
.float-chip--a { right: -8px; top: -4px; }
.float-chip--b { left: -18px; bottom: -14px; animation-delay: -3s; }
@keyframes mtn-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 80px) !important; border-top: 1px solid var(--border-dark); }
.stats > div { padding: 30px 24px 34px; border-left: 1px solid var(--border-dark); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats dt, .stat-grid dt { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 700; line-height: 1.1; color: #fff; letter-spacing: -0.02em; }
.stats dd { margin-top: 6px; color: var(--muted-light); font-size: 0.93rem; }

.tech-band { padding: 34px 0 38px; background: var(--navy-900); border-top: 1px solid var(--border-dark); }
.tech-band__label { margin: 0 0 20px !important; text-align: center; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #6b829a !important; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: mtn-marquee 48s linear infinite; }
.marquee__track span { padding: 9px 20px; border: 1px solid var(--border-dark); border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.03); color: #b6c4d4; font-size: 0.92rem; font-weight: 600; white-space: nowrap; }
@keyframes mtn-marquee { to { transform: translateX(calc(-50% - 7px)); } }

.page-hero { padding: clamp(48px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; background: rgba(18, 97, 160, 0.5); filter: blur(100px); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 880px; font-size: clamp(2rem, 4vw, 3.2rem); }
.page-hero__text { max-width: 680px; font-size: 1.12rem; color: #b6c4d4 !important; margin: 0 !important; }
.page-hero--post h1 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.page-hero--404 { padding: clamp(80px, 12vw, 160px) 0; }
.page-hero--404 h1, .page-hero--404 .page-hero__text { margin-inline: auto !important; }
.big-404 { margin: 0 !important; font-family: var(--font-display); font-size: clamp(5rem, 16vw, 11rem); font-weight: 700; line-height: 1; background: linear-gradient(135deg, #16C7D9, #1261A0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 0.86rem; color: #6b829a; }
.crumbs a { color: #94a3b8 !important; }
.crumbs a:hover { color: var(--primary) !important; }
.crumbs__here { color: #cbd5e1; }
.post-meta { display: flex; gap: 12px; align-items: center; margin: 18px 0 0 !important; color: var(--muted-light) !important; font-size: 0.93rem; }

/* 07 Sections & cards ------------------------------------------------------ */
.service-card, .feature.card, .model-card, .tech-card { padding: 30px; display: flex; flex-direction: column; }
.service-card:hover, .project-card:hover, .post-card:hover, .feature.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(22, 199, 217, 0.45); }
.service-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.service-card__num, .feature__num { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: #b8c5d3; letter-spacing: 0.05em; }
.feature__num { display: block; margin-bottom: 14px; color: var(--primary-ink); }
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-card h3 a:hover, .project-card h3 a:hover, .post-card h3 a:hover { color: var(--primary-ink); }
.service-card p { font-size: 0.96rem; margin-bottom: 18px; }
.service-card .chips { margin-bottom: 22px; }

.feature .icon-tile { margin-bottom: 20px; }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; font-size: 0.96rem; }
.feature--dark { padding: 30px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.035); border: 1px solid var(--border-dark); transition: transform 0.35s var(--ease), border-color 0.35s, background-color 0.35s; }
.feature--dark:hover { transform: translateY(-5px); border-color: rgba(22, 199, 217, 0.4); background: rgba(22, 199, 217, 0.05); }
.link-list { margin-top: 20px !important; display: grid; gap: 4px; }
.link-list a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; margin-inline: -12px; border-radius: var(--radius-sm); color: #dbe7f3 !important; font-weight: 600; font-size: 0.95rem; }
.link-list a span { flex: 1; }
.link-list a .mtn-icon:first-child { color: var(--primary); }
.link-list a .mtn-icon:last-child { opacity: 0; transform: translateX(-6px); transition: 0.25s var(--ease); }
.link-list a:hover { background: rgba(255, 255, 255, 0.06); }
.link-list a:hover .mtn-icon:last-child { opacity: 1; transform: none; color: var(--primary); }

.model-card { position: relative; }
.model-card .icon-tile { margin-bottom: 20px; }
.model-card--featured { border-color: var(--primary); box-shadow: 0 18px 44px rgba(22, 199, 217, 0.16); }
.model-card__badge { position: absolute; top: 22px; right: 22px; padding: 5px 12px; border-radius: var(--radius-full); background: var(--navy-900); color: var(--primary); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.model-card .checklist { margin-bottom: 0 !important; }
.tech-card h3 { margin-bottom: 16px; }

.quote-card { padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.quote-card__mark { color: var(--primary); }
.quote-card blockquote { flex: 1; font-size: 1.02rem; line-height: 1.7; color: #1e3348; }
.quote-card figcaption { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--border); }
.quote-card strong { display: block; font-size: 0.97rem; }
.quote-card small { color: var(--muted); font-size: 0.85rem; }
.avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar--initials { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), var(--blue-accent)); color: #fff; font-weight: 700; }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat-grid > div { padding: 28px; border-radius: var(--radius-lg); background: var(--navy-900); border: 1px solid var(--border-dark); }
.stat-grid > div:nth-child(2), .stat-grid > div:nth-child(3) { background: linear-gradient(140deg, #0c3a5c, var(--navy-800)); }
.stat-grid dt { color: var(--primary); }
.stat-grid dd { margin-top: 8px; color: #b6c4d4; font-size: 0.93rem; }
.stat-grid--row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.board { padding: 22px; border-radius: var(--radius-xl); background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 30px 60px rgba(11, 31, 51, 0.28); }
.board__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: #fff; font-weight: 700; }
.board__head em { font-style: normal; font-size: 0.78rem; font-weight: 600; padding: 5px 12px; border-radius: var(--radius-full); background: rgba(52, 211, 153, 0.14); color: #6ee7b7; }
.board__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.board__cols > div { padding: 14px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-dark); min-height: 190px; }
.board__cols p { margin: 0 0 12px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-light); }
.board__cols b { display: block; height: 38px; margin-bottom: 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.07); border-left: 3px solid #475569; }
.board__cols b.done { border-left-color: #34d399; }
.board__cols b.live { border-left-color: var(--primary); background: rgba(22, 199, 217, 0.14); }
.w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }
.board__foot { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-md); background: rgba(22, 199, 217, 0.09); border: 1px solid rgba(22, 199, 217, 0.22); }
.board__foot span { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px rgba(22, 199, 217, 0.2); }
.board__foot p { margin: 0; color: #dbe7f3; font-size: 0.9rem; font-weight: 600; }

.aside-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 30px; }
.aside-card h2 { font-size: 1.15rem; margin: 20px 0 0; }
.aside-card > h2:first-child { margin-top: 0; }
.aside-card .chips { margin: 14px 0 6px; }
.aside-card p { font-size: 0.95rem; margin: 8px 0 18px; }
.aside-card .btn { margin-top: 8px; }

.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); transition: border-color 0.25s, box-shadow 0.25s; }
.faq__item[open] { border-color: rgba(22, 199, 217, 0.5); box-shadow: var(--shadow-md); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.03rem; color: var(--text); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { display: inline-flex; flex: none; padding: 6px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-ink); transition: transform 0.3s var(--ease); }
.faq__item[open] summary i { transform: rotate(45deg); }
.faq__answer { padding: 0 24px 6px; }
.note-box { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 40px; padding: 30px 34px; border-radius: var(--radius-lg); background: var(--bg-tint); border: 1px solid var(--border); }
.note-box h2 { font-size: 1.3rem; margin-bottom: 4px; }
.note-box p { margin: 0; }

.cta-band { padding: clamp(56px, 7vw, 96px) 0; background: var(--bg); }
.section--tint + .cta-band, .section--tint ~ .cta-band:last-of-type { background: var(--bg); }
.cta-band__box { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: clamp(36px, 5vw, 64px); border-radius: var(--radius-xl); background: linear-gradient(130deg, var(--navy-900) 0%, #0b3556 60%, #0d4a70 100%); overflow: hidden; }
.cta-band__box::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -200px; border-radius: 50%; background: rgba(22, 199, 217, 0.28); filter: blur(80px); }
.cta-band__box > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 620px; margin-bottom: 12px; }
.cta-band p { color: #b6c4d4; max-width: 560px; margin: 0; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; flex: none; }
.cta-band__mail { display: inline-flex; align-items: center; gap: 8px; color: #dbe7f3 !important; font-weight: 600; font-size: 0.95rem; }
.cta-band__mail:hover { color: var(--primary) !important; }

/* 08 Process --------------------------------------------------------------- */
.process-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-strip__item { position: relative; padding: 26px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s; }
.process-strip__item:hover { transform: translateY(-5px); border-color: rgba(22, 199, 217, 0.5); box-shadow: var(--shadow-md); }
.process-strip__num { position: absolute; top: 20px; right: 22px; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: #dfe7ef; }
.process-strip__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 13px; background: var(--navy-900); color: var(--primary); }
.process-strip h3 { margin-bottom: 6px; }
.process-strip p { margin: 0; font-size: 0.92rem; }
.section--dark .process-strip__item { background: rgba(255, 255, 255, 0.035); border-color: var(--border-dark); }
.section--dark .process-strip__num { color: rgba(255, 255, 255, 0.12); }
.section--dark .process-strip__icon { background: rgba(22, 199, 217, 0.12); }

.timeline { position: relative; display: grid; gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--primary), rgba(22, 199, 217, 0.08)); }
.timeline__item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: start; }
.timeline__marker { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy-900); color: var(--primary); border: 4px solid #fff; box-shadow: 0 0 0 1px var(--border), var(--shadow-md); }
.timeline__card { padding: 28px 30px; }
.timeline__step { margin: 0 0 6px !important; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary-ink) !important; }
.timeline__card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.timeline__card .chips { margin-top: 16px; }

/* 09 Portfolio & covers ---------------------------------------------------- */
.project-card, .post-card { display: flex; flex-direction: column; overflow: hidden; }
.project-card__media, .post-card__media { display: block; overflow: hidden; }
.project-card__body, .post-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.project-card h3, .post-card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.project-card p, .post-card p { font-size: 0.95rem; }
.mini-stats { display: flex; gap: 28px; margin: 4px 0 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.mini-stats dt { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--primary-ink); line-height: 1.2; }
.mini-stats dd { font-size: 0.8rem; color: var(--muted); }
.meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px !important; font-size: 0.84rem; }
.meta .tag { margin: 0 !important; }

.cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.cover--image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .cover--image img, .card:hover .mock { transform: scale(1.04); }
.cover--gen { display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg, var(--c1), var(--c2)); }
.cover--gen::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 32px 32px; }
.cover--gen::after { content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -18%; top: -40%; border-radius: 50%; background: var(--c3); filter: blur(50px); opacity: 0.7; }
.cover--cyan { --c1: #062B44; --c2: #0E7FA0; --c3: #16C7D9; }
.cover--blue { --c1: #071C3A; --c2: #1261A0; --c3: #38BDF8; }
.cover--teal { --c1: #05282C; --c2: #0C7C7C; --c3: #2DD4BF; }
.cover--indigo { --c1: #0E1440; --c2: #3340A8; --c3: #818CF8; }
.cover--sky { --c1: #082A47; --c2: #1D82C4; --c3: #7DD3FC; }
.cover--slate { --c1: #0A1622; --c2: #2A4459; --c3: #67E8F9; }
.cover--post { flex-direction: column; gap: 14px; color: #fff; }
.cover__icon { position: relative; z-index: 1; display: inline-flex; padding: 18px; border-radius: 22px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(6px); }
.cover__label { position: relative; z-index: 1; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }

.mock { position: relative; z-index: 1; transition: transform 0.6s var(--ease); }
.mock--window { width: 76%; border-radius: 12px; background: rgba(4, 14, 24, 0.72); border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4); overflow: hidden; }
.mock__bar { display: flex; gap: 5px; padding: 9px 12px; background: rgba(255, 255, 255, 0.06); }
.mock__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); }
.mock__body { display: grid; grid-template-columns: 22% 1fr; gap: 10px; padding: 12px; }
.mock__side b { display: block; height: 7px; margin-bottom: 9px; border-radius: 4px; background: rgba(255, 255, 255, 0.16); }
.mock__side b:first-child { background: var(--c3); width: 70%; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.mock__kpis span { height: 26px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); }
.mock__kpis span:first-child { background: color-mix(in srgb, var(--c3) 45%, transparent); }
.mock__chart { display: flex; align-items: flex-end; gap: 7px; height: 74px; padding: 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); }
.mock__chart u { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(var(--c3), rgba(255, 255, 255, 0.15)); text-decoration: none; }
.mock--phone { width: 24%; aspect-ratio: 9 / 18.5; padding: 10px 9px; border-radius: 20px; background: rgba(4, 14, 24, 0.82); border: 2px solid rgba(255, 255, 255, 0.24); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45); }
.mock--phone i { display: block; width: 34%; height: 5px; margin: 0 auto 12px; border-radius: 4px; background: rgba(255, 255, 255, 0.3); }
.mock--phone b { display: block; height: 22%; margin-bottom: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.12); }
.mock--phone b:first-of-type { background: linear-gradient(135deg, var(--c3), rgba(255, 255, 255, 0.2)); }
.mock--phone b.s { height: 9%; width: 70%; }
.mock--phone em { display: block; height: 11%; margin-top: 12px; border-radius: 999px; background: var(--c3); }
.mock--back { position: absolute; left: 58%; top: 22%; opacity: 0.55; transform: rotate(8deg); }
.card:hover .mock--back { transform: rotate(8deg) scale(1.04); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button, .filters a { padding: 9px 20px; border-radius: var(--radius-full); border: 1px solid var(--border); background: #fff; color: var(--muted) !important; font-weight: 600; font-size: 0.92rem; transition: 0.2s; }
.filters button:hover, .filters a:hover { border-color: var(--primary-dark); color: var(--primary-ink) !important; }
.filters .is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff !important; }
.project-card.is-hidden { display: none; }

.case-cover { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.case-cover .cover { aspect-ratio: 16 / 7; }
.case-cover .mock--window { width: 52%; }
.case-cover .mock--phone { width: 13%; }
.case-cover img { width: 100%; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; margin-top: 28px !important; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
.facts > div { padding: 22px 26px; border-left: 1px solid var(--border); }
.facts > div:first-child { border-left: 0; }
.facts dt { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin-top: 6px; font-weight: 700; color: var(--text); }

/* 10 Contact & forms ------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0 !important; }
.contact__cards li { display: flex; gap: 14px; align-items: center; padding: 18px; }
.contact__cards .icon-tile { width: 46px; height: 46px; }
.contact__label { margin: 0 0 2px !important; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted) !important; }
.contact__cards a, .contact__cards span:not(.icon-tile) { font-weight: 700; font-size: 0.95rem; color: var(--text); word-break: break-word; }
.contact__cards a:hover { color: var(--primary-ink); }
.next-steps { padding: 28px 30px; border-radius: var(--radius-lg); background: var(--navy-900); }
.next-steps h3 { color: #fff; margin-bottom: 18px; }
.next-steps ol { display: grid; gap: 16px; counter-reset: n; }
.next-steps li { position: relative; padding-left: 46px; counter-increment: n; }
.next-steps li::before { content: counter(n); position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(22, 199, 217, 0.14); color: var(--primary); font-weight: 700; font-size: 0.88rem; }
.next-steps strong { display: block; color: #fff; font-size: 0.97rem; }
.next-steps span { color: var(--muted-light); font-size: 0.9rem; }
.contact__form { padding: clamp(26px, 3.4vw, 40px); box-shadow: var(--shadow-lg); }
.contact__form h2 { font-size: 1.6rem; margin-bottom: 6px; }
.contact__form-intro { margin-bottom: 24px !important; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin: 0 0 16px !important; }
.field label { display: block; margin-bottom: 7px; font-size: 0.88rem; font-weight: 700; color: var(--text); }
.field abbr { color: #dc2626; text-decoration: none; }
.mtn input[type="text"], .mtn input[type="email"], .mtn input[type="search"], .mtn input[type="url"], .mtn select, .mtn textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-md); background: #fff; color: var(--text); font: inherit; font-size: 0.97rem; transition: border-color 0.2s, box-shadow 0.2s; }
.mtn input:focus, .mtn select:focus, .mtn textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(22, 199, 217, 0.16); }
.mtn textarea { resize: vertical; min-height: 130px; }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__notice[hidden] { display: none; }
.form__notice { padding: 14px 18px; border-radius: var(--radius-md); font-weight: 600; font-size: 0.95rem; }
.form__notice--success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46 !important; }
.form__notice--error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b !important; }
.form__fine { margin: 14px 0 0 !important; text-align: center; font-size: 0.82rem; }
.search-form { display: flex; gap: 10px; max-width: 480px; margin-inline: auto; }
.empty { text-align: center; max-width: 560px; margin-inline: auto; }

/* 11 Blog & prose ---------------------------------------------------------- */
.prose { font-size: 1.06rem; }
.mtn .prose > * { margin-bottom: 0; }
.mtn .prose > * + * { margin-top: 1.15em; }
.mtn .prose > h2 { font-size: 1.6rem; }
.mtn .prose > h3 { font-size: 1.25rem; }
.mtn .prose > * + h2, .mtn .prose > * + h3 { margin-top: 1.9em; }
.mtn .prose > h2 + *, .mtn .prose > h3 + * { margin-top: 0.7em; }
.prose p { color: #3d5269; }
.prose a { color: var(--primary-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; color: #3d5269; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--primary-dark); }
.prose blockquote { padding: 18px 24px; border-left: 4px solid var(--primary); background: var(--bg-tint); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-size: 1.1rem; color: var(--text); }
.prose img { border-radius: var(--radius-lg); }
.prose code { padding: 2px 7px; border-radius: 6px; background: var(--bg-tint); font-family: var(--font-mono); font-size: 0.9em; }
.prose pre { padding: 20px; border-radius: var(--radius-md); background: var(--navy-900); color: #dbe7f3; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.faq__answer p { color: var(--muted); }
.single-post .case-cover { margin-bottom: 40px; }
.post-tags { margin-top: 32px !important; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); }
.post-nav div:last-child { text-align: right; }
.post-nav span { display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.post-nav a { font-weight: 700; }
.post-nav a:hover { color: var(--primary-ink); }
.pagination { margin-top: 48px; }
.pagination ul { display: flex; justify-content: center; gap: 8px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--radius-md); border: 1px solid var(--border); font-weight: 700; }
.pagination .current { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.comments { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--border); }
.comments__list { display: grid; gap: 20px; margin-bottom: 32px !important; }
.comments__list .comment-body { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-md); }
.comments .children { margin: 16px 0 0 28px; }
.comment-form label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; }
.comment-form .submit { padding: 13px 26px; border: 0; border-radius: var(--radius-full); background: var(--primary); color: var(--navy-950); font-weight: 700; }

/* 12 Footer ---------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: var(--muted-light); padding: clamp(56px, 6vw, 88px) 0 28px; border-top: 1px solid var(--border-dark); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 0.9fr 1.3fr; gap: clamp(28px, 4vw, 56px); }
.site-footer__brand p { margin: 20px 0 22px; color: var(--muted-light); font-size: 0.95rem; max-width: 340px; }
.site-footer__title { margin-bottom: 20px !important; font-size: 0.8rem !important; font-weight: 700; letter-spacing: 0.14em !important; text-transform: uppercase; color: #fff !important; }
.site-footer__links { display: grid; gap: 11px; }
.site-footer__links a { color: var(--muted-light) !important; font-size: 0.95rem; }
.site-footer__links a:hover { color: var(--primary) !important; }
.site-footer__contact { display: grid; gap: 14px; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; }
.site-footer__contact .mtn-icon { margin-top: 3px; color: var(--primary); }
.site-footer__contact a:hover { color: var(--primary) !important; }
.socials { display: flex; gap: 10px; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-dark); color: #cbd5e1 !important; }
.socials a:hover { border-color: var(--primary); color: var(--primary) !important; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: clamp(40px, 5vw, 64px); padding-top: 26px; border-top: 1px solid var(--border-dark); font-size: 0.88rem; }
.site-footer__bottom p { margin: 0; color: #6b829a; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer__legal a { color: #6b829a !important; }
.site-footer__legal a:hover { color: var(--primary) !important; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--primary); color: var(--navy-950); box-shadow: 0 10px 26px var(--primary-glow); transition: transform 0.25s var(--ease), opacity 0.25s; }
.to-top[hidden] { display: none; }
.to-top:hover { transform: translateY(-3px); }

/* 13 Motion ---------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .card[data-reveal].is-in:hover { transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee__track, .float-chip { animation: none; }
  .mtn *, .mtn *::before, .mtn *::after { transition-duration: 0.01ms !important; }
}

/* 14 Responsive ------------------------------------------------------------ */
@media (max-width: 1320px) {
  .site-header__phone { display: none; }
  .nav__link { padding: 10px 10px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .nav-burger { display: inline-flex; }
  .site-header__actions .btn { display: none; }
  .site-header__actions { margin-left: auto; }
  .site-nav { position: fixed; inset: var(--header-h) 0 0 0; margin: 0; padding: 18px 24px 32px; background: var(--navy-950); overflow-y: auto; transform: translateY(-10px); opacity: 0; visibility: hidden; transition: transform 0.3s var(--ease), opacity 0.25s, visibility 0.3s; }
  .admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
  .nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--border-dark); }
  .nav__link { flex: 1; padding: 16px 0; font-size: 1.05rem; }
  .nav__toggle { margin: 0; padding: 12px; }
  .mega, .nav__sub { position: static; width: 100%; transform: none !important; opacity: 1; visibility: visible; display: none; border: 0; background: none; box-shadow: none; border-radius: 0; }
  .nav__item.is-open > .mega, .nav__item.is-open > .nav__sub { display: block; }
  .mega__inner { grid-template-columns: 1fr; padding: 0 0 12px; }
  .mega__title { margin: 14px 0 4px !important; }
  .mega__link { padding: 10px 0; }
  .mega__foot { display: none; }
  .site-nav__cta { display: block; margin-top: 26px; }
  .site-nav__cta .btn { width: 100%; }

  .hero__inner, .split, .contact, .with-aside { grid-template-columns: 1fr; }
  .hero__visual { max-width: 620px; padding-left: 0; }
  .float-chip--b { left: 8px; } .float-chip--a { right: 8px; }
  .grid--3, .grid--4, .process-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .aside-card { position: static; }
  .cta-band__box { flex-direction: column; align-items: flex-start; }
  .split__visual { order: 2; }
}
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 680px) {
  .container { padding-inline: 18px; }
  .grid--3, .grid--4, .process-strip, .form__row, .contact__cards, .site-footer__grid, .post-nav { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { padding: 22px 16px; border-left: 0; border-top: 1px solid var(--border-dark); }
  .stats > div:nth-child(-n+2) { border-top: 0; }
  .stats > div:nth-child(odd) { padding-left: 0; }
  .section-row { flex-direction: column; align-items: flex-start; }
  .float-chip { display: none; }
  .code-card pre { font-size: 0.74rem; padding: 16px; }
  .btn-row .btn { width: 100%; }
  .timeline::before { left: 21px; }
  .timeline__item { grid-template-columns: 44px 1fr; gap: 14px; }
  .timeline__marker { width: 44px; height: 44px; }
  .timeline__card { padding: 22px; }
  .facts > div { border-left: 0; border-top: 1px solid var(--border); }
  .facts > div:first-child { border-top: 0; }
  .note-box { flex-direction: column; align-items: flex-start; }
  .board__cols > div { min-height: 150px; padding: 10px; }
  .post-nav div:last-child { text-align: left; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .section--pull { margin-top: -40px; }
}
