/* ============================================================
   ChargebackWiz — marketing site (v2: richer + animated)
   Default theme = Trust Blue (white + blue). Switch via
   [data-theme] on <html>: trust | midnight | growth | gradient
   ============================================================ */

/* ---------- Theme: Trust (default) — white + blue ---------- */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f8ff;
  --surface: #ffffff;
  --surface-2: #eef4ff;
  --heading: #0a1633;
  --text: #33415c;
  --text-muted: #5f6f8c;
  --primary: #2f5cff;
  --primary-strong: #1c40e6;
  --primary-contrast: #ffffff;
  --primary-soft: #e6eeff;
  --accent: #12b981;
  --accent-soft: #e2f7ef;
  --warn: #f5a524;
  --danger: #ef4444;
  --border: #e6ecf7;
  --shadow: 0 12px 34px -14px rgba(20, 45, 100, 0.20);
  --shadow-lg: 0 40px 80px -24px rgba(20, 45, 100, 0.32);
  --radius: 18px;
  --grad: linear-gradient(135deg, #2f5cff 0%, #6f8cff 60%, #22a6ff 100%);
  --grad-text: linear-gradient(100deg, #2f5cff, #22a6ff, #6f8cff, #2f5cff);
  --blob-1: #cfe0ff;
  --blob-2: #d6fff0;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
[data-theme="midnight"] {
  --bg: #070a14;
  --bg-alt: #0c1122;
  --surface: #111834;
  --surface-2: #0e1530;
  --heading: #f4f7ff;
  --text: #c7d2e8;
  --text-muted: #8593b1;
  --primary: #6d8bff;
  --primary-strong: #8aa2ff;
  --primary-contrast: #060912;
  --primary-soft: #18214180;
  --accent: #34e6a8;
  --accent-soft: #10241f;
  --border: #1e2748;
  --shadow: 0 12px 34px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 44px 90px -24px rgba(0, 0, 0, 0.72);
  --grad: linear-gradient(135deg, #6d8bff 0%, #34e6a8 120%);
  --grad-text: linear-gradient(100deg, #6d8bff, #34e6a8, #22a6ff, #6d8bff);
  --blob-1: #17244d;
  --blob-2: #102a2a;
}
[data-theme="growth"] {
  --bg: #ffffff;
  --bg-alt: #f1fbf4;
  --surface: #ffffff;
  --surface-2: #eafaef;
  --heading: #06251c;
  --text: #143a2e;
  --text-muted: #4d6a5f;
  --primary: #0a9d5a;
  --primary-strong: #067f47;
  --primary-contrast: #ffffff;
  --primary-soft: #dcf5e7;
  --accent: #0f766e;
  --accent-soft: #dbf3f0;
  --border: #d6ecdd;
  --shadow: 0 12px 34px -14px rgba(6, 60, 40, 0.20);
  --shadow-lg: 0 40px 80px -24px rgba(6, 60, 40, 0.30);
  --grad: linear-gradient(135deg, #0a9d5a 0%, #35d07f 100%);
  --grad-text: linear-gradient(100deg, #0a9d5a, #35d07f, #10b981, #0a9d5a);
  --blob-1: #cbf3d9;
  --blob-2: #d4f7ee;
}
[data-theme="gradient"] {
  --bg: #ffffff;
  --bg-alt: #f9f5ff;
  --surface: #ffffff;
  --surface-2: #f4ecff;
  --heading: #1a0f2e;
  --text: #2b2140;
  --text-muted: #6c6383;
  --primary: #7c3aed;
  --primary-strong: #6820d9;
  --primary-contrast: #ffffff;
  --primary-soft: #efe6ff;
  --accent: #ec4899;
  --accent-soft: #fde7f1;
  --border: #ece0fb;
  --shadow: 0 12px 34px -14px rgba(80, 30, 140, 0.22);
  --shadow-lg: 0 40px 84px -22px rgba(80, 30, 140, 0.34);
  --grad: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  --grad-text: linear-gradient(100deg, #7c3aed, #ec4899, #22a6ff, #7c3aed);
  --blob-1: #ecd9ff;
  --blob-2: #ffd9ee;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
}
h1, h2, h3, h4 { color: var(--heading); line-height: 1.12; margin: 0 0 0.4em; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--primary); text-decoration: none; }

.container { width: min(1160px, 92vw); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--primary); background: var(--primary-soft);
  padding: 0.35rem 0.75rem; border-radius: 999px; margin-bottom: 1rem;
}
.section-head { max-width: 660px; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.1rem; }
.lead { font-size: 1.18rem; color: var(--text-muted); }
.grad-text {
  background: var(--grad-text);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 7s ease infinite;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 650; font-size: 0.98rem;
  padding: 0.82rem 1.4rem; border-radius: 13px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.2s ease; white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--primary); color: var(--primary-contrast); box-shadow: var(--shadow); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
}
.btn-primary:hover { background: var(--primary-strong); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.btn-primary:hover::after { transform: translateX(120%); transition: transform 0.7s ease; }
.btn-ghost { background: var(--surface); color: var(--heading); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn-lg { padding: 1.02rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 100;
  background: var(--grad); box-shadow: 0 0 12px var(--primary);
}

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--grad); color: #fff; text-align: center; font-size: 0.85rem;
  font-weight: 550; padding: 0.5rem 1rem; letter-spacing: 0.01em;
}
.announce a { color: #fff; text-decoration: underline; font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 1.18rem; color: var(--heading); }
.brand .mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--grad); display: grid; place-items: center;
  color: #fff; font-size: 1.15rem; box-shadow: var(--shadow); animation: floaty 5s ease-in-out infinite;
}
.nav-links { display: flex; gap: 1.7rem; font-size: 0.95rem; font-weight: 550; }
.nav-links a { color: var(--text-muted); position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--primary); transition: width 0.25s ease; }
.nav-links a:hover { color: var(--heading); }
.nav-links a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 0.8rem; }

/* ---------- Theme switcher ---------- */
.theme-switch { display: inline-flex; gap: 5px; padding: 5px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; }
.theme-btn { width: 22px; height: 22px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; transition: transform 0.15s ease, border-color 0.15s ease; }
.theme-btn:hover { transform: scale(1.15); }
.theme-btn[aria-pressed="true"] { border-color: var(--heading); }
.theme-btn.t-trust { background: linear-gradient(135deg, #2f5cff, #22a6ff); }
.theme-btn.t-midnight { background: linear-gradient(135deg, #0c1122, #6d8bff); }
.theme-btn.t-growth { background: linear-gradient(135deg, #0a9d5a, #35d07f); }
.theme-btn.t-gradient { background: linear-gradient(135deg, #7c3aed, #ec4899); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3.5rem, 8vw, 5.5rem); border-bottom: 1px solid var(--border); overflow: hidden; }
.hero-blobs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.7; }
.blob.b1 { width: 520px; height: 520px; background: var(--blob-1); top: -160px; right: -120px; animation: blob 18s ease-in-out infinite; }
.blob.b2 { width: 460px; height: 460px; background: var(--blob-2); bottom: -180px; left: -140px; animation: blob 22s ease-in-out infinite reverse; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); padding: 0.42rem 0.85rem; border-radius: 999px; margin-bottom: 1.4rem; box-shadow: var(--shadow); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2s infinite; }
.hero-cta { display: flex; gap: 0.8rem; margin: 1.7rem 0 1rem; flex-wrap: wrap; }
.hero-note { font-size: 0.9rem; color: var(--text-muted); }

/* Hero visual — mock dashboard */
.hero-visual { position: relative; perspective: 1200px; }
.mock {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 1.4rem; position: relative; z-index: 2; transition: transform 0.2s ease; transform-style: preserve-3d;
  animation: floaty 6s ease-in-out infinite;
}
.mock-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.mock-title { font-weight: 700; color: var(--heading); }
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 0.78rem 0; border-top: 1px solid var(--border); font-size: 0.92rem; }
.mock-row .label { color: var(--text-muted); }
.mock-row .val { font-weight: 650; color: var(--heading); }
.badge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; font-weight: 700; padding: 0.3rem 0.62rem; border-radius: 999px; }
.badge-success { color: var(--accent); background: var(--accent-soft); }
.badge-warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 16%, transparent); }
.mock-cta { margin-top: 1rem; background: var(--grad); color: #fff; text-align: center; padding: 0.8rem; border-radius: 12px; font-weight: 700; font-size: 0.95rem; }
.mock-float {
  position: absolute; right: -18px; bottom: -24px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 15px; box-shadow: var(--shadow-lg); padding: 0.85rem 1.05rem; display: flex; align-items: center; gap: 0.65rem;
  z-index: 3; animation: floaty 6s ease-in-out infinite 0.8s;
}
.mock-float .big { font-size: 1.4rem; font-weight: 800; color: var(--heading); }
.mock-toast {
  position: absolute; left: -26px; top: 26px; z-index: 3; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow-lg); padding: 0.6rem 0.85rem; font-size: 0.8rem; font-weight: 600;
  color: var(--heading); display: flex; align-items: center; gap: 0.5rem; animation: floaty 7s ease-in-out infinite 1.4s;
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--border); background: var(--surface); padding: 0.9rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text-muted); font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.marquee-track span::before { content: "⚖"; color: var(--primary); }

/* ---------- Animated stats band ---------- */
.stats-band .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.stat { text-align: center; padding: 1.2rem 0.6rem; border-radius: var(--radius); }
.stat .stat-num { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; color: var(--heading); line-height: 1; }
.stat .stat-cap { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.5rem; }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }
.ico { width: 52px; height: 52px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 1.1rem; box-shadow: var(--shadow); }
.ico svg { width: 26px; height: 26px; }
.card p { color: var(--text-muted); margin-bottom: 0; }
.step { position: relative; }
.step .stepnum { position: absolute; top: 1.2rem; right: 1.4rem; font-size: 2.6rem; font-weight: 800; color: var(--primary-soft); line-height: 1; }

/* ---------- Comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.compare .card h3 { display: flex; align-items: center; gap: 0.5rem; }
.compare ul { margin: 0.6rem 0 0; padding: 0; list-style: none; }
.compare li { display: flex; gap: 0.6rem; padding: 0.55rem 0; color: var(--text-muted); border-top: 1px dashed var(--border); }
.compare li:first-child { border-top: none; }
.tick { color: var(--accent); font-weight: 800; }
.cross { color: var(--danger); font-weight: 800; }
.card.highlight { border-color: var(--primary); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.card.highlight::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }

/* ---------- Pricing ---------- */
.model-toggle { display: flex; justify-content: center; gap: 0.4rem; margin-bottom: 1.4rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 5px; width: fit-content; margin-inline: auto; }
.model-btn { border: none; background: transparent; color: var(--text-muted); font-weight: 650; font-size: 0.95rem; padding: 0.55rem 1.2rem; border-radius: 999px; cursor: pointer; transition: all 0.2s ease; }
.model-btn[aria-selected="true"] { background: var(--surface); color: var(--heading); box-shadow: var(--shadow); }
.pricing-toggle { display: flex; justify-content: center; align-items: center; gap: 0.8rem; margin-bottom: 2.2rem; font-weight: 600; color: var(--text-muted); }
.switch { position: relative; width: 52px; height: 28px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); cursor: pointer; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); transition: transform 0.2s ease; }
.switch[aria-checked="true"]::after { transform: translateX(24px); }
.save-tag { font-size: 0.75rem; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 0.2rem 0.5rem; border-radius: 999px; }
.pricing-panel[hidden] { display: none; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.price-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.9rem; display: flex; flex-direction: column; position: relative; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.price-card.popular { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.popular-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 0.3rem 0.85rem; border-radius: 999px; letter-spacing: 0.04em; }
.price-name { font-size: 1.18rem; font-weight: 700; color: var(--heading); }
.price-desc { font-size: 0.9rem; color: var(--text-muted); min-height: 2.6em; }
.price { font-size: 2.7rem; font-weight: 800; color: var(--heading); margin: 0.6rem 0 0.1rem; }
.price small { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.price-billing { font-size: 0.82rem; color: var(--text-muted); }
.price-feats { list-style: none; padding: 0; margin: 1.2rem 0; flex: 1; }
.price-feats li { display: flex; gap: 0.6rem; padding: 0.42rem 0; font-size: 0.94rem; color: var(--text); }
.trial-note { text-align: center; margin-top: 1.7rem; color: var(--text-muted); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq-item { border: 1px solid var(--border); border-radius: 13px; background: var(--surface); margin-bottom: 0.85rem; overflow: hidden; transition: border-color 0.2s ease; }
.faq-item.open { border-color: var(--primary); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 1.15rem 1.35rem; font-size: 1.02rem; font-weight: 650; color: var(--heading); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q .chev { transition: transform 0.25s ease; color: var(--primary); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--text-muted); }
.faq-a-inner { padding: 0 1.35rem 1.25rem; }

/* ---------- CTA band ---------- */
.cta-band .inner { position: relative; background: var(--grad); background-size: 200% 200%; animation: gradShift 8s ease infinite; border-radius: 26px; padding: clamp(2.6rem, 5vw, 4.2rem); text-align: center; color: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.92); max-width: 580px; margin-inline: auto; }
.cta-band .btn-primary { background: #fff; color: var(--primary-strong); }
.cta-band .btn-primary:hover { background: #eef2ff; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 3.2rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-grid h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--text-muted); font-size: 0.94rem; }
.footer-links a:hover { color: var(--heading); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 0.88rem; flex-wrap: wrap; gap: 0.5rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.2,0.7,0.2,1), transform 0.7s cubic-bezier(0.2,0.7,0.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes blob { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-20px) scale(1.08); } 66% { transform: translate(-20px,20px) scale(0.96); } }
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin-inline: auto; }
  .grid-3, .price-grid { grid-template-columns: 1fr; }
  .price-grid.two { grid-template-columns: 1fr; }
  .compare, .grid-2 { grid-template-columns: 1fr; }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-band .container { grid-template-columns: 1fr 1fr; }
  .header-actions .btn { padding: 0.6rem 0.9rem; font-size: 0.9rem; }
  .brand { font-size: 1.05rem; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2.2rem; align-items: start; }
.contact-info h3 { margin-bottom: 0.4rem; }
.contact-info > p { color: var(--text-muted); }
.contact-line { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 650; color: var(--heading); margin: 0.7rem 0 1.4rem; padding: 0.7rem 1rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); transition: border-color 0.15s ease; }
.contact-line .ico-sm { color: var(--primary); font-size: 1.1rem; }
.contact-line:hover { border-color: var(--primary); }
.contact-points { list-style: none; padding: 0; margin: 0; }
.contact-points li { position: relative; padding: 0.35rem 0 0.35rem 1.6rem; color: var(--text-muted); }
.contact-points li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--heading); margin-bottom: 0.35rem; }
.field .opt { color: var(--text-muted); font-weight: 400; }
.field input, .field textarea { width: 100%; padding: 0.75rem 0.9rem; border: 1px solid var(--border); border-radius: 11px; background: var(--bg); color: var(--text); font-family: inherit; font-size: 0.95rem; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.field input.invalid, .field textarea.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 18%, transparent); }
.form-status { margin: 0.9rem 0 0; font-size: 0.9rem; min-height: 1.2em; font-weight: 600; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--danger); }

/* ---------- Mobile nav ---------- */
.nav-toggle { display: none; background: var(--surface); border: 1px solid var(--border); border-radius: 11px; width: 44px; height: 44px; cursor: pointer; flex-direction: column; gap: 4px; align-items: center; justify-content: center; padding: 0; }
.nav-toggle span { width: 20px; height: 2px; background: var(--heading); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .theme-switch { display: none; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg); padding: 0.4rem 6vw 1.1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.85rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
