/* ==========================================================================
   WebNex — style.css
   Concept "Signal": light editorial-tech, ink-navy punctuation bands,
   monospace utility face, electric-blue accent, cyan used sparingly.
   Pure CSS. No frameworks, no build step.
   --------------------------------------------------------------------------
   Table of contents:
     1.  Design tokens (:root)
     2.  Reset & base
     3.  Typography
     4.  Layout primitives (container, section, grid, eyebrow)
     5.  Buttons & links
     6.  Header / navigation
     7.  Hero + browser mockup
     8.  "Moment nou" cards
     9.  Services
     10. Static-advantage band (dark)
     11. Process timeline
     12. Performance & SEO
     13. Portfolio teaser
     14. Domain / hosting / publish
     15. FAQ accordion
     16. Final CTA
     17. Contact form
     18. Footer
     19. Portfolio page
     20. Legal / 404 pages
     21. Reveal animations & motion
     22. Responsive
   ========================================================================== */

/* 1. DESIGN TOKENS ======================================================== */
:root {
  /* Ink / dark */
  --ink:        #0b1220;
  --ink-2:      #111b2e;
  --ink-soft:   #1a2740;

  /* Text on light */
  --text:       #141c29;
  --slate:      #37414f;
  --muted:      #5b6675;
  --muted-2:    #8b94a3;

  /* Surfaces */
  --bg:         #ffffff;
  --panel:      #f5f7fb;
  --panel-2:    #eef2f8;
  --line:       #e5e9f1;
  --line-2:     #eef1f7;

  /* Accents */
  --azur:       #1b5cff;   /* primary electric blue */
  --azur-ink:   #1447cc;   /* darker blue for hover / text on light */
  --azur-soft:  #eaf0ff;   /* tint background */
  --cyan:       #00c2d1;   /* secondary, used sparingly */

  /* Feedback */
  --ok:         #1f9d63;
  --err:        #d64545;

  /* On-dark text */
  --on-dark:        #eef2f8;
  --on-dark-muted:  #9aa6ba;
  --on-dark-line:   rgba(255,255,255,.10);

  /* Typography */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Fluid type scale */
  --fs-eyebrow: .78rem;
  --fs-small:   .9rem;
  --fs-body:    1.02rem;
  --fs-lead:    clamp(1.08rem, 1rem + .5vw, 1.28rem);
  --fs-h3:      clamp(1.15rem, 1.05rem + .5vw, 1.4rem);
  --fs-h2:      clamp(1.7rem, 1.3rem + 1.8vw, 2.6rem);
  --fs-h1:      clamp(2.2rem, 1.5rem + 3.4vw, 3.9rem);

  /* Spacing */
  --space-section: clamp(4rem, 3rem + 5vw, 7rem);
  --gap:        clamp(1rem, .6rem + 1.4vw, 1.6rem);

  /* Radius */
  --r-sm:  10px;
  --r:     16px;
  --r-lg:  24px;
  --r-pill: 999px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.06);
  --sh-2: 0 6px 20px -8px rgba(16,24,40,.18);
  --sh-3: 0 24px 60px -22px rgba(16,24,40,.30);
  --sh-focus: 0 0 0 3px rgba(27,92,255,.35);

  /* Layout */
  --container: 1160px;
  --container-narrow: 820px;

  --header-h: 68px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* 2. RESET & BASE ======================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
svg { fill: currentColor; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul { list-style: none; padding: 0; }
:focus-visible {
  outline: 3px solid var(--azur);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-small);
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; }

/* 3. TYPOGRAPHY ========================================================== */
h1, h2, h3, h4 {
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: -.033em; }
h2 { font-size: var(--fs-h2); letter-spacing: -.028em; }
h3 { font-size: var(--fs-h3); letter-spacing: -.018em; }
p  { color: var(--slate); }
strong { color: var(--text); font-weight: 650; }

.lead { font-size: var(--fs-lead); color: var(--slate); line-height: 1.6; }

.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Eyebrow label — the recurring structural device */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--azur-ink);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--azur);
  border-radius: 2px;
}
.on-dark .eyebrow { color: #7fa8ff; }
.on-dark .eyebrow::before { background: var(--cyan); }

.text-accent { color: var(--azur-ink); }

/* 4. LAYOUT PRIMITIVES =================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, .6rem + 2vw, 2rem);
}
.container.narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--space-section); }
.section-head { max-width: 660px; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head h2 { margin-bottom: .9rem; }
.section-head p { font-size: var(--fs-lead); }

.grid { display: grid; gap: var(--gap); }

/* Dark band */
.on-dark {
  background: var(--ink);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p { color: var(--on-dark-muted); }
.on-dark strong { color: #fff; }

/* Panel band */
.on-panel { background: var(--panel); }

/* 5. BUTTONS & LINKS ==================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  padding: .92rem 1.4rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: transform .18s var(--ease), background .18s var(--ease),
              box-shadow .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  will-change: transform;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--azur);
  color: #fff;
  box-shadow: 0 8px 22px -10px rgba(27,92,255,.7);
}
.btn-primary:hover { background: var(--azur-ink); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(27,92,255,.75); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--azur); color: var(--azur-ink); transform: translateY(-2px); }

.on-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.22); }
.on-dark .btn-ghost:hover { border-color: var(--cyan); color: #fff; background: rgba(255,255,255,.04); }

.btn-wa {
  background: #ffffff;
  color: var(--text);
  border-color: var(--line);
}
.btn-wa:hover { border-color: #25d366; color: #128c3e; transform: translateY(-2px); }
.btn-wa svg { color: #25d366; width: 18px; height: 18px; }

.btn-lg { padding: 1.05rem 1.7rem; font-size: 1.02rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  color: var(--azur-ink);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Small feature chips */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--slate);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: .42rem .7rem;
  border-radius: var(--r-pill);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--azur); }
.on-dark .chip { color: var(--on-dark-muted); background: rgba(255,255,255,.04); border-color: var(--on-dark-line); }
.on-dark .chip .dot { background: var(--cyan); }

/* 6. HEADER ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--sh-1);
  background: rgba(255,255,255,.9);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; flex-shrink: 0; }
.brand svg { height: 26px; width: auto; }

.nav { display: flex; align-items: center; gap: .2rem; }
.nav a {
  padding: .5rem .8rem;
  border-radius: var(--r-sm);
  font-size: .95rem;
  font-weight: 500;
  color: var(--slate);
  transition: color .16s var(--ease), background .16s var(--ease);
}
.nav a:hover { color: var(--text); background: var(--panel); }
.nav a[aria-current="page"] { color: var(--azur-ink); }

.header-cta { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { border-color: var(--azur); }
.nav-toggle .bars { position: relative; width: 18px; height: 12px; }
.nav-toggle .bars span {
  position: absolute; left: 0; height: 2px; width: 100%;
  background: var(--text); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease), top .25s var(--ease);
}
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 5px; }
.nav-toggle .bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  width: 100vw;
  height: calc(100dvh - var(--header-h));
  z-index: 99;
  background: rgba(255,255,255,.98);
  padding: 1.4rem clamp(1.1rem, .6rem + 2vw, 2rem) 2rem;
  flex-direction: column;
  gap: .2rem;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a {
  padding: .95rem .4rem;
  font-size: 1.15rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu a[aria-current="page"] { color: var(--azur-ink); }
.mobile-menu .btn { margin-top: 1.2rem; width: 100%; }
body.menu-open { overflow: hidden; }

/* 7. HERO =============================================================== */
.hero { position: relative; padding-block: clamp(3rem, 2rem + 5vw, 6rem) var(--space-section); overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(to right, rgba(20,28,41,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20,28,41,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 60% 30%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 80% 60% at 60% 30%, #000 30%, transparent 78%);
}
.hero-glow {
  position: absolute; z-index: -1;
  width: 620px; height: 620px; right: -140px; top: -180px;
  background: radial-gradient(circle at center, rgba(27,92,255,.16), rgba(0,194,209,.05) 45%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 1.3rem; }
.hero-copy h1 { margin-bottom: 1.2rem; }
.hero-copy h1 .accent-line { color: var(--azur-ink); position: relative; white-space: nowrap; }
.hero-copy .lead { max-width: 40ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }
.hero-chips { gap: .5rem; }

/* Browser mockup — the signature element */
.mockup {
  position: relative;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(2.5deg);
  transform-origin: center;
}
.mockup-bar {
  display: flex; align-items: center; gap: .5rem;
  padding: .7rem .9rem;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.mockup-dots { display: flex; gap: .4rem; }
.mockup-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d7dde7; display: block; }
.mockup-url {
  flex: 1;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: .3rem .8rem;
  display: flex; align-items: center; gap: .4rem;
  overflow: hidden; white-space: nowrap;
}
.mockup-url svg { width: 11px; height: 11px; color: var(--ok); flex-shrink: 0; }
.mockup-view { padding: 1.1rem; display: grid; gap: .8rem; }
.mk-nav { display: flex; align-items: center; justify-content: space-between; }
.mk-logo { width: 62px; height: 12px; border-radius: 4px; background: var(--ink); }
.mk-menu { display: flex; gap: .5rem; }
.mk-menu span { width: 26px; height: 7px; border-radius: 4px; background: var(--line); display: block; }
.mk-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: .8rem; align-items: center; }
.mk-lines { display: grid; gap: .5rem; }
.mk-lines b { height: 12px; border-radius: 4px; background: var(--ink-soft); display: block; }
.mk-lines b:nth-child(1) { width: 92%; }
.mk-lines b:nth-child(2) { width: 74%; }
.mk-lines i { height: 8px; border-radius: 4px; background: var(--line); display: block; width: 100%; }
.mk-lines i:nth-child(4) { width: 60%; }
.mk-btn { height: 24px; width: 78px; border-radius: var(--r-pill); background: var(--azur); margin-top: .3rem; }
.mk-thumb {
  aspect-ratio: 1/1; border-radius: 12px;
  background:
    radial-gradient(circle at 30% 25%, rgba(0,194,209,.25), transparent 55%),
    linear-gradient(135deg, #eaf0ff, #dfe7ff);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.mk-thumb::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(27,92,255,.14) 1px, transparent 1px) 0 0/16px 16px,
    linear-gradient(to bottom, rgba(27,92,255,.14) 1px, transparent 1px) 0 0/16px 16px;
}
.mk-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: .6rem; }
.mk-card { height: 44px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); }

/* Floating badges on mockup */
.mockup-badge {
  position: absolute;
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .05em;
  text-transform: uppercase; font-weight: 600;
  background: #fff; border: 1px solid var(--line);
  padding: .4rem .65rem; border-radius: var(--r-pill);
  box-shadow: var(--sh-2); color: var(--text);
}
.mockup-badge svg { width: 13px; height: 13px; }
.mockup-badge.b1 { top: 14%; left: -30px; color: var(--azur-ink); }
.mockup-badge.b1 svg { color: var(--azur); }
.mockup-badge.b2 { bottom: 12%; right: -26px; color: #0e8a55; }
.mockup-badge.b2 svg { color: var(--ok); }

/* Trusted-by / logos strip -> replaced with capability strip */
.cap-strip {
  margin-top: clamp(2.4rem, 1.5rem + 3vw, 4rem);
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.cap {
  display: flex; flex-direction: column; gap: .2rem;
}
.cap b { font-size: 1.05rem; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.cap span { font-size: .84rem; color: var(--muted); }

/* 8. "MOMENT NOU" CARDS ================================================= */
.moment-grid { grid-template-columns: repeat(3, 1fr); }
.moment-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.7rem 1.5rem;
  position: relative;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.moment-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: #d5deea; }
.moment-icn {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--azur-soft); color: var(--azur-ink);
  margin-bottom: 1.1rem;
}
.moment-icn svg { width: 22px; height: 22px; }
.moment-card h3 { margin-bottom: .5rem; }
.moment-card .problem { color: var(--slate); margin-bottom: .9rem; }
.moment-card .solution {
  display: flex; gap: .55rem;
  font-size: .95rem;
  padding-top: .9rem;
  border-top: 1px dashed var(--line);
  color: var(--slate);
}
.moment-card .solution svg { width: 17px; height: 17px; color: var(--azur); flex-shrink: 0; margin-top: 3px; }
.moment-card .solution b { color: var(--text); }

/* 9. SERVICES =========================================================== */
.services-grid { grid-template-columns: repeat(3, 1fr); }
.service {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem 1.4rem;
  display: flex; flex-direction: column; gap: .55rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.service:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: #d5deea; }
.service-top { display: flex; align-items: center; gap: .7rem; margin-bottom: .3rem; }
.service-icn {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--panel); color: var(--azur-ink);
  border: 1px solid var(--line);
}
.service-icn svg { width: 20px; height: 20px; }
.service h3 { font-size: 1.1rem; }
.service p { font-size: .95rem; margin: 0; }
.service .tag {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
  padding-top: .8rem;
}
.service.featured { border-color: var(--azur); box-shadow: 0 0 0 1px var(--azur), var(--sh-2); }
.service.featured .service-icn { background: var(--azur); color: #fff; border-color: var(--azur); }

.services-note {
  margin-top: 1.4rem;
  font-size: .92rem;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: .5rem;
}
.services-note svg { width: 16px; height: 16px; color: var(--azur); }

/* 10. STATIC ADVANTAGE (dark band) ===================================== */
.adv-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem,1rem+4vw,4rem); align-items: center; }
.adv-list { display: grid; gap: .2rem; }
.adv-item {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--on-dark-line);
}
.adv-item:last-child { border-bottom: 0; }
.adv-item .num {
  font-family: var(--font-mono); font-size: .78rem;
  color: var(--cyan); flex-shrink: 0; padding-top: 3px; min-width: 26px;
}
.adv-item h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.adv-item p { font-size: .95rem; margin: 0; }
.adv-note {
  margin-top: 1.6rem; padding: 1rem 1.1rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--on-dark-line);
  border-radius: var(--r);
  font-size: .92rem; color: var(--on-dark-muted);
  display: flex; gap: .6rem;
}
.adv-note svg { width: 18px; height: 18px; color: var(--cyan); flex-shrink: 0; margin-top: 2px; }

/* signal card on dark */
.signal-card {
  background: linear-gradient(160deg, rgba(27,92,255,.14), rgba(0,194,209,.06));
  border: 1px solid var(--on-dark-line);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
}
.signal-card h3 { margin-bottom: 1.4rem; }
.signal-rows { display: grid; gap: 1rem; }
.signal-row .signal-top { display: flex; justify-content: space-between; margin-bottom: .5rem; font-size: .9rem; }
.signal-row .signal-top span { color: var(--on-dark-muted); }
.signal-row .signal-top b { color: #fff; font-family: var(--font-mono); font-size: .82rem; }
.signal-track { height: 8px; border-radius: var(--r-pill); background: rgba(255,255,255,.08); overflow: hidden; }
.signal-fill { height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--azur), var(--cyan)); width: 0; transition: width 1.2s var(--ease); }
.is-visible .signal-fill { width: var(--w, 80%); }
.signal-foot { margin-top: 1.3rem; font-size: .82rem; color: var(--on-dark-muted); font-family: var(--font-mono); }

/* 11. PROCESS =========================================================== */
.process-inner { position: relative; }
.process-line {
  position: absolute; left: 26px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(var(--azur), var(--line));
}
.process-steps { display: grid; gap: 1rem; }
.pstep {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 1.2rem;
  align-items: start;
  padding: .4rem 0;
}
.pstep-num {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line);
  font-family: var(--font-mono); font-weight: 600; font-size: 1rem;
  color: var(--azur-ink); position: relative; z-index: 1;
  box-shadow: var(--sh-1);
}
.pstep.is-visible .pstep-num { border-color: var(--azur); }
.pstep-body { padding-top: .35rem; }
.pstep-body h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.pstep-body p { font-size: .96rem; margin: 0; max-width: 52ch; }
.pstep-tag {
  display: inline-block; margin-top: .5rem;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
}

/* 12. PERFORMANCE & SEO ================================================= */
.perf-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,1rem+4vw,4rem); align-items: center; }
.perf-list { columns: 2; column-gap: 1.4rem; }
.perf-list li {
  break-inside: avoid;
  display: flex; gap: .55rem; align-items: flex-start;
  padding: .5rem 0;
  font-size: .95rem; color: var(--slate);
}
.perf-list li svg { width: 16px; height: 16px; color: var(--azur); flex-shrink: 0; margin-top: 5px; }
.perf-disclaimer {
  margin-top: 1.4rem; font-size: .88rem; color: var(--muted);
  display: flex; gap: .5rem; align-items: flex-start;
}
.perf-disclaimer svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--muted-2); }

.code-card {
  background: var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-3);
  border: 1px solid var(--ink-soft);
}
.code-card .code-bar {
  display: flex; align-items: center; gap: .5rem;
  padding: .7rem .9rem; border-bottom: 1px solid var(--on-dark-line);
}
.code-card .code-bar .dots { display: flex; gap: .35rem; }
.code-card .code-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #33415c; display: block; }
.code-card .code-bar span { font-family: var(--font-mono); font-size: .72rem; color: var(--on-dark-muted); }
.code-body { padding: 1.1rem 1.2rem; font-family: var(--font-mono); font-size: .8rem; line-height: 1.8; overflow-x: auto; }
.code-body pre { margin: 0; white-space: pre; }
.code-body .c-tag { color: #7fa8ff; }
.code-body .c-attr { color: var(--cyan); }
.code-body .c-str { color: #a5e0a0; }
.code-body .c-com { color: #5f6b82; }
.code-body .c-txt { color: var(--on-dark); }

/* 13. PORTFOLIO TEASER ====================================================== */
.portfolio-teaser .container { position: relative; }
.portfolio-frame {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 85% 0%, rgba(0,194,209,.07), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(27,92,255,.06), transparent 40%),
    var(--panel);
  padding: clamp(1.8rem, 1rem + 3vw, 3.2rem);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.6rem, 1rem + 3vw, 3rem);
  align-items: center;
}
.portfolio-teaser h2 { margin-bottom: .9rem; }
.portfolio-teaser p { margin-bottom: 1.5rem; }
.portfolio-cats { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.6rem; }
.portfolio-cats .cat {
  font-size: .85rem; font-weight: 500; color: var(--slate);
  background: #fff; border: 1px solid var(--line);
  padding: .45rem .85rem; border-radius: var(--r-pill);
}
.portfolio-preview {
  display: grid; gap: .8rem;
  grid-template-columns: 1fr 1fr;
}
.portfolio-tile {
  aspect-ratio: 4/3;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: #fff;
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.portfolio-tile::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(20,28,41,.05) 1px, transparent 1px) 0 0/22px 22px,
    linear-gradient(to bottom, rgba(20,28,41,.05) 1px, transparent 1px) 0 0/22px 22px;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000, transparent 72%);
          mask-image: radial-gradient(circle at 50% 45%, #000, transparent 72%);
}
.portfolio-tile span {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); z-index: 1;
}
.portfolio-tile:nth-child(2) { background: linear-gradient(135deg,#eaf0ff,#fff); }
.portfolio-tile:nth-child(3) { background: linear-gradient(135deg,#e7fbfd,#fff); }

/* 14. DOMAIN / HOSTING ================================================= */
.host-grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.host-col h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.08rem; margin-bottom: 1rem; }
.host-col h3 svg { width: 20px; height: 20px; color: var(--azur); }
.host-col ul { display: grid; gap: .6rem; }
.host-col li { display: flex; gap: .55rem; font-size: .95rem; color: var(--slate); }
.host-col li svg { width: 16px; height: 16px; color: var(--azur); flex-shrink: 0; margin-top: 5px; }

/* 15. FAQ =============================================================== */
.faq-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem,1rem+3vw,4rem); align-items: start; }
.faq-list { display: grid; gap: .6rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
.faq-item.is-open { border-color: #d5deea; box-shadow: var(--sh-1); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem;
  text-align: left;
  font-weight: 600; font-size: 1.02rem; color: var(--text);
}
.faq-q .faq-icn {
  flex-shrink: 0; width: 24px; height: 24px; position: relative;
}
.faq-q .faq-icn::before, .faq-q .faq-icn::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 2px; background: var(--azur-ink);
  border-radius: 2px; transform: translate(-50%,-50%);
  transition: transform .25s var(--ease);
}
.faq-q .faq-icn::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item.is-open .faq-q .faq-icn::after { transform: translate(-50%,-50%) rotate(0); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s var(--ease);
}
.faq-a-inner { padding: 0 1.25rem 1.2rem; color: var(--slate); font-size: .97rem; }

/* 16. FINAL CTA ======================================================== */
.cta-final { position: relative; overflow: hidden; }
.cta-final .container { position: relative; z-index: 1; text-align: center; max-width: 720px; }
.cta-final h2 { margin-bottom: 1rem; }
.cta-final .lead { margin: 0 auto 1.8rem; max-width: 52ch; }
.cta-final .hero-actions { justify-content: center; }
.cta-final .hero-chips { justify-content: center; margin-top: 1.6rem; }
.cta-glow {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(27,92,255,.22), transparent 60%);
}

/* 17. CONTACT FORM ===================================================== */
.contact-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem,1rem+4vw,4rem); align-items: start; }
.contact-aside h2 { margin-bottom: 1rem; }
.contact-aside p { margin-bottom: 1.6rem; }
.contact-methods { display: grid; gap: .8rem; }
.contact-method {
  display: flex; align-items: center; gap: .9rem;
  padding: .9rem 1rem;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--bg);
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.contact-method:hover { border-color: var(--azur); transform: translateY(-2px); }
.contact-method .cm-icn {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--azur-soft); color: var(--azur-ink);
}
.contact-method .cm-icn svg { width: 19px; height: 19px; }
.contact-method b { display: block; font-size: .98rem; }
.contact-method span { font-size: .86rem; color: var(--muted); }

.form-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 1rem + 1.5vw, 2rem);
  box-shadow: var(--sh-1);
}
.form-row { display: grid; gap: 1.1rem; margin-bottom: 1.1rem; }
.form-row.two { grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--text); }
.field label .req { color: var(--azur); }
.field input, .field textarea, .field select {
  font: inherit; font-size: .96rem;
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--panel);
  color: var(--text);
  width: 100%;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--azur); background: #fff; box-shadow: var(--sh-focus);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .err-msg { font-size: .82rem; color: var(--err); display: none; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--err); }
.field.has-error .err-msg { display: block; }

.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .86rem; color: var(--muted); margin-bottom: 1.1rem; }
.form-consent input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--azur); flex-shrink: 0; }
.form-consent a { color: var(--azur-ink); text-decoration: underline; }
.form-consent.has-error { color: var(--err); }
.form-consent.has-error input { outline: 2px solid var(--err); outline-offset: 2px; }
.form-card .btn { width: 100%; }

.form-notice {
  margin-top: 1rem; padding: .85rem 1rem;
  border-radius: var(--r-sm); font-size: .86rem;
  display: none; gap: .5rem; align-items: flex-start;
}
.form-notice svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.form-notice.info { display: flex; background: var(--azur-soft); color: var(--azur-ink); border: 1px solid #cfdcff; }
.form-notice.info svg { color: var(--azur); }
.form-dev-hint {
  margin-top: .9rem; font-family: var(--font-mono); font-size: .72rem;
  color: var(--muted-2); text-align: center;
}

/* 18. FOOTER =========================================================== */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-block: clamp(3rem,2rem+3vw,4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.4rem; border-bottom: 1px solid var(--on-dark-line); }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { font-size: .92rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: .82rem; font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 600; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a, .footer-col li { font-size: .93rem; color: var(--on-dark-muted); transition: color .16s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; padding-top: 1.6rem;
  font-size: .85rem;
}
.footer-legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-legal a:hover { color: #fff; }
.footer-brand .brand { color: #fff; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px -8px rgba(37,211,102,.6);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 27px; height: 27px; }

/* 19. PORTFOLIO PAGE ======================================================== */
.portfolio-hero { padding-block: clamp(3rem,2rem+4vw,5rem) clamp(2rem,1.4rem+2vw,3rem); position: relative; overflow: hidden; }
.portfolio-hero .eyebrow { margin-bottom: 1.1rem; }
.portfolio-hero h1 { margin-bottom: 1rem; max-width: 16ch; }
.portfolio-hero .lead { max-width: 54ch; }

.portfolio-filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; }
.portfolio-filter {
  font-size: .9rem; font-weight: 500; color: var(--slate);
  background: var(--bg); border: 1px solid var(--line);
  padding: .5rem .95rem; border-radius: var(--r-pill);
  transition: all .16s var(--ease);
}
.portfolio-filter:hover { border-color: var(--azur); color: var(--azur-ink); }
.portfolio-filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.portfolio-projects { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.portfolio-project {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--bg);
  display: flex; flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.portfolio-project:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: #d5deea; }
.portfolio-project .thumb {
  aspect-ratio: 16/10; position: relative; overflow: hidden;
  background: var(--panel); display: grid; place-items: center;
}
.portfolio-project .thumb img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-project .badge-concept {
  position: absolute; top: .8rem; left: .8rem;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em;
  text-transform: uppercase; font-weight: 600;
  background: rgba(11,18,32,.85); color: #fff;
  padding: .3rem .6rem; border-radius: var(--r-pill);
}
.portfolio-project .body { padding: 1.3rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.portfolio-project .cat { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--azur-ink); }
.portfolio-project h3 { font-size: 1.15rem; }
.portfolio-project p { font-size: .93rem; margin: 0; }
.portfolio-project .tech { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .3rem; }
.portfolio-project .tech span { font-size: .72rem; color: var(--muted); background: var(--panel); border: 1px solid var(--line); padding: .25rem .55rem; border-radius: var(--r-pill); }
.portfolio-project .actions { margin-top: auto; padding-top: 1rem; display: flex; gap: 1rem; }

[hidden] { display: none !important; }
.portfolio-project .thumb-fallback {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}

/* Empty state */
.portfolio-empty {
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) 1.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(27,92,255,.05), transparent 55%),
    var(--panel);
}
.portfolio-empty .empty-icn {
  width: 60px; height: 60px; margin: 0 auto 1.3rem;
  border-radius: 16px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--azur-ink);
}
.portfolio-empty .empty-icn svg { width: 28px; height: 28px; }
.portfolio-empty h3 { margin-bottom: .6rem; }
.portfolio-empty p { max-width: 46ch; margin: 0 auto 1.6rem; color: var(--muted); }

/* 20. LEGAL / 404 ====================================================== */
.page-hero { padding-block: clamp(2.5rem,2rem+3vw,4rem) clamp(1.5rem,1rem+2vw,2.5rem); border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; gap: .5rem; align-items: center; font-size: .84rem; color: var(--muted); margin-bottom: 1rem; font-family: var(--font-mono); }
.breadcrumbs a:hover { color: var(--azur-ink); }
.breadcrumbs svg { width: 13px; height: 13px; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin: 2.2rem 0 .8rem; }
.prose h3 { font-size: 1.12rem; margin: 1.6rem 0 .6rem; }
.prose p { margin-bottom: 1rem; color: var(--slate); }
.prose ul { display: grid; gap: .5rem; margin: 0 0 1rem; padding-left: 1.2rem; list-style: disc; }
.prose ul li { color: var(--slate); }
.prose a { color: var(--azur-ink); text-decoration: underline; }
.prose .placeholder-note {
  background: #fff8e6; border: 1px solid #f5e2a8; color: #8a6d1a;
  padding: 1rem 1.1rem; border-radius: var(--r); font-size: .9rem; margin: 1rem 0;
  display: flex; gap: .6rem;
}
.prose .placeholder-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: #c99a1a; }
.prose .updated { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); margin-bottom: 2rem; }

.error-page {
  min-height: calc(100vh - var(--header-h));
  display: grid; place-items: center; text-align: center;
  padding: 3rem 1.5rem; position: relative; overflow: hidden;
}
.error-code {
  font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(4.5rem, 3rem + 12vw, 9rem);
  letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(135deg, var(--ink), var(--azur));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 1rem;
}
.error-page h1 { font-size: clamp(1.5rem,1.2rem+1.5vw,2.2rem); margin-bottom: .8rem; }
.error-page p { max-width: 44ch; margin: 0 auto 2rem; }
.error-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* 21. MULTI-PAGE CONTENT =============================================== */
.page-hero .lead { max-width: 58ch; margin-top: 1rem; }
.page-hero .hero-actions { margin-top: 1.5rem; }
.section-actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .75rem; }

.service-cluster + .service-cluster { margin-top: 3rem; }
.cluster-head { margin-bottom: 1.2rem; }
.cluster-head h2 { font-size: clamp(1.35rem,1.1rem + 1vw,1.8rem); margin-bottom: .45rem; }
.cluster-head p { max-width: 62ch; }

.packages-grid { grid-template-columns: repeat(3, 1fr); }
.package-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem;
}
.package-card.featured { border-color: var(--azur); box-shadow: 0 0 0 1px var(--azur), var(--sh-2); }
.package-card h3 { font-size: 1.2rem; }
.package-price { font-family: var(--font-mono); font-weight: 700; color: var(--azur-ink); font-size: 1.05rem; overflow-wrap: anywhere; }
.package-label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.package-card ul { display: grid; gap: .55rem; }
.package-card li { color: var(--slate); font-size: .93rem; padding-left: 1.25rem; position: relative; }
.package-card li::before { content: "✓"; position: absolute; left: 0; color: var(--azur); font-weight: 700; }
.package-card .btn { margin-top: auto; }
.price-note { margin-top: 1.4rem; color: var(--muted); font-size: .94rem; }

.blog-grid { grid-template-columns: repeat(3, 1fr); }
.article-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg);
  padding: 1.5rem; display: flex; flex-direction: column; gap: .8rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: #d5deea; }
.article-meta { display: flex; flex-wrap: wrap; gap: .45rem .8rem; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.article-card h2, .article-card h3 { font-size: 1.25rem; }
.article-card p { font-size: .95rem; }
.article-card .link-arrow { margin-top: auto; padding-top: .5rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 1fr; gap: clamp(2rem,1rem + 4vw,4rem); align-items: start; }
.article-prose { max-width: 760px; }
.article-prose > p:first-of-type { font-size: var(--fs-lead); color: var(--slate); }
.article-prose h2 { margin: 2.3rem 0 .75rem; font-size: clamp(1.4rem,1.2rem + 1vw,1.9rem); }
.article-prose h3 { margin: 1.7rem 0 .55rem; }
.article-prose p { margin-bottom: 1.05rem; }
.article-prose ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .5rem; margin-bottom: 1.1rem; }
.article-prose a { color: var(--azur-ink); text-decoration: underline; text-underline-offset: 2px; }
.article-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 1.2rem; }
.article-aside h2 { font-size: 1rem; margin-bottom: .6rem; }
.article-aside p { font-size: .9rem; margin-bottom: 1rem; }

.portfolio-filter-group + .portfolio-filter-group { margin-top: 1.2rem; }
.portfolio-filter-label { display: block; margin-bottom: .55rem; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.portfolio-placeholder .thumb { background: radial-gradient(circle at 50% 0%, rgba(27,92,255,.10), transparent 60%), var(--panel); }
.portfolio-placeholder .thumb svg { width: 44px; color: var(--azur-ink); }
.portfolio-placeholder:hover { transform: none; box-shadow: none; }

@media (max-width: 980px) {
  .packages-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}
@media (max-width: 860px) {
  .packages-grid, .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .btn, .nav-toggle, .portfolio-filter, .contact-method, .faq-q { min-height: 44px; }
  .article-card, .package-card { padding: 1.25rem; }
}


/* STARTUP OFFER & FREE ESTIMATE ========================================= */
.startup-offer { padding-top: clamp(2rem, 4vw, 4rem); }
.startup-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(1.6rem, 3vw, 2.7rem);
  border: 1px solid rgba(27,92,255,.28);
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(0,194,209,.16), transparent 38%),
    linear-gradient(135deg, rgba(27,92,255,.08), rgba(255,255,255,.96) 48%);
  box-shadow: var(--sh-2);
}
.startup-card::after {
  content: "499";
  position: absolute;
  right: -1rem;
  bottom: -4.2rem;
  color: rgba(27,92,255,.055);
  font-family: var(--font-mono);
  font-size: clamp(8rem, 20vw, 15rem);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}
.startup-card > * { position: relative; z-index: 1; }
.startup-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  padding: .42rem .72rem;
  border: 1px solid rgba(27,92,255,.22);
  border-radius: 999px;
  color: var(--azur-ink);
  background: rgba(255,255,255,.76);
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.startup-copy h2 { max-width: 16ch; margin-bottom: .9rem; }
.startup-copy p { max-width: 60ch; }
.startup-price { margin: 1.4rem 0 .35rem; color: var(--azur-ink); font-family: var(--font-mono); }
.startup-price strong { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; }
.startup-price span { font-size: .9rem; }
.startup-note { color: var(--muted); font-size: .86rem; }
.startup-features {
  display: grid;
  align-content: start;
  gap: .7rem;
  margin: 0;
  padding: 1.2rem;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: var(--r);
  background: rgba(255,255,255,.76);
  list-style: none;
}
.startup-features li { position: relative; padding-left: 1.45rem; color: var(--slate); }
.startup-features li::before { content: "✓"; position: absolute; left: 0; color: var(--azur); font-weight: 800; }
.startup-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
.packages-grid.packages-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.package-card.startup-package { border-color: rgba(27,92,255,.45); background: linear-gradient(145deg, rgba(27,92,255,.07), var(--bg) 42%); }
.package-card .package-kicker { margin-bottom: .5rem; color: var(--azur-ink); font-family: var(--font-mono); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.free-estimate-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.free-estimate-copy h2 { max-width: 17ch; }
.free-estimate-copy p { max-width: 58ch; margin: 1rem 0 1.5rem; }
.free-estimate-points { display: grid; gap: .8rem; }
.free-estimate-points article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
}
.free-estimate-points article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--azur-ink);
  background: rgba(27,92,255,.08);
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 700;
}
.free-estimate-points h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.free-estimate-points p { margin: 0; font-size: .9rem; }

@media (max-width: 860px) {
  .startup-card, .free-estimate-grid { grid-template-columns: 1fr; }
  .packages-grid.packages-grid-four { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .startup-card { padding: 1.35rem; }
  .startup-actions .btn { width: 100%; }
  .free-estimate-points article { grid-template-columns: 38px 1fr; padding: 1rem; }
  .free-estimate-points article > span { width: 36px; height: 36px; }
}

/* 22. REVEAL ANIMATIONS ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

.mockup { animation: mockup-in 1s var(--ease) both; }
@keyframes mockup-in {
  from { opacity: 0; transform: perspective(1400px) rotateY(-14deg) rotateX(6deg) translateY(30px); }
  to   { opacity: 1; transform: perspective(1400px) rotateY(-7deg) rotateX(2.5deg) translateY(0); }
}
.mk-btn, .mockup-badge { animation: pop-in .6s var(--ease) both; }
.mockup-badge.b1 { animation-delay: .7s; }
.mockup-badge.b2 { animation-delay: .9s; }
@keyframes pop-in { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

/* Ambient connection line */
.conn-line { position: absolute; pointer-events: none; opacity: .5; }
.conn-line path { stroke-dasharray: 6 8; animation: dash 22s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -280; } }

/* 22. RESPONSIVE ======================================================= */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.6rem; }
  .hero-visual { order: -1; max-width: 520px; }
  .adv-inner, .perf-inner, .faq-inner, .contact-inner, .portfolio-frame { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 1.8rem 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255,255,255,.98);
  }
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu { display: flex; }
  .moment-grid, .services-grid, .host-grid, .portfolio-projects { grid-template-columns: 1fr; }
  .cap-strip { grid-template-columns: 1fr 1fr; gap: 1.2rem 1rem; }
  .portfolio-preview { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .form-row.two { grid-template-columns: 1fr; }
  .perf-list { columns: 1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cap-strip { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn, .cta-final .btn { flex: 1; min-width: 0; }
  .mockup-badge.b1 { left: -8px; }
  .mockup-badge.b2 { right: -6px; }
}

@media (max-width: 420px) {
  .portfolio-preview { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .mockup { transform: perspective(1400px) rotateY(-7deg) rotateX(2.5deg); }
  .signal-fill { transition: none; }
  .conn-line path { animation: none; }
}

/* Print (minimal) */
@media print {
  .site-header, .wa-float, .mobile-menu, .cta-final, .hero-visual { display: none; }
  body { color: #000; }
}

/* ==========================================================================
   23. EFECTE PREMIUM
   Toate efectele sunt pure CSS/canvas — fără imagini, video sau librării.
   Cost total: câțiva KB. Fiecare efect este dezactivat automat la
   prefers-reduced-motion (vezi finalul secțiunii).
   Ca să dezactivezi un efect, comentează blocul lui de mai jos.
   ========================================================================== */

/* --- 23.1 Aurora: pete de lumină care se mișcă lent pe fundal ------------ */
.fx-aurora {
  position: absolute; inset: 0; z-index: -3;
  overflow: hidden; pointer-events: none;
}
.fx-aurora span {
  position: absolute; display: block;
  border-radius: 50%;
  filter: blur(72px);
  will-change: transform;
}
.fx-aurora .a1 {
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  top: -14%; right: -8%;
  background: radial-gradient(circle, rgba(27,92,255,.22), transparent 68%);
  animation: aurora-1 26s ease-in-out infinite alternate;
}
.fx-aurora .a2 {
  width: 38vw; height: 38vw; max-width: 520px; max-height: 520px;
  bottom: -18%; left: -10%;
  background: radial-gradient(circle, rgba(0,194,209,.16), transparent 68%);
  animation: aurora-2 32s ease-in-out infinite alternate;
}
.fx-aurora .a3 {
  width: 30vw; height: 30vw; max-width: 420px; max-height: 420px;
  top: 30%; left: 45%;
  background: radial-gradient(circle, rgba(120,80,255,.10), transparent 70%);
  animation: aurora-3 38s ease-in-out infinite alternate;
}
@keyframes aurora-1 {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-6%, 8%, 0) scale(1.15); }
}
@keyframes aurora-2 {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(10%, -6%, 0) scale(1.2); }
}
@keyframes aurora-3 {
  0%   { transform: translate3d(0,0,0) scale(1); opacity: .8; }
  100% { transform: translate3d(-12%, -10%, 0) scale(1.1); opacity: .4; }
}

/* Aurora pe fundal închis (banda dark + CTA final) */
.on-dark .fx-aurora .a1 { background: radial-gradient(circle, rgba(27,92,255,.30), transparent 68%); }
.on-dark .fx-aurora .a2 { background: radial-gradient(circle, rgba(0,194,209,.20), transparent 68%); }
.on-dark .fx-aurora .a3 { background: radial-gradient(circle, rgba(120,80,255,.16), transparent 70%); }

/* --- 23.2 Grid interactiv: se aprinde în jurul cursorului ---------------- */
.fx-spot {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(27,92,255,.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27,92,255,.55) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(190px circle at var(--mx, -400px) var(--my, -400px), #000 0%, rgba(0,0,0,.35) 45%, transparent 72%);
          mask-image: radial-gradient(190px circle at var(--mx, -400px) var(--my, -400px), #000 0%, rgba(0,0,0,.35) 45%, transparent 72%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.fx-spot.is-live { opacity: .5; }

/* --- 23.3 Bandă întunecată: matrice fină de puncte ----------------------- */
.on-dark .fx-dots {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: .7;
}
.on-dark > .container { position: relative; z-index: 2; }

/* --- 23.4 Pulsuri care circulă pe liniile de conexiune ------------------- */
.conn-line .pulse {
  fill: var(--cyan);
  filter: drop-shadow(0 0 6px rgba(0,194,209,.9));
}
.conn-line .pulse-b { fill: #5b8cff; filter: drop-shadow(0 0 6px rgba(91,140,255,.9)); }

/* --- 23.5 Card spotlight: lumină + margine care urmăresc cursorul -------- */
.service, .moment-card { position: relative; isolation: isolate; }
.service::before, .moment-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; pointer-events: none;
  background: radial-gradient(340px circle at var(--px, 50%) var(--py, -20%),
              rgba(27,92,255,.10), transparent 62%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.service:hover::before, .moment-card:hover::before { opacity: 1; }

/* Margine luminoasă (border glow) */
.service::after, .moment-card::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: radial-gradient(260px circle at var(--px, 50%) var(--py, -20%),
              rgba(27,92,255,.65), rgba(0,194,209,.25) 40%, transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0; transition: opacity .4s var(--ease);
}
.service:hover::after, .moment-card:hover::after { opacity: 1; }

/* --- 23.6 Buton primar: reflexie care traversează la hover --------------- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  transition: left .7s var(--ease);
}
.btn-primary:hover::after { left: 130%; }

/* --- 23.7 Titlu hero: accent cu gradient în mișcare ---------------------- */
.hero-copy h1 .accent-line {
  background-image: linear-gradient(100deg,
    var(--azur-ink) 0%, var(--azur) 28%, var(--cyan) 48%, var(--azur) 68%, var(--azur-ink) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -20% 0; }
}

/* --- 23.8 Mockup: plutire lentă + reflexie ------------------------------- */
.mockup {
  animation: mockup-in 1s var(--ease) both,
             mk-float 8s ease-in-out 1.1s infinite;
}
@keyframes mk-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute;
  inset: 12% -6% -12% -6%;
  background: radial-gradient(ellipse at center, rgba(27,92,255,.16), transparent 65%);
  filter: blur(38px);
  z-index: -1; pointer-events: none;
  animation: halo 9s ease-in-out infinite alternate;
}
@keyframes halo {
  0%   { opacity: .6; transform: scale(.95); }
  100% { opacity: 1;  transform: scale(1.06); }
}

/* --- 23.9 Timeline proces: linia se umple la scroll ---------------------- */
.process-line { background: var(--line); overflow: hidden; }
.process-line::after {
  content: ""; position: absolute; inset: 0 0 auto 0;
  height: 100%;
  background: linear-gradient(180deg, var(--azur), var(--cyan));
  transform: scaleY(var(--progress, 0));
  transform-origin: top;
  transition: transform .25s linear;
}

/* --- 23.10 Bară de progres la scroll (sub header) ------------------------ */
.fx-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 200;
  pointer-events: none;
  background: linear-gradient(90deg, var(--azur), var(--cyan));
  transform: scaleX(var(--sp, 0));
  transform-origin: left;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.fx-progress.is-live { opacity: 1; }

/* --- 23.11 Grain: textură fină peste tot site-ul ------------------------- */
.fx-grain {
  position: fixed; inset: 0; z-index: 300;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- 23.12 Reveal îmbunătățit: intrare puțin mai lină -------------------- */
/* Întârzierea în cascadă se aplică prin --delay (setat în HTML sau din
   effects.js pentru grila de servicii). */
.reveal { transition-duration: .7s; }

/* --- 23.13 Respectă prefers-reduced-motion ------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .fx-aurora span,
  .hero-copy h1 .accent-line,
  .mockup,
  .hero-visual::before,
  .conn-line path,
  .conn-line .pulse,
  .conn-line .pulse-b { animation: none !important; }
  .fx-spot, .fx-progress { display: none; }
  .hero-copy h1 .accent-line {
    background: none; color: var(--azur-ink);
    -webkit-text-fill-color: currentColor;
  }
  .btn-primary::after { display: none; }
  .process-line::after { transition: none; }
}
