/* =========================================================
   CONVERSIONCRAFT LTD — core stylesheet
   Themes switchable via <html data-theme="aurora|light">
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --bg:            #0B0D10;
  --bg-elev:       #15171E;
  --bg-elev-2:     #1C1F28;
  --line:          #262A34;
  --line-soft:     #1E222B;
  --text:          #EDEFF3;
  --text-muted:    #9198A8;
  --text-faint:    #646B7C;

  --accent:        #7C5CFF;
  --accent-2:      #22D3EE;
  --accent-ink:    #0B0D10;         /* text on accent surfaces */
  --accent-grad:   linear-gradient(120deg, #7C5CFF 0%, #22D3EE 100%);
  --accent-glow:   rgba(124, 92, 255, 0.35);
  --hero-overlay:  linear-gradient(180deg, rgba(11,13,16,0.72) 0%, rgba(11,13,16,0.55) 45%, rgba(11,13,16,0.82) 100%);
  --panel-ink:     #EDEFF3;   /* text on the coloured contact panel */

  --radius:        16px;
  --radius-sm:     10px;
  --radius-lg:     24px;
  --maxw:          1180px;
  --gutter:        clamp(20px, 5vw, 48px);

  --shadow:        0 20px 60px -20px rgba(0,0,0,0.6);
  --ease:          cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Theme A — Aurora (violet → cyan) is default (:root above).
   Theme B — Light (MediaXchange-style: white + blue) */
[data-theme="light"] {
  --bg:          #FFFFFF;
  --bg-elev:     #F5F8FC;
  --bg-elev-2:   #EDF2F9;
  --line:        #DEE5EF;
  --line-soft:   #E9EEF5;
  --text:        #0F1526;
  --text-muted:  #55607A;
  --text-faint:  #8A93A8;
  --accent:      #2F6BFF;
  --accent-2:    #22A7F0;
  --accent-ink:  #FFFFFF;
  --accent-grad: linear-gradient(120deg, #2F6BFF 0%, #22A7F0 100%);
  --accent-glow: rgba(47, 107, 255, 0.28);
  --hero-overlay: linear-gradient(180deg, rgba(18,42,92,0.58) 0%, rgba(18,42,92,0.74) 100%);
  --panel-ink:   #FFFFFF;
  --shadow:      0 20px 50px -24px rgba(20,40,90,0.35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }

/* Ambient background glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 80% -10%, var(--accent-glow), transparent 60%),
    radial-gradient(50% 45% at 0% 10%, rgba(34,211,238,0.10), transparent 55%);
  pointer-events: none;
  transition: background 0.5s var(--ease);
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 10vw, 128px); position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.section-title { font-size: clamp(1.9rem, 4.5vw, 3.1rem); margin-top: 14px; }
.section-lead { color: var(--text-muted); max-width: 60ch; margin-top: 16px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 500; font-size: 0.95rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent-grad); color: var(--accent-ink); box-shadow: 0 10px 30px -10px var(--accent-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px var(--accent-glow); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line-soft); }
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 600; letter-spacing: -0.02em; font-size: 1.06rem; }
.brand .logo { width: 30px; height: 30px; flex: none; }
.brand b { font-weight: 600; }
.brand span { color: var(--accent); }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--text-muted); font-size: 0.94rem; transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--bg-elev); }
.nav-tools { display: flex; align-items: center; gap: 10px; }

/* Segmented toggles (lang + theme) */
.seg {
  display: inline-flex; padding: 3px; gap: 2px;
  background: var(--bg-elev); border: 1px solid var(--line-soft); border-radius: 999px;
}
.seg button {
  border: 0; background: transparent; color: var(--text-muted);
  padding: 5px 11px; border-radius: 999px; font-size: 0.8rem; font-family: var(--font-head); font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.seg button.active { color: var(--accent-ink); background: var(--accent); }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--bg-elev); border: 1px solid var(--line-soft); color: var(--text-muted); transition: color 0.2s, border-color 0.2s; }
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }

/* Mobile nav */
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; background: var(--bg-elev); border: 1px solid var(--line-soft); color: var(--text); align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(56px, 9vw, 104px); padding-bottom: clamp(48px, 8vw, 96px); position: relative; }
.hero-grid { display: grid; gap: 48px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--bg-elev); border: 1px solid var(--line-soft); font-size: 0.82rem; color: var(--text-muted);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.hero h1 { font-size: clamp(2.5rem, 7vw, 5rem); margin-top: 22px; }
.hero h1 .grad { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--text-muted); font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 56ch; margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; color: var(--text-faint); font-size: 0.9rem; align-items: center; }
.hero-trust b { color: var(--text); font-family: var(--font-head); }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  background: var(--bg-elev); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 26px 24px; position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.stat::after { content: ""; position: absolute; inset: 0 auto auto 0; width: 40%; height: 2px; background: var(--accent-grad); opacity: 0.8; transition: width 0.5s var(--ease); }
.stat:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 16px 36px -20px var(--accent-glow); }
.stat:hover::after { width: 100%; }
.stat .num { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; letter-spacing: -0.02em; }
.stat .num span { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .label { color: var(--text-muted); font-size: 0.92rem; margin-top: 6px; }
/* staggered entrance — each stat reveals slightly after the previous one */
.stats .reveal { transition-delay: 0s; }
.stats .reveal:nth-child(2) { transition-delay: 0.09s; }
.stats .reveal:nth-child(3) { transition-delay: 0.18s; }
.stats .reveal:nth-child(4) { transition-delay: 0.27s; }

/* ---------- Media frames ---------- */
.media-frame {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-soft); background: var(--bg-elev);
  box-shadow: var(--shadow); position: relative;
}
.media-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(11,13,16,0.18) 100%);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; display: block; }
.media-frame--wide img { aspect-ratio: 16 / 7; }

/* ---------- About split ---------- */
.about-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 52px); align-items: center; margin-bottom: clamp(48px, 8vw, 80px); }
.about-copy .section-title { margin-top: 14px; }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 52px; }
.card {
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-elev-2));
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 0 0 34px; position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.card-media { display: block; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.card-media img { width: 100%; height: 220px; object-fit: cover; object-position: center 35%; display: block; transition: transform 0.5s var(--ease); }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 28px 34px 0; }
.card-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 10%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  color: var(--accent); margin-bottom: 22px;
}
.card-ico svg, .card-ico img { width: 26px; height: 26px; }
.card h3 { font-size: 1.45rem; }
.card p { color: var(--text-muted); margin-top: 12px; }
.card ul { margin-top: 20px; display: grid; gap: 10px; }
.card li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 0.95rem; }
.card li::before { content: ""; flex: none; margin-top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Approach / steps ---------- */
.approach-layout { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px, 5vw, 48px); align-items: center; margin-top: 52px; }
.steps { display: grid; grid-template-columns: 1fr; gap: 18px; }
.step { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px 26px; background: var(--bg-elev); }
.step .k { font-family: var(--font-head); font-size: 0.85rem; color: var(--accent); letter-spacing: 0.1em; }
.step h4 { font-size: 1.2rem; margin-top: 14px; }
.step p { color: var(--text-muted); margin-top: 10px; font-size: 0.95rem; }

/* ---------- CTA / form section ---------- */
.contact-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.contact-info .section-title { margin-top: 14px; }
.info-list { margin-top: 30px; display: grid; gap: 18px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--bg-elev); border: 1px solid var(--line); color: var(--accent); display: grid; place-items: center; }
.info-item .ico svg { width: 20px; height: 20px; }
.info-item .t { font-size: 0.82rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; }
.info-item .v { color: var(--text); margin-top: 2px; }
.info-item a.v:hover { color: var(--accent); }

/* Form */
.form-card { background: linear-gradient(180deg, var(--bg-elev), var(--bg-elev-2)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 8px; font-family: var(--font-head); }
.field label .req { color: var(--accent); }
.field input, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--text); padding: 13px 15px; font: inherit; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.field.invalid input, .field.invalid textarea { border-color: #ff5c6a; }
.field .err { display: none; color: #ff7b86; font-size: 0.82rem; margin-top: 6px; }
.field.invalid .err { display: block; }
.hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.form-note { color: var(--text-faint); font-size: 0.82rem; margin-top: 14px; }
.form-status { margin-top: 16px; padding: 13px 16px; border-radius: var(--radius-sm); font-size: 0.92rem; display: none; }
.form-status.ok { display: block; background: color-mix(in srgb, var(--accent) 14%, var(--bg)); border: 1px solid var(--accent); color: var(--text); }
.form-status.bad { display: block; background: rgba(255,92,106,0.10); border: 1px solid #ff5c6a; color: #ffb0b6; }

/* ---------- Legal / content pages ---------- */
.page-hero { padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(28px, 4vw, 44px); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero p { color: var(--text-muted); margin-top: 14px; }
.page-hero--photo {
  position: relative; isolation: isolate; text-align: center;
  padding-block: clamp(72px, 12vw, 120px); min-height: 280px;
  display: flex; align-items: center;
}
.page-hero--photo .page-hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: var(--hero-image); background-size: cover; background-position: center;
}
.page-hero--photo .page-hero-bg::after {
  content: ""; position: absolute; inset: 0; background: var(--hero-overlay);
}
.page-hero--photo h1, .page-hero--photo .eyebrow { color: #fff; }
.page-hero--photo p { color: rgba(255,255,255,0.82); max-width: 56ch; margin-inline: auto; }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 40px; }
.legal h3 { font-size: 1.1rem; margin-top: 26px; }
.legal p, .legal li { color: var(--text-muted); margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin-top: 10px; }
.legal li { margin-top: 8px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--text); }
.updated { color: var(--text-faint); font-size: 0.88rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); margin-top: 40px; padding-block: 56px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--text-muted); margin-top: 16px; max-width: 36ch; font-size: 0.95rem; }
.footer-col h5 { font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.footer-col ul { margin-top: 16px; display: grid; gap: 11px; }
.footer-col a, .footer-col address { color: var(--text-muted); font-style: normal; font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-soft); color: var(--text-faint); font-size: 0.85rem; }

/* ---------- Cookie popup ---------- */
.cookie {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 140%);
  z-index: 200; width: min(680px, calc(100% - 32px));
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 22px;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  transition: transform 0.5s var(--ease), opacity 0.4s;
  opacity: 0;
}
.cookie.show { transform: translate(-50%, 0); opacity: 1; }
.cookie p { color: var(--text-muted); font-size: 0.9rem; flex: 1 1 320px; }
.cookie p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cookie .cookie-actions { display: flex; gap: 10px; }
.cookie .btn { padding: 10px 18px; font-size: 0.88rem; }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Language visibility (legal dual-block) ---------- */
[data-lang-block] { display: none; }
html[data-lang="en"] [data-lang-block="en"] { display: block; }
html[data-lang="ua"] [data-lang-block="ua"] { display: block; }

/* ---------- Hero with photo/abstract background ---------- */
.hero--photo {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  text-align: center;
  padding-block: clamp(80px, 14vw, 160px);
  isolation: isolate;
}
.hero--photo .hero-bg {
  position: absolute; inset: 0; z-index: -2; overflow: hidden;
  background-color: var(--bg);
}
.hero--photo .hero-bg picture,
.hero--photo .hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
}
.hero--photo .hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1; background: var(--hero-overlay);
}
.hero--photo .hero-inner { max-width: 820px; margin-inline: auto; }
.hero--photo .hero-badge { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.18); color: #fff; }
.hero--photo h1 { color: #fff; }
.hero--photo .hero-sub { color: rgba(255,255,255,0.82); margin-inline: auto; }
.hero--photo .hero-cta { justify-content: center; }
.hero--photo .hero-trust { justify-content: center; color: rgba(255,255,255,0.7); }
.hero--photo .hero-trust b { color: #fff; }
.hero--photo .btn-ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.hero--photo .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ---------- Feature row (Why us — 4 columns) ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 52px; }
.feature {
  text-align: center; padding: 34px 22px; border-radius: var(--radius);
  border: 1px solid var(--line-soft); background: var(--bg-elev);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.feature:hover { transform: translateY(-6px); }
.feature .f-ico {
  width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 16px;
  display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); color: var(--accent);
  transition: background 0.35s var(--ease), border-color 0.35s, color 0.35s;
}
.feature .f-ico svg { width: 28px; height: 28px; }
.feature h4 { font-size: 1.15rem; transition: color 0.35s; }
.feature p { color: var(--text-muted); margin-top: 10px; font-size: 0.92rem; transition: color 0.35s; }
/* accent (blue) look — permanent on the first card, and on hover for any card */
.feature--hl, .feature:hover { background: var(--accent-grad); border-color: transparent; box-shadow: 0 18px 40px -18px var(--accent-glow); }
.feature--hl .f-ico, .feature:hover .f-ico { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.25); color: var(--accent-ink); }
.feature--hl h4, .feature:hover h4 { color: var(--accent-ink); }
.feature--hl p, .feature:hover p { color: color-mix(in srgb, var(--accent-ink) 82%, transparent); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--accent-grad); }
.cta-band .container { text-align: center; padding-block: clamp(52px, 8vw, 88px); }
.cta-band h2 { color: var(--accent-ink); font-size: clamp(1.9rem, 5vw, 3.2rem); }
.cta-band p { color: color-mix(in srgb, var(--accent-ink) 80%, transparent); margin-top: 14px; font-size: 1.1rem; }
.cta-band .btn { margin-top: 30px; background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }
.cta-band .btn:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--accent-ink) 90%, #000); }

/* ---------- Split contact (coloured panel + form) ---------- */
.contact-split { display: grid; grid-template-columns: 0.85fr 1.15fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg-elev); }
.contact-panel { background: var(--accent-grad); color: var(--panel-ink); padding: clamp(30px, 4vw, 48px); }
.contact-panel h2 { color: var(--panel-ink); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.contact-panel .panel-lead { color: color-mix(in srgb, var(--panel-ink) 82%, transparent); margin-top: 14px; }
.contact-panel .info-list { margin-top: 30px; }
.contact-panel .info-item .ico { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.25); color: var(--panel-ink); }
.contact-panel .info-item .t { color: color-mix(in srgb, var(--panel-ink) 70%, transparent); }
.contact-panel .info-item .v { color: var(--panel-ink); }
.contact-panel .info-item a.v:hover { color: var(--panel-ink); text-decoration: underline; }
.contact-panel .panel-social { display: flex; gap: 12px; margin-top: 30px; }
.contact-panel .panel-social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.22); color: var(--panel-ink); transition: background 0.2s; }
.contact-panel .panel-social a:hover { background: rgba(255,255,255,0.28); }
.contact-panel .panel-social svg { width: 20px; height: 20px; }
.contact-form-side { padding: clamp(28px, 4vw, 48px); background: var(--bg-elev); }
.contact-form-side .form-card { background: transparent; border: 0; box-shadow: none; padding: 0; }
.contact-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .about-split, .approach-layout { grid-template-columns: 1fr; }
  .approach-layout .media-frame { order: -1; }
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .contact-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 4px; padding: 16px var(--gutter) 26px; background: var(--bg-elev); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform 0.4s var(--ease); margin-left: 0; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 14px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  /* Hide the header CTA on mobile — it overflows the row; Contact stays in the menu */
  .nav-tools .btn-primary { display: none; }
  .nav-tools { gap: 8px; }
}
@media (max-width: 640px) {
  .hero--photo { min-height: auto; padding-block: clamp(60px, 12vw, 104px); }
  .hero--photo .hero-bg img { object-position: center 32%; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .contact-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
  .cookie { flex-direction: column; align-items: stretch; }
  .cookie .cookie-actions .btn { flex: 1; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .cookie { transition: opacity 0.3s; }
}
