/* ── LIGHT THEME (preview) ── loaded after the inline styles, overrides the dark look */
:root {
  --bg: #f6f8fc;
  --bg2: #eef2f9;
  --card: #ffffff;
  --card2: #f8fafd;
  --cyan: #0a8fb5;
  --cyan-dim: rgba(10,143,181,0.09);
  --gold: #d48f00;
  --gold-dim: rgba(240,165,0,0.12);
  --text: #111a2e;
  --dim: #4f5a72;
  --muted: #c3cad8;
  --border: rgba(17,26,46,0.09);
  --border-gold: rgba(212,143,0,0.28);
  --glow-c: 0 10px 30px -10px rgba(10,143,181,0.35);
  --glow-g: 0 10px 30px -10px rgba(212,143,0,0.4);
  --shadow: 0 1px 2px rgba(17,26,46,0.04), 0 8px 24px -12px rgba(17,26,46,0.12);
}
body {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(10,143,181,0.10), transparent 60%),
    radial-gradient(900px 500px at 5% 10%, rgba(240,165,0,0.10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
body::before {
  background-image:
    linear-gradient(rgba(17,26,46,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,26,46,0.035) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
.gear-wrap { opacity: 0.06; }
.grad { background: linear-gradient(135deg, #0a8fb5, #d48f00); -webkit-background-clip: text; background-clip: text; }

/* Nav */
.nav.on { background: rgba(255,255,255,0.86); border-bottom-color: var(--border); box-shadow: 0 6px 24px -14px rgba(17,26,46,0.25); }
.nav-logo img { mix-blend-mode: normal; }
.nav-links a { color: #3c465c; }
.nav-cta { color: #fff !important; background: linear-gradient(135deg, #0a8fb5, #0b6fa0) !important; }
.mob-menu { background: rgba(255,255,255,0.97); }
.burger span { background: var(--text); }

/* Cards: white with soft shadow instead of glow */
.stat, .val, .svc, .exp, .proj, .tech-item, .con-form, .test-card, .founder-chips span {
  background: var(--card);
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.founder-chips span { color: var(--text); }
.svc:hover, .exp:hover, .tech-item:hover, .val:hover { box-shadow: 0 18px 40px -16px rgba(10,143,181,0.35); border-color: rgba(10,143,181,0.45); }
.proj:hover { box-shadow: 0 18px 40px -16px rgba(212,143,0,0.45); border-color: rgba(212,143,0,0.55); }
.svc-icon, .t-ico { color: #7c879e; }
.exp h3, .exp-why p strong { color: var(--text); }
.exp-why { background: linear-gradient(135deg, rgba(10,143,181,0.07), rgba(240,165,0,0.08)); }
.step-n { background: #fff; }
.step-n.pulse { color: #fff; border-color: var(--cyan); background: var(--cyan); }
.stat-n { color: var(--cyan); }

/* Hero */
.hero-brand {
  background: linear-gradient(135deg, #111a2e 0%, #d48f00 50%, #0a8fb5 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: none;
}
.hero-sub { color: #5d6782; }
.hero-glow { background: radial-gradient(ellipse, rgba(10,143,181,0.10) 0%, transparent 70%); }
.scroll-hint { color: #7c879e; }
.btn-p { color: #fff; background: linear-gradient(135deg, #0a8fb5, #0b6fa0); box-shadow: 0 10px 26px -10px rgba(10,143,181,0.6); }
.btn-p:hover { box-shadow: 0 16px 34px -12px rgba(10,143,181,0.7); }
.btn-s { border-color: rgba(17,26,46,0.18); background: rgba(255,255,255,0.6); }
.hero-badge { color: #a86f00; }

/* Founder photo glow softer */
.founder-photo::before { background: radial-gradient(ellipse at 50% 40%, rgba(10,143,181,0.18), rgba(240,165,0,0.10) 45%, transparent 70%); }

/* Projects / CTA strip */
.proj-cta { background: #fff; border-color: var(--border); box-shadow: var(--shadow); }

/* Contact form */
.fg input, .fg textarea { background: #f6f8fc; border-color: rgba(17,26,46,0.14); }
.fg input:focus, .fg textarea:focus { background: #fff; box-shadow: 0 0 0 3px rgba(10,143,181,0.15); }
.btn-send { color: #111a2e; }
.con-item:hover { background: #fff; box-shadow: var(--shadow); }

/* Success modal */
.sm { background: rgba(17,26,46,0.45); }
.sm-card { background: #fff; border-color: var(--border); box-shadow: 0 30px 80px -20px rgba(17,26,46,0.45); }

/* Testimonials */
.test-quote-icon { opacity: 0.35; }
.test-arrow { background: #fff; box-shadow: var(--shadow); }
.test-dot { background: #cdd4e1; }
.test-dot.active { background: var(--cyan); box-shadow: none; }
.test-video-placeholder { background: rgba(246,248,252,0.7); }
.google-badge { box-shadow: var(--shadow); border: 1px solid var(--border); }

/* Story cards */
.test-slider-stories .test-card.test-card-story { background: linear-gradient(225deg, #ffffff, #f7f9fd 55%, #f1f5fb); box-shadow: 0 30px 60px -30px rgba(17,26,46,0.3); }
.test-card-story::before { background: rgba(240,165,0,.14); }
.test-card-story::after { background: rgba(10,143,181,.12); }
.story-quote p { color: var(--text); }
.story-quote p.story-hl { background: linear-gradient(90deg, #c27e00, #e0650f); -webkit-background-clip: text; background-clip: text; }
.story-badge { color: #a86f00; background: rgba(240,165,0,.10); border-color: rgba(212,143,0,.35); }
.story-phone { box-shadow: 0 30px 50px -24px rgba(17,26,46,.45); }

/* Footer stays dark: anchors the page */
footer { background: #0f1729; border-top: 0; }
footer .foot-copy, footer .foot-phone, footer .foot-about { color: #a9b3c9; }
footer a { color: #e2e8f4; }

/* Lead popup (second style block) */
.lp-overlay { background: rgba(17,26,46,0.5) !important; }
.lp-card { background: #fff !important; border-color: rgba(10,143,181,0.5) !important; box-shadow: 0 30px 80px -20px rgba(17,26,46,0.45) !important; }
.lp-close { color: #7c879e !important; }
.lp-close:hover { color: #111a2e !important; }
.lp-title { color: #111a2e !important; }
.lp-sub { color: #4f5a72 !important; }
.lp-form input, .lp-form textarea { background: #f6f8fc !important; color: #111a2e !important; border-color: rgba(17,26,46,0.14) !important; }
.lp-or { color: #7c879e !important; }

@media (prefers-reduced-motion: reduce) { body { background-attachment: scroll; } }

/* dz-upgrade.css overrides (glass pill nav, systems strip, back-to-top) */
.nav-in { background: rgba(255,255,255,.72) !important; border-color: rgba(17,26,46,.08) !important; box-shadow: 0 10px 34px -12px rgba(17,26,46,.22) !important; }
.nav.on .nav-in { background: rgba(255,255,255,.92) !important; border-color: rgba(212,143,0,.28) !important; }
.svc:hover, .tech-item:hover, .val:hover { box-shadow: 0 18px 40px -16px rgba(17,26,46,.28), 0 0 0 1px rgba(212,143,0,.25); }
.proj:hover { box-shadow: 0 22px 46px -18px rgba(17,26,46,.32); }
#dz-strip { background: #fff; border-block-color: var(--border); }
#dz-strip::before { background: linear-gradient(to right, #fff, transparent); }
#dz-strip::after { background: linear-gradient(to left, #fff, transparent); }
.dz-chip { background: var(--bg); border-color: var(--border); color: #2b3550; }
#dz-top { background: rgba(255,255,255,.92); box-shadow: var(--shadow); }
.proj-link:hover { color: #fff; }

/* Elchai's own sharp logo (200x50): show at native size */
.nav .nav-logo img { height: 50px !important; width: auto; }
@media(max-width:480px){ .nav .nav-logo img { height: 40px !important; } }

/* ── BLUE INSTEAD OF YELLOW on white (Elchai, 5 Nov 2026). Logo keeps its own colors. ── */
:root {
  --gold: #1d4fa3;
  --gold-dim: rgba(29,79,163,0.09);
  --border-gold: rgba(29,79,163,0.30);
  --glow-g: 0 10px 30px -10px rgba(29,79,163,0.45);
}
body {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(10,143,181,0.10), transparent 60%),
    radial-gradient(900px 500px at 5% 10%, rgba(29,79,163,0.08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
.grad, .exp-why h3 { background: linear-gradient(135deg, #0a8fb5, #1d4fa3); -webkit-background-clip: text; background-clip: text; }
.hero-brand { background: linear-gradient(135deg, #111a2e 0%, #1d4fa3 50%, #0a8fb5 100%); -webkit-background-clip: text; background-clip: text; }
.hero-badge, .story-badge { color: #1d4fa3; background: rgba(29,79,163,.07); border-color: rgba(29,79,163,.30); }
.badge-dot, .tag::before { background: #1d4fa3; box-shadow: 0 0 8px rgba(29,79,163,.5); }
.exp p em, .exp-why p em { color: #1d4fa3; }
.story-stars { color: #1d4fa3; }
.story-quote p.story-hl { background: linear-gradient(90deg, #1d4fa3, #0a8fb5); -webkit-background-clip: text; background-clip: text; }
.story-phone { background: linear-gradient(180deg, #1d4fa3, #0a8fb5); }
.story-play-btn { background: linear-gradient(135deg, #0a8fb5, #1d4fa3); }
.story-play:focus-visible { outline-color: #7fb3ff; }
.test-card-story::before { background: rgba(29,79,163,.10); }
.founder-photo::before { background: radial-gradient(ellipse at 50% 40%, rgba(10,143,181,0.18), rgba(29,79,163,0.10) 45%, transparent 70%); }
.btn-send { background: linear-gradient(135deg, #1d4fa3, #0a8fb5); color: #fff; box-shadow: 0 10px 26px -10px rgba(29,79,163,0.6); }
.btn-send:hover { box-shadow: 0 16px 34px -12px rgba(29,79,163,0.7); }
.nav.on .nav-in { border-color: rgba(29,79,163,.25) !important; }
.svc:hover, .tech-item:hover, .val:hover { box-shadow: 0 18px 40px -16px rgba(17,26,46,.28), 0 0 0 1px rgba(29,79,163,.30); }
.proj:hover { border-color: rgba(29,79,163,.5); }
.dz-chip:hover { border-color: rgba(29,79,163,.5); }
#dz-progress { background: linear-gradient(90deg, #0a8fb5, #1d4fa3); }
#dz-top { border-color: rgba(29,79,163,.4); color: #1d4fa3; }
#dz-top:hover, .proj-link:hover { background: #1d4fa3; border-color: #1d4fa3; color: #fff; }
.process::before { background: linear-gradient(to left, var(--cyan-dim), var(--cyan), #1d4fa3, var(--cyan-dim)); }
.lp-eyebrow { color: #1d4fa3 !important; }
.lp-send { background: linear-gradient(180deg, #2a63c4, #1d4fa3) !important; color: #fff !important; }
.gear-wrap [stroke="#f0a500"] { stroke: #1d4fa3; }
.gear-wrap [fill="#f0a500"] { fill: #1d4fa3; }
/* Secondary button: clearer frame */
.btn-s { border: 1.5px solid rgba(29,79,163,.45); color: #1d4fa3; background: #fff; box-shadow: 0 4px 14px -8px rgba(29,79,163,.35); }
.btn-s:hover { border-color: #1d4fa3; color: #1d4fa3; background: rgba(29,79,163,.05); }

/* Icons blue by default, change color on hover (Elchai, 5 Nov 2026) */
.svc-icon { color: #1d4fa3; background: rgba(29,79,163,.08); border-color: rgba(29,79,163,.18); transition: color .25s, background .25s, border-color .25s, transform .25s; }
.svc:hover .svc-icon { color: #fff; background: linear-gradient(135deg, #0a8fb5, #1d4fa3); border-color: transparent; filter: none; transform: scale(1.06); }
.t-ico { color: #1d4fa3; }
.tech-item:hover .t-ico { color: #0a8fb5; filter: none; }
.vi { transition: background .25s, transform .25s; }
.val:hover .vi { transform: scale(1.06); }
.cico-p svg { color: #1d4fa3; }

/* Thicker frame on every button (Elchai, 5 Nov 2026) */
.proj-link { border: 2px solid rgba(29,79,163,.55); color: #1d4fa3; font-weight: 700; }
.proj-link:hover { border-color: #1d4fa3; }
.btn-s { border-width: 2px; border-color: rgba(29,79,163,.55); }
.lang-toggle { border: 2px solid rgba(29,79,163,.35); color: #1d4fa3; }
.test-arrow { border: 2px solid rgba(29,79,163,.35); color: #1d4fa3; }
#dz-top { border-width: 2px; }

/* Gears: a bit stronger, real transparent hole (Elchai, 5 Nov 2026) */
.gear-wrap { opacity: 0.12 !important; }
.gear-wrap:nth-child(3), .gear-wrap:nth-child(4) { opacity: 0.10 !important; }
.gear-wrap [stroke="#f0a500"] { stroke: #1d4fa3; }

/* Logo: image = fish + wordmark, slogan = real text (always sharp) */
.nav .nav-logo { position: relative; display: block; line-height: 0; }
.nav .nav-logo img { height: 42px !important; width: auto; }
.nav-slogan { position: absolute; right: 24.3%; top: 67%; font-family: 'Heebo', sans-serif; font-weight: 500; font-size: 13.5px; line-height: 1; color: #0f1729; white-space: nowrap; letter-spacing: 0; pointer-events: none; }
@media (max-width: 480px) {
  .nav .nav-logo img { height: 34px !important; }
  .nav-slogan { font-size: 11px; }
}
body.en .nav-slogan { direction: ltr; }

/* System cards: on mobile the image sits inside the card padding, so round it */
@media (max-width: 768px) {
  .proj-grid .proj-img { border-radius: 16px; overflow: hidden; isolation: isolate; box-shadow: 0 6px 18px -10px rgba(17,26,46,.35); }
  .proj-grid .proj-img img { border-radius: 16px; }
}

/* Hero: less empty space above the badge on desktop (Elchai, 15 Nov 2026) */
@media (min-width: 769px) {
  .hero { align-items: flex-start; }
  .hero-content { padding: 132px 24px 64px; }
}
/* No forced full-screen hero and no scroll hint (Elchai, 15 Nov 2026) */
.hero { min-height: 0; }
.scroll-hint { display: none; }

/* No yellow left on the light site: tag-dot pulse, card hover frames, tints (Elchai, 15 Nov 2026) */
@keyframes dz-pulse { 0% { box-shadow: 0 0 0 0 rgba(29,79,163,.5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(29,79,163,0); } }
.svc:hover, .tech-item:hover, .val:hover { border-color: rgba(29,79,163,.45); }
.exp-why { background: linear-gradient(135deg, rgba(10,143,181,0.07), rgba(29,79,163,0.07)); }
.vi svg [stroke="#f0a500"], .contact-gear [stroke="#f0a500"] { stroke: #1d4fa3; }
.contact-gear [fill="#f0a500"] { fill: #1d4fa3; }
.lp-send { box-shadow: 0 10px 26px -10px rgba(29,79,163,.6) !important; }

/* UI/UX audit 18.11.2026 (ui-ux-pro-max): WCAG 2.2 AA contrast and target size */
.tag, .step-n:not(.pulse), .founder-more a { color: #06708e; }
.lp-or { color: #5b6478 !important; }
.kd-answers a { color: #a9b3c9 !important; opacity: 1 !important; display: inline-block; padding: 4px 0; }
footer .foot-phone { display: inline-block; padding: 2px 0; }
footer .foot-in a[aria-label] { min-width: 24px; min-height: 24px; justify-content: center; }
.test-dot { width: 24px; height: 24px; padding: 7px; background-clip: content-box; }

/* Lead popup fits the screen (18.11.2026): with the email field it outgrew ~880px viewports,
   the centered card overflowed at the top and the close button was cut off */
.lp-overlay { padding: 12px !important; overflow-y: auto; align-items: flex-start !important; overscroll-behavior: contain; }
.lp-card { margin: auto; padding: 26px 26px 20px !important; }
.lp-close { top: 10px !important; left: 10px !important; width: 40px; height: 40px; border-radius: 50% !important; background: #eef1f6 !important; color: #111a2e !important; font-size: 20px !important; display: flex; align-items: center; justify-content: center; }
body.en .lp-close { left: auto !important; right: 10px !important; }
.lp-close:hover { background: #dfe4ee !important; }
.lp-eyebrow { font-size: 14px !important; margin-bottom: 4px !important; }
.lp-title { font-size: 26px !important; margin-bottom: 6px !important; }
.lp-sub { font-size: 15px !important; margin-bottom: 14px !important; }
.lp-form { gap: 8px !important; }
.lp-form input, .lp-form textarea { padding: 10px 14px !important; }
.lp-form textarea { min-height: 48px !important; }
.lp-send { padding: 12px !important; font-size: 18px !important; }
.lp-or { margin: 8px 0 6px !important; }
.lp-wa { padding: 11px 24px !important; }
.lp-title { text-wrap: balance; }
.lp-title .cy { white-space: nowrap; }
@media (max-width: 480px) { .lp-title { font-size: 23px !important; } }

/* 18.11.2026: the slogan is part of the logo image now (title and slogan the same width), the old text overlay is hidden */
.nav-slogan{display:none!important}

/* Value icons (18.11.2026): one line style, brand dark blue; on hover the tile fills blue and the icon turns white */
.vals .vi { background: #eaf0fa !important; border-color: rgba(29,79,163,.18) !important; color: #1d4fa3; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.vals .val:hover .vi { background: linear-gradient(135deg, #2a63c4, #1d4fa3) !important; border-color: transparent !important; color: #fff; }
.cico-p svg[stroke="#00d4ff"] { stroke: #1d4fa3; }

/* Visually hidden, read by screen readers and parsers (H1 meaning, 18.11.2026) */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
