/* ==========================================================
   Codemyric Solutions — Main Stylesheet
   Fonts: Sora (headings) + Inter (body)
   Theme: Indigo #4F46E5 → Cyan #06B6D4 on Deep Navy #0B1026
   ========================================================== */

:root {
  --primary: #4F46E5;
  --primary-dark: #4338CA;
  --secondary: #06B6D4;
  --grad: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  --grad-light: linear-gradient(135deg, #818CF8 0%, #22D3EE 100%);
  --navy: #0B1026;
  --navy-2: #121A3A;
  --ink: #0F172A;
  --text: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --soft: #F5F7FF;
  --white: #FFFFFF;
  --radius: 20px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 28px 50px -18px rgba(79, 70, 229, .32);
  --font-head: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --container: 1200px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.15rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
::selection { background: rgba(79, 70, 229, .2); }
:focus-visible { outline: 3px solid rgba(79, 70, 229, .5); outline-offset: 3px; border-radius: 6px; }

.ico {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.ico-fill { fill: currentColor; stroke: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: #CBD5E1; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 1.075rem; color: var(--muted); }
.section-dark .section-head p { color: #94A3B8; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #67E8F9; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero .grad-text, .page-hero .grad-text, .section-dark .grad-text { background-image: var(--grad-light); }

.lead { font-size: 1.12rem; color: var(--muted); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid > *, .split > *, .hero-grid > *, .contact-grid > * { min-width: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split h2 { margin-bottom: 18px; }
.split .lead { margin-bottom: 26px; }
.mt-4 { margin-top: 32px; }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s;
  white-space: nowrap; line-height: 1.2;
}
.btn .ico { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover .ico { transform: translateX(4px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 26px -10px rgba(79, 70, 229, .65); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -10px rgba(79, 70, 229, .75); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .35); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 28px -14px rgba(15, 23, 42, .22); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.brand-text small { font-family: var(--font-head); font-size: .6rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--primary); margin-top: 6px; }

.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav > ul > li { position: relative; display: flex; align-items: center; }
.main-nav > ul > li > a {
  display: block; padding: 10px 14px; border-radius: 10px;
  font-weight: 500; font-size: .95rem; color: var(--ink);
  transition: color .2s, background .2s;
}
.main-nav > ul > li > a:hover { color: var(--primary); }
.main-nav > ul > li > a.active { color: var(--primary); background: rgba(79, 70, 229, .08); }

.dd-toggle { background: none; border: 0; cursor: pointer; padding: 6px; margin-left: -8px; color: var(--ink); display: flex; border-radius: 8px; }
.dd-toggle .ico { width: 16px; height: 16px; transition: transform .25s; }

.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translate(-50%, 10px);
  min-width: 300px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 28px 56px -18px rgba(15, 23, 42, .28);
  opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
}
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dropdown:hover .dd-toggle .ico { transform: rotate(180deg); }
.dropdown a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; color: var(--ink); transition: background .2s; }
.dropdown a:hover, .dropdown a.active { background: var(--soft); }
.dropdown a:hover b, .dropdown a.active b { color: var(--primary); }
.dropdown a span { display: flex; flex-direction: column; line-height: 1.35; }
.dropdown b { font-weight: 600; font-size: .93rem; transition: color .2s; }
.dropdown small { font-size: .78rem; color: var(--muted); }
.dd-ico { width: 40px; height: 40px; border-radius: 11px; background: rgba(79, 70, 229, .1); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.dd-ico .ico { width: 19px; height: 19px; }

.nav-toggle { display: none; }

/* ---------- Hero (Home) ---------- */
.hero, .page-hero { position: relative; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(620px 420px at 88% 12%, rgba(6, 182, 212, .26), transparent 62%),
    radial-gradient(720px 520px at 6% 96%, rgba(79, 70, 229, .4), transparent 62%);
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
}
.hero { padding: 110px 0 150px; color: #CBD5E1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero-lead { font-size: 1.15rem; color: #94A3B8; max-width: 570px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px; margin-bottom: 26px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem; color: #E2E8F0;
}
.badge-pill b { background: var(--grad); color: #fff; padding: 4px 11px; border-radius: 999px; font-size: .7rem; font-weight: 600; letter-spacing: .05em; }
.hero-points { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 40px; font-size: .9rem; color: #94A3B8; }
.hero-points span { display: flex; align-items: center; gap: 8px; }
.hero-points .ico { width: 18px; height: 18px; color: #22D3EE; }

.hero-visual { position: relative; }
.code-window {
  background: rgba(15, 23, 42, .88);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(79, 70, 229, .15);
  overflow: hidden;
}
.cw-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.cw-bar i { width: 11px; height: 11px; border-radius: 50%; background: #EF4444; }
.cw-bar i:nth-child(2) { background: #F59E0B; }
.cw-bar i:nth-child(3) { background: #10B981; }
.cw-bar span { margin-left: 10px; color: #64748B; font-size: .78rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.cw-body {
  margin: 0; padding: 24px 26px; overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .86rem; line-height: 1.95; color: #CBD5E1;
}
.cw-body .k { color: #C084FC; }
.cw-body .f { color: #22D3EE; }
.cw-body .s { color: #86EFAC; }
.cw-body .c { color: #64748B; }
.cw-body .n { color: #FBBF24; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink);
  padding: 12px 18px 12px 12px; border-radius: 16px;
  box-shadow: 0 22px 44px -14px rgba(0, 0, 0, .5);
  font-size: .82rem; line-height: 1.3;
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.float-card small { color: var(--muted); }
.fc-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.fc-ico .ico { width: 20px; height: 20px; }
.fc-1 { top: -26px; right: -18px; }
.fc-2 { bottom: -30px; left: -26px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero { padding: 96px 0 88px; text-align: center; }
.page-hero h1 { color: #fff; margin: 0 auto 18px; max-width: 900px; font-size: clamp(2rem, 4.5vw, 3.3rem); }
.page-hero p { color: #94A3B8; max-width: 680px; margin: 0 auto; font-size: 1.1rem; }
.breadcrumb {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px;
  padding: 6px 16px; margin-bottom: 22px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem; color: #94A3B8;
}
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #67E8F9; }
.page-hero .hero-actions { justify-content: center; margin-top: 34px; }

/* ---------- Stats ---------- */
.stats-wrap { position: relative; z-index: 2; margin-top: -72px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat {
  text-align: center; padding: 30px 16px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.stat-num { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 800; line-height: 1; margin-bottom: 10px; }
.stat-label { color: var(--muted); font-size: .93rem; }

/* ---------- Cards ---------- */
.card {
  position: relative; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
a.card { display: block; color: inherit; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .97rem; }
.icon-box {
  width: 58px; height: 58px; border-radius: 16px; margin-bottom: 22px;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 22px -10px rgba(79, 70, 229, .6);
}
.icon-box .ico { width: 26px; height: 26px; }
.icon-box.soft { background: rgba(79, 70, 229, .1); color: var(--primary); box-shadow: none; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--primary);
}
.card-link .ico { width: 16px; height: 16px; transition: transform .25s; }
.card:hover .card-link .ico { transform: translateX(5px); }

.service-card { overflow: hidden; }
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.service-card:hover::after { transform: scaleX(1); }
.card-num {
  position: absolute; top: 22px; right: 26px;
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: rgba(79, 70, 229, .08);
}

.section-dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .09); }
.section-dark .card p { color: #94A3B8; }
.section-dark .card:hover { border-color: rgba(103, 232, 249, .35); box-shadow: 0 28px 50px -20px rgba(0, 0, 0, .6); }

.mini-card { display: flex; align-items: center; gap: 14px; padding: 20px 22px; }
.mini-card .icon-box { width: 46px; height: 46px; margin: 0; border-radius: 13px; }
.mini-card .icon-box .ico { width: 21px; height: 21px; }
.mini-card h4 { font-size: 1rem; }

.featured { border: 2px solid var(--primary); }
.featured-badge {
  position: absolute; top: -13px; left: 30px;
  background: var(--grad); color: #fff; font-size: .72rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}

/* ---------- Lists & Features ---------- */
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.check-list .ck {
  width: 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  background: rgba(6, 182, 212, .14); color: #0891B2;
  display: grid; place-items: center; flex-shrink: 0;
}
.check-list .ck .ico { width: 13px; height: 13px; stroke-width: 3.2; }
.check-list.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.card .check-list { margin-top: 20px; }
.card .check-list li { font-size: .95rem; margin-bottom: 10px; }

.feature-row { display: flex; gap: 18px; margin-bottom: 28px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row .icon-box { margin: 0; width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; }
.feature-row .icon-box .ico { width: 23px; height: 23px; }
.feature-row h4 { margin-bottom: 6px; }
.feature-row p { color: var(--muted); font-size: .95rem; }
.section-dark .feature-row p { color: #94A3B8; }

/* ---------- Visual Panel (illustrations) ---------- */
.visual-panel {
  position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1; margin: 0 auto;
  border-radius: 28px; background: var(--navy); overflow: hidden; isolation: isolate;
  display: grid; place-items: center;
  box-shadow: 0 40px 70px -30px rgba(15, 23, 42, .55);
}
.visual-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(circle at 80% 15%, rgba(6, 182, 212, .35), transparent 50%),
    radial-gradient(circle at 15% 90%, rgba(79, 70, 229, .5), transparent 55%);
}
.visual-panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.vp-icon {
  width: 132px; height: 132px; border-radius: 36px;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 18px rgba(255, 255, 255, .04), 0 0 0 38px rgba(255, 255, 255, .025), 0 30px 60px -10px rgba(79, 70, 229, .7);
}
.vp-icon .ico { width: 60px; height: 60px; stroke-width: 1.6; }
.vp-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .96); color: var(--ink);
  font-weight: 600; font-size: .85rem; white-space: nowrap;
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .55);
  animation: float 6s ease-in-out infinite;
}
.vp-chip .ico { width: 17px; height: 17px; color: var(--primary); }
.vp-chip-1 { top: 13%; left: 7%; }
.vp-chip-2 { top: 27%; right: 6%; animation-delay: -2s; }
.vp-chip-3 { bottom: 13%; left: 12%; animation-delay: -4s; }
.vp-chip-4 { bottom: 27%; right: 9%; animation-delay: -1s; }

/* ---------- Process Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step {
  position: relative; padding: 32px 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .3s, border-color .3s;
}
.step:hover { transform: translateY(-5px); border-color: rgba(79, 70, 229, .35); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 20px;
  background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .9rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .95rem; }
.section-dark .step { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .09); }
.section-dark .step p { color: #94A3B8; }

/* ---------- Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tags.left { justify-content: flex-start; }
.tag {
  padding: 9px 20px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-weight: 500; font-size: .92rem; color: var(--ink);
  transition: border-color .25s, color .25s, transform .25s;
}
.tag:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.tech-group { margin-bottom: 36px; text-align: center; }
.tech-group:last-child { margin-bottom: 0; }
.tech-group h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 16px; font-weight: 600; }

/* ---------- Value / Mission blocks ---------- */
.mv-card { padding: 40px 34px; }
.mv-card .icon-box { width: 64px; height: 64px; border-radius: 18px; }
.mv-card h3 { font-size: 1.4rem; }

.about-visual { position: relative; }
.exp-badge {
  position: absolute; bottom: -22px; right: -10px;
  background: #fff; border-radius: 20px; padding: 20px 24px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); text-align: center;
}
.exp-badge strong { display: block; font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.exp-badge span { font-size: .82rem; color: var(--muted); font-weight: 500; }

/* ---------- Team ---------- */
.team-card { text-align: center; padding: 38px 28px; }
.avatar {
  width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 22px;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: #fff;
  background: var(--grad);
  box-shadow: 0 0 0 6px #fff, 0 0 0 8px rgba(79, 70, 229, .16), 0 20px 30px -12px rgba(79, 70, 229, .5);
}
.av-2 { background: linear-gradient(135deg, #7C3AED, #4F46E5); }
.av-3 { background: linear-gradient(135deg, #0891B2, #22D3EE); }
.av-4 { background: linear-gradient(135deg, #4338CA, #0EA5E9); }
.team-card h3 { margin-bottom: 4px; }
.role {
  display: inline-block; margin: 4px 0 14px; padding: 4px 13px; border-radius: 999px;
  background: rgba(79, 70, 229, .08); color: var(--primary); font-size: .8rem; font-weight: 600;
}

.socials { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }
.socials a {
  width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--muted);
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.socials a:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-3px); }
.socials .ico { width: 17px; height: 17px; }

/* ---------- CTA Band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 36px;
  padding: 64px; border-radius: 28px; background: var(--grad); color: #fff;
  box-shadow: 0 40px 70px -30px rgba(79, 70, 229, .6);
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; z-index: -1;
  border: 2px solid rgba(255, 255, 255, .15);
}
.cta-band::before { width: 420px; height: 420px; right: -120px; top: -200px; }
.cta-band::after { width: 300px; height: 300px; right: 60px; bottom: -220px; background: rgba(255, 255, 255, .06); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 580px; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  margin-bottom: 14px; transition: border-color .25s, box-shadow .25s;
}
.faq details[open] { border-color: rgba(79, 70, 229, .35); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-family: var(--font-head); font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.3rem; line-height: 1;
  background: rgba(79, 70, 229, .1); color: var(--primary); transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.info-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px; margin-bottom: 16px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.info-card:hover { border-color: rgba(79, 70, 229, .35); transform: translateX(4px); }
.info-card .icon-box { width: 48px; height: 48px; margin: 0; border-radius: 13px; }
.info-card .icon-box .ico { width: 21px; height: 21px; }
.info-card h4 { font-size: 1rem; margin-bottom: 3px; }
.info-card p, .info-card a { color: var(--muted); font-size: .95rem; word-break: break-word; }
.info-card a:hover { color: var(--primary); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 42px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.7rem; margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: .88rem; color: var(--ink); }
.req { color: #EF4444; }
.form-control {
  width: 100%; padding: 14px 16px; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: 12px; background: #F8FAFC;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.form-control:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); }
select.form-control {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
textarea.form-control { min-height: 150px; resize: vertical; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 14px 18px; border-radius: 12px; margin-bottom: 22px; font-weight: 500; font-size: .95rem; }
.form-status.success { display: block; background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.form-status.error { display: block; background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #94A3B8; padding: 84px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.15fr 1.35fr; gap: 48px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: #67E8F9; }
.footer-brand p { margin: 22px 0 24px; font-size: .95rem; max-width: 330px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 22px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: .95rem; transition: color .2s, padding .2s; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: .95rem; }
.footer-contact a:hover { color: #fff; }
.footer-contact .ico { width: 18px; height: 18px; color: #22D3EE; margin-top: 4px; }
.site-footer .socials { justify-content: flex-start; margin-top: 0; }
.site-footer .socials a { border-color: rgba(255, 255, 255, .12); color: #CBD5E1; }
.site-footer .socials a:hover { border-color: var(--primary); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: 64px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .88rem;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 48px; height: 48px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 28px -10px rgba(79, 70, 229, .7);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top .ico { width: 20px; height: 20px; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 100px 0; }
.notfound .big { font-family: var(--font-head); font-size: clamp(5rem, 18vw, 10rem); font-weight: 800; line-height: 1; margin-bottom: 12px; }

/* ---------- Reveal Animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s !important; }
.d2 { transition-delay: .2s !important; }
.d3 { transition-delay: .3s !important; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1150px) and (min-width: 992px) {
  .nav-cta { display: none; }
}

@media (max-width: 1199px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
  :root { --header-h: 70px; }
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }

  .nav-toggle {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    width: 46px; height: 46px; border-radius: 12px; cursor: pointer;
    border: 1px solid var(--line); background: #fff;
  }
  .nav-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 40px; background: #fff; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .35s ease, visibility .35s;
  }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a { flex: 1; padding: 16px 4px; font-size: 1.05rem; border-radius: 0; }
  .main-nav > ul > li > a.active { background: none; }
  .dd-toggle { margin: 0; padding: 12px; }

  .dropdown {
    position: static; display: none; width: 100%; min-width: 0;
    padding: 0 0 14px; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .dropdown::before { display: none; }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { transform: none; }
  .has-dropdown:hover .dd-toggle .ico { transform: none; }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown.open .dd-toggle .ico { transform: rotate(180deg); }
  .nav-cta { margin-top: 28px; width: 100%; }
  body.nav-open { overflow: hidden; }

  .section { padding: 84px 0; }
  .hero { padding: 80px 0 130px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .split.reverse > :first-child { order: 0; }
  .hero-visual { max-width: 580px; width: 100%; margin: 0 auto; }
  .grid-3, .grid-4, .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 52px 40px; }
  .about-visual { max-width: 520px; margin: 0 auto; width: 100%; }
}

@media (max-width: 767px) {
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 40px; }
  .grid-2, .grid-3, .steps { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-4.mini-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .check-list.two-col { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 30px 22px; border-radius: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .page-hero { padding: 72px 0 64px; }
  .stats-wrap { margin-top: -60px; }
  .hero { padding: 64px 0 120px; }
}

@media (max-width: 575px) {
  .container { padding: 0 16px; }
  .brand img { width: 38px; height: 38px; }
  .brand-text strong { font-size: 1.15rem; }
  .hero-actions .btn, .page-hero .hero-actions .btn { width: 100%; }
  .stats { gap: 12px; }
  .stat { padding: 22px 10px; }
  .stat-label { font-size: .82rem; }
  .card { padding: 28px 22px; }
  .cta-band { padding: 40px 22px; border-radius: 22px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .cw-body { font-size: .74rem; padding: 18px; }
  .fc-1 { right: 8px; top: -24px; }
  .fc-2 { left: 8px; bottom: -28px; }
  .float-card { padding: 10px 14px 10px 10px; }
  .fc-ico { width: 34px; height: 34px; }
  .vp-icon { width: 100px; height: 100px; border-radius: 28px; }
  .vp-icon .ico { width: 46px; height: 46px; }
  .vp-chip { font-size: .74rem; padding: 8px 12px; }
  .exp-badge { right: 8px; bottom: -18px; padding: 14px 18px; }
  .exp-badge strong { font-size: 1.6rem; }
  .faq summary { padding: 18px; font-size: .95rem; }
  .faq-body { padding: 0 18px 18px; }
  .mini-card { padding: 16px; flex-direction: column; text-align: center; }
}

@media (max-width: 380px) {
  .grid-4.mini-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
