/* Ideon Solutions — tokens from the Ideon design system */
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-700.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --surface: #F4F5F7;
  --surface-raised: #FFFFFF;
  --ink: #0B0D12;
  --muted: #5B6270;
  --border: #E3E6EB;
  --brand-ink: #0B0D12;
  --graphite: #1A1E27;
  --signal: #3B5BFF;
  --signal-hover: #2A44D6;
  --signal-text-dark: #7C93FF;
  --signal-tint: #E6EBFF;
  --on-dark: #F4F5F7;
  --on-dark-muted: #A3AAB8;
  --on-dark-soft: #C7CCD6;
  --font-display: "Space Grotesk", "Inter Display", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.5; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
a { color: var(--signal); }
a:hover { color: var(--signal-hover); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface-raised); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.band { background: var(--surface-raised); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* type */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.h-display { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.75rem, 6vw, 5.25rem); letter-spacing: -.045em; line-height: .98; }
.h-section { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.25rem, 4vw, 3.5rem); letter-spacing: -.035em; line-height: 1; }
.h-card { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
.lead { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* logo */
.logo { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 700; letter-spacing: -.05em; line-height: 1; text-decoration: none; color: inherit; }
.logo:hover { color: inherit; }
.logo svg { margin: .17em .03em 0 .07em; width: .74em; height: .74em; }
.logo .ring { fill: none; stroke: currentColor; stroke-width: 11; }
.logo .spark { fill: var(--signal); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: var(--radius-pill); font-weight: 600; font-size: 16px; text-decoration: none; transition: background-color .15s ease, border-color .15s ease; }
.btn-primary { background: var(--signal); color: #FFFFFF; }
.btn-primary:hover { background: var(--signal-hover); color: #FFFFFF; }
.btn-ghost { border: 1.5px solid #3A414F; color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--on-dark-muted); color: var(--on-dark); }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 15px; }

/* hero */
.hero { background: var(--brand-ink); color: var(--on-dark); overflow: hidden; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 20px; padding-top: 28px; }
.nav .logo { font-size: 30px; color: var(--on-dark); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 15px; }
.nav-links a:not(.btn) { color: var(--on-dark-soft); text-decoration: none; padding: 12px 0; }
.nav-links a:not(.btn):hover { color: var(--on-dark); }
.hero-body { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding: 96px 0 104px; }
.hero-copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-copy .eyebrow { color: var(--signal-text-dark); }
.hero-sub { font-size: 19px; line-height: 1.55; color: var(--on-dark-muted); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.promise { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--on-dark-soft); }
.promise::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); flex-shrink: 0; }
.hero-art { flex: 1 1 280px; display: flex; justify-content: center; }
.hero-art svg { width: 340px; height: auto; }

/* payments */
.pay { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding: 28px 24px; }
.pay-title { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.chips li { background: var(--signal-tint); padding: 10px 18px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; }

/* section heads */
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 48px; }
.head-text { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.head .lead { max-width: 360px; }

/* grids and cards */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.card .icon { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.project { display: flex; flex-direction: column; gap: 14px; }
.project img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface); }
.project h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.project p { font-size: 15px; line-height: 1.55; color: var(--muted); }

.steps { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); padding: 0; list-style: none; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid var(--ink); }
.step-num { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--signal); }
.steps p { font-size: 15px; line-height: 1.6; color: var(--muted); }

.plan { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.plan-dark { background: var(--brand-ink); color: var(--on-dark); border-color: var(--brand-ink); }
.plan-dark .lead { color: var(--on-dark-muted); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.badge { background: var(--signal); color: #FFFFFF; padding: 6px 12px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; }
.plan ul { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; }
.center { display: flex; justify-content: center; margin-top: 48px; }

/* contact */
.cta { background: var(--brand-ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cta-copy h2 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); letter-spacing: -.04em; }
.cta-copy p { font-size: 18px; line-height: 1.55; color: var(--on-dark-muted); }
.cta-actions { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-actions .mail { color: var(--signal-text-dark); font-size: 15px; padding: 10px 0; }
.cta-actions .mail:hover { color: var(--on-dark); }

/* footer */
.footer { border-top: 1px solid var(--border); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 36px 24px; font-size: 14px; color: var(--muted); }
.footer .logo { font-size: 24px; color: var(--ink); }
.footer a:not(.logo) { color: var(--muted); padding: 12px 0; }

/* 404 */
.notfound { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 24px; }

/* sticky WhatsApp bar (phones only) */
.mobile-cta { display: none; }

/* ---------- Phones and small tablets ---------- */
@media (max-width: 720px) {
  body { padding-bottom: 88px; }
  .wrap { padding: 0 20px; }

  /* nav: logo + one button */
  .nav { flex-wrap: nowrap; padding-top: 18px; }
  .nav .logo { font-size: 26px; }
  .nav-links a:not(.btn) { display: none; }
  .btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

  /* hero */
  .hero-body { padding: 52px 0 60px; gap: 0; }
  .hero-copy { gap: 20px; }
  .hero-art { display: none; }
  .h-display { font-size: 46px; line-height: 1; letter-spacing: -.04em; }
  .hero-sub { font-size: 17px; }
  .hero-ctas { flex-direction: column; gap: 10px; padding-top: 4px; }
  .hero-ctas .btn { width: 100%; min-height: 52px; }
  .promise { font-size: 14px; }

  /* payments: one swipeable row */
  .pay { padding: 22px 0 22px 20px; gap: 14px; }
  .pay-title { font-size: 18px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-right: 20px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips li { white-space: nowrap; flex-shrink: 0; }

  /* sections */
  .section { padding: 64px 0; }
  .head { margin-bottom: 28px; gap: 12px; }
  .h-section { font-size: 34px; letter-spacing: -.03em; }
  .head .lead { font-size: 15px; }

  /* cards become swipeable carousels with the next card peeking */
  .grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -20px;
    padding: 0 20px 4px;
    scroll-padding: 0 20px;
    scrollbar-width: none;
  }
  .grid::-webkit-scrollbar { display: none; }
  .grid > * { scroll-snap-align: start; }
  .card, .plan { padding: 24px; gap: 12px; }
  .card .icon { width: 32px; height: 32px; }
  .h-card { font-size: 20px; }
  .lead { font-size: 15px; }
  .center { margin-top: 28px; }
  .center .btn { width: 100%; min-height: 52px; }

  /* steps: compact 2x2 */
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .steps li { padding-top: 14px; gap: 8px; }
  .steps .h-card { font-size: 18px; }
  .steps p { font-size: 14px; }

  /* contact */
  .cta { padding: 32px 24px; gap: 24px; }
  .cta-copy h2 { font-size: 34px; }
  .cta-copy p { font-size: 16px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; min-height: 52px; }

  /* footer */
  .footer-row { flex-direction: column; align-items: flex-start; gap: 6px; padding: 32px 20px; }

  /* sticky WhatsApp bar */
  .mobile-cta {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 16px; right: 16px; bottom: max(14px, env(safe-area-inset-bottom));
    min-height: 54px; border-radius: var(--radius-pill);
    background: var(--signal); color: #FFFFFF; font-weight: 600; font-size: 16px; text-decoration: none;
    box-shadow: 0 8px 24px rgba(11, 13, 18, .28); z-index: 20;
  }
  .mobile-cta:hover { color: #FFFFFF; background: var(--signal-hover); }
  .mobile-cta svg { width: 20px; height: 20px; fill: currentColor; }
}

@media (max-width: 360px) {
  .h-display { font-size: 40px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
