/* ==========================================================================
   Redefine IT Solutions — main stylesheet
   1. Tokens  2. Base  3. Utilities  4. Buttons  5. Header & navigation
   6. Hero  7. Stats  8. Sections & cards  9. Features  10. Process
   11. Marquee & CTA  12. Footer  13. Page headers  14. Services
   15. FAQ  16. Contact  17. Legal & credits  18. 404  19. Motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, Consolas, monospace;

  --ink-950: #060919;
  --ink-900: #0b1026;
  --ink-800: #131a3a;
  --ink-700: #1d2550;

  --text: #10172f;
  --text-muted: #56607f;
  --text-soft: #8a93b2;
  --line: #e3e7f3;
  --line-strong: #cfd5e8;
  --surface: #ffffff;
  --surface-soft: #f4f6fd;
  --surface-tint: #e9ecfb;

  --primary: #4353ff;
  --primary-600: #3442f0;
  --primary-700: #2a35c9;
  --primary-soft: #eceeff;
  --violet: #8b5cf6;
  --mint: #2ee6a8;
  --mint-600: #0f9f73;
  --amber: #f97316;
  --danger: #d92d20;
  --danger-soft: #fef3f2;
  --success: #067647;
  --success-soft: #ecfdf3;

  --on-dark-muted: #a9b1cf;
  --on-dark-line: rgba(255, 255, 255, .1);

  --gradient-brand: linear-gradient(135deg, #4353ff 0%, #8b5cf6 100%);
  --gradient-text-dark: linear-gradient(100deg, #8c9bff 0%, #b69cff 45%, #2ee6a8 100%);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 6px -1px rgba(16, 23, 47, .08), 0 1px 2px rgba(16, 23, 47, .05);
  --shadow: 0 14px 34px -14px rgba(16, 23, 47, .2);
  --shadow-lg: 0 32px 64px -24px rgba(16, 23, 47, .3);
  --shadow-primary: 0 12px 28px -10px rgba(67, 83, 255, .55);

  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 80px;
  --section-y: clamp(4rem, 8vw, 7rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-700); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid rgba(67, 83, 255, .55); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(67, 83, 255, .18); }
main:focus { outline: none; }

/* 3. Utilities ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 1000;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--ink-900);
  color: #fff;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; color: #fff; }

.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: .75;
}
.eyebrow-light { color: var(--mint); }

.section-title { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); }
.section-title-sm { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.section-lead { font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem); color: var(--text-muted); }
.lead-text { font-size: 1.15rem; font-weight: 500; color: var(--text); }
.muted { color: var(--text-muted); }

.text-gradient {
  background-image: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero .text-gradient,
.page-hero .text-gradient,
.section-dark .text-gradient,
.cta-card .text-gradient { background-image: var(--gradient-text-dark); }

.media-img { background-color: var(--surface-tint); }
.media-fallback {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  background:
    radial-gradient(circle at 25% 25%, rgba(67, 83, 255, .65), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(46, 230, 168, .35), transparent 50%),
    var(--ink-800);
}

/* 4. Buttons & links ------------------------------------------------------- */
.btn {
  --btn-bg: var(--primary);
  --btn-color: #fff;
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .85rem 1.4rem;
  border: 1.5px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-color);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover { color: var(--btn-color); transform: translateY(-2px); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn-primary { box-shadow: var(--shadow-primary); }
.btn-primary:hover { --btn-bg: var(--primary-600); box-shadow: 0 16px 32px -10px rgba(67, 83, 255, .65); }
.btn-light { --btn-bg: #fff; --btn-color: var(--ink-900); }
.btn-light:hover { --btn-bg: #eef0ff; }
.btn-outline-light { --btn-bg: rgba(255, 255, 255, .04); --btn-border: rgba(255, 255, 255, .28); }
.btn-outline-light:hover { --btn-bg: rgba(255, 255, 255, .12); --btn-border: rgba(255, 255, 255, .5); }
.btn-ghost { --btn-bg: transparent; --btn-color: var(--primary); --btn-border: var(--line-strong); }
.btn-ghost:hover { --btn-bg: var(--primary-soft); --btn-border: var(--primary-soft); --btn-color: var(--primary-700); }

.btn-sm { padding: .62rem 1.1rem; font-size: .88rem; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:disabled, .btn.is-loading { opacity: .72; pointer-events: none; }
.btn.is-loading .icon { animation: pulse 1s ease-in-out infinite; }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--primary); }
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow-light { color: #fff; }
.link-arrow-light:hover { color: var(--mint); }

/* 5. Header & navigation --------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: height .3s var(--ease), color .3s;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -20px rgba(16, 23, 47, .3);
  opacity: 0;
  transition: opacity .3s;
}
.site-header.is-scrolled { height: 70px; color: var(--text); }
.site-header.is-scrolled::before { opacity: 1; }

.header-inner { position: relative; display: flex; align-items: center; gap: 1.5rem; height: 100%; }

.brand { display: inline-flex; align-items: center; gap: .7rem; flex-shrink: 0; color: inherit; }
.brand:hover { color: inherit; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gradient-brand);
  box-shadow: 0 8px 20px -8px rgba(67, 83, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; }
.brand-sub { margin-top: .25rem; font-size: .64rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; opacity: .72; }
.brand-light { color: #fff; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .2rem; list-style: none; }
.nav-list > li { position: relative; display: flex; align-items: center; }

.nav-link {
  position: relative;
  display: inline-flex;
  padding: .6rem .95rem;
  border-radius: var(--radius-pill);
  color: inherit;
  font-size: .95rem;
  font-weight: 600;
  opacity: .88;
  transition: opacity .2s, background-color .2s, color .2s;
}
.nav-link:hover { color: inherit; opacity: 1; background: rgba(255, 255, 255, .1); }
.is-scrolled .nav-link:hover { background: var(--surface-soft); }
.nav-link.is-active { opacity: 1; }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .15rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  transform: translateX(-50%);
}
.is-scrolled .nav-link.is-active::after { background: var(--primary); }
.has-dropdown > .nav-link { padding-right: .3rem; }

.dropdown-toggle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: .3rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  opacity: .85;
}
.dropdown-toggle .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.has-dropdown.is-open .dropdown-toggle .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: .5rem;
  width: min(700px, 90vw);
  padding: .7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity .22s, transform .22s var(--ease), visibility .22s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

@media (hover: hover) and (min-width: 1024px) {
  .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .has-dropdown:hover .dropdown-toggle .icon { transform: rotate(180deg); }
}

.dropdown-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem; list-style: none; }
.dropdown-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .7rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.3;
  transition: background-color .2s, color .2s;
}
.dropdown-item:hover, .dropdown-item.is-active { background: var(--surface-soft); color: var(--primary); }
.dropdown-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  transition: background-color .2s, color .2s;
}
.dropdown-icon .icon { width: 19px; height: 19px; }
.dropdown-item:hover .dropdown-icon { background: var(--primary); color: #fff; }

.dropdown-aside {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem;
  border-radius: var(--radius);
  background: radial-gradient(circle at 100% 0%, rgba(67, 83, 255, .6), transparent 62%), var(--ink-900);
  color: var(--on-dark-muted);
  font-size: .9rem;
  line-height: 1.55;
}
.dropdown-aside-title { margin-bottom: .4rem; color: #fff; font-size: 1.08rem; font-weight: 800; }
.dropdown-aside .link-arrow { margin-top: .9rem; color: var(--mint); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone { display: flex; align-items: center; gap: .6rem; color: inherit; font-size: .92rem; font-weight: 700; line-height: 1.2; }
.header-phone:hover { color: inherit; }
.header-phone-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  transition: border-color .3s, color .3s;
}
.header-phone-icon .icon { width: 17px; height: 17px; }
.is-scrolled .header-phone-icon { border-color: var(--line-strong); color: var(--primary); }
.header-phone-text small { display: block; font-size: .7rem; font-weight: 600; opacity: .7; }

.nav-toggle, .nav-drawer-footer, .nav-backdrop { display: none; }

@media (max-width: 1199px) {
  .header-phone { display: none; }
}

@media (max-width: 1023px) {
  .nav-toggle {
    position: relative;
    z-index: 120;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 12px;
    background: transparent;
    color: inherit;
  }
  .is-scrolled .nav-toggle, .nav-open .nav-toggle { border-color: var(--line-strong); }
  .nav-toggle-bars { position: relative; display: block; width: 20px; height: 14px; }
  .nav-toggle-bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
  }
  .nav-toggle-bars span:nth-child(1) { top: 0; }
  .nav-toggle-bars span:nth-child(2) { top: 6px; }
  .nav-toggle-bars span:nth-child(3) { top: 12px; }
  .nav-open .nav-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
  .nav-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

  .header-actions { margin-left: auto; }
  .nav-open .site-header { color: var(--text); }
  .nav-open .site-header::before { opacity: 1; }
  .nav-open body { overflow: hidden; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    display: flex;
    flex-direction: column;
    width: min(380px, 88vw);
    margin: 0;
    padding: calc(var(--header-h) + .75rem) 1.25rem 1.5rem;
    overflow-y: auto;
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }

  .nav-list { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav-list > li { flex-wrap: wrap; }
  .nav-link { flex: 1; padding: .85rem 1rem; border-radius: var(--radius-sm); font-size: 1.05rem; opacity: 1; }
  .nav-link:hover, .is-scrolled .nav-link:hover { background: var(--surface-soft); }
  .nav-link.is-active { background: var(--primary-soft); color: var(--primary); }
  .nav-link.is-active::after { display: none; }
  .has-dropdown > .nav-link { padding-right: 1rem; }
  .dropdown-toggle { width: 48px; height: 48px; margin: 0 0 0 .35rem; border-radius: var(--radius-sm); background: var(--surface-soft); opacity: 1; }

  .dropdown {
    position: static;
    display: none;
    grid-template-columns: 1fr;
    width: 100%;
    padding: .35rem 0 .5rem;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .dropdown::before { display: none; }
  .has-dropdown.is-open .dropdown { display: grid; transform: none; }
  .dropdown-grid { grid-template-columns: 1fr; }
  .dropdown-aside { display: none; }

  .nav-drawer-footer { display: grid; gap: .5rem; margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--line); }
  .nav-drawer-footer .btn { margin-bottom: .5rem; }
  .nav-drawer-contact { display: flex; align-items: center; gap: .6rem; padding: .35rem .25rem; color: var(--text-muted); font-size: .95rem; font-weight: 600; word-break: break-word; }
  .nav-drawer-contact .icon { width: 18px; height: 18px; color: var(--primary); }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: block;
    background: rgba(6, 9, 25, .55);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
  }
  .nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
}

@media (max-width: 560px) {
  .header-cta { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.18rem; }
}

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(8rem, 13vw, 10rem);
  background: var(--ink-900);
  color: #fff;
  isolation: isolate;
}
.hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(700px 520px at 88% 10%, rgba(67, 83, 255, .5), transparent 62%),
    radial-gradient(560px 460px at 0% 100%, rgba(46, 230, 168, .16), transparent 60%),
    radial-gradient(520px 420px at 55% 115%, rgba(139, 92, 246, .3), transparent 60%);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 5rem);
}
.hero-title {
  margin-bottom: 1.35rem;
  font-size: clamp(2.5rem, 1.5rem + 3.9vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -.04em;
}
.hero-lead {
  max-width: 38rem;
  margin-bottom: 2.1rem;
  font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem);
  color: var(--on-dark-muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  margin-top: 2.25rem;
  list-style: none;
  color: #d6dbf0;
  font-size: .92rem;
  font-weight: 600;
}
.hero-points li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-points .icon {
  width: 20px;
  height: 20px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(46, 230, 168, .16);
  color: var(--mint);
  stroke-width: 3;
}

.hero-visual { position: relative; justify-self: center; width: min(100%, 440px); }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -22px 22px 22px -22px;
  z-index: -1;
  border: 1px dashed rgba(255, 255, 255, .16);
  border-radius: calc(var(--radius-xl) + 10px);
}
.hero-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  background: var(--ink-800);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .08);
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 16, 38, .5));
}
.hero-image img, .hero-image .media-fallback { width: 100%; height: 100%; object-fit: cover; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 1.1rem .7rem .7rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, .97);
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--text); font-size: 1.02rem; font-weight: 800; }
.float-card-top { top: 9%; left: -16%; }
.float-card-bottom { right: -14%; bottom: 20%; animation-delay: -3s; }
.float-card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
}
.float-card-icon-mint { background: #dcfbef; color: var(--mint-600); }

.hero-code {
  position: absolute;
  left: -10%;
  bottom: -6%;
  padding: .75rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(19, 26, 58, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  color: #cdd3ef;
  font-family: var(--font-mono);
  font-size: .8rem;
  white-space: nowrap;
}
.hero-code-dots { display: flex; gap: 5px; margin-bottom: .45rem; }
.hero-code-dots i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.hero-code-dots i:nth-child(2) { background: #febc2e; }
.hero-code-dots i:nth-child(3) { background: #28c840; }
.hero-code code { font: inherit; }
.hero-code b { color: #b69cff; font-weight: 600; }
.hero-code em { color: var(--mint); font-style: normal; }

@media (max-width: 1320px) {
  .float-card-top { left: -9%; }
  .float-card-bottom { right: -3%; }
}

@media (max-width: 1023px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-visual { width: min(100%, 420px); margin-top: 1rem; }
  .float-card-top { left: -6%; }
  .float-card-bottom { right: -6%; }
  .hero-code { left: -4%; }
}

@media (max-width: 520px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual { width: 88%; }
  .float-card { font-size: .76rem; }
  .float-card strong { font-size: .92rem; }
  .float-card-icon { width: 36px; height: 36px; }
  .float-card-top { left: -8%; }
  .float-card-bottom { right: -8%; }
  .hero-code { display: none; }
}

/* 7. Stats ----------------------------------------------------------------- */
.stats-section { position: relative; z-index: 2; margin-top: calc(-1 * clamp(4.5rem, 8vw, 5.5rem)); }
.stats-section-flat { margin-top: 0; padding-bottom: var(--section-y); }

.stats-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: clamp(1.25rem, 3vw, 2rem) clamp(.5rem, 2vw, 1rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.stat { display: flex; align-items: center; gap: 1rem; padding: .5rem clamp(.75rem, 2vw, 1.5rem); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
}
.stat-icon .icon { width: 24px; height: 24px; }
.stat:nth-child(2) .stat-icon { background: #f1ebff; color: var(--violet); }
.stat:nth-child(3) .stat-icon { background: #dcfbef; color: var(--mint-600); }
.stat:nth-child(4) .stat-icon { background: #fff1e6; color: var(--amber); }
.stat-value {
  margin: 0;
  font-size: clamp(1.9rem, 1.4rem + 1.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label { margin: .4rem 0 0; color: var(--text-muted); font-size: .9rem; font-weight: 600; line-height: 1.3; }

@media (max-width: 960px) {
  .stats-card { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.25rem; }
  .stat:nth-child(3) { border-left: 0; }
}
@media (max-width: 520px) {
  .stat { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .stat-icon { width: 46px; height: 46px; border-radius: 14px; }
}

/* 8. Sections & cards ------------------------------------------------------ */
.section { position: relative; padding-block: var(--section-y); }
.section-soft { background: var(--surface-soft); }
.section-dark { overflow: hidden; background: var(--ink-900); color: #fff; isolation: isolate; }
.section-dark .section-lead { color: var(--on-dark-muted); }
.section-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(640px 420px at 12% 0%, rgba(67, 83, 255, .38), transparent 60%),
    radial-gradient(520px 380px at 100% 100%, rgba(46, 230, 168, .13), transparent 60%);
}

.section-head { max-width: 780px; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); text-align: center; }
.section-head .section-lead { max-width: 640px; margin-inline: auto; }
.section-head-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: none;
  text-align: left;
}
.section-head-split .section-title { margin: 0; }

.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.services-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1.5px;
  border-radius: inherit;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}
.service-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow); }
.service-card:hover::before { opacity: 1; }
.service-card:has(a:focus-visible) { outline: 3px solid rgba(67, 83, 255, .5); outline-offset: 3px; }
.service-card-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.35rem;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
  transition: background .35s, color .35s, transform .35s var(--ease);
}
.service-card-icon .icon { width: 26px; height: 26px; }
.service-card:hover .service-card-icon { background: var(--gradient-brand); color: #fff; transform: rotate(-6deg) scale(1.05); }
.service-card-title { margin-bottom: .6rem; font-size: 1.12rem; line-height: 1.3; letter-spacing: -.015em; }
.service-card-title a { color: var(--text); }
.service-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card-title a:focus-visible { outline: none; }
.service-card p { flex: 1; margin-bottom: 1.25rem; color: var(--text-muted); font-size: .94rem; }
.service-card-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--primary); font-size: .9rem; font-weight: 700; }
.service-card-link .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.service-card:hover .service-card-link .icon { transform: translateX(4px); }

@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .services-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .services-grid, .services-grid-3 { grid-template-columns: 1fr; } }

/* Split media + copy */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}
.split-reverse .split-media { order: 2; }
.split-media { position: relative; isolation: isolate; }
.split-media::after {
  content: "";
  position: absolute;
  top: -26px;
  right: -26px;
  z-index: -1;
  width: 150px;
  height: 150px;
  background-image: radial-gradient(var(--primary) 1.6px, transparent 1.7px);
  background-size: 15px 15px;
  opacity: .28;
}
.split-reverse .split-media::after { right: auto; left: -26px; }

.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  background: var(--surface-tint);
  box-shadow: var(--shadow-lg);
}
.media-frame img, .media-frame .media-fallback { width: 100%; height: 100%; object-fit: cover; }
.media-frame-portrait { aspect-ratio: 4 / 5; max-width: 480px; }

.media-chip {
  position: absolute;
  left: -1.5rem;
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem 1.2rem .8rem .8rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  color: var(--text-muted);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.25;
}
.media-chip strong { display: block; color: var(--text); font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.media-chip-alt { top: 2rem; right: -1.5rem; bottom: auto; left: auto; }
.media-chip-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--gradient-brand);
  color: #fff;
}
.media-chip-icon .icon { width: 22px; height: 22px; }

.split-copy > p { color: var(--text-muted); font-size: 1.04rem; }
.split-copy > .lead-text { color: var(--text); }
.split-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.check-list { display: grid; gap: .75rem; margin: 1.6rem 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: .7rem; color: var(--text); font-weight: 600; line-height: 1.45; }
.check-list .icon {
  width: 22px;
  height: 22px;
  margin-top: .05rem;
  padding: 4px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  stroke-width: 3;
}
.check-list-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1.25rem; }

.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.tag-list li {
  padding: .4rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--text);
  font-size: .84rem;
  font-weight: 600;
}

.number-list { display: grid; gap: .85rem; margin-top: 1.75rem; list-style: none; }
.number-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 600;
  line-height: 1.4;
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.number-list li:hover { border-color: rgba(67, 83, 255, .35); box-shadow: var(--shadow-sm); transform: translateX(6px); }
.number-list-index {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--ink-900);
  color: var(--mint);
  font-size: .85rem;
  font-weight: 800;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .split-media { max-width: 640px; }
}
@media (max-width: 640px) {
  .media-chip { left: .75rem; bottom: .75rem; }
  .media-chip-alt { top: .75rem; right: .75rem; bottom: auto; left: auto; }
  .split-media::after { display: none; }
}
@media (max-width: 560px) { .check-list-2 { grid-template-columns: 1fr; } }

/* Values & benefits */
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.value-card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border-radius: 16px;
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.value-icon .icon { width: 26px; height: 26px; }
.value-card h3 { margin-bottom: .5rem; font-size: 1.2rem; }
.value-card p { color: var(--text-muted); }
@media (max-width: 900px) { .value-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* "We are dreamers" duo */
.duo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.duo-card {
  position: relative;
  display: flex;
  min-height: clamp(380px, 40vw, 470px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--ink-900);
  color: #fff;
  isolation: isolate;
}
.duo-media { position: absolute; inset: 0; z-index: -2; }
.duo-media img, .duo-media .media-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.duo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 16, 38, .05) 0%, rgba(11, 16, 38, .55) 45%, rgba(11, 16, 38, .95) 100%);
}
.duo-card:hover .duo-media img { transform: scale(1.06); }
.duo-body { align-self: flex-end; padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.duo-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.duo-title { margin-bottom: .6rem; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.duo-body p { max-width: 30rem; margin-bottom: 1.25rem; color: #d3d8ee; }
@media (max-width: 860px) { .duo-grid { grid-template-columns: 1fr; } }

/* 9. Features (dark) ------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.feature-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--on-dark-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .02));
  transition: transform .35s var(--ease), border-color .35s, background-color .35s;
}
.feature-card:hover { transform: translateY(-5px); border-color: rgba(46, 230, 168, .35); background-color: rgba(255, 255, 255, .03); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1.2rem;
  border-radius: 14px;
  background: rgba(67, 83, 255, .2);
  color: #aab4ff;
  box-shadow: inset 0 0 0 1px rgba(143, 155, 255, .28);
}
.feature-icon .icon { width: 24px; height: 24px; }
.feature-card:nth-child(4n+2) .feature-icon { background: rgba(46, 230, 168, .14); color: var(--mint); box-shadow: inset 0 0 0 1px rgba(46, 230, 168, .26); }
.feature-card:nth-child(4n+3) .feature-icon { background: rgba(139, 92, 246, .2); color: #c7b6ff; box-shadow: inset 0 0 0 1px rgba(170, 140, 255, .28); }
.feature-card:nth-child(4n) .feature-icon { background: rgba(255, 181, 71, .14); color: #ffc86b; box-shadow: inset 0 0 0 1px rgba(255, 190, 100, .26); }
.feature-card h3 { margin-bottom: .45rem; font-size: 1.1rem; color: #fff; }
.feature-card p { color: var(--on-dark-muted); font-size: .93rem; }
@media (max-width: 1024px) { .feature-grid, .feature-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feature-grid, .feature-grid-3 { grid-template-columns: 1fr; } }

/* 10. Process -------------------------------------------------------------- */
.process { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; list-style: none; }
.process::before {
  content: "";
  position: absolute;
  top: 35px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px);
}
.process-step { position: relative; text-align: center; }
.process-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 1.3rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), background .35s, color .35s;
}
.process-icon .icon { width: 28px; height: 28px; }
.process-step:hover .process-icon { transform: translateY(-4px); background: var(--gradient-brand); color: #fff; }
.process-number {
  position: absolute;
  top: -9px;
  right: -9px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--mint);
  font-size: .75rem;
  font-weight: 800;
}
.process-step h3 { margin-bottom: .45rem; font-size: 1.12rem; }
.process-step p { max-width: 16rem; margin: 0 auto; color: var(--text-muted); font-size: .92rem; }

@media (max-width: 1024px) {
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.5rem; }
  .process::before { display: none; }
}
@media (max-width: 640px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process::before {
    display: block;
    top: 10px;
    bottom: 40px;
    left: 35px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--line-strong) 0 8px, transparent 8px 16px);
  }
  .process-step {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    column-gap: 1.1rem;
    padding-bottom: 1.75rem;
    text-align: left;
  }
  .process-icon { grid-row: span 2; margin: 0; }
  .process-step h3 { align-self: end; margin-top: .35rem; }
  .process-step p { max-width: none; margin: 0; }
}

/* 11. Marquee & CTA -------------------------------------------------------- */
.tech-strip { padding-block: clamp(3rem, 6vw, 4.5rem); overflow: hidden; border-top: 1px solid var(--line); }
.tech-title {
  margin-bottom: 1.75rem;
  color: var(--text-soft);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
}
.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: .9rem;
  padding-right: .9rem;
  list-style: none;
  animation: marquee 45s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--text);
  font-size: .95rem;
  font-weight: 700;
  white-space: nowrap;
}
.marquee-item::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gradient-brand); }

.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  align-items: center;
  gap: 2rem 3rem;
  padding: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--ink-900);
  color: #fff;
  isolation: isolate;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(520px 340px at 100% 0%, rgba(67, 83, 255, .6), transparent 65%),
    radial-gradient(440px 320px at 0% 100%, rgba(46, 230, 168, .2), transparent 60%);
}
.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
  mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.cta-title { margin-bottom: .8rem; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); }
.cta-copy p { max-width: 36rem; color: var(--on-dark-muted); font-size: 1.08rem; }
.cta-actions { display: flex; flex-direction: column; gap: .75rem; }
@media (max-width: 900px) {
  .cta-card { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 520px) { .cta-actions .btn { width: 100%; } }

/* 12. Footer --------------------------------------------------------------- */
.site-footer { position: relative; padding-top: clamp(3rem, 6vw, 4.5rem); background: var(--ink-950); color: var(--on-dark-muted); font-size: .95rem; }

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem 3rem;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border: 1px solid var(--on-dark-line);
  border-radius: var(--radius-xl);
  background: linear-gradient(120deg, rgba(67, 83, 255, .24), rgba(139, 92, 246, .12) 50%, rgba(46, 230, 168, .08));
}
.newsletter-copy { display: flex; align-items: center; gap: 1.25rem; }
.newsletter-copy p { margin: 0; }
.newsletter-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 18px;
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.newsletter-icon .icon { width: 26px; height: 26px; }
.newsletter-title { margin: 0 0 .3rem; color: #fff; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.newsletter-field {
  display: flex;
  gap: .5rem;
  padding: .4rem;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-pill);
  background: rgba(6, 9, 25, .6);
  transition: border-color .2s, box-shadow .2s;
}
.newsletter-field:focus-within { border-color: rgba(143, 155, 255, .75); box-shadow: 0 0 0 4px rgba(67, 83, 255, .22); }
.newsletter-field input {
  flex: 1;
  min-width: 0;
  padding: .7rem 1.1rem;
  border: 0;
  background: transparent;
  color: #fff;
  outline: none;
}
.newsletter-field input::placeholder { color: #8088a8; }
.newsletter .form-message { min-height: 1.5em; margin: .6rem 0 0 1.1rem; font-size: .88rem; font-weight: 600; }
.newsletter .form-message.is-success { color: var(--mint); }
.newsletter .form-message.is-error { color: #ff9b91; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr .8fr 1fr 1.35fr;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.footer-brand p { max-width: 24rem; margin-top: 1.25rem; }
.footer-heading { margin-bottom: 1.1rem; color: #fff; font-size: 1rem; letter-spacing: -.01em; }
.footer-col ul { display: grid; gap: .7rem; list-style: none; }
.footer-col a { color: var(--on-dark-muted); }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: .75rem; word-break: break-word; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: .22rem; color: var(--mint); }

.social-list { display: flex; gap: .5rem; margin-top: 1.25rem; list-style: none; }
.social-list a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--on-dark-line);
  border-radius: 50%;
  color: #fff;
  transition: background-color .2s, border-color .2s;
}
.social-list a:hover { border-color: var(--primary); background: var(--primary); color: #fff; }
.social-list .icon { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--on-dark-line);
  font-size: .88rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; }
.footer-legal a { color: var(--on-dark-muted); }
.footer-legal a:hover { color: #fff; }

.back-to-top, .whatsapp-float {
  position: fixed;
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  transition: opacity .3s, transform .3s var(--ease), visibility .3s, background-color .2s;
}
.back-to-top {
  right: clamp(1rem, 3vw, 1.75rem);
  background: var(--primary);
  box-shadow: var(--shadow-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--primary-600); color: #fff; transform: translateY(-3px); }
.whatsapp-float { left: clamp(1rem, 3vw, 1.75rem); background: #25d366; box-shadow: 0 12px 28px -10px rgba(37, 211, 102, .7); }
.whatsapp-float:hover { color: #fff; transform: translateY(-3px); }
.back-to-top .icon, .whatsapp-float .icon { width: 22px; height: 22px; }

@media (max-width: 1024px) {
  .newsletter { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .newsletter-copy { align-items: flex-start; }
  .newsletter-icon { width: 48px; height: 48px; border-radius: 14px; }
  .newsletter-field { flex-direction: column; border-radius: var(--radius-lg); }
  .newsletter-field .btn { width: 100%; }
  .newsletter .form-message { margin-left: .25rem; }
}

/* 13. Page headers --------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(3.5rem, 7vw, 5.5rem);
  background: var(--ink-900);
  color: #fff;
  isolation: isolate;
}
.page-hero-media { position: absolute; inset: 0; z-index: -3; }
.page-hero-media img, .page-hero-media .media-fallback { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(11, 16, 38, .97) 0%, rgba(11, 16, 38, .86) 45%, rgba(11, 16, 38, .55) 100%);
}
.page-hero::after { z-index: -1; opacity: .75; }
.page-hero-inner > * { max-width: 820px; }
.page-title { margin-bottom: 1.1rem; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.75rem); line-height: 1.08; letter-spacing: -.035em; }
.page-lead { max-width: 42rem; color: var(--on-dark-muted); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }

.breadcrumbs { margin-bottom: 1.5rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; list-style: none; font-size: .88rem; font-weight: 600; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .35rem; }
.breadcrumbs a { color: var(--on-dark-muted); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .icon { width: 14px; height: 14px; opacity: .5; }
.breadcrumbs [aria-current] { color: #fff; }

/* 14. Services ------------------------------------------------------------- */
.service-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.service-jump a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--text);
  font-size: .9rem;
  font-weight: 600;
  transition: border-color .2s, background-color .2s, color .2s;
}
.service-jump a:hover { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.service-jump .icon { width: 17px; height: 17px; color: var(--primary); }

.service-rows { display: grid; gap: clamp(4rem, 8vw, 6.5rem); }
.service-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  scroll-margin-top: calc(var(--header-h) + 2rem);
}
.service-row-reverse .service-row-media { order: 2; }
.service-row-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.service-row-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--primary-soft);
  color: var(--primary);
}
.service-row-icon .icon { width: 28px; height: 28px; }
.service-row-index { color: transparent; font-size: 3.5rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; -webkit-text-stroke: 1.5px var(--line-strong); }
.service-row-title { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.25rem); }
.service-row-copy > p { color: var(--text-muted); font-size: 1.04rem; }
.service-row .check-list { margin-bottom: 2rem; }
@media (max-width: 900px) {
  .service-row { grid-template-columns: 1fr; }
  .service-row-reverse .service-row-media { order: 0; }
}

.service-hero { padding-bottom: clamp(4rem, 8vw, 6rem); }
.service-hero::before { background: none; }
.service-hero::after { z-index: -2; opacity: 1; }
.service-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.service-hero-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1.4rem;
  border-radius: 18px;
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.service-hero-icon .icon { width: 30px; height: 30px; }
.service-hero .hero-actions { margin-top: 2rem; }
.media-frame-glow { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .1); }
@media (max-width: 900px) { .service-hero-inner { grid-template-columns: 1fr; } }

.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: clamp(2rem, 5vw, 4.5rem); }
.service-main > p { color: var(--text-muted); font-size: 1.05rem; }
.subheading { margin: 2.75rem 0 1.25rem; font-size: 1.35rem; }
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; list-style: none; }
.offer-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 600;
  line-height: 1.4;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.offer-item:hover { border-color: rgba(67, 83, 255, .35); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.offer-check {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
}
.offer-check .icon { width: 17px; height: 17px; stroke-width: 3; }

.service-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
.aside-card { padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-soft); }
.aside-title { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; font-size: 1.15rem; }
.aside-title .icon { color: var(--primary); }
.aside-card-dark { position: relative; overflow: hidden; border-color: transparent; background: var(--ink-900); color: #fff; isolation: isolate; }
.aside-card-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(320px 240px at 100% 0%, rgba(67, 83, 255, .6), transparent 70%);
}
.aside-card-dark p { color: var(--on-dark-muted); font-size: .95rem; }
.aside-card-dark .btn { margin: 1.25rem 0 1rem; }
.aside-link { display: flex; align-items: center; gap: .6rem; padding: .35rem 0; color: #fff; font-size: .92rem; font-weight: 600; word-break: break-word; }
.aside-link .icon { width: 17px; height: 17px; color: var(--mint); }
.aside-link:hover { color: var(--mint); }

@media (max-width: 1024px) {
  .service-layout { grid-template-columns: 1fr; }
  .service-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .offer-grid, .service-aside { grid-template-columns: 1fr; }
}

/* 15. FAQ ------------------------------------------------------------------ */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(2rem, 5vw, 4.5rem); }
.faq-intro p { margin-bottom: 1.5rem; color: var(--text-muted); }
.faq-list { display: grid; gap: .85rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: rgba(67, 83, 255, .35); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.35rem;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: -3px; border-radius: var(--radius); }
.faq-toggle { position: relative; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--primary-soft); transition: background-color .25s; }
.faq-toggle::before, .faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), background-color .25s;
}
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-toggle { background: var(--primary); }
.faq-item[open] .faq-toggle::before, .faq-item[open] .faq-toggle::after { background: #fff; }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 1.35rem 1.3rem; color: var(--text-muted); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } }

/* 16. Contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; gap: clamp(1.5rem, 4vw, 3rem); }
.contact-form-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow);
}
.contact-form { margin-top: 2rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem 1.25rem; }
.form-field-full { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: .45rem; color: var(--text); font-size: .9rem; font-weight: 700; }
.required { color: var(--danger); }
.optional { color: var(--text-soft); font-size: .8rem; font-weight: 500; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
  appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #9aa2bd; }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: #b4bcd7; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(67, 83, 255, .15);
}
.select-wrap { position: relative; }
.select-wrap select { padding-right: 2.75rem; cursor: pointer; }
.select-wrap .icon { position: absolute; top: 50%; right: 1rem; width: 18px; height: 18px; color: var(--text-muted); transform: translateY(-50%); pointer-events: none; }
.field-error { margin: .4rem 0 0; color: var(--danger); font-size: .84rem; font-weight: 600; }
.field-error:empty { display: none; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.has-error input:focus, .has-error textarea:focus { box-shadow: 0 0 0 4px rgba(217, 45, 32, .12); }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.form-note { display: flex; align-items: center; gap: .5rem; margin: 0; color: var(--text-muted); font-size: .86rem; }
.form-note .icon { width: 16px; height: 16px; color: var(--mint-600); }

.alert, .contact-form .form-message {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
}
.alert .icon { width: 20px; height: 20px; margin-top: .1rem; }
.contact-form .form-message { margin: 1.5rem 0 0; }
.contact-form .form-message:empty { display: none; }
.alert-success, .contact-form .form-message.is-success { border-color: #abefc6; background: var(--success-soft); color: var(--success); }
.alert-error, .contact-form .form-message.is-error { border-color: #fecdca; background: var(--danger-soft); color: #b42318; }

.contact-aside { display: grid; gap: 1rem; }
.info-card {
  display: flex;
  gap: 1.1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: border-color .25s, box-shadow .25s;
}
.info-card:hover { border-color: rgba(67, 83, 255, .3); box-shadow: var(--shadow-sm); }
.info-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--gradient-brand);
  color: #fff;
}
.info-icon .icon { width: 22px; height: 22px; }
.info-card h3 { margin-bottom: .35rem; font-size: 1.05rem; }
.info-card address { margin-bottom: .6rem; color: var(--text-muted); font-size: .95rem; }
.info-link { font-size: 1.02rem; font-weight: 700; word-break: break-word; }

.next-steps { padding: 1.75rem; border-radius: var(--radius-lg); background: var(--ink-900); color: #fff; }
.next-steps h3 { margin-bottom: 1.25rem; font-size: 1.15rem; }
.next-steps ol { display: grid; gap: 1.1rem; list-style: none; counter-reset: steps; }
.next-steps li { position: relative; padding-left: 2.75rem; color: var(--on-dark-muted); font-size: .92rem; counter-increment: steps; }
.next-steps li::before {
  content: counter(steps);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(46, 230, 168, .15);
  color: var(--mint);
  font-size: .85rem;
  font-weight: 800;
}
.next-steps strong { display: block; margin-bottom: .1rem; color: #fff; font-size: .98rem; }

.map-section iframe { width: 100%; height: clamp(320px, 45vw, 460px); border: 0; }

@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-footer .btn { width: 100%; }
}

/* 17. Legal pages & credits ------------------------------------------------ */
.prose-layout { max-width: 840px; }
.prose { color: var(--text-muted); font-size: 1.03rem; }
.prose h2 { margin: 2.5rem 0 .85rem; color: var(--text); font-size: 1.4rem; }
.prose ul { display: grid; gap: .5rem; margin: 0 0 1.25rem; padding-left: 1.25rem; }
.prose li::marker { color: var(--primary); }
.prose strong { color: var(--text); }
.prose a { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose-updated {
  display: inline-block;
  margin-bottom: 1.75rem;
  padding: .35rem .9rem;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: .85rem;
  font-weight: 700;
}

.credits-intro { max-width: 720px; margin: 0 auto 3rem; color: var(--text-muted); font-size: 1.08rem; text-align: center; }
.credits-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; list-style: none; }
.credit-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.credit-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-tint); }
.credit-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.credit-card:hover .credit-media img { transform: scale(1.05); }
.credit-card p { margin: 0; padding: .9rem 1.1rem; color: var(--text-muted); font-size: .9rem; }

/* 18. 404 ------------------------------------------------------------------ */
.not-found { display: grid; align-items: center; min-height: min(100vh, 900px); }
.not-found::before { display: none; }
.not-found::after { z-index: -2; opacity: 1; }
.not-found-inner { text-align: center; }
.not-found-inner > * { margin-inline: auto; }
.not-found-code { margin-bottom: .5rem; font-size: clamp(6rem, 4rem + 10vw, 11rem); font-weight: 800; letter-spacing: -.06em; line-height: .95; }
.not-found .page-title { max-width: 760px; }
.not-found .hero-actions { justify-content: center; margin-top: 2rem; }
.not-found-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 2.5rem; list-style: none; }
.not-found-links a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem;
  border: 1px solid var(--on-dark-line);
  border-radius: var(--radius-pill);
  color: var(--on-dark-muted);
  font-size: .9rem;
  font-weight: 600;
}
.not-found-links a:hover { border-color: rgba(255, 255, 255, .35); color: #fff; }
.not-found-links .icon { width: 16px; height: 16px; color: var(--mint); }

/* 19. Motion --------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition: opacity .8s var(--ease), translate .8s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; translate: none; }

/* Above-the-fold headers animate with CSS alone so they never wait for JavaScript. */
.js .hero [data-reveal],
.js .page-hero [data-reveal] {
  opacity: 1;
  translate: none;
  transition: none;
  animation: rise .8s var(--ease) both;
  animation-delay: var(--delay, 0ms);
}
@keyframes rise { from { opacity: 0; translate: 0 24px; } }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes pulse { 50% { opacity: .35; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; translate: none; }
  .marquee { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); animation: none; }
  .marquee-track[aria-hidden="true"] { display: none; }
}

@media print {
  .site-header, .nav-backdrop, .newsletter, .back-to-top, .whatsapp-float, .map-section, .cta-section { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; translate: none !important; }
  .hero, .page-hero, .section-dark { background: none !important; color: #000 !important; }
}
