@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --red: #e8202a;
  --red-soft: #fdeaea;
  --blue: #2b8cf3;
  --blue-soft: #e7f2fe;
  --green: #74cf4c;
  --green-soft: #ecf8e6;
  --ink: #16181d;
  --ink-2: #4a505c;
  --muted: #646a75;
  --red-ink: #c4161f;
  --line: #e7e9ee;
  --bg: #ffffff;
  --bg-tint: #f7f8fb;
  --surface: #ffffff;
  --field: #f7f8fb;
  --nav-bg: rgba(255, 255, 255, .85);
  --green-ink: #3f9a1c;
  --contact-bg: #16181d;
  --contact-line: transparent;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(22, 24, 29, .18);
  --grad: linear-gradient(90deg, var(--red), #f39a3c 35%, var(--green) 65%, var(--blue));
  color-scheme: light;
}

/* Dark theme: follows the OS unless the visitor picked one (data-theme on <html>). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --red: #ff4b52;
    --red-soft: rgba(255, 75, 82, .14);
    --blue: #4ea1ff;
    --blue-soft: rgba(78, 161, 255, .14);
    --green: #86dc5e;
    --green-soft: rgba(134, 220, 94, .14);
    --green-ink: #86dc5e;
  --red-ink: #ff6b70;
    --ink: #eef0f4;
    --ink-2: #b4bac6;
    --muted: #8a919e;
    --line: #2a2f39;
    --bg: #0f1115;
    --bg-tint: #151820;
    --surface: #1a1e26;
    --field: #12151b;
    --nav-bg: rgba(15, 17, 21, .82);
    --contact-bg: #151820;
    --contact-line: #2a2f39;
    --shadow: 0 14px 34px -14px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --red: #ff4b52;
  --red-soft: rgba(255, 75, 82, .14);
  --blue: #4ea1ff;
  --blue-soft: rgba(78, 161, 255, .14);
  --green: #86dc5e;
  --green-soft: rgba(134, 220, 94, .14);
  --green-ink: #86dc5e;
  --red-ink: #ff6b70;
  --ink: #eef0f4;
  --ink-2: #b4bac6;
  --muted: #8a919e;
  --line: #2a2f39;
  --bg: #0f1115;
  --bg-tint: #151820;
  --surface: #1a1e26;
  --field: #12151b;
  --nav-bg: rgba(15, 17, 21, .82);
  --contact-bg: #151820;
  --contact-line: #2a2f39;
  --shadow: 0 14px 34px -14px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-2); }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.red { color: var(--red); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--red-ink);
  background: var(--red-soft);
  padding: .35em .9em; border-radius: 999px;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 700;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: #d81b24; color: #fff; box-shadow: 0 8px 20px -8px rgba(232, 32, 42, .6); }
.btn--primary:hover { background: #b9151d; }
.btn--ghost { border-color: var(--line); background: var(--surface); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--sm { padding: .55em 1.1em; font-size: .92rem; }
.btn--block { width: 100%; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px -12px rgba(0,0,0,.15); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 1.15rem; font-weight: 800; }
.brand__text small { font-size: .72rem; color: var(--muted); font-weight: 500; }
.nav__menu { display: flex; align-items: center; gap: 1.6rem; font-weight: 600; font-size: .95rem; }
.nav__menu a:not(.btn) { color: var(--ink-2); transition: color .2s; }
.nav__menu a:not(.btn):hover { color: var(--red); }
.nav__menu { margin-left: auto; }
.nav__actions { display: flex; align-items: center; gap: .5rem; margin-left: 1.25rem; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.theme-toggle:hover { color: var(--red); border-color: var(--red); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-sun { display: none; }
[data-theme-effective="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme-effective="dark"] .theme-toggle .icon-moon { display: none; }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 9vw, 7rem); }
.hero__blob { position: absolute; border-radius: 50%; pointer-events: none; }
.hero__blob--red { width: 380px; height: 380px; background: radial-gradient(closest-side, var(--red), transparent); top: -120px; right: 10%; opacity: .16; }
.hero__blob--blue { width: 420px; height: 420px; background: radial-gradient(closest-side, var(--blue), transparent); bottom: -180px; right: -100px; opacity: .2; }
.hero__blob--green { width: 300px; height: 300px; background: radial-gradient(closest-side, var(--green), transparent); top: 40%; left: -140px; opacity: .2; }
.hero__inner { position: relative; display: flex; justify-content: center; text-align: center; }
.hero__copy { max-width: 780px; }
.lead { font-size: 1.12rem; max-width: 36em; margin-inline: auto; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin: 2rem 0 2.5rem; }
.hero__stats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 1.2rem; }
.hero__stats span { font-size: .88rem; color: var(--muted); }

/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section--tint { background: var(--bg-tint); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }

.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { margin: 0; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.2rem; }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card__icon--red { background: var(--red-soft); color: var(--red); }
.card__icon--blue { background: var(--blue-soft); color: var(--blue); }
.card__icon--green { background: var(--green-soft); color: var(--green-ink); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; }
.checks li { position: relative; padding-left: 2rem; font-weight: 500; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: .1em;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  display: grid; place-items: center; font-size: .75rem; font-weight: 800;
  background: var(--green-soft); color: var(--green-ink);
}
.about__values { display: grid; gap: 1rem; }
.value { background: var(--surface); border-radius: var(--radius); padding: 1.5rem 1.75rem; border-left: 5px solid; box-shadow: 0 2px 10px -6px rgba(0,0,0,.12); }
.value p { margin: 0; }
.value h3 { margin-bottom: .3em; font-size: 1.3rem; }
.value--red { border-color: var(--red); } .value--red h3 { color: var(--red); }
.value--blue { border-color: var(--blue); } .value--blue h3 { color: var(--blue); }
.value--green { border-color: var(--green); } .value--green h3 { color: var(--green-ink); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; }
.step { position: relative; padding: 1.75rem; border-radius: var(--radius); background: var(--bg-tint); }
.step p { margin: 0; }
.step__num { display: inline-block; font-weight: 800; font-size: 2rem; margin-bottom: .5rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Contact */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
  background: var(--contact-bg); color: #fff; border-radius: 28px; border: 1px solid var(--contact-line);
  padding: clamp(2rem, 5vw, 4rem); position: relative; overflow: hidden;
}
.contact::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad);
}
.contact h2 { color: #fff; }
.contact p { color: #b9bec9; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact__list li { display: flex; flex-direction: column; color: #fff; font-weight: 600; }
.contact__list span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #8a909c; font-weight: 600; }
.contact__list a:hover { color: var(--green); }
.socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; font-size: .9rem; text-transform: none; letter-spacing: 0; color: #fff; }
.socials a { padding: .35em .9em; border: 1px solid #3a3f4a; border-radius: 999px; }
.socials a:hover { border-color: var(--green); }
.footer__tag { margin: 0; font-weight: 700; color: var(--ink-2); }
.form { display: grid; gap: 1rem; background: var(--surface); color: var(--ink); padding: 1.75rem; border-radius: var(--radius); }
.form label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 600; }
.form input, .form textarea {
  font: inherit; font-weight: 400; padding: .75em 1em; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--field); color: var(--ink); resize: vertical; transition: border-color .2s, background .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: var(--surface); }
.form__note { margin: 0; font-size: .9rem; color: var(--green-ink); min-height: 1.2em; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 2.5rem 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand--footer img { width: 40px; height: 40px; }
.footer__links { display: flex; gap: 1.5rem; font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.footer__links a:hover { color: var(--red); }
.footer__copy { margin: 0; font-size: .85rem; color: var(--muted); width: 100%; text-align: center; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* Products */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.product {
  background: var(--surface); border-radius: 24px; padding: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 6px solid; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.product--red { border-color: var(--red); }
.product--blue { border-color: var(--blue); }
.product h3 { font-size: 1.9rem; font-weight: 800; margin: .4rem 0 0; }
.product--red h3 { color: var(--red); }
.product--blue h3 { color: var(--blue); }
.product__badge { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.product__lead { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 1rem 0 .6rem; }
.product .checks { margin: .5rem 0 2rem; }
.product .btn { margin-top: auto; align-self: flex-start; }
.btn--blue { background: #1a73d9; color: #fff; box-shadow: 0 8px 20px -8px rgba(43, 140, 243, .6); }
.btn--blue:hover { background: #1564c0; }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 960px; margin-inline: auto; }
.client {
  display: flex; align-items: flex-start; gap: 1.25rem;
  padding: 1.5rem 1.75rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
a.client:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.client__mark {
  flex: none; width: 64px; height: 64px; border-radius: 16px;
  display: grid; place-items: center; font-weight: 800; font-size: .95rem; letter-spacing: .02em;
}
.client__mark--green { background: var(--green-soft); color: var(--green-ink); }
.client__mark--red { background: var(--red-soft); color: var(--red); }
.client__mark--blue { background: var(--blue-soft); color: var(--blue); }
.client__text { display: flex; flex-direction: column; }
.client__text strong { font-size: 1.05rem; line-height: 1.3; }
.client__text small { color: var(--muted); font-size: .85rem; margin-top: .25rem; }
.client__work {
  margin-top: .6rem; padding-top: .6rem; border-top: 1px dashed var(--line);
  font-size: .9rem; font-weight: 600; color: var(--ink-2); line-height: 1.45;
}

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 960px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about, .contact, .products, .clients { grid-template-columns: 1fr; }
  .about { gap: 2.5rem; }
}
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__actions { margin-left: 0; }
  .nav__menu {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .5rem 16px 1rem;
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav__menu .btn { margin-top: 1rem; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .grid--3, .steps { grid-template-columns: 1fr; }
  .card { padding: 1.5rem; }
  .hero__stats { gap: 1.25rem; }
  .footer__inner { flex-direction: column; text-align: center; }
}
