/* SwaraAI shared design system — every page links this file, page-specific CSS stays inline */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F4F8FF;
  --bg-deep: #071022;
  --blue: #1A73E8;
  --blue-2: #0052CC;
  --blue-light: #EDF4FE;
  --cyan: #22B8F0;
  --ink: #0B1B3D;
  --muted: #5F7396;
  --line: #E2ECF9;
  --green: #16C784;
  --grad: linear-gradient(135deg, #1A73E8 0%, #0052CC 100%);
  --grad-soft: linear-gradient(135deg, #EDF4FE 0%, #F7FBFF 100%);
  --shadow-sm: 0 4px 14px rgba(11, 27, 61, 0.05);
  --shadow: 0 12px 32px rgba(26, 115, 232, 0.08);
  --shadow-lg: 0 24px 56px rgba(26, 115, 232, 0.16);
  --radius: 18px;
  --radius-lg: 28px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* legacy aliases so older inline page CSS keeps working */
  --card-blue: var(--blue);
  --card-blue-light: var(--blue-light);
  --border-line: var(--line);
  --gradient-blue: var(--grad);
  --shadow-soft: var(--shadow);
  --shadow-hover: var(--shadow-lg);
  --surface: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; }
::selection { background: rgba(26, 115, 232, 0.2); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid rgba(26, 115, 232, 0.45); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.shell { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 { color: var(--ink); overflow-wrap: break-word; }
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; margin: 0 0 18px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.18; margin: 0 0 16px; }
h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.3; margin: 0 0 10px; }
p { margin: 0 0 16px; color: var(--muted); font-size: 0.98rem; line-height: 1.75; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.14rem); max-width: 600px; }
.grad-text { background: linear-gradient(90deg, #1A73E8, #22B8F0); -webkit-background-clip: text; background-clip: text; color: transparent; }

.sec { position: relative; padding: clamp(64px, 8vw, 104px) 0; }
.sec-alt { background: var(--bg-alt); }
.sec-head { max-width: 640px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-tag {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
  color: var(--blue);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
}
.sec-tag::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-head.center .sec-tag::before { display: none; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  color: var(--blue);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22, 199, 132, 0.18); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(22, 199, 132, 0.05); } }

/* ---------- BUTTONS ---------- */
.btn, .pill-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 999px;
  font: 800 14.5px/1 'Manrope', sans-serif;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn-primary, .pill-btn { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(26, 115, 232, 0.28); }
.btn-primary:hover, .pill-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(26, 115, 232, 0.38); }
.btn-ghost { background: #fff; color: var(--blue); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: rgba(26, 115, 232, 0.4); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 800; font-size: 0.92rem; }
.link-arrow::after { content: '→'; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- HEADER ---------- */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.hdr.scrolled { box-shadow: 0 8px 24px rgba(11, 27, 61, 0.06); }
.hdr-in {
  width: min(1240px, calc(100% - 40px)); margin: 0 auto;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(26, 115, 232, 0.3);
}
.brand-word { font: 800 21px/1 'Manrope', sans-serif; color: var(--ink); letter-spacing: -.02em; }
.brand-word em { font-style: normal; color: var(--blue); }

.hdr-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.hdr-nav > a, .nav-services > a {
  color: var(--muted); font-size: 14.5px; font-weight: 700; white-space: nowrap; padding: 8px 0;
  position: relative; transition: color .2s;
}
.hdr-nav > a::after, .nav-services > a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.hdr-nav > a:hover, .hdr-nav > a[aria-current="page"], .nav-services > a:hover, .nav-services > a[aria-current="page"], .dropdown.open .nav-services > a { color: var(--blue); }
.hdr-nav > a:hover::after, .hdr-nav > a[aria-current="page"]::after, .nav-services > a[aria-current="page"]::after { transform: scaleX(1); }

.dropdown { position: relative; }
.nav-services { display: inline-flex; align-items: center; gap: 4px; }
.drop-trigger {
  display: grid; place-items: center; width: 26px; height: 26px; padding: 0;
  border: 0; border-radius: 8px; background: transparent; color: var(--muted);
}
.drop-trigger:hover, .dropdown.open .drop-trigger { color: var(--blue); background: var(--blue-light); }
.drop-trigger svg { width: 14px; height: 14px; transition: transform .2s; }
.dropdown.open .drop-trigger svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(560px, calc(100vw - 32px));
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  padding: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 48px rgba(11, 27, 61, 0.14);
  opacity: 0; visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 110;
}
.dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px; border-radius: 12px;
  white-space: normal; overflow-wrap: anywhere;
  transition: background .2s;
}
.dropdown-menu a:hover, .dropdown-menu a[aria-current="page"] { background: var(--blue-light); }
.dm-ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--blue-light); color: var(--blue); font-size: 16px; }
.dropdown-menu a:hover .dm-ico { background: #fff; }
.dm-txt strong { display: block; font-size: 13.5px; color: var(--ink); line-height: 1.3; }
.dm-txt span { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.dm-all { grid-column: 1 / -1; justify-content: center; font-size: 13px; font-weight: 800; color: var(--blue); border-top: 1px solid var(--line); border-radius: 0 0 10px 10px !important; margin-top: 4px; }

.dropdown-backdrop {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 90;
  background: rgba(11, 27, 61, 0.28);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .25s;
}
body.menu-open .dropdown-backdrop { opacity: 1; visibility: visible; }

.hdr-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.hdr-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: var(--ink); white-space: nowrap; }
.hdr-phone svg { width: 18px; height: 18px; color: var(--blue); }

.menu-btn {
  display: none; align-items: center; gap: 8px;
  background: var(--blue-light); border: 1px solid var(--line); color: var(--blue);
  border-radius: 10px; padding: 9px 14px; font: 800 13px/1 'Manrope', sans-serif;
}
.m-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  display: flex; flex-direction: column;
  background: #fff; padding: 20px 20px 110px; overflow-y: auto;
  transform: translateX(100%); visibility: hidden;
  transition: transform .3s var(--ease), visibility .3s;
}
.m-menu.open { transform: none; visibility: visible; }
.m-menu a { color: var(--ink); font: 700 16px/1.3 'Manrope', sans-serif; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.m-menu a[aria-current="page"] { color: var(--blue); }
.m-menu .m-label { font: 800 11px/1 'DM Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); padding: 22px 4px 6px; }
.m-menu .m-sub { font-size: 15px; font-weight: 600; color: var(--muted); padding-left: 14px; }
.m-menu .btn { margin-top: 22px; }

/* ---------- BREADCRUMBS ---------- */
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: '/'; color: #B3C2DA; }
.crumbs a { color: var(--blue); font-weight: 700; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- PAGE HERO ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(44px, 6vw, 80px) 0 clamp(64px, 8vw, 100px);
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(34, 184, 240, 0.16), transparent 60%),
    radial-gradient(700px 380px at -5% 20%, rgba(26, 115, 232, 0.12), transparent 60%),
    linear-gradient(180deg, #F4F8FF 0%, #FFFFFF 100%);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(26, 115, 232, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(26, 115, 232, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.page-hero > .shell { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-grid h1 { max-width: 640px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 600; font-size: .96rem; }
.hero-points li::before { content: '✓'; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-light); color: var(--blue); font-size: 12px; font-weight: 800; margin-top: 1px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 13px; font-weight: 700; color: var(--muted); }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* floating glass bubbles */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.bubble {
  position: absolute;
  background: rgba(26, 115, 232, 0.06);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(26, 115, 232, 0.16);
  box-shadow: 0 12px 30px rgba(26, 115, 232, 0.08);
  animation: bubbleFloat 7s ease-in-out infinite;
}
.bubble.b1 { width: 140px; height: 140px; border-radius: 40% 60% 70% 30% / 50% 40% 60% 50%; top: 10%; left: 2%; }
.bubble.b2 { width: 190px; height: 170px; border-radius: 60% 40% 30% 70% / 40% 60% 50% 50%; bottom: 6%; right: 3%; animation-delay: 1.5s; }
.bubble.b3 { width: 90px; height: 90px; border-radius: 50%; top: 18%; right: 38%; animation-delay: 3s; opacity: .7; }
@keyframes bubbleFloat { 0%, 100% { transform: translateY(0) rotate(0) scale(1); } 50% { transform: translateY(-18px) rotate(4deg) scale(1.04); } }

/* image card + floating chips */
.visual { position: relative; }
.img-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--blue-light); }
.img-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.img-card:hover img { transform: scale(1.04); }
.ratio-hero { aspect-ratio: 4 / 4.4; }
.ratio-wide { aspect-ratio: 16 / 11; }
.ratio-tall { aspect-ratio: 4 / 5; }
.float-chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 14px 32px rgba(11, 27, 61, 0.16);
  animation: chipFloat 4.5s ease-in-out infinite;
}
.float-chip strong { display: block; font-size: 1.1rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.float-chip span { font-size: .72rem; font-weight: 700; color: var(--muted); }
.float-chip .ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-light); color: var(--blue); font-size: 17px; flex: none; }
.chip-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22, 199, 132, .2); flex: none; }
.chip-tl { top: -18px; left: -18px; }
.chip-tr { top: 22px; right: -22px; animation-delay: .8s; }
.chip-bl { bottom: 26px; left: -22px; animation-delay: 1.6s; }
.chip-br { bottom: -18px; right: -14px; animation-delay: 1.2s; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- CARDS ---------- */
.card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(26, 115, 232, .3); }
.card-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-feature { background: var(--grad); color: #fff; border-color: transparent; }
.card-feature h3, .card-feature .sec-tag { color: #fff; }
.card-feature p { color: rgba(255, 255, 255, .86); }
.icon-chip {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 15px;
  background: var(--blue-light); color: var(--blue);
  font-size: 22px;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.card:hover .icon-chip { transform: rotate(-6deg) scale(1.06); background: var(--grad); color: #fff; }
.icon-chip svg { width: 24px; height: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; color: var(--muted); }
.check-list li::before { content: '✓'; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-light); color: var(--blue); font-size: 12px; font-weight: 800; margin-top: 3px; }

/* ---------- STATS / COUNTERS ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.stat-band > div { padding: 28px 24px; text-align: center; }
.stat-band > div + div { border-left: 1px solid var(--line); }
.stat-num { display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--blue); margin-bottom: 8px; }
.stat-label { font-size: .85rem; font-weight: 700; color: var(--muted); }

/* ---------- MARQUEE ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--ink); white-space: nowrap; box-shadow: var(--shadow-sm); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- STEPS ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font: 800 2.2rem/1 'DM Mono', monospace; color: var(--blue); opacity: .2; margin-bottom: 12px; }

/* ---------- RELATED SERVICES (internal linking) ---------- */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-card { display: flex; gap: 14px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(26, 115, 232, .35); }
.related-card strong { display: block; color: var(--ink); font-size: .98rem; margin-bottom: 4px; }
.related-card span { display: block; color: var(--muted); font-size: .86rem; line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.faq-item.open { border-color: rgba(26, 115, 232, .35); box-shadow: var(--shadow); }
.faq-q { display: grid; grid-template-columns: minmax(0, 1fr) 34px; align-items: center; gap: 16px; width: 100%; padding: 20px 22px; border: 0; background: transparent; color: var(--ink); font-size: 1rem; font-weight: 800; text-align: left; }
.faq-plus { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); color: var(--blue); font-size: 1.2rem; transition: transform .25s, background .25s; }
.faq-item.open .faq-plus { transform: rotate(45deg); background: var(--blue-light); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { min-height: 0; overflow: hidden; }
.faq-a p { padding: 0 22px 20px; margin: 0; font-size: .94rem; }

/* ---------- CTA ---------- */
.cta-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: clamp(32px, 5vw, 56px);
  background: var(--grad); color: #fff; border-radius: var(--radius-lg);
  box-shadow: 0 20px 44px rgba(26, 115, 232, .3);
}
.cta-card::before, .cta-card::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .08); pointer-events: none; }
.cta-card::before { width: 320px; height: 320px; right: -80px; top: -140px; }
.cta-card::after { width: 200px; height: 200px; left: 30%; bottom: -120px; }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2, .cta-card p, .cta-card .sec-tag { color: #fff !important; }
.cta-card p { opacity: .88; margin-bottom: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.cta-actions .btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); box-shadow: none; }

/* ---------- FOOTER ---------- */
.tpf {
  position: relative;
  background: var(--bg-deep);
  color: #93A6C6;
  padding: clamp(56px, 7vw, 84px) 0 28px;
  font-size: 14px;
  border-top: 1px solid rgba(98, 162, 253, 0.22);
  overflow: hidden;
}
.tpf::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(98, 162, 253, 0.75), transparent); }
.tpf::after { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 760px; max-width: 92%; height: 260px; background: radial-gradient(ellipse at top, rgba(26, 115, 232, 0.22), transparent 70%); pointer-events: none; }
.tpf .shell { position: relative; z-index: 1; }
.tpf-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 44px; margin-bottom: 40px; }
.tpf-brand { max-width: 390px; }
.tpf .brand { margin-bottom: 18px; }
.tpf .brand-mark { box-shadow: 0 6px 18px rgba(26, 115, 232, 0.45); }
.tpf .brand-word { color: #fff; }
.tpf .brand-word em { color: #62A2FD; }
.tpf-brand p { color: #93A6C6; font-size: 14px; line-height: 1.7; margin-bottom: 22px; }
.tpf-contact { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 11px; }
.tpf-contact li, .tpf-contact a { display: flex; align-items: center; gap: 11px; color: #C3D1E6; font-weight: 600; }
.tpf-contact a { transition: color .2s; }
.tpf-contact a:hover { color: #fff; }
.tpf-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(98, 162, 253, 0.12); color: #62A2FD; flex: none; }
.tpf-ico svg { width: 16px; height: 16px; }
.tpf-col h4 { color: #fff; margin: 0 0 18px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.tpf-col a { display: block; color: #93A6C6; padding: 7px 0; transition: color .2s, transform .2s var(--ease); }
.tpf-col a:hover { color: #fff; transform: translateX(5px); }
.tpf-b { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 24px; font-size: 13px; }
.tpf-b a { color: #93A6C6; transition: color .2s; }
.tpf-b a:hover { color: #fff; }
.tpf-langs { color: #62A2FD; font-family: 'DM Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .04em; }
.tpf-toplink { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }

/* sticky mobile action bar */
.mobile-cta { display: none; }

/* ---------- ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.d1.in-view { transition-delay: .08s; } .d2.in-view { transition-delay: .16s; } .d3.in-view { transition-delay: .24s; } .d4.in-view { transition-delay: .32s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-in { animation: heroIn .8s var(--ease) both; }
.hero-in-2 { animation: heroIn .8s var(--ease) .15s both; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .hdr-nav, .hdr-phone, .hdr-cta .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-grid .visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat-band > div:nth-child(3) { border-left: 0; }
  .stat-band > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tpf-top { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
  .tpf-brand { grid-column: 1 / -1; max-width: none; }
  .cta-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4, .steps, .related-grid { grid-template-columns: 1fr; }
  .tpf-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .tpf-b { justify-content: flex-start; }
  .float-chip { padding: 9px 12px; }
  .float-chip strong { font-size: .95rem; }
  .chip-tl, .chip-bl { left: -6px; } .chip-tr, .chip-br { right: -6px; }
  .bubble.b2, .bubble.b3 { display: none; }
  .btn-row .btn { flex: 1 1 auto; }
  body { padding-bottom: 68px; }
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(11, 27, 61, .08);
  }
  .mobile-cta a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 12px; font-weight: 800; font-size: 14px; }
  .mobile-cta .mc-call { background: var(--blue-light); color: var(--blue); }
  .mobile-cta .mc-wa { background: #16A34A; color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
