/* ════════════════════════════════════════════════════
   AGENTIQ — Site agentiq.ma · Charte v1.1
   ════════════════════════════════════════════════════ */

:root {
  --cyan: #00E0C8;
  --cyan-bright: #2EF0DA;
  --cyan-dim: #5EC9BA;
  --cyan-dark: #008B7A;
  --cyan-soft: #00E0C833;
  --cyan-tint: #00E0C814;
  --cyan-glow: #00E0C84D;

  --noir: #0B0B14;
  --noir-2: #14141E;
  --noir-3: #1E1E2B;
  --noir-4: #2A2A3A;
  --blanc: #F4F4F8;
  --gris: #A8A8C2;
  --gris-2: #6E6E85;
  --gris-3: #4A4A5C;

  --vert: #7DF24E;
  --jaune: #FFB800;

  --maxw: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-inout: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--noir);
  color: var(--blanc);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.syne { font-family: 'Syne', sans-serif; letter-spacing: -0.03em; }
.mono { font-family: 'JetBrains Mono', monospace; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--cyan);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--cyan); }

/* ─── Reveal on scroll ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* Fail-safe: if JS/IO never runs, content must still show */
.no-js .reveal, html:not(.js) .reveal { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ════════ NAV ════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  background: rgba(11,11,20,0); backdrop-filter: blur(0px);
  transition: background .3s, backdrop-filter .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11,11,20,0.82); backdrop-filter: blur(16px);
  padding: 14px 40px; border-bottom-color: #ffffff12;
}
.nav-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.nav-logo .iq { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-menu { display: flex; gap: 28px; }
.nav-menu a {
  font-size: 14px; color: var(--gris); font-weight: 400; position: relative;
  transition: color .2s;
}
.nav-menu a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px;
  background: var(--cyan); transition: width .25s var(--ease);
}
.nav-menu a:hover { color: var(--blanc); }
.nav-menu a:hover::after { width: 100%; }

.lang-toggle {
  display: inline-flex; border: 1px solid var(--noir-4); border-radius: 100px;
  overflow: hidden; font-family: 'JetBrains Mono', monospace; font-size: 11px;
}
.lang-toggle button {
  background: transparent; border: none; color: var(--gris-2); cursor: pointer;
  padding: 6px 12px; font: inherit; letter-spacing: 0.1em; transition: all .2s;
}
.lang-toggle button.active { background: var(--cyan); color: var(--noir); font-weight: 500; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  padding: 12px 20px; border-radius: 10px; cursor: pointer; border: none;
  transition: transform .15s var(--ease), box-shadow .25s, background .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--cyan); color: var(--noir); box-shadow: 0 0 0 0 var(--cyan-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -8px var(--cyan-glow); background: var(--cyan-bright); }
.btn-ghost { background: transparent; color: var(--blanc); border: 1px solid var(--noir-4); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-lg { padding: 16px 26px; font-size: 15px; border-radius: 12px; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.nav-cta { display: flex; align-items: center; gap: 16px; }

/* mobile nav drawer — hidden on desktop by default */
.nav-mobile {
  position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
  background: var(--noir-2); border-left: 1px solid #ffffff12;
  transform: translateX(100%); transition: transform .3s var(--ease);
  z-index: 99; padding: 90px 30px 30px;
  display: none; flex-direction: column; gap: 8px;
}
.nav-mobile a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid #ffffff0d; color: var(--blanc); }
.nav-mobile .btn { margin-top: 18px; justify-content: center; }

/* mobile burger button (shown ≤760px) */
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: var(--blanc); transition: .25s; }
.hero { position: relative; padding: 180px 0 110px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 1000px; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, var(--cyan-soft) 0%, transparent 60%);
  filter: blur(60px); opacity: 0.5;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(#ffffff08 1px, transparent 1px),
    linear-gradient(90deg, #ffffff08 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: 7px 14px; border: 1px solid var(--cyan-soft); border-radius: 100px;
  background: var(--cyan-tint); font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--cyan); letter-spacing: 0.1em;
}
.hero-badge .pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 var(--cyan); animation: pulse 1.8s var(--ease-inout) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,224,200,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(0,224,200,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,224,200,0); }
}
.hero h1 {
  font-family: 'Syne', sans-serif; font-weight: 800; letter-spacing: -0.04em;
  font-size: 68px; line-height: 0.98; margin: 0 0 26px; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero-sub { font-size: 19px; line-height: 1.6; color: var(--gris); margin: 0 0 36px; max-width: 540px; font-weight: 300; }
.hero-sub strong { color: var(--blanc); font-weight: 500; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-actions .text-link { font-size: 14px; color: var(--gris); display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.hero-actions .text-link:hover { color: var(--cyan); }
.hero-trust { margin-top: 34px; display: flex; gap: 22px; flex-wrap: wrap; }
.hero-trust .item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gris-2); }
.hero-trust .item svg { width: 16px; height: 16px; color: var(--cyan); flex-shrink: 0; }

/* Hero visual — agent demo card */
.agent-card {
  background: linear-gradient(160deg, var(--noir-3) 0%, var(--noir-2) 100%);
  border: 1px solid #ffffff12; border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7), 0 0 0 1px #00e0c810;
  position: relative;
}
.agent-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-soft), transparent);
}
.agent-head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid #ffffff0d; }
.agent-head .dots { display: flex; gap: 6px; }
.agent-head .dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--noir-4); }
.agent-head .title { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--gris-2); letter-spacing: 0.08em; margin-left: 6px; }
.agent-head .status { margin-left: auto; display: flex; align-items: center; gap: 7px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--cyan); letter-spacing: 0.1em; }
.agent-head .status .live { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: pulse 1.8s var(--ease-inout) infinite; }
.agent-body { padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; min-height: 240px; }
.msg { max-width: 85%; padding: 12px 15px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; }
.msg.user { align-self: flex-end; background: var(--noir-4); color: var(--blanc); border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: var(--cyan-tint); border: 1px solid var(--cyan-soft); color: var(--blanc); border-bottom-left-radius: 4px; }
.msg.bot .label { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.18em; color: var(--cyan); text-transform: uppercase; margin-bottom: 6px; }
.typing-row { align-self: flex-start; display: flex; gap: 6px; padding: 14px 16px; background: var(--cyan-tint); border: 1px solid var(--cyan-soft); border-radius: 12px; border-bottom-left-radius: 4px; }
.typing-row span { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); opacity: .4; animation: typing 1.4s ease-in-out infinite; }
.typing-row span:nth-child(2) { animation-delay: .18s; }
.typing-row span:nth-child(3) { animation-delay: .36s; }
@keyframes typing { 0%,100% { opacity: .3; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.1); } }

/* ════════ SECTION SHELL ════════ */
section { position: relative; }
.section { padding: 100px 0; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-family: 'Syne', sans-serif; font-weight: 800; letter-spacing: -0.035em;
  font-size: 46px; line-height: 1.02; margin: 20px 0 18px; text-wrap: balance;
}
.section-head h2 em { font-style: normal; color: var(--cyan); }
.section-head p { font-size: 17px; line-height: 1.65; color: var(--gris); font-weight: 300; margin: 0; }
.section-alt { background: var(--noir-2); border-top: 1px solid #ffffff0a; border-bottom: 1px solid #ffffff0a; }

/* ════════ PROBLEM ════════ */
.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.problem-card {
  display: flex; gap: 16px; padding: 26px; border-radius: 14px;
  background: var(--noir-2); border: 1px solid #ffffff0a;
}
.section-alt .problem-card { background: var(--noir); }
.problem-card .ic {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,77,94,0.1); display: flex; align-items: center; justify-content: center;
}
.problem-card .ic svg { width: 22px; height: 22px; color: #FF6B7A; }
.problem-card h4 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; margin: 2px 0 8px; }
.problem-card p { font-size: 14px; line-height: 1.55; color: var(--gris); font-weight: 300; margin: 0; }

/* ════════ SERVICES ════════ */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service {
  position: relative; padding: 40px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, var(--noir-3) 0%, var(--noir-2) 100%);
  border: 1px solid #ffffff10; transition: transform .3s var(--ease), border-color .3s;
}
.service:hover { transform: translateY(-4px); border-color: var(--cyan-soft); }
.service::after {
  content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px;
  background: radial-gradient(circle, var(--cyan-soft) 0%, transparent 65%);
  filter: blur(30px); opacity: 0; transition: opacity .4s;
}
.service:hover::after { opacity: 0.7; }
.service-num { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--cyan); letter-spacing: 0.18em; }
.service-ic { width: 52px; height: 52px; border-radius: 13px; background: var(--cyan-tint); border: 1px solid var(--cyan-soft); display: flex; align-items: center; justify-content: center; margin: 22px 0 24px; }
.service-ic svg { width: 28px; height: 28px; color: var(--cyan); }
.service h3 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -0.02em; margin: 0 0 12px; }
.service > p { font-size: 15px; line-height: 1.6; color: var(--gris); font-weight: 300; margin: 0 0 24px; }
.service ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 11px; }
.service li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--blanc); line-height: 1.45; }
.service li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--cyan); margin-top: 1px; }
.service .service-link { font-size: 14px; font-weight: 500; color: var(--cyan); display: inline-flex; align-items: center; gap: 8px; position: relative; z-index: 1; }
.service .service-link .arrow { transition: transform .2s var(--ease); }
.service .service-link:hover .arrow { transform: translateX(4px); }
.service .tag-featured { position: absolute; top: 24px; right: 24px; font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; background: var(--cyan); color: var(--noir); font-weight: 600; z-index: 1; }

/* ════════ METHOD ════════ */
.method-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.method-steps { display: flex; flex-direction: column; }
.method-step { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 22px 0; position: relative; }
.method-step:not(:last-child)::before { content: ''; position: absolute; left: 27px; top: 56px; bottom: -6px; width: 1px; background: linear-gradient(var(--cyan-soft), transparent); }
.method-step .num {
  width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0;
  background: var(--noir-3); border: 1px solid var(--cyan-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 20px; color: var(--cyan);
}
.method-step .step-c h4 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -0.015em; margin: 6px 0 8px; }
.method-step .step-c p { font-size: 14.5px; line-height: 1.55; color: var(--gris); font-weight: 300; margin: 0; }
.method-aside {
  position: sticky; top: 110px; padding: 40px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(0,224,200,0.08), rgba(0,224,200,0) 70%);
  border: 1px solid var(--cyan-soft);
}
.method-aside .big { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 30px; letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 16px; text-wrap: balance; }
.method-aside .big em { font-style: normal; color: var(--cyan); }
.method-aside p { font-size: 15px; line-height: 1.6; color: var(--gris); font-weight: 300; margin: 0 0 26px; }
.method-aside .mini-stats { display: flex; flex-direction: column; gap: 16px; }
.method-aside .mini { display: flex; gap: 14px; align-items: center; }
.method-aside .mini .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--cyan-tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.method-aside .mini .ic svg { width: 20px; height: 20px; color: var(--cyan); }
.method-aside .mini .t { font-size: 14px; color: var(--blanc); font-weight: 500; line-height: 1.3; }
.method-aside .mini .t span { display: block; font-size: 12px; color: var(--gris-2); font-weight: 300; margin-top: 2px; }

/* ════════ WHY / TRUST ════════ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { padding: 30px 26px; border-radius: 16px; background: var(--noir); border: 1px solid #ffffff0d; transition: transform .3s var(--ease), border-color .3s; }
.section-alt .why-card { background: var(--noir-3); }
.why-card:hover { transform: translateY(-4px); border-color: var(--cyan-soft); }
.why-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--cyan-tint); border: 1px solid var(--cyan-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.why-card .ic svg { width: 24px; height: 24px; color: var(--cyan); }
.why-card h4 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.015em; margin: 0 0 10px; line-height: 1.2; }
.why-card p { font-size: 13.5px; line-height: 1.55; color: var(--gris); font-weight: 300; margin: 0; }

/* ════════ FOUNDER ════════ */
.founder { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.founder-photo-wrap { position: relative; }
.founder-photo-wrap image-slot { width: 100%; aspect-ratio: 4/5; }
.founder-photo-wrap .ring { position: absolute; inset: -10px; border: 1px solid var(--cyan-soft); border-radius: 22px; pointer-events: none; }
.founder-photo-wrap .badge {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  background: rgba(11,11,20,0.7); backdrop-filter: blur(10px);
  border: 1px solid #ffffff14; border-radius: 12px; padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
}
.founder-photo-wrap .badge .nm { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 16px; letter-spacing: -0.02em; }
.founder-photo-wrap .badge .rl { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--cyan); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 2px; }
.founder-content .quote { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 30px; line-height: 1.25; letter-spacing: -0.025em; margin: 22px 0 24px; text-wrap: balance; }
.founder-content .quote em { font-style: normal; color: var(--cyan); }
.founder-content p { font-size: 16px; line-height: 1.7; color: var(--gris); font-weight: 300; margin: 0 0 16px; }
.founder-content p strong { color: var(--blanc); font-weight: 500; }
.founder-sign { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.founder-sign .nm { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.founder-sign .rl { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--gris-2); letter-spacing: 0.1em; }

/* ════════ PRICING ════════ */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: 34px; border-radius: 18px; background: var(--noir-2); border: 1px solid #ffffff10; position: relative; }
.price-card.featured { background: linear-gradient(165deg, rgba(0,224,200,0.1), rgba(0,224,200,0.02)); border-color: var(--cyan-soft); }
.price-card .ptag { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
.price-card.featured .ribbon { position: absolute; top: 22px; right: 22px; font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; background: var(--cyan); color: var(--noir); font-weight: 600; }
.price-card h3 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -0.02em; margin: 16px 0 10px; }
.price-card .price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 6px; }
.price-card .price .amt { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 40px; letter-spacing: -0.03em; color: var(--blanc); }
.price-card .price .cur { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--cyan); }
.price-card .price .per { font-size: 13px; color: var(--gris-2); }
.price-card .price-note { font-size: 13px; color: var(--gris); font-weight: 300; margin: 0 0 22px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-card li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--blanc); line-height: 1.45; }
.price-card li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--cyan); margin-top: 1px; }
.price-card .btn { width: 100%; justify-content: center; }

/* ════════ FAQ ════════ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #ffffff12; }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; padding: 26px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; color: var(--blanc); font-family: 'Syne', sans-serif; font-weight: 700; font-size: 19px; letter-spacing: -0.015em; }
.faq-q .icon { flex-shrink: 0; width: 24px; height: 24px; position: relative; }
.faq-q .icon::before, .faq-q .icon::after { content: ''; position: absolute; background: var(--cyan); transition: transform .25s var(--ease); }
.faq-q .icon::before { top: 11px; left: 4px; right: 4px; height: 2px; }
.faq-q .icon::after { left: 11px; top: 4px; bottom: 4px; width: 2px; }
.faq-item.open .faq-q .icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a p { font-size: 15px; line-height: 1.65; color: var(--gris); font-weight: 300; margin: 0 0 26px; max-width: 700px; }

/* ════════ CTA + CONTACT ════════ */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-left h2 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 46px; letter-spacing: -0.035em; line-height: 1.02; margin: 18px 0 20px; text-wrap: balance; }
.contact-left h2 em { font-style: normal; color: var(--cyan); }
.contact-left p { font-size: 17px; line-height: 1.65; color: var(--gris); font-weight: 300; margin: 0 0 32px; max-width: 460px; }
.contact-perks { display: flex; flex-direction: column; gap: 16px; }
.contact-perks .perk { display: flex; gap: 13px; align-items: center; }
.contact-perks .perk .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--cyan-tint); border: 1px solid var(--cyan-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-perks .perk .ic svg { width: 20px; height: 20px; color: var(--cyan); }
.contact-perks .perk .t { font-size: 14px; color: var(--blanc); font-weight: 500; }
.contact-perks .perk .t span { display: block; font-size: 12.5px; color: var(--gris-2); font-weight: 300; margin-top: 2px; }

.contact-form { background: var(--noir-2); border: 1px solid #ffffff12; border-radius: 18px; padding: 34px; }
.section-alt .contact-form { background: var(--noir-3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gris-2); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--noir); border: 1px solid var(--noir-4); border-radius: 10px;
  padding: 13px 15px; color: var(--blanc); font-family: 'DM Sans', sans-serif; font-size: 14.5px;
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-tint); }
.field input::placeholder, .field textarea::placeholder { color: var(--gris-3); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236E6E85' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; cursor: pointer; }
.field select option { background: #14141E; color: #F4F4F8; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 12px; color: var(--gris-2); text-align: center; margin-top: 14px; font-weight: 300; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .check { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--cyan-tint); border: 1px solid var(--cyan-soft); display: flex; align-items: center; justify-content: center; }
.form-success .check svg { width: 28px; height: 28px; color: var(--cyan); }
.form-success h4 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin: 0 0 8px; }
.form-success p { font-size: 14px; color: var(--gris); font-weight: 300; margin: 0; }

/* ════════ FOOTER ════════ */
.footer { padding: 70px 0 40px; border-top: 1px solid #ffffff12; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid #ffffff0d; }
.footer-brand .logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -0.03em; margin-bottom: 14px; }
.footer-brand .logo .iq { color: var(--cyan); }
.footer-brand p { font-size: 14px; color: var(--gris); font-weight: 300; line-height: 1.6; max-width: 300px; margin: 0 0 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--noir-4); display: flex; align-items: center; justify-content: center; transition: all .2s; }
.footer-social a:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.footer-social a svg { width: 18px; height: 18px; }
.footer-col h5 { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gris-2); margin: 0 0 18px; }
.footer-col a, .footer-col .line { display: block; font-size: 14px; color: var(--gris); margin-bottom: 12px; transition: color .2s; font-weight: 300; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; flex-wrap: wrap; gap: 14px; }
.footer-bottom .copy { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--gris-3); letter-spacing: 0.08em; }
.footer-bottom .made { font-size: 12px; color: var(--gris-3); }
.footer-bottom .made .iq { color: var(--cyan); }

/* ════════ RESPONSIVE ════════ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .method-wrap { grid-template-columns: 1fr; gap: 36px; }
  .method-aside { position: static; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 1fr; gap: 36px; }
  .founder-photo-wrap { max-width: 360px; }
  .pricing { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 24px; }
  .nav { padding: 14px 24px; }
  .nav-menu, .nav-cta .btn-primary { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile { display: flex; }
  .nav-mobile.open { transform: none; }
  .hero { padding: 130px 0 80px; }
  .hero h1 { font-size: 44px; }
  .hero-sub { font-size: 17px; }
  .section { padding: 70px 0; }
  .section-head h2, .contact-left h2 { font-size: 32px; }
  .problem-grid, .services, .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
