/* ============================================================
   PUM Biz Portal — style.css
   Premium fintech SaaS. Vanilla CSS3 with design tokens.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --white: #ffffff;
  --paper: #f6f8fc;
  --paper-2: #eef2f9;
  --graphite: #1b2233;
  --ink: #0a0f1f;          /* deep navy/graphite */
  --navy: #0e1730;
  --navy-2: #101c3d;
  --blue: #2563eb;          /* accent blue */
  --blue-bright: #3b82f6;
  --blue-soft: #93b4fb;
  --text: #10162a;
  --muted: #5b6577;
  --muted-2: #8a93a6;
  --line: rgba(16, 22, 42, 0.09);
  --line-strong: rgba(16, 22, 42, 0.14);

  --radius: 24px;
  --radius-sm: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 4px 16px rgba(16, 22, 42, 0.06);
  --shadow: 0 18px 50px rgba(16, 22, 42, 0.10);
  --shadow-lg: 0 40px 90px rgba(16, 22, 42, 0.16);
  --glow: 0 0 60px rgba(59, 130, 246, 0.45);

  --grad-blue: linear-gradient(135deg, #2563eb 0%, #4f7cf7 55%, #6d5efc 100%);
  --grad-dark: linear-gradient(160deg, #0e1730 0%, #101c3d 60%, #16224a 100%);

  --container: 1400px;
  --gutter: clamp(20px, 5vw, 64px);

  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--blue); color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue);
  padding: 7px 14px; border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 100px; background: rgba(37, 99, 235, 0.06); margin-bottom: 22px;
}
.section__title {
  font-family: var(--font-display); font-weight: 600; line-height: 1.08;
  font-size: clamp(1.9rem, 4vw, 3.1rem); letter-spacing: -0.02em; color: var(--ink);
}
.section__lead { font-size: 1.075rem; color: var(--muted); margin-top: 20px; max-width: 54ch; }
.section__head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Buttons ---------- */
.btn {
  --pad: 13px 22px;
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: var(--pad); border-radius: 100px; font-weight: 700; font-size: 0.95rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s, border-color .3s;
  will-change: transform; position: relative; white-space: nowrap;
}
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { --pad: 17px 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad-blue); color: #fff; box-shadow: 0 10px 30px rgba(37,99,235,.35); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(37,99,235,.5); }
.btn--outline { background: rgba(255,255,255,.6); color: var(--ink); border: 1px solid var(--line-strong); backdrop-filter: blur(10px); }
.btn--outline:hover { transform: translateY(-3px); border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow); }
.btn--ghost { color: var(--ink); font-weight: 600; padding: 10px 8px; }
.btn--ghost:hover { color: var(--blue); }
.btn--light { background: #fff; color: var(--ink); box-shadow: 0 14px 40px rgba(0,0,0,.25); }
.btn--light:hover { transform: translateY(-3px); box-shadow: 0 22px 55px rgba(0,0,0,.35); }

.badge {
  display: inline-flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 600;
  color: var(--graphite); padding: 8px 16px 8px 12px; border-radius: 100px;
  background: rgba(255,255,255,.7); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px); margin-bottom: 26px;
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 0 4px rgba(59,130,246,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(59,130,246,0); } }

/* ============ PRELOADER ============ */
.preloader { position: fixed; inset: 0; z-index: 9999; background: var(--ink); display: grid; place-items: center; transition: opacity .6s ease, visibility .6s; }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; width: min(300px, 70vw); }
.preloader__logo { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.preloader__logo span { color: var(--blue-bright); }
.preloader__bar { height: 3px; width: 100%; background: rgba(255,255,255,.12); border-radius: 4px; overflow: hidden; margin: 22px 0 12px; }
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--grad-blue); }
.preloader__count { color: var(--muted-2); font-size: .85rem; font-weight: 600; }

/* ============ CUSTOM CURSOR ============ */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 9998; mix-blend-mode: normal; }
.cursor { width: 38px; height: 38px; border: 1.5px solid rgba(37,99,235,.5); transform: translate(-50%,-50%); transition: width .3s, height .3s, background .3s, border-color .3s; }
.cursor-dot { width: 6px; height: 6px; background: var(--blue); transform: translate(-50%,-50%); }
.cursor.hover { width: 62px; height: 62px; background: rgba(37,99,235,.10); border-color: transparent; }
@media (hover: none), (max-width: 900px) { .cursor, .cursor-dot { display: none; } }

/* ============ NAVBAR ============ */
.nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 900; padding: 18px 0; transition: padding .4s var(--ease), background .4s, box-shadow .4s, backdrop-filter .4s; }
.nav.scrolled { padding: 10px 0; background: rgba(255,255,255,.72); backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line), var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); letter-spacing: -.02em; }
.nav__logo b { font-weight: 600; color: var(--blue); font-size: .78em; margin-left: 1px; }
.nav__mark { color: var(--ink); display: inline-flex; }
.nav__links { display: flex; gap: 6px; }
.nav__link { font-size: .93rem; font-weight: 600; color: var(--graphite); padding: 9px 15px; border-radius: 100px; position: relative; transition: color .3s, background .3s; }
.nav__link:hover { color: var(--blue); background: rgba(37,99,235,.07); }
.nav__link.active { color: var(--blue); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav__burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .3s; }
.nav__burger.open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger.open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { position: relative; padding-top: clamp(120px, 16vw, 190px); padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(ellipse 90% 70% at 60% 0%, #000 30%, transparent 75%); opacity: .6; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hero__glow--1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(59,130,246,.35), transparent 65%); top: -140px; right: -60px; }
.hero__glow--2 { width: 440px; height: 440px; background: radial-gradient(circle, rgba(109,94,252,.22), transparent 65%); bottom: -120px; left: -80px; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 5.2vw, 4.1rem); line-height: 1.02; letter-spacing: -.03em; color: var(--ink); }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .word { display: inline-block; }
.hero__subtitle { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--muted); margin-top: 26px; max-width: 52ch; }
.hero__cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero__trust { display: flex; align-items: center; gap: 16px; margin-top: 34px; font-size: .9rem; color: var(--muted); }
.hero__trust b { color: var(--ink); }
.hero__flags { display: flex; gap: 6px; font-size: 1.15rem; }

/* Hero dashboard */
.hero__visual { position: relative; z-index: 1; transform-style: preserve-3d; }
.dash { background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px; backdrop-filter: blur(20px); position: relative; }
.dash::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(59,130,246,.5), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.float { animation: float 7s ease-in-out infinite; }
.float-slow { animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
.dash__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.dash__pill { display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); background: rgba(37,99,235,.1); padding: 4px 9px; border-radius: 8px; margin-bottom: 8px; }
.dash__title strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.dash__dots { display: flex; gap: 6px; }
.dash__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.dash__dots i:first-child { background: #ff5f57; } .dash__dots i:nth-child(2) { background: #febc2e; } .dash__dots i:last-child { background: #28c840; }
.dash__kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 16px; }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px; }
.kpi__label { font-size: .72rem; color: var(--muted-2); font-weight: 600; }
.kpi__value { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); margin: 5px 0 3px; }
.kpi__value small { font-size: .6em; color: var(--muted); font-weight: 500; margin-left: 2px; }
.kpi__delta { font-size: .72rem; font-weight: 700; }
.kpi__delta.up { color: #16a34a; } .kpi__delta.down { color: #dc2626; }
.dash__chart { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 12px; }
.dash__chart-head { display: flex; justify-content: space-between; align-items: center; font-size: .74rem; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.dash__legend { display: inline-flex; align-items: center; gap: 5px; }
.lg { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.lg--blue { background: var(--blue); } .lg--soft { background: var(--blue-soft); }
.chart { width: 100%; height: 120px; display: block; }
.grid-line { stroke: var(--line); stroke-width: 1; }
.line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.line--main { stroke: var(--blue); stroke-width: 2.5; }
.line--soft { stroke: var(--blue-soft); stroke-width: 2; stroke-dasharray: 4 5; }
.dash__row { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.dash__mini, .dash__bars { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; }
.dash__mini { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dash__mini-label { font-size: .7rem; color: var(--muted-2); font-weight: 600; text-align: center; }
.ring { position: relative; width: 60px; height: 60px; }
.ring svg { transform: rotate(-90deg); }
.ring__bg { fill: none; stroke: var(--line-strong); stroke-width: 6; }
.ring__fg { fill: none; stroke: var(--blue); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 163; stroke-dashoffset: calc(163 - 163 * var(--p) / 100); transition: stroke-dashoffset 1.4s var(--ease); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: .85rem; color: var(--ink); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 60px; margin-top: 8px; }
.bars span { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--blue-bright), var(--blue)); border-radius: 5px 5px 3px 3px; opacity: .85; }
.hero__chip { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: .82rem; font-weight: 600; box-shadow: var(--shadow); display: flex; align-items: center; gap: 8px; }
.hero__chip b { color: var(--blue); font-family: var(--font-display); }
.hero__chip-ico { width: 20px; height: 20px; border-radius: 50%; background: #16a34a; color: #fff; display: grid; place-items: center; font-size: .7rem; }
.hero__chip--1 { top: 8%; left: -30px; }
.hero__chip--2 { bottom: 12%; right: -22px; }

/* ============ MARQUEE ============ */
.marquee { overflow: hidden; background: var(--ink); padding: 20px 0; border-block: 1px solid rgba(255,255,255,.08); }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 34s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem, 3vw, 2rem); color: rgba(255,255,255,.55); letter-spacing: -.02em; white-space: nowrap; }
.marquee__track i { color: var(--blue-bright); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ ABOUT ============ */
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.about__list { margin-top: 30px; display: grid; gap: 16px; }
.about__list li { position: relative; padding-left: 30px; color: var(--muted); }
.about__list li b { color: var(--ink); }
.about__list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%; background: rgba(37,99,235,.12); border: 2px solid var(--blue); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--blue); line-height: 1; letter-spacing: -.03em; display: block; }
.stat__label { display: block; margin-top: 10px; color: var(--muted); font-size: .9rem; }

/* ============ ADVANTAGES ============ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; transform-style: preserve-3d; }
.card__glow { position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, rgba(59,130,246,.16), transparent 65%); border-radius: 50%; top: var(--my, -50%); left: var(--mx, -50%); transform: translate(-50%,-50%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(37,99,235,.3); }
.card:hover .card__glow { opacity: 1; }
.card__ico { width: 56px; height: 56px; border-radius: 16px; background: var(--grad-blue); color: #fff; display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 10px 24px rgba(37,99,235,.35); transition: transform .5s var(--ease); }
.card__ico svg { width: 26px; height: 26px; }
.card:hover .card__ico { transform: scale(1.08) rotate(-4deg); }
.card__title { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; color: var(--ink); margin-bottom: 10px; letter-spacing: -.01em; }
.card__text { color: var(--muted); font-size: .95rem; }

/* ============ WHY / COMPARE ============ */
.why { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; }
.compare__col { border-radius: var(--radius-lg); padding: 34px 30px; }
.compare__col--old { background: #fff; border: 1px solid var(--line); }
.compare__col--new { background: var(--grad-dark); color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.compare__col--new::after { content: ""; position: absolute; width: 340px; height: 340px; background: radial-gradient(circle, rgba(59,130,246,.4), transparent 65%); top: -120px; right: -80px; filter: blur(20px); }
.compare__label { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-bottom: 22px; position: relative; }
.compare__col--old .compare__label { color: var(--muted); }
.compare__col ul { display: grid; gap: 14px; position: relative; }
.compare__col li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; }
.compare__col--old li { color: var(--muted); }
.compare__col--new li { color: rgba(255,255,255,.9); }
.x, .c { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 700; margin-top: 2px; }
.x { background: rgba(220,38,38,.1); color: #dc2626; }
.c { background: rgba(59,130,246,.25); color: var(--blue-soft); }
.compare__vs { display: grid; place-items: center; }
.compare__vs span { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--blue); width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--shadow); }

.manifesto { margin-top: 30px; display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.chapter { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: transform .4s var(--ease), box-shadow .4s; }
.chapter:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.chapter__num { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: transparent; -webkit-text-stroke: 1.4px var(--blue); line-height: 1; }
.chapter h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; color: var(--ink); margin-bottom: 8px; }
.chapter p { color: var(--muted); font-size: .92rem; }

/* ============ TEAM ============ */
.team__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.member { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.member:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.member__photo { position: relative; aspect-ratio: 3/3.4; overflow: hidden; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .7s var(--ease); filter: grayscale(.15); }
.member:hover .member__photo img { transform: scale(1.06); filter: grayscale(0); }
.member__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,15,31,.35)); opacity: 0; transition: opacity .5s; }
.member:hover .member__photo::after { opacity: 1; }
.member__info { padding: 22px 22px 26px; }
.member__info h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; color: var(--ink); }
.member__role { display: inline-block; font-size: .82rem; font-weight: 700; color: var(--blue); margin: 4px 0 10px; }
.member__info p { color: var(--muted); font-size: .88rem; }

/* ============ REVIEWS ============ */
.reviews { background: var(--ink); color: #fff; overflow: hidden; }
.reviews .eyebrow { color: var(--blue-soft); border-color: rgba(147,180,251,.25); background: rgba(147,180,251,.08); }
.reviews .section__title { color: #fff; }
.reviews__swiper { padding: 10px var(--gutter) 60px; overflow: visible; }
.review { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 34px 30px; height: 100%; backdrop-filter: blur(10px); transition: border-color .4s, transform .4s; }
.swiper-slide { height: auto; }
.swiper-slide-active .review { border-color: rgba(59,130,246,.4); }
.review__stars { color: #f59e0b; letter-spacing: 3px; margin-bottom: 16px; font-size: .95rem; }
.review blockquote { font-size: 1.05rem; line-height: 1.6; color: rgba(255,255,255,.92); margin-bottom: 24px; }
.review__author { display: flex; align-items: center; gap: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--a, var(--blue)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; flex: none; font-family: var(--font-display); }
.review__author b { display: block; font-size: .95rem; color: #fff; }
.review__author i { font-style: normal; font-size: .82rem; color: var(--muted-2); }
.swiper-pagination { position: static; margin-top: 10px; }
.reviews .swiper-pagination-bullet { background: rgba(255,255,255,.3); opacity: 1; width: 8px; height: 8px; transition: width .3s, background .3s; }
.reviews .swiper-pagination-bullet-active { background: var(--blue-bright); width: 26px; border-radius: 5px; }

/* ============ CTA ============ */
.cta__box { position: relative; overflow: hidden; text-align: center; background: var(--grad-dark); border-radius: 32px; padding: clamp(48px, 8vw, 92px) clamp(24px, 6vw, 80px); box-shadow: var(--shadow-lg); }
.cta__glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(59,130,246,.55), transparent 55%); }
.cta__box > * { position: relative; z-index: 1; }
.cta__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 4vw, 3rem); color: #fff; letter-spacing: -.02em; line-height: 1.1; }
.cta__text { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 52ch; margin: 20px auto 34px; }

/* ============ CONTACT ============ */
.contact { background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%); }
.contact__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 4vw, 56px); align-items: start; }
.contact__form-wrap .section__title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 10px; }
.form { margin-top: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-sm); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-size: .82rem; font-weight: 700; color: var(--graphite); margin-bottom: 8px; }
.field input, .field textarea { font-family: inherit; font-size: .95rem; color: var(--ink); padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--paper); transition: border-color .3s, box-shadow .3s, background .3s; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.field__err { font-size: .78rem; color: #dc2626; margin-top: 6px; height: 0; opacity: 0; overflow: hidden; transition: opacity .3s, height .3s; }
.field.invalid input, .field.invalid textarea { border-color: #dc2626; }
.field.invalid .field__err { height: auto; opacity: 1; }
.field--check { margin-bottom: 22px; }
.field--check .check {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  font-size: .88rem; color: var(--muted); line-height: 1.45; font-weight: 500;
}
.field--check .check input {
  flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); cursor: pointer;
}
.field--check .check a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.field--check .check a:hover { color: var(--ink); }
.field--check.invalid .check { color: #dc2626; }
.form__success { margin-top: 16px; padding: 14px 18px; background: rgba(22,163,74,.1); border: 1px solid rgba(22,163,74,.3); color: #16a34a; border-radius: 12px; font-weight: 600; font-size: .92rem; }

.contact__info { background: var(--grad-dark); color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); position: sticky; top: 100px; overflow: hidden; }
.contact__info h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; }
.contact__lead { color: rgba(255,255,255,.7); font-size: .95rem; margin: 12px 0 28px; }
.contact__list { display: grid; gap: 20px; }
.contact__list li { display: flex; gap: 16px; align-items: center; }
.contact__ico { flex: none; width: 46px; height: 46px; border-radius: 13px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: var(--blue-soft); }
.contact__ico svg { width: 20px; height: 20px; }
.contact__list small { display: block; font-size: .75rem; color: var(--muted-2); margin-bottom: 2px; }
.contact__list a, .contact__list span { color: #fff; font-weight: 600; font-size: .96rem; transition: color .3s; }
.contact__list a:hover { color: var(--blue-soft); }
.contact__regions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.contact__regions span { font-size: .85rem; padding: 7px 14px; border-radius: 100px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }

/* ============ FOOTER ============ */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding-top: 72px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.nav__logo--footer { color: #fff; margin-bottom: 18px; }
.footer__brand p { font-size: .9rem; max-width: 34ch; margin-bottom: 22px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; transition: background .3s, transform .3s, color .3s; }
.footer__social a:hover { background: var(--blue); transform: translateY(-3px); }
.footer__nav h4 { color: #fff; font-family: var(--font-display); font-weight: 500; font-size: .95rem; margin-bottom: 18px; }
.footer__nav a, .footer__contacts span { display: block; font-size: .9rem; margin-bottom: 12px; transition: color .3s; }
.footer__nav a:hover { color: var(--blue-soft); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 28px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .82rem;
  color: var(--muted-2);
  line-height: 1.4;
}
.footer__bottom > span { display: inline-flex; align-items: center; line-height: 1.4; }
.footer__legal {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.footer__legal a {
  display: inline-flex;
  align-items: center;
  color: var(--muted-2);
  line-height: 1.4;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  transition: color .3s;
}
.footer__legal a:hover { color: var(--blue-soft); }

/* ============ LEGAL PAGES ============ */
.page-nav { background: rgba(255,255,255,.92); backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line), var(--shadow-sm); padding: 10px 0; }
.legal { padding-top: 120px; padding-bottom: clamp(72px, 10vw, 120px); background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); min-height: 70vh; }
.legal__wrap { max-width: 820px; }
.legal__meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 18px 0 36px; font-size: .88rem; color: var(--muted); }
.legal__meta span { display: inline-flex; align-items: center; gap: 6px; }
.legal__content h2 {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  color: var(--ink); letter-spacing: -.01em; margin: 36px 0 14px; scroll-margin-top: 90px;
}
.legal__content h2:first-child { margin-top: 0; }
.legal__content p, .legal__content li { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.legal__content p + p { margin-top: 12px; }
.legal__content ul, .legal__content ol { margin: 12px 0 0; padding-left: 1.25rem; display: grid; gap: 8px; }
.legal__content ul { list-style: disc; }
.legal__content ol { list-style: decimal; }
.legal__content a:not(.btn) { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal__content a:not(.btn):hover { color: var(--ink); }
.legal__actions .btn { text-decoration: none; }
.legal__actions .btn--primary { color: #fff; }
.legal__actions .btn--outline { color: var(--ink); }
.legal__toc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px 24px; margin-bottom: 36px; box-shadow: var(--shadow-sm);
}
.legal__toc h3 { font-family: var(--font-display); font-weight: 500; font-size: .95rem; color: var(--ink); margin-bottom: 12px; }
.legal__toc ol { list-style: decimal; padding-left: 1.2rem; display: grid; gap: 8px; margin: 0; }
.legal__toc a { color: var(--graphite); font-weight: 600; font-size: .92rem; text-decoration: none; }
.legal__toc a:hover { color: var(--blue); }
.legal__note {
  margin-top: 40px; padding: 20px 22px; border-radius: var(--radius-sm);
  background: rgba(37,99,235,.06); border: 1px solid rgba(37,99,235,.16); color: var(--graphite); font-size: .92rem;
}
.legal__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* ============ BACK TO TOP ============ */
.to-top { position: fixed; bottom: 28px; right: 28px; z-index: 800; width: 50px; height: 50px; border-radius: 50%; background: var(--grad-blue); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,99,235,.4); opacity: 0; visibility: hidden; transform: translateY(20px) scale(.8); transition: all .4s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }

/* ============ REVEAL ANIMATION ============ */
[data-reveal] { opacity: 0; transform: translateY(38px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .nav__links, .nav__actions .btn--ghost { display: none; }
  .nav__burger { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 4px;
    background: rgba(255,255,255,.96); backdrop-filter: blur(20px); padding: 16px var(--gutter) 24px;
    box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .35s, transform .35s;
  }
  .nav__links.open { display: flex; transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { padding: 13px 16px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; margin-inline: auto; margin-top: 20px; }
  .about__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2,1fr); }
  .team__grid { grid-template-columns: repeat(2,1fr); }
  .manifesto { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__info { position: static; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .legal { padding-top: 100px; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .compare { grid-template-columns: 1fr; }
  .compare__vs { transform: rotate(90deg); margin: -4px auto; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .hero__chip { display: none; }
  .nav__actions .btn--primary { padding: 11px 18px; font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
