/* Iskra Marketing — shared styles */
:root {
  --white: #ffffff;
  --ice: #eef3fc;
  --ice-2: #dde7fa;
  --cobalt: #1e4dff;
  --cobalt-dark: #1238c9;
  --navy: #0b1f5c;
  --navy-2: #13307f;
  --sky: #9dbbff;
  --ink: #0b1f5c;
  --muted: #53648f;
  --line: #d3dff5;
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Schibsted Grotesk", "Segoe UI", sans-serif;
  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.9rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 56ch; }
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section.tint { background: var(--ice); }
.section.dark { background: var(--navy); color: var(--white); }
.section.dark .lead, .section.dark p { color: #bccaf0; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 1.15rem; }
.dark .section-head p { color: #bccaf0; }

:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: var(--sky); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 1rem/1 var(--font-body);
  padding: 16px 26px; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary:hover { background: var(--cobalt-dark); transform: translateY(-2px); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--ice-2); }
.dark .btn-ghost { border-color: #fff; color: #fff; }
.dark .btn-ghost:hover { background: #fff; color: var(--navy); }
.link-arrow { font-weight: 600; color: var(--cobalt); text-decoration: none; border-bottom: 2px solid var(--ice-2); transition: border-color .2s; }
.link-arrow:hover { border-color: var(--cobalt); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.3rem/1 var(--font-display); letter-spacing: -0.03em; }
.logo svg { width: 28px; height: 28px; }
.logo span { font-weight: 500; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-color: var(--cobalt); }
.nav-links .btn { padding: 12px 22px; border-bottom: 2px solid transparent; color: #fff; }
.nav-links .btn:hover { border-color: transparent; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 0; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 24px; height: 2px; background: var(--navy); position: relative; margin: auto; transition: transform .25s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .lead { margin: 26px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.spark-map { width: 100%; height: auto; overflow: visible; }
.spark-map .track { fill: none; stroke: var(--ice-2); stroke-width: 10; stroke-linecap: round; }
.spark-map .trail { fill: none; stroke: var(--cobalt); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.2s cubic-bezier(.45,0,.55,1) .4s forwards; }
.spark-map .node { fill: #fff; stroke: var(--cobalt); stroke-width: 5; opacity: 0; animation: pop .5s ease-out forwards; }
.spark-map .node-label { font: 700 22px var(--font-display); fill: var(--navy); opacity: 0; animation: pop .5s ease-out forwards; }
.spark-map .node-sub { font: 500 15px var(--font-body); fill: var(--muted); opacity: 0; animation: pop .5s ease-out forwards; }
.spark-map .glow { fill: var(--sky); opacity: .5; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; } to { opacity: 1; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-block: 1px solid var(--line); }
.stat { padding: 34px 28px 34px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat b { display: block; font: 800 clamp(2.2rem, 4vw, 3.2rem)/1 var(--font-display); letter-spacing: -0.03em; color: var(--cobalt); }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: .98rem; }

/* Service rows */
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 32px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .25s, background .25s; }
.service-row:hover { padding-left: 18px; background: var(--ice); }
.service-row h3 { font-size: 1.6rem; }
.service-row p { margin: 0; color: var(--muted); }
.service-row .go { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--navy); display: grid; place-items: center; transition: background .2s, color .2s; }
.service-row:hover .go { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }

/* Process (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; position: relative; }
.step { padding: 0 22px 0 0; position: relative; counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cobalt); color: #fff; font: 700 1.1rem var(--font-display); position: relative; z-index: 1; }
.step::after { content: ""; position: absolute; top: 21px; left: 44px; right: 0; height: 2px; background: rgba(157,187,255,.4); }
.step:last-child::after { display: none; }
.step h3 { margin: 22px 0 10px; font-size: 1.25rem; }
.step p { font-size: .98rem; margin: 0; }

/* Case studies */
.cases { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.case { position: relative; border-radius: var(--radius); padding: 36px; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: #fff; text-decoration: none; background: var(--navy); isolation: isolate; }
.case.big { grid-row: span 2; min-height: 520px; background: var(--cobalt); }
.case.light { background: var(--ice-2); color: var(--navy); }
.case::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; right: -140px; top: -140px; border: 56px solid rgba(255,255,255,.1); }
.case.light::before { border-color: rgba(30,77,255,.12); }
.case .tag { font-size: .9rem; font-weight: 600; opacity: .85; margin-bottom: 10px; }
.case .metric { font: 800 clamp(3rem, 6vw, 5rem)/1 var(--font-display); letter-spacing: -0.04em; }
.case.big .metric { font-size: clamp(4rem, 9vw, 7.5rem); }
.case h3 { margin-top: 12px; font-size: 1.3rem; max-width: 24ch; }
.case p { margin: 8px 0 0; opacity: .85; max-width: 38ch; font-size: .98rem; }

/* Photos */
.photo-band { margin-block: 0; }
.photo-band img { width: 100%; height: clamp(240px, 38vw, 480px); object-fit: cover; border-radius: 24px; }
.photo-band.pull { margin-top: -1px; }
.case.has-img { background: var(--navy) var(--img) center / cover no-repeat; color: #fff; }
.case.has-img::before { display: none; }
.case.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(11,31,92,.92) 8%, rgba(11,31,92,.35) 70%, rgba(11,31,92,.15)); }
.svc-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-top: 28px; }
.info-img { width: calc(100% + 80px); max-width: none; margin: -40px -40px 32px; height: 220px; object-fit: cover; object-position: 20% 50%; border-radius: var(--radius) var(--radius) 0 0; }
.person img { width: 100%; aspect-ratio: 1 / .85; object-fit: cover; object-position: center 20%; border-radius: var(--radius); background: var(--ice-2); }

/* Quote */
.quote { max-width: 900px; }
.quote blockquote { margin: 0; font: 600 clamp(1.5rem, 3vw, 2.3rem)/1.3 var(--font-display); letter-spacing: -0.02em; }
.quote figcaption { margin-top: 28px; display: flex; align-items: center; gap: 14px; color: #bccaf0; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 700 1rem var(--font-display); background: var(--sky); color: var(--navy); flex: none; }

/* CTA band */
.cta-band { background: var(--cobalt); color: #fff; border-radius: 24px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 48px solid rgba(255,255,255,.1); right: -100px; bottom: -180px; }
.cta-band p { color: #dbe5ff; margin: 14px 0 0; max-width: 46ch; }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(56px, 8vw, 110px) clamp(40px, 5vw, 64px); background: var(--ice); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 70px solid rgba(30,77,255,.07); right: -160px; top: -200px; }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); max-width: 16ch; }
.page-hero .lead { margin-top: 24px; }

/* About */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 48px; }
.values h3 { margin-bottom: 8px; padding-top: 18px; border-top: 3px solid var(--cobalt); }
.values p { color: var(--muted); margin: 0; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.person .avatar { width: 100%; height: auto; aspect-ratio: 1 / .85; border-radius: var(--radius); font-size: 2.6rem; background: var(--ice-2); color: var(--cobalt); letter-spacing: -0.03em; }
.person:nth-child(3n+2) .avatar { background: var(--cobalt); color: #fff; }
.person:nth-child(3n) .avatar { background: var(--navy); color: var(--sky); }
.person h3 { margin-top: 16px; font-size: 1.2rem; }
.person p { margin: 2px 0 0; color: var(--muted); font-size: .98rem; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--sky); }
.timeline li { padding: 0 0 36px 32px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--cobalt); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--cobalt); }
.timeline b { font: 700 1.4rem var(--font-display); display: block; }
.timeline p { margin: 4px 0 0; color: var(--muted); }

/* Services page */
.svc { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; padding-top: 0; }
.svc h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.svc .intro { color: var(--muted); margin-top: 16px; }
.svc h4 { font-size: 1rem; margin-bottom: 14px; }
.checks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--cobalt); }
.checks li::after { content: ""; position: absolute; left: 6px; top: calc(.35em + 4px); width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.model { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.model.featured { background: var(--navy); color: #fff; border-color: var(--navy); }
.model.featured p, .model.featured li { color: #bccaf0; }
.model .price { font: 800 2rem var(--font-display); margin: 14px 0 6px; letter-spacing: -0.03em; }
.model p { color: var(--muted); font-size: .98rem; }
.model ul { padding-left: 18px; margin: 18px 0 0; color: var(--muted); font-size: .98rem; }
.faq { max-width: 820px; margin-inline: auto; }
.section-head.center { margin-inline: auto; text-align: center; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { font: 600 1.2rem var(--font-display); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--cobalt); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; color: var(--muted); max-width: 64ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; font-size: .98rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--ice); border: 2px solid transparent; border-radius: 12px; padding: 14px 16px; transition: border-color .2s, background .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); background: #fff; }
.form-note { font-size: .92rem; color: var(--muted); margin: 0; }
.form-success { display: none; background: var(--ice); border-left: 4px solid var(--cobalt); border-radius: 0 12px 12px 0; padding: 22px 24px; }
.form-success.show { display: block; }
.form-success h3 { margin-bottom: 6px; }
.form-success p { margin: 0; color: var(--muted); }
.form-error { display: none; background: #fff1f0; border-left: 4px solid #d6342a; border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 0; }
.form-error.show { display: block; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.hp { position: absolute; left: -9999px; }
.info { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 40px; }
.info h3 { margin-bottom: 22px; }
.info dl { margin: 0; display: grid; gap: 22px; }
.info dt { color: var(--sky); font-weight: 600; font-size: .92rem; }
.info dd { margin: 2px 0 0; }
.info a { text-decoration-color: var(--sky); text-underline-offset: 3px; }

/* Footer */
.site-footer { background: var(--navy); color: #bccaf0; padding-block: 72px 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .logo { color: #fff; }
.site-footer .logo span { color: var(--sky); }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(157,187,255,.25); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .92rem; }

/* Legal pages */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.5rem; margin: 2.2em 0 .6em; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: .5em; }
.legal a { color: var(--cobalt); }
.legal code { background: var(--ice); padding: 2px 6px; border-radius: 6px; font-size: .92em; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal-links button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.legal-links a:hover, .legal-links button:hover { color: #fff; text-decoration: underline; }

/* Cookie banner */
.cookie-banner { position: fixed; z-index: 90; left: 20px; right: 20px; bottom: 20px; max-width: 760px; margin-inline: auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 50px rgba(11,31,92,.22); padding: 24px 28px; display: grid; grid-template-columns: 1fr auto; gap: 20px 28px; align-items: center; }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.1rem; margin-bottom: 6px; }
.cookie-banner p { margin: 0; font-size: .95rem; color: var(--muted); }
.cookie-banner a { color: var(--cobalt); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 12px 20px; font-size: .95rem; }
@media (max-width: 640px) {
  .cookie-banner { grid-template-columns: 1fr; left: 12px; right: 12px; bottom: 12px; padding: 20px; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .svc, .contact-grid, .cases, .cta-band { grid-template-columns: 1fr; }
  .case.big { grid-row: auto; min-height: 400px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step { padding: 0 0 0 64px; }
  .step::before { position: absolute; left: 0; top: 0; }
  .step::after { top: 44px; bottom: -32px; left: 21px; right: auto; width: 2px; height: auto; }
  .step h3 { margin-top: 8px; }
  .models, .team { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 1fr auto; }
  .service-row p { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 16px; justify-content: center; }
}
@media (max-width: 600px) {
  .values, .models, .team, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 24px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .case { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .spark-map .trail { stroke-dashoffset: 0; }
  .spark-map .node, .spark-map .node-label, .spark-map .node-sub { opacity: 1; }
}
