/* INNGROW v3 - "Grand Architect" edition: Deep Navy + Emerald + Lime spark, light body */

:root {
  --navy-950: #050f20;
  --navy-900: #071429;
  --navy-800: #0b1f3a;
  --navy-700: #12305a;
  --emerald: #0a988b;
  --emerald-deep: #067065;
  --lime: #a3e635;
  --bg-light: #f6f9fb;
  --bg-light-alt: #eaf1f5;
  --card-light: #ffffff;
  --ink: #0b1f3a;
  --slate: #33414e;
  --muted: #64748b;
  --border-l: rgba(11, 31, 58, 0.10);
  --border-d: rgba(202, 214, 222, 0.16);
  --font-head: 'Unbounded', 'Arial Black', sans-serif;
  --font-body: 'Cabin', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --shadow: 0 12px 34px rgba(11, 31, 58, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-light);
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--emerald-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; font-weight: 700; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

a:focus-visible, .btn:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
}

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(7, 20, 41, 0.95);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(5, 15, 32, .35); }
.header-inner { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand {
  display: flex; align-items: center; gap: 12px;
  color: #fff; font-family: var(--font-head); font-size: 1.02rem; letter-spacing: .12em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 50%; }
.main-nav { display: flex; gap: 24px; margin-left: auto; }
.main-nav a { color: #cad6de; font-weight: 600; font-size: .95rem; }
.main-nav a:hover { color: #fff; text-decoration: none; }
.header-cta {
  background: var(--emerald); color: #fff !important;
  padding: 9px 18px; border-radius: 8px; font-weight: 700; font-size: .93rem; white-space: nowrap;
}
.header-cta:hover { background: #0fb3a4; color: var(--navy-900) !important; text-decoration: none; }
.burger { display: none; background: none; border: none; cursor: pointer; width: 40px; height: 40px; position: relative; flex: 0 0 40px; }
.burger span, .burger span::before, .burger span::after {
  content: ''; position: absolute; left: 8px; width: 24px; height: 2px; background: #fff; transition: all .25s;
}
.burger span { top: 19px; }
.burger span::before { left: 0; top: -7px; }
.burger span::after { left: 0; top: 7px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { transform: rotate(45deg); top: 0; }
body.nav-open .burger span::after { transform: rotate(-45deg); top: 0; }

/* ---------- sections ---------- */
section { padding: 92px 0; }
section.alt { background: var(--bg-light-alt); }
section.dark { background: var(--navy-900); color: #c7d5e0; }
section.dark h1, section.dark h2, section.dark h3, section.dark h4 { color: #fff; }
section.dark a { color: #35d0c0; }

.section-kicker {
  font-family: var(--font-head); font-size: .8rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--emerald); margin-bottom: 16px;
}
section.dark .section-kicker { color: var(--lime); }
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 24px; }
.section-lead { max-width: 800px; margin-bottom: 36px; font-size: 1.1rem; }

/* hero */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 150px 0 100px;
  background:
    radial-gradient(900px 480px at 85% 15%, rgba(10, 152, 139, .25), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(163, 230, 53, .10), transparent 55%),
    linear-gradient(160deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800));
  color: #c7d5e0;
}
.hero .badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(163, 230, 53, .12);
  border: 1px solid rgba(163, 230, 53, .4);
  color: var(--lime);
  border-radius: 999px; padding: 7px 16px; font-weight: 700; font-size: .92rem; margin-bottom: 28px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  max-width: 940px; margin-bottom: 26px;
}
.hero h1 .spark { color: var(--lime); }
.hero .lead { font-size: 1.22rem; max-width: 700px; margin-bottom: 42px; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 15px 30px; border-radius: 10px;
  font-weight: 700; font-size: 1.02rem; border: 2px solid transparent;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
  cursor: pointer; font-family: var(--font-body);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(5, 15, 32, .25); }
.btn-primary { background: var(--emerald); color: #fff; }
.btn-primary:hover { background: #0fb3a4; color: var(--navy-900); }
.btn-lime { background: var(--lime); color: var(--navy-900); }
.btn-lime:hover { background: #b9f04f; }
.btn-outline-dark { border-color: rgba(199, 213, 224, .5); color: #e6eef4; background: transparent; }
.btn-outline-dark:hover { border-color: #fff; }
.btn-outline { border-color: var(--emerald); color: var(--emerald-deep); background: transparent; }
.btn-outline:hover { background: rgba(10, 152, 139, .08); }
.hero .micro { margin-top: 16px; font-size: .92rem; color: #7e93a5; }

/* hero metrics strip */
.hero-metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 64px; max-width: 940px;
}
.hm {
  border-left: 2px solid rgba(163, 230, 53, .5);
  padding-left: 18px;
}
.hm .num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--lime); }
.hm .lbl { font-size: .92rem; color: #9fb2c0; margin-top: 4px; }

/* proof matrix (light) */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proof-card {
  background: var(--card-light); border: 1px solid var(--border-l); border-radius: 18px;
  padding: 34px 30px; box-shadow: var(--shadow);
}
.proof-card .num { font-family: var(--font-head); font-size: 2.5rem; color: var(--emerald-deep); }
.proof-card h3 { font-size: 1.02rem; margin: 8px 0 10px; }
.proof-card p { font-size: .95rem; color: var(--muted); }
.geo-line {
  margin-top: 40px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-family: var(--font-head); font-size: 1rem; color: var(--ink);
}
.geo-line .dot { color: var(--emerald); }
.geo-note { font-size: .9rem; color: var(--muted); margin-top: 10px; }

/* services tabs */
.tabs-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.tab-btn {
  border: 1px solid var(--border-l); background: var(--card-light);
  border-radius: 999px; padding: 11px 22px;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem; color: var(--slate);
  cursor: pointer; transition: all .2s;
}
.tab-btn:hover { border-color: var(--emerald); color: var(--emerald-deep); }
.tab-btn.active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tab-panel img { border-radius: 16px; box-shadow: var(--shadow); width: 100%; height: 340px; object-fit: cover; }
.tab-panel h3 { font-size: 1.35rem; margin-bottom: 16px; }
.tab-panel ul { margin: 18px 0 26px 18px; }
.tab-panel li { margin: 8px 0; }

/* quiz */
.quiz-wrap {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  border-radius: 22px; padding: 48px; color: #c7d5e0;
  box-shadow: 0 24px 60px rgba(5, 15, 32, .35);
}
.quiz-wrap h2 { color: #fff; }
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeIn .3s ease; }
.quiz-q { font-family: var(--font-head); font-size: 1.1rem; color: #fff; margin: 26px 0 18px; }
.quiz-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.quiz-opt {
  border: 1px solid rgba(199, 213, 224, .25); border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  padding: 16px 20px; text-align: left; color: #e6eef4;
  font-family: var(--font-body); font-size: 1rem; cursor: pointer; transition: all .2s;
}
.quiz-opt:hover { border-color: var(--lime); background: rgba(163, 230, 53, .08); }
.quiz-progress { display: flex; gap: 8px; margin-top: 30px; }
.quiz-progress span { width: 34px; height: 4px; border-radius: 2px; background: rgba(199, 213, 224, .25); }
.quiz-progress span.done { background: var(--lime); }
.quiz-result .btn-row { margin-top: 26px; }

/* case study */
.case-card {
  background: var(--card-light); border: 1px solid var(--border-l); border-radius: 22px;
  overflow: hidden; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1.2fr 1fr;
}
.case-body { padding: 44px; }
.case-tag {
  display: inline-block; background: rgba(10, 152, 139, .1); color: var(--emerald-deep);
  border-radius: 999px; padding: 5px 14px; font-weight: 700; font-size: .85rem; margin-bottom: 18px;
}
.case-body h3 { font-size: 1.4rem; margin-bottom: 16px; }
.case-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 22px; margin: 26px 0; }
.case-fact { border-left: 3px solid var(--emerald); padding-left: 14px; }
.case-fact .v { font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); }
.case-fact .k { font-size: .88rem; color: var(--muted); }
.case-side {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #c7d5e0; padding: 44px; display: flex; flex-direction: column; justify-content: center;
}
.case-side h4 { color: var(--lime); font-size: .95rem; letter-spacing: .1em; margin-bottom: 16px; }
.case-side li { margin: 10px 0 10px 18px; }

/* process */
.proc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.proc-step {
  background: var(--card-light); border: 1px solid var(--border-l); border-radius: 14px; padding: 24px 20px;
  transition: transform .25s, box-shadow .25s;
}
.proc-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.proc-step .num { font-family: var(--font-head); color: var(--emerald); font-size: 1.2rem; margin-bottom: 10px; }
.proc-step h3 { font-size: .98rem; margin-bottom: 8px; }
.proc-step p { font-size: .88rem; color: var(--muted); }

/* about/why dark band */
.why-band { }
.why-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.why-col { border-top: 3px solid var(--emerald); padding-top: 18px; }
.why-col h3 { font-size: 1.05rem; color: #fff; margin-bottom: 10px; }
.why-col p { font-size: .96rem; }

/* faq */
.faq-list { max-width: 880px; }
.faq-item { border: 1px solid var(--border-l); border-radius: 12px; margin-bottom: 12px; background: var(--card-light); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px;
  font-weight: 700; color: var(--ink); position: relative; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--emerald); font-size: 1.4rem; font-weight: 400; transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 18px; color: var(--slate); }

/* contact */
.contact-band { background: linear-gradient(160deg, var(--navy-950), var(--navy-900)); color: #c7d5e0; }
.contact-band h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.contact-line { display: flex; align-items: baseline; gap: 12px; margin: 10px 0; font-size: 1.1rem; }
.contact-line .lbl { color: #7e93a5; font-size: .92rem; min-width: 90px; }
.contact-line a { color: #35d0c0; }
.quick-form { background: rgba(255, 255, 255, .05); border: 1px solid rgba(199, 213, 224, .2); border-radius: 16px; padding: 30px; }
.quick-form h3 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.quick-form label { display: block; font-size: .9rem; color: #9fb2c0; margin: 14px 0 6px; }
.quick-form input, .quick-form textarea {
  width: 100%; background: rgba(7, 20, 41, .6); border: 1px solid rgba(199, 213, 224, .25);
  border-radius: 10px; padding: 12px 14px; color: #fff; font-family: var(--font-body); font-size: 1rem;
}
.quick-form input:focus, .quick-form textarea:focus { outline: 2px solid var(--emerald); border-color: transparent; }
.quick-form .hint { font-size: .85rem; color: #7e93a5; margin-top: 12px; }
.form-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }

/* floating whatsapp */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  display: flex; align-items: center; gap: 10px;
  background: var(--emerald); color: #fff; border-radius: 999px;
  padding: 14px 22px; font-weight: 700; box-shadow: 0 14px 34px rgba(5, 15, 32, .4);
  transition: transform .2s, background .2s;
}
.float-wa:hover { transform: translateY(-3px); background: #0fb3a4; text-decoration: none; color: var(--navy-900); }

/* footer */
.site-footer { background: var(--navy-950); color: #7e93a5; padding: 44px 0; font-size: .93rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #c7d5e0; font-family: var(--font-head); font-size: .95rem; letter-spacing: .1em; }
.footer-brand img { width: 30px; height: 30px; border-radius: 50%; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #9fb2c0; }
.footer-links a:hover { color: #fff; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .proc-step:hover, .float-wa:hover { transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tab-panel.active, .quiz-step.active { animation: none; }
}

/* ---------- mobile ---------- */
@media (max-width: 980px) {
  .proof-grid, .why-cols { grid-template-columns: 1fr; }
  .proc-grid { grid-template-columns: repeat(2, 1fr); }
  .tab-panel.active { grid-template-columns: 1fr; gap: 26px; }
  .case-card { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  section { padding: 64px 0; }
}
@media (max-width: 820px) {
  .header-inner { gap: 10px; }
  .brand { font-size: .9rem; letter-spacing: .08em; gap: 8px; flex: 0 0 auto; }
  .main-nav {
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(7, 20, 41, .98);
    flex-direction: column; gap: 0; padding: 10px 0 16px; display: none; margin-left: 0;
  }
  body.nav-open .main-nav { display: flex; }
  .main-nav a { padding: 13px 26px; }
  .header-cta { margin-left: auto; padding: 7px 12px; font-size: .88rem; }
  .burger { display: block; }
  .hero { min-height: auto; padding: 120px 0 70px; }
  .quiz-wrap { padding: 30px 22px; }
  .quiz-opts { grid-template-columns: 1fr; }
  .case-body, .case-side { padding: 30px 24px; }
  .case-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; text-align: center; }
  .proc-grid { grid-template-columns: 1fr; }
  .float-wa span.txt { display: none; }
  .float-wa { padding: 14px; }
}

/* founders */
.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 900px; }
.founder-card {
  background: var(--card-light); border: 1px solid var(--border-l); border-radius: 18px;
  overflow: hidden; box-shadow: var(--shadow);
}
.founder-card img { width: 100%; height: 340px; object-fit: cover; object-position: center 20%; }
.founder-card .fc-body { padding: 24px 26px; }
.founder-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.founder-card .role { color: var(--emerald-deep); font-weight: 700; font-size: .9rem; margin-bottom: 10px; }
.founder-card p { font-size: .95rem; color: var(--muted); }

/* cases grid */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.mini-case {
  background: var(--card-light); border: 1px solid var(--border-l); border-radius: 16px;
  padding: 26px 24px; transition: transform .25s, box-shadow .25s;
}
.mini-case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mini-case .tag { display: inline-block; background: rgba(10,152,139,.1); color: var(--emerald-deep); border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: .78rem; margin-bottom: 14px; }
.mini-case h3 { font-size: 1.02rem; margin-bottom: 10px; }
.mini-case p { font-size: .92rem; color: var(--muted); }

/* cookie banner */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 200;
  max-width: 560px; margin: 0 auto;
  background: var(--navy-800); border: 1px solid rgba(199,213,224,.25); border-radius: 14px;
  padding: 20px 24px; box-shadow: 0 18px 48px rgba(5,15,32,.5);
  display: none; font-size: .95rem; color: #c7d5e0;
}
.cookie-banner.visible { display: block; }
.cookie-banner a { color: #35d0c0; }
.cookie-actions { display: flex; gap: 12px; margin-top: 14px; }
.cookie-actions .btn { padding: 9px 20px; font-size: .92rem; }

@media (max-width: 900px) {
  .founders-grid, .cases-grid { grid-template-columns: 1fr; }
}

/* language dropdown (dark header) */
.lang-dd { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 7px;
  background: transparent; color: #fff;
  border: 1px solid rgba(199, 213, 224, .35);
  border-radius: 8px; padding: 7px 12px;
  font-family: var(--font-body); font-size: .92rem; font-weight: 700; cursor: pointer;
}
.lang-btn:hover { border-color: var(--emerald); }
.lang-btn .chev { transition: transform .2s; font-size: .7em; }
.lang-dd.open .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 170px; max-height: 70vh; overflow-y: auto;
  background: var(--navy-800);
  border: 1px solid rgba(199, 213, 224, .25);
  border-radius: 10px; padding: 6px; display: none;
  box-shadow: 0 12px 32px rgba(5, 15, 32, .5);
}
.lang-dd.open .lang-menu { display: block; }
.lang-menu a {
  display: block; padding: 9px 12px; border-radius: 7px;
  color: #c7d5e0; font-weight: 600; font-size: .93rem;
}
.lang-menu a:hover { background: rgba(10, 152, 139, .18); color: #fff; text-decoration: none; }
.lang-menu a.active { color: var(--lime); }
@media (max-width: 820px) {
  .lang-dd { margin-left: auto; }
  .header-cta { margin-left: 0; }
}

/* v3.1: hero grid with quiz widget (приём Bain/AI-Studio) + brand tagline */
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero-quiz { padding: 30px 28px; box-shadow: 0 24px 60px rgba(5, 15, 32, .5); border: 1px solid rgba(163, 230, 53, .18); }
.hero-quiz .quiz-q { font-size: .98rem; margin: 18px 0 12px; }
.hero-quiz .quiz-opt { padding: 12px 16px; font-size: .92rem; }
.hero-quiz .quiz-progress { margin-top: 20px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-sub {
  font-family: var(--font-body); font-size: .58rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: #35d0c0;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
