/*--------------------------------------------------------------
# SwiftyResults — Custom Theme (2026 rebuild)
--------------------------------------------------------------*/
:root {
  --bg: #060b1a;
  --bg-alt: #0a1226;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e8edf8;
  --muted: #9aa7c2;
  --primary: #4f7cff;
  --primary-2: #7c3aed;
  --accent: #22d3ee;
  --gradient: linear-gradient(100deg, #4f7cff 0%, #7c3aed 55%, #22d3ee 120%);
  --gradient-soft: linear-gradient(100deg, rgba(79, 124, 255, .16), rgba(124, 58, 237, .16));
  --radius: 18px;
  --font-head: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --shadow-lg: 0 24px 60px rgba(3, 8, 26, 0.6);
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: #7de8f7; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

section { padding: 96px 0; position: relative; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); background: rgba(34, 211, 238, .08);
  border: 1px solid rgba(34, 211, 238, .25);
  padding: 6px 16px; border-radius: 100px; margin-bottom: 18px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Reveal on scroll (hidden state only applies when JS is running) */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal { transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15.5px;
  padding: 15px 30px; border-radius: 100px; border: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient); color: #fff;
  box-shadow: 0 10px 30px rgba(79, 124, 255, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(124, 58, 237, .45); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn i { font-size: 18px; }

/*--------------------------------------------------------------
# Topbar
--------------------------------------------------------------*/
.topbar {
  background: var(--gradient); font-size: 13.5px; font-weight: 500;
  color: #fff; padding: 8px 0; position: relative; z-index: 1002;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar .tb-contact { display: flex; gap: 20px; }
.topbar .tb-contact i { margin-right: 5px; }
@media (max-width: 720px) { .topbar .tb-contact span.tb-mail { display: none; } }

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  position: sticky; top: 0; z-index: 1001;
  background: rgba(6, 11, 26, .72);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.header.scrolled { border-bottom-color: var(--border); background: rgba(6, 11, 26, .92); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 40px; width: auto; }
.logo span { font-family: var(--font-head); font-size: 21px; font-weight: 700; color: var(--text); }
.logo span b { color: var(--primary); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a.nav-link {
  color: var(--muted); font-size: 14.5px; font-weight: 500;
  padding: 10px 14px; border-radius: 10px;
}
.nav a.nav-link:hover, .nav a.nav-link.active { color: var(--text); background: var(--surface-2); }
.nav .btn { padding: 11px 24px; font-size: 14px; margin-left: 12px; }

.nav-toggle {
  display: none; background: none; border: none; color: var(--text);
  font-size: 28px; cursor: pointer;
}
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; top: 0; flex-direction: column; justify-content: center;
    background: rgba(6, 11, 26, .98); gap: 10px;
    opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 1005;
  }
  .nav.open { opacity: 1; pointer-events: auto; }
  .nav a.nav-link { font-size: 20px; }
  .nav .btn { margin: 18px 0 0; }
  .nav .nav-close {
    position: absolute; top: 22px; right: 24px; background: none; border: none;
    color: var(--text); font-size: 32px; cursor: pointer;
  }
}
.nav .nav-close { display: none; }
@media (max-width: 1024px) { .nav .nav-close { display: block; } }

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
.hero { padding: 110px 0 90px; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(120px); z-index: 0;
}
.hero::before { width: 560px; height: 560px; background: rgba(79, 124, 255, .22); top: -180px; left: -160px; }
.hero::after { width: 520px; height: 520px; background: rgba(124, 58, 237, .2); bottom: -220px; right: -120px; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600;
  color: var(--text); background: var(--surface-2); border: 1px solid var(--border-strong);
  padding: 8px 18px; border-radius: 100px; margin-bottom: 26px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, .2); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52, 211, 153, .25); }
  50% { box-shadow: 0 0 0 7px rgba(52, 211, 153, .08); }
}

.hero h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.02em; margin-bottom: 22px; }
.hero .sub { color: var(--muted); font-size: 18px; max-width: 540px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-trust .stars { color: #fbbf24; font-size: 15px; letter-spacing: 2px; }
.hero-trust .t-item { display: flex; flex-direction: column; gap: 2px; }
.hero-trust .t-item strong { font-family: var(--font-head); font-size: 15px; }
.hero-trust .t-item span { color: var(--muted); font-size: 13px; }
.hero-trust .t-sep { width: 1px; height: 38px; background: var(--border-strong); }

/* Hero visual — layered glass cards */
.hero-visual { position: relative; min-height: 460px; }
.glass-card {
  position: absolute; background: rgba(13, 20, 42, .82);
  border: 1px solid var(--border-strong); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 20px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.gc-chat { top: 0; left: 4%; width: 300px; animation: float 7s ease-in-out infinite; }
.gc-chat .gc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.gc-chat .gc-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--gradient);
  display: flex; align-items: center; justify-content: center; font-size: 17px; color: #fff;
}
.gc-chat .gc-head strong { font-size: 14px; display: block; }
.gc-chat .gc-head span { font-size: 12px; color: #34d399; }
.gc-bubble { border-radius: 12px; padding: 10px 14px; font-size: 13px; margin-bottom: 9px; max-width: 92%; }
.gc-bubble.bot { background: var(--surface-2); border: 1px solid var(--border); }
.gc-bubble.user { background: rgba(79, 124, 255, .25); margin-left: auto; }
.gc-typing { display: flex; gap: 4px; padding: 10px 14px; }
.gc-typing i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--muted);
  animation: blink 1.2s infinite; font-style: normal;
}
.gc-typing i:nth-child(2) { animation-delay: .2s; } .gc-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.gc-graph { right: 0; top: 22%; width: 290px; animation: float 8s ease-in-out infinite reverse; }
.gc-graph h5 { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.gc-graph .gc-big { font-family: var(--font-head); font-size: 26px; font-weight: 700; }
.gc-graph .gc-up { color: #34d399; font-size: 13px; font-weight: 600; margin-left: 8px; }
.gc-graph svg { width: 100%; margin-top: 10px; }

.gc-auto { left: 12%; bottom: 0; width: 320px; animation: float 9s ease-in-out infinite; animation-delay: 1s; }
.gc-auto .gc-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.gc-auto .gc-row:last-child { border-bottom: 0; }
.gc-auto .gc-ic {
  width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center;
  justify-content: center; font-size: 15px; flex-shrink: 0;
}
.gc-auto .gc-row .ok { margin-left: auto; color: #34d399; font-size: 16px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/*--------------------------------------------------------------
# Client marquee
--------------------------------------------------------------*/
.clients { padding: 34px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.clients .label { text-align: center; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.marquee { overflow: hidden; position: relative; -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; gap: 56px; width: max-content; animation: scroll 32s linear infinite; }
.marquee-track span {
  font-family: var(--font-head); font-size: 17px; font-weight: 600; color: #7d8bab;
  white-space: nowrap; display: flex; align-items: center; gap: 12px;
}
.marquee-track span i { color: var(--primary); font-size: 12px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/*--------------------------------------------------------------
# Stats
--------------------------------------------------------------*/
.stats { padding: 72px 0; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  text-align: center; padding: 34px 18px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.stat .num { font-family: var(--font-head); font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; }
.stat p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
@media (max-width: 860px) { .stats .grid { grid-template-columns: repeat(2, 1fr); } }

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.services .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s, box-shadow .25s; position: relative; overflow: hidden;
}
.svc::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--gradient);
  opacity: 0; transition: opacity .25s;
}
.svc:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.svc:hover::before { opacity: 1; }
.svc .ic {
  width: 52px; height: 52px; border-radius: 14px; background: var(--gradient-soft);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--accent); margin-bottom: 20px;
}
.svc h3 { font-size: 19px; margin-bottom: 10px; }
.svc > p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.svc ul { list-style: none; margin: 0 0 20px; }
.svc ul li { font-size: 13.5px; color: var(--muted); padding: 4px 0 4px 24px; position: relative; }
.svc ul li::before {
  content: "✓"; position: absolute; left: 2px; color: #34d399; font-weight: 700; font-size: 12px;
}
.svc .svc-link { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.svc .svc-link:hover { color: var(--accent); gap: 10px; }
.svc .svc-link { transition: gap .2s, color .2s; }
.svc.featured { background: linear-gradient(160deg, rgba(79, 124, 255, .12), rgba(124, 58, 237, .08)); border-color: rgba(79, 124, 255, .4); }
.svc .tag {
  position: absolute; top: 18px; right: 18px; font-size: 10.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #061125;
  background: var(--accent); padding: 4px 10px; border-radius: 100px;
}
@media (max-width: 1024px) { .services .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .services .grid { grid-template-columns: 1fr; } }

/*--------------------------------------------------------------
# AI Spotlight
--------------------------------------------------------------*/
.ai-spot .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.ai-spot .lead-col .kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .25);
  padding: 6px 16px; border-radius: 100px; margin-bottom: 18px;
}
.ai-spot h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.ai-spot .lead-col > p { color: var(--muted); font-size: 16.5px; margin-bottom: 28px; }
.ai-benefits { list-style: none; margin-bottom: 34px; }
.ai-benefits li { display: flex; gap: 14px; padding: 10px 0; align-items: flex-start; }
.ai-benefits li i { color: #34d399; font-size: 19px; margin-top: 2px; }
.ai-benefits li strong { display: block; font-family: var(--font-head); font-size: 15.5px; }
.ai-benefits li span { color: var(--muted); font-size: 14px; }

.ai-tabs { display: flex; flex-direction: column; gap: 14px; }
.ai-tab {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 22px 24px; cursor: pointer; transition: border-color .25s, background .25s;
}
.ai-tab:hover { border-color: var(--border-strong); }
.ai-tab.active { border-color: rgba(79, 124, 255, .5); background: linear-gradient(160deg, rgba(79, 124, 255, .1), rgba(124, 58, 237, .06)); }
.ai-tab .th { display: flex; align-items: center; gap: 14px; }
.ai-tab .th i.main { font-size: 22px; color: var(--accent); width: 42px; height: 42px; background: var(--gradient-soft); border: 1px solid var(--border-strong); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ai-tab .th h3 { font-size: 16.5px; flex: 1; }
.ai-tab .th .chev { color: var(--muted); transition: transform .25s; }
.ai-tab.active .th .chev { transform: rotate(180deg); color: var(--accent); }
.ai-tab .tb { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.ai-tab.active .tb { max-height: 300px; }
.ai-tab .tb p { color: var(--muted); font-size: 14.5px; padding-top: 14px; }
@media (max-width: 1024px) { .ai-spot .wrap { grid-template-columns: 1fr; } }

/*--------------------------------------------------------------
# Process
--------------------------------------------------------------*/
.process { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.process .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step .n {
  font-family: var(--font-head); font-size: 44px; font-weight: 800; line-height: 1;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; margin-bottom: 16px; display: block;
}
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 14px; }
@media (max-width: 1024px) { .process .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .process .grid { grid-template-columns: 1fr; } }

/*--------------------------------------------------------------
# Why us
--------------------------------------------------------------*/
.why .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { padding: 28px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; gap: 18px; align-items: flex-start; }
.why-card i { font-size: 24px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.why-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 14px; }
@media (max-width: 1024px) { .why .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .why .grid { grid-template-columns: 1fr; } }

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pf-filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.pf-filters button {
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  padding: 9px 24px; border-radius: 100px; cursor: pointer; transition: all .2s;
}
.pf-filters button:hover { color: var(--text); border-color: var(--border-strong); }
.pf-filters button.active { background: var(--gradient); color: #fff; border-color: transparent; }

.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pf-item {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  background: #fff; position: relative; cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}
.pf-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pf-item .thumb { aspect-ratio: 4 / 3; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #f4f6fb; }
.pf-item .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .4s; }
.pf-item:hover .thumb img { transform: scale(1.05); }
.pf-item .info {
  padding: 18px 20px; background: rgba(10, 18, 38, .97);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--border);
}
.pf-item .info h3 { font-size: 15.5px; }
.pf-item .info p { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.pf-item .info .links { display: flex; gap: 8px; flex-shrink: 0; }
.pf-item .info .links a, .pf-item .info .links button {
  width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2);
  border: 1px solid var(--border); color: var(--text); display: flex; align-items: center;
  justify-content: center; font-size: 15px; cursor: pointer; transition: all .2s;
}
.pf-item .info .links a:hover, .pf-item .info .links button:hover { background: var(--gradient); border-color: transparent; color: #fff; }
.pf-item.hide { display: none; }
@media (max-width: 1024px) { .pf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pf-grid { grid-template-columns: 1fr; } }

/* Portfolio modal */
.pf-modal {
  position: fixed; inset: 0; z-index: 1100; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(3, 6, 16, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.pf-modal.open { display: flex; }
.pf-modal .box {
  width: min(960px, 100%); background: var(--bg-alt); border: 1px solid var(--border-strong);
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.pf-modal .box-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.pf-modal .box-head h3 { font-size: 17px; }
.pf-modal .box-head span { color: var(--muted); font-size: 13px; display: block; }
.pf-modal .box-head .actions { display: flex; align-items: center; gap: 10px; }
.pf-modal .box-head a.visit { font-size: 13.5px; font-weight: 600; padding: 8px 18px; border-radius: 100px; background: var(--gradient); color: #fff; }
.pf-modal .box-head button {
  width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text); font-size: 18px; cursor: pointer;
}
.pf-modal .stage { position: relative; background: #0a0f22; }
.pf-modal .stage img { width: 100%; max-height: 68vh; object-fit: contain; }
.pf-modal .stage .arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong);
  background: rgba(6, 11, 26, .8); color: #fff; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.pf-modal .stage .arrow:hover { background: var(--primary); }
.pf-modal .stage .arrow.prev { left: 14px; } .pf-modal .stage .arrow.next { right: 14px; }
.pf-modal .dots { display: flex; justify-content: center; gap: 8px; padding: 16px; }
.pf-modal .dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--border-strong); cursor: pointer; }
.pf-modal .dots button.active { background: var(--accent); }

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .slider { position: relative; max-width: 860px; margin: 0 auto; }
.testimonials .track-wrap { overflow: hidden; border-radius: var(--radius); }
.testimonials .track { display: flex; transition: transform .5s ease; }
.t-slide { min-width: 100%; padding: 8px; }
.t-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 44px; text-align: center;
}
.t-card .quote-ic { font-size: 34px; color: var(--primary); opacity: .7; margin-bottom: 14px; }
.t-card p.quote { font-size: 17.5px; line-height: 1.7; margin-bottom: 26px; }
.t-card .who { display: flex; align-items: center; justify-content: center; gap: 14px; }
.t-card .who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-strong); }
.t-card .who .wt { text-align: left; }
.t-card .who h3 { font-size: 15.5px; }
.t-card .who h4 { font-size: 13px; color: var(--muted); font-weight: 500; }
.t-card .stars { color: #fbbf24; font-size: 14px; letter-spacing: 2px; margin-top: 3px; }
.testimonials .t-nav { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.testimonials .t-nav button {
  width: 42px; height: 42px; border-radius: 50%; background: var(--surface-2);
  border: 1px solid var(--border-strong); color: var(--text); font-size: 17px; cursor: pointer; transition: all .2s;
}
.testimonials .t-nav button:hover { background: var(--gradient); border-color: transparent; }
.testimonials .t-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.testimonials .t-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--border-strong); cursor: pointer; transition: all .2s; }
.testimonials .t-dots button.active { background: var(--accent); width: 26px; border-radius: 100px; }
@media (max-width: 640px) { .t-card { padding: 30px 22px; } }

/*--------------------------------------------------------------
# CTA band
--------------------------------------------------------------*/
.cta-band { padding: 0; }
.cta-band .inner {
  background: var(--gradient); border-radius: 26px; padding: 64px 48px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-band .inner::before {
  content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); filter: blur(80px); top: -180px; right: -100px;
}
.cta-band h2 { font-size: clamp(26px, 3.6vw, 38px); color: #fff; margin-bottom: 14px; position: relative; }
.cta-band p { color: rgba(255, 255, 255, .88); font-size: 17px; max-width: 620px; margin: 0 auto 30px; position: relative; }
.cta-band .btn { background: #fff; color: #1d2a6b; position: relative; }
.cta-band .btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0, 0, 0, .3); }
.cta-band .note { font-size: 13.5px; color: rgba(255, 255, 255, .75); margin-top: 16px; position: relative; }

/*--------------------------------------------------------------
# FAQ
--------------------------------------------------------------*/
.faq .list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color .25s; }
.faq-item.open { border-color: rgba(79, 124, 255, .45); }
.faq-item button.q {
  width: 100%; background: none; border: none; color: var(--text); cursor: pointer;
  font-family: var(--font-head); font-size: 16px; font-weight: 600; text-align: left;
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item button.q i { color: var(--accent); font-size: 18px; transition: transform .25s; flex-shrink: 0; }
.faq-item.open button.q i { transform: rotate(45deg); }
.faq-item .a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item .a p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }
.faq-item.open .a { max-height: 400px; }

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact { background: var(--bg-alt); border-top: 1px solid var(--border); }
.contact .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: start; }
.contact .info-cards { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  display: flex; gap: 18px; align-items: flex-start; background: var(--surface);
  border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px;
}
.info-card i {
  width: 46px; height: 46px; border-radius: 12px; background: var(--gradient-soft);
  border: 1px solid var(--border-strong); color: var(--accent); font-size: 20px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-card h3 { font-size: 15.5px; margin-bottom: 5px; }
.info-card p, .info-card a { color: var(--muted); font-size: 14px; display: block; }
.info-card a:hover { color: var(--accent); }

.c-form {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px;
}
.c-form h3 { font-size: 21px; margin-bottom: 6px; }
.c-form > p { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.c-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.c-form .field { margin-bottom: 16px; }
.c-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.c-form input, .c-form select, .c-form textarea {
  width: 100%; background: rgba(6, 11, 26, .6); border: 1px solid var(--border-strong);
  border-radius: 12px; color: var(--text); font-family: var(--font-body); font-size: 14.5px;
  padding: 13px 16px; transition: border-color .2s, box-shadow .2s;
}
.c-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239aa7c2' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6 6.5-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.c-form select option { background: var(--bg-alt); }
.c-form input:focus, .c-form select:focus, .c-form textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 124, 255, .18);
}
.c-form textarea { resize: vertical; min-height: 130px; }
.c-form .btn { width: 100%; margin-top: 6px; }
.form-msg { display: none; border-radius: 12px; padding: 12px 16px; font-size: 14px; margin-bottom: 16px; }
.form-msg.ok { display: block; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .4); color: #6ee7b7; }
.form-msg.err { display: block; background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .4); color: #fca5a5; }
.form-msg.loading { display: block; background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--muted); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
@media (max-width: 960px) { .contact .wrap { grid-template-columns: 1fr; } .c-form .row2 { grid-template-columns: 1fr; } }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer { border-top: 1px solid var(--border); padding: 0; background: var(--bg); }
.f-news { padding: 52px 0; border-bottom: 1px solid var(--border); }
.f-news .container { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.f-news h4 { font-size: 22px; margin-bottom: 8px; }
.f-news p { color: var(--muted); font-size: 14.5px; }
.f-news .container > div { min-width: 0; }
.f-news form { display: flex; gap: 10px; flex-wrap: wrap; }
.f-news input[type="email"] {
  flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 100px;
  padding: 14px 22px; color: var(--text); font-size: 14.5px; font-family: var(--font-body);
}
.f-news input[type="email"]:focus { outline: none; border-color: var(--primary); }
.f-news button { border-radius: 100px; }
.f-news #newsletter-message { font-size: 13.5px; margin-top: 10px; }
@media (max-width: 860px) { .f-news .container { grid-template-columns: 1fr; } }

.f-main { padding: 64px 0 40px; }
.f-main .grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.f-main .logo { margin-bottom: 18px; }
.f-main .about-txt { color: var(--muted); font-size: 14.5px; max-width: 320px; margin-bottom: 22px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 11px; background: var(--surface-2);
  border: 1px solid var(--border); color: var(--text); font-size: 16px;
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.socials a:hover { background: var(--gradient); border-color: transparent; color: #fff; transform: translateY(-3px); }
.f-main h4 { font-size: 15px; margin-bottom: 18px; letter-spacing: .04em; }
.f-main ul { list-style: none; }
.f-main ul li { margin-bottom: 11px; }
.f-main ul a { color: var(--muted); font-size: 14px; }
.f-main ul a:hover { color: var(--accent); }
.f-main .f-contact p { color: var(--muted); font-size: 14px; margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start; }
.f-main .f-contact i { color: var(--accent); margin-top: 3px; }
.f-main .f-contact a { color: var(--muted); }
.f-main .f-contact a:hover { color: var(--accent); }
@media (max-width: 960px) { .f-main .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .f-main .grid { grid-template-columns: 1fr; } }

.f-bottom { border-top: 1px solid var(--border); padding: 22px 0; }
.f-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }

/*--------------------------------------------------------------
# Floating chat + back-to-top
--------------------------------------------------------------*/
.chat-fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 1050;
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--gradient); color: #fff; font-size: 25px;
  box-shadow: 0 12px 34px rgba(79, 124, 255, .5);
  display: flex; align-items: center; justify-content: center; transition: transform .2s;
}
.chat-fab:hover { transform: scale(1.08); }
.chat-panel {
  position: fixed; bottom: 100px; right: 26px; z-index: 1050; width: 340px; max-width: calc(100vw - 40px);
  background: var(--bg-alt); border: 1px solid var(--border-strong); border-radius: 20px;
  box-shadow: var(--shadow-lg); overflow: hidden; display: none;
}
.chat-panel.open { display: block; }
.chat-panel .cp-head { background: var(--gradient); padding: 18px 22px; color: #fff; }
.chat-panel .cp-head h4 { font-size: 16px; }
.chat-panel .cp-head p { font-size: 12.5px; opacity: .9; }
.chat-panel .cp-body { padding: 20px; }
.chat-panel input, .chat-panel textarea {
  width: 100%; background: rgba(6, 11, 26, .6); border: 1px solid var(--border-strong);
  border-radius: 11px; color: var(--text); font-family: var(--font-body); font-size: 14px;
  padding: 11px 14px; margin-bottom: 11px;
}
.chat-panel input:focus, .chat-panel textarea:focus { outline: none; border-color: var(--primary); }
.chat-panel .btn { width: 100%; padding: 12px; font-size: 14px; }
.chat-panel .cp-msg { font-size: 13px; margin-bottom: 10px; }
.chat-panel .cp-msg.ok { color: #6ee7b7; } .chat-panel .cp-msg.err { color: #fca5a5; }

.to-top {
  position: fixed; bottom: 26px; left: 26px; z-index: 1040;
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: rgba(10, 18, 38, .9); color: var(--text); font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .2s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent); }
