/* ============================================================
   SWAN — Modern Redesign 2026
   Design system: vivid gradients, glassmorphism, soft depth
   ============================================================ */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #06b6d4;
  --accent: #ec4899;
  --violet: #8b5cf6;
  --navy: #0b1023;
  --navy-2: #111735;
  --ink: #0f172a;
  --slate: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 45%, #06b6d4 100%);
  --grad-warm: linear-gradient(135deg, #ec4899, #8b5cf6);
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, .06);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, .10);
  --shadow-lg: 0 24px 60px rgba(79, 70, 229, .18);
  --radius: 18px;
  --radius-lg: 26px;
  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color .25s; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.22; font-weight: 700; }

.container { width: min(1200px, 92%); margin-inline: auto; }
section { position: relative; }
.section { padding: 96px 0; }
@media (max-width: 767px) { .section { padding: 64px 0; } }

/* ---------- utility ---------- */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: rgba(99, 102, 241, .1);
  border: 1px solid rgba(99, 102, 241, .25);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad);
  animation: pulse-dot 1.8s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99,102,241,.5); }
  60% { box-shadow: 0 0 0 7px rgba(99,102,241,0); }
}
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 16px; letter-spacing: -.02em; }
.section-lead { color: var(--muted); font-size: 1.06rem; max-width: 640px; }
.text-center { text-align: center; }
.text-center .section-lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.btn svg { transition: transform .3s; }
.btn:hover svg { transform: translateX(4px); }
.btn-grad {
  background: var(--grad);
  background-size: 160% 160%;
  color: #fff;
  box-shadow: 0 10px 26px rgba(99, 102, 241, .38);
}
.btn-grad:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(99, 102, 241, .48); background-position: 100% 50%; }
.btn-ghost {
  background: rgba(255, 255, 255, .07);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .14); border-color: rgba(255,255,255,.55); }
.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { transform: translateY(-3px); background: rgba(99, 102, 241, .08); }

/* ---------- scroll progress ---------- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--grad);
  z-index: 2000;
  border-radius: 0 3px 3px 0;
}

/* ---------- header ---------- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: padding .35s, background .35s, box-shadow .35s;
}
#site-header .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
#site-header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 6px 24px rgba(15, 23, 42, .08);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 51px; }
.brand .brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: .02em;
  color: #fff;
  transition: color .3s;
}
.brand .brand-name em { font-style: normal; background: linear-gradient(135deg,#a5b4fc,#67e8f9); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
#site-header.scrolled .brand .brand-name,
#site-header.on-light .brand .brand-name { color: var(--ink); }
#site-header.scrolled .brand .brand-name em,
#site-header.on-light .brand .brand-name em { background: var(--grad); -webkit-background-clip: text; background-clip: text; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-weight: 600;
  font-size: .93rem;
  color: rgba(255, 255, 255, .85);
  padding: 9px 15px;
  border-radius: 999px;
  position: relative;
  transition: color .25s, background .25s;
}
#site-header.scrolled .nav-links a,
#site-header.on-light .nav-links a { color: var(--slate); }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .12); }
#site-header.scrolled .nav-links a:hover,
#site-header.on-light .nav-links a:hover { color: var(--primary-dark); background: rgba(99, 102, 241, .1); }
.nav-links a.active { color: #fff; background: var(--grad); box-shadow: 0 6px 16px rgba(99, 102, 241, .35); }
#site-header.scrolled .nav-links a.active,
#site-header.on-light .nav-links a.active { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 11px 24px; font-size: .88rem; }

/* hamburger */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 1102;
}
#site-header.scrolled .nav-toggle,
#site-header.on-light .nav-toggle { background: rgba(99, 102, 241, .12); }
.nav-toggle span {
  width: 22px; height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform .35s, opacity .25s, background .3s;
}
#site-header.scrolled .nav-toggle span,
#site-header.on-light .nav-toggle span { background: var(--primary-dark); }
body.nav-open .nav-toggle span { background: #fff; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 991px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: 0;
    background: linear-gradient(160deg, #0b1023 0%, #1e1b4b 60%, #164e63 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease, visibility 0s linear .4s;
    z-index: 1101;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.nav-open .nav-menu { opacity: 1; visibility: visible; transition: opacity .4s ease, visibility 0s linear 0s; }
  body.nav-open { overflow: hidden; }
  .nav-links { flex-direction: column; gap: 10px; }
  .nav-links a { color: rgba(255,255,255,.85) !important; font-size: 1.25rem; padding: 10px 26px; opacity: 0; transform: translateY(18px); transition: opacity .4s, transform .4s; }
  body.nav-open .nav-links a { opacity: 1; transform: none; }
  .nav-links a:nth-child(1) { transition-delay: .05s; } .nav-links a:nth-child(2) { transition-delay: .1s; }
  .nav-links a:nth-child(3) { transition-delay: .15s; } .nav-links a:nth-child(4) { transition-delay: .2s; }
  .nav-links a:nth-child(5) { transition-delay: .25s; } .nav-links a:nth-child(6) { transition-delay: .3s; }
  .nav-cta { display: none; }
}

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  background: radial-gradient(ellipse 80% 60% at 70% -10%, #312e81 0%, transparent 55%),
              radial-gradient(ellipse 60% 50% at 10% 110%, #155e75 0%, transparent 55%),
              var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  pointer-events: none;
  animation: blob-float 14s ease-in-out infinite alternate;
}
.blob-1 { width: 460px; height: 460px; top: -140px; right: -80px; background: #6366f1; }
.blob-2 { width: 380px; height: 380px; bottom: -120px; left: -100px; background: #0e7490; animation-delay: -5s; }
.blob-3 { width: 260px; height: 260px; top: 42%; left: 46%; background: #db2777; opacity: .28; animation-delay: -9s; }
@keyframes blob-float {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(46px, -34px) scale(1.14); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 991px) { .hero-grid { grid-template-columns: 1fr; gap: 56px; } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 600;
  color: #c7d2fe;
  margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 12px #34d399; animation: pulse-dot 1.6s infinite; }
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 22px;
}
.hero h1 .type-wrap { display: inline-block; min-width: 5ch; }
.hero h1 .typed {
  background: linear-gradient(135deg, #a5b4fc, #67e8f9, #f9a8d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 .caret {
  display: inline-block;
  width: 3px;
  height: .9em;
  background: #67e8f9;
  margin-left: 4px;
  vertical-align: -8%;
  animation: caret-blink .8s steps(1) infinite;
  border-radius: 2px;
}
@keyframes caret-blink { 50% { opacity: 0; } }
.hero p.lead { color: #cbd5e1; font-size: 1.13rem; max-width: 520px; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 54px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.stat-chip {
  flex: 1 1 130px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .13);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: transform .3s, border-color .3s, background .3s;
}
.stat-chip:hover { transform: translateY(-5px); border-color: rgba(165, 180, 252, .5); background: rgba(255,255,255,.1); }
.stat-chip .num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: #fff; }
.stat-chip .num .plus { color: #67e8f9; }
.stat-chip .lbl { font-size: .8rem; color: #94a3b8; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* hero visual collage */
.hero-visual { position: relative; }
.hero-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.hero-collage .tile {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
  animation: tile-float 7s ease-in-out infinite;
}
.hero-collage .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.hero-collage .tile:hover img { transform: scale(1.07); }
.hero-collage .tile:nth-child(1) { aspect-ratio: 4/4.6; }
.hero-collage .tile:nth-child(2) { aspect-ratio: 4/3.4; margin-top: 42px; animation-delay: -1.8s; }
.hero-collage .tile:nth-child(3) { aspect-ratio: 4/3.4; margin-top: -42px; animation-delay: -3.4s; }
.hero-collage .tile:nth-child(4) { aspect-ratio: 4/4.6; animation-delay: -5s; }
@keyframes tile-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(17, 23, 53, .85);
  border: 1px solid rgba(165, 180, 252, .3);
  backdrop-filter: blur(14px);
  padding: 13px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  font-size: .85rem;
  font-weight: 600;
  color: #e2e8f0;
  z-index: 3;
  animation: tile-float 6s ease-in-out infinite;
}
.float-card .ic {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad);
  flex-shrink: 0;
}
.float-card .ic svg { width: 20px; height: 20px; stroke: #fff; }
.float-card.fc-1 { top: -24px; left: -18px; animation-delay: -2s; }
.float-card.fc-2 { bottom: -20px; right: -10px; animation-delay: -4s; }
@media (max-width: 991px) {
  .float-card.fc-1 { left: 0; }
  .float-card.fc-2 { right: 0; }
}

/* hero scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #94a3b8;
}
.scroll-hint .mouse {
  width: 26px; height: 42px;
  border: 2px solid #64748b;
  border-radius: 14px;
  position: relative;
  margin-inline: auto;
}
.scroll-hint .mouse::after {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 3px;
  background: #a5b4fc;
  animation: wheel 1.6s ease infinite;
}
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- marquee ---------- */
.marquee-strip {
  background: var(--grad);
  padding: 16px 0;
  overflow: hidden;
  transform: rotate(-1.2deg) scale(1.02);
  margin-top: -28px;
  position: relative;
  z-index: 5;
  box-shadow: 0 14px 34px rgba(99, 102, 241, .3);
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 48px;
}
.marquee-track span::after { content: "✦"; font-size: .85rem; opacity: .75; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 991px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards-grid { grid-template-columns: 1fr; } }

.tilt-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .35s, box-shadow .35s, border-color .35s;
  transform-style: preserve-3d;
}
.tilt-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s;
}
.tilt-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(99, 102, 241, .35); }
.tilt-card:hover::before { transform: scaleX(1); }
.card-icon {
  display: grid;
  place-items: center;
  background: var(--grad);
  box-shadow: 0 10px 22px rgba(99, 102, 241, .35);
  flex-shrink: 0;
}
.card-icon svg { stroke: #fff; }
.tilt-card .card-icon {
  width: 62px; height: 62px;
  border-radius: 18px;
  margin-bottom: 24px;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.tilt-card:hover .card-icon { transform: rotate(-8deg) scale(1.1); }
.tilt-card .card-icon svg { width: 30px; height: 30px; }
.tilt-card h4 { font-size: 1.22rem; margin-bottom: 12px; }
.tilt-card p { color: var(--muted); font-size: .97rem; }
.tilt-card.alt-2 .card-icon { background: var(--grad-warm); box-shadow: 0 10px 22px rgba(236, 72, 153, .32); }
.tilt-card.alt-3 .card-icon { background: linear-gradient(135deg, #06b6d4, #34d399); box-shadow: 0 10px 22px rgba(6, 182, 212, .32); }

/* ---------- split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 991px) { .split { grid-template-columns: 1fr; gap: 44px; } }
.split-img { position: relative; }
.split-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.split-img::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border-radius: var(--radius-lg);
  background: var(--grad);
  opacity: .16;
  z-index: -1;
  transition: inset .4s;
}
.split-img:hover::before { inset: 14px -16px -16px 14px; }

.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 9px 0;
  color: var(--slate);
  font-weight: 500;
}
.check-list .chk {
  flex-shrink: 0;
  width: 24px; height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
}
.check-list .chk svg { width: 13px; height: 13px; stroke: #fff; stroke-width: 3.4; }

/* ---------- dark band (quote / mission) ---------- */
.dark-band {
  background: radial-gradient(ellipse 70% 90% at 80% 10%, #312e81 0%, transparent 55%),
              radial-gradient(ellipse 50% 70% at 8% 100%, #164e63 0%, transparent 60%),
              var(--navy);
  color: #fff;
  overflow: hidden;
}
.dark-band .section-title { color: #fff; }
.dark-band .section-lead { color: #94a3b8; }
.dark-band .eyebrow { color: #a5b4fc; background: rgba(165, 180, 252, .1); border-color: rgba(165, 180, 252, .3); }

.quote-panel {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
  position: relative;
  padding: 20px 10px;
}
.quote-panel .qmark {
  font-family: var(--font-display);
  font-size: 6.5rem;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  height: 62px;
}
.quote-panel blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 600;
  line-height: 1.55;
  color: #e2e8f0;
}

/* ---------- progress bars ---------- */
.progress-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 991px) { .progress-row { grid-template-columns: 1fr; gap: 40px; } }
.pbar { margin-bottom: 26px; }
.pbar .pbar-head { display: flex; justify-content: space-between; font-weight: 600; font-size: .95rem; margin-bottom: 10px; }
.pbar .pbar-head .val { font-family: var(--font-display); color: var(--primary-dark); font-weight: 800; }
.pbar .track {
  height: 12px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.pbar .fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--grad);
  background-size: 200% 100%;
  transition: width 1.6s cubic-bezier(.25,.8,.25,1);
  position: relative;
}
.pbar .fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  animation: shine 2.4s ease infinite;
}
@keyframes shine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------- image showcase cards ---------- */
.showcase-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/4.7;
  cursor: pointer;
}
.showcase-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.25,.8,.25,1); }
.showcase-card:hover img { transform: scale(1.1); }
.showcase-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 16, 35, .93) 0%, rgba(11, 16, 35, .35) 52%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: #fff;
}
.showcase-card .tag {
  position: absolute;
  top: 20px; left: 20px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.showcase-card h4 { font-size: 1.3rem; margin-bottom: 8px; }
.showcase-card p { font-size: .92rem; color: #cbd5e1; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s, opacity .5s; }
.showcase-card:hover p { max-height: 120px; opacity: 1; }
.showcase-card .bar { width: 44px; height: 4px; border-radius: 2px; background: var(--grad); margin-bottom: 14px; transition: width .45s; }
.showcase-card:hover .bar { width: 76px; }

/* ---------- tabs ---------- */
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}
.tabs-nav button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--slate);
  background: #fff;
  border: 1.5px solid var(--line);
  padding: 12px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .3s;
}
.tabs-nav button:hover { border-color: var(--primary); color: var(--primary-dark); transform: translateY(-2px); }
.tabs-nav button.active {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(99, 102, 241, .35);
}
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: tab-in .5s cubic-bezier(.25,.8,.25,1); }
@keyframes tab-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- accordion ---------- */
.accordion-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}
.accordion-item.open { border-color: rgba(99, 102, 241, .4); box-shadow: var(--shadow-md); }
.accordion-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: 0;
  text-align: left;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--ink);
  cursor: pointer;
}
.accordion-item .acc-ic {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(99, 102, 241, .1);
  display: grid;
  place-items: center;
  transition: transform .4s, background .3s;
}
.accordion-item .acc-ic svg { width: 15px; height: 15px; stroke: var(--primary-dark); stroke-width: 3; transition: stroke .3s; }
.accordion-item.open .acc-ic { transform: rotate(135deg); background: var(--grad); }
.accordion-item.open .acc-ic svg { stroke: #fff; }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.25,.8,.25,1); }
.accordion-body p { padding: 0 26px 24px; color: var(--muted); }

/* ---------- CTA / newsletter ---------- */
.cta-panel {
  border-radius: var(--radius-lg);
  background: var(--grad);
  background-size: 200% 200%;
  animation: grad-move 9s ease infinite;
  padding: 64px 56px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 44px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
@keyframes grad-move { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cta-panel::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 44px solid rgba(255, 255, 255, .1);
  top: -140px; right: -110px;
}
.cta-panel h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 10px; }
.cta-panel p { color: rgba(255, 255, 255, .85); }
.subscribe-form { display: flex; gap: 12px; position: relative; z-index: 2; }
.subscribe-form input {
  flex: 1;
  border: 1.5px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 15px 26px;
  color: #fff;
  font-size: .95rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .3s, background .3s;
}
.subscribe-form input::placeholder { color: rgba(255, 255, 255, .7); }
.subscribe-form input:focus { border-color: #fff; background: rgba(255, 255, 255, .22); }
.subscribe-form .btn { background: #fff; color: var(--primary-dark); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.subscribe-form .btn:hover { transform: translateY(-3px); }
@media (max-width: 991px) { .cta-panel { grid-template-columns: 1fr; padding: 48px 32px; } }
@media (max-width: 560px) { .subscribe-form { flex-direction: column; } }

/* ---------- page hero (subpages) ---------- */
.page-hero {
  padding: 190px 0 110px;
  background: radial-gradient(ellipse 70% 80% at 75% 0%, #312e81 0%, transparent 55%),
              radial-gradient(ellipse 55% 65% at 10% 100%, #155e75 0%, transparent 58%),
              var(--navy);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 30%, #000 10%, transparent 80%);
}
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; position: relative; }
.page-hero .crumbs {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  padding: 9px 22px;
  border-radius: 999px;
  position: relative;
}
.page-hero .crumbs a { color: #c7d2fe; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .crumbs .sep { opacity: .6; }

/* ---------- feature detail cards (services) ---------- */
.feature-detail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: transform .35s, box-shadow .35s, border-color .35s;
  height: 100%;
}
.feature-detail:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(99, 102, 241, .35); }
.feature-detail .fd-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.feature-detail .fd-head .card-icon { margin-bottom: 0; }
.feature-detail h4 { font-size: 1.3rem; }
.feature-detail .fd-item { padding: 12px 0; border-top: 1px dashed var(--line); }
.feature-detail .fd-item h6 {
  font-family: var(--font-display);
  font-size: .98rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  color: var(--ink);
}
.feature-detail .fd-item h6 .chk { width: 20px; height: 20px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; flex-shrink: 0; }
.feature-detail .fd-item h6 .chk svg { width: 11px; height: 11px; stroke: #fff; stroke-width: 3.5; }
.feature-detail .fd-item p { color: var(--muted); font-size: .92rem; padding-left: 30px; }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 991px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  text-align: center;
  transition: transform .35s, box-shadow .35s;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-card .photo { position: relative; overflow: hidden; aspect-ratio: 1/1; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.team-card:hover .photo img { transform: scale(1.08); }
.team-card .photo .social {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: linear-gradient(to top, rgba(11, 16, 35, .9), transparent);
  transform: translateY(100%);
  transition: transform .4s;
}
.team-card:hover .photo .social { transform: none; }
.team-card .photo .social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  transition: background .3s, transform .3s;
}
.team-card .photo .social a:hover { background: var(--primary); transform: translateY(-3px); }
.team-card .photo .social svg { width: 16px; height: 16px; fill: #fff; }
.team-card .info { padding: 22px 16px 26px; }
.team-card .info h4 { font-size: 1.02rem; margin-bottom: 4px; }
.team-card .info span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 991px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  display: flex;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 18px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: rgba(99, 102, 241, .35); }
.contact-card .card-icon { width: 54px; height: 54px; border-radius: 16px; margin-bottom: 0; flex-shrink: 0; }
.contact-card .card-icon svg { width: 24px; height: 24px; }
.contact-card h5 { font-size: 1.05rem; margin-bottom: 5px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: .95rem; }
.contact-card a:hover { color: var(--primary-dark); }

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(.9); }

.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  max-width: 840px;
  margin-inline: auto;
}
@media (max-width: 640px) { .form-panel { padding: 32px 24px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: .96rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 15px 20px;
  outline: none;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .14);
}
.field.full { grid-column: 1 / -1; }

/* ---------- footer ---------- */
.site-footer {
  background: radial-gradient(ellipse 60% 70% at 90% 0%, #1e1b4b 0%, transparent 55%), var(--navy);
  color: #94a3b8;
  padding: 90px 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.4fr 1fr;
  gap: 44px;
  padding-bottom: 60px;
}
@media (max-width: 991px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h6 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.site-footer h6::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 3px;
  border-radius: 2px;
  background: var(--grad);
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 18px;
  display: inline-block;
}
.footer-brand em { font-style: normal; background: linear-gradient(135deg, #a5b4fc, #67e8f9); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.site-footer p { font-size: .93rem; }
.footer-links li { margin-bottom: 11px; }
.footer-links a {
  font-size: .93rem;
  position: relative;
  transition: color .25s, padding-left .3s;
}
.footer-links a::before {
  content: "→";
  position: absolute;
  left: -4px;
  opacity: 0;
  transition: opacity .25s, left .3s;
  color: #67e8f9;
}
.footer-links a:hover { color: #fff; padding-left: 20px; }
.footer-links a:hover::before { opacity: 1; left: 0; }
.footer-social { display: flex; gap: 12px; margin-top: 26px; }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .05);
  display: grid;
  place-items: center;
  transition: transform .3s, background .3s, border-color .3s;
}
.footer-social a:hover { transform: translateY(-4px); background: var(--grad); border-color: transparent; }
.footer-social svg { width: 17px; height: 17px; fill: #cbd5e1; transition: fill .3s; }
.footer-social a:hover svg { fill: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 24px 0;
  text-align: center;
  font-size: .88rem;
}
.footer-bottom a { color: #a5b4fc; font-weight: 600; }
.footer-bottom a:hover { color: #fff; }

/* ---------- back to top ---------- */
#to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 50px; height: 50px;
  border-radius: 16px;
  border: 0;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(99, 102, 241, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all .4s;
  z-index: 900;
}
#to-top.show { opacity: 1; visibility: visible; transform: none; }
#to-top:hover { transform: translateY(-4px); }
#to-top svg { width: 20px; height: 20px; stroke: #fff; }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .8s cubic-bezier(.25,.8,.25,1), transform .8s cubic-bezier(.25,.8,.25,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-46px); transition: opacity .8s, transform .8s cubic-bezier(.25,.8,.25,1); }
.reveal-right { opacity: 0; transform: translateX(46px); transition: opacity .8s, transform .8s cubic-bezier(.25,.8,.25,1); }
.reveal-left.in, .reveal-right.in { opacity: 1; transform: none; }
.d1 { transition-delay: .12s; } .d2 { transition-delay: .24s; } .d3 { transition-delay: .36s; } .d4 { transition-delay: .48s; }

@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, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}

/* ============================================================
   Accessibility
   ============================================================ */
/* Skip link */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 3000;
  background: var(--primary-dark);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  padding: 12px 22px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-160%);
  transition: transform .25s ease;
}
.skip-link:focus { transform: translateY(0); outline: 3px solid #fff; outline-offset: 2px; }

/* Screen-reader-only label */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main:focus { outline: none; }

/* Visible keyboard focus for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}
/* On dark surfaces, use a light focus ring */
.hero a:focus-visible, .hero button:focus-visible,
.dark-band a:focus-visible, .dark-band button:focus-visible,
.page-hero a:focus-visible,
.site-footer a:focus-visible, .site-footer button:focus-visible,
.nav-menu a:focus-visible,
.cta-panel a:focus-visible, .cta-panel button:focus-visible,
.subscribe-form input:focus-visible {
  outline-color: #a5b4fc;
}
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 1px; }

/* Bigger, comfortable touch targets */
.footer-social a, .team-card .photo .social a { width: 44px; height: 44px; }

/* ============================================================
   Mobile refinements
   ============================================================ */
@media (max-width: 991px) {
  .page-hero { padding: 150px 0 76px; }
  .hero { padding: 128px 0 72px; }
  .hero h1 .type-wrap { min-width: 0; }
}

@media (max-width: 767px) {
  .container { width: 90%; }
  .section-lead { font-size: 1rem; }

  /* Hero: single, calmer column */
  .hero { min-height: auto; padding: 118px 0 64px; text-align: center; }
  .hero-badge, .hero .eyebrow { margin-inline: auto; }
  .hero p.lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { gap: 10px; }
  .stat-chip { padding: 14px 12px; text-align: center; }
  .stat-chip .num { font-size: 1.4rem; }
  .stat-chip .lbl { font-size: .68rem; letter-spacing: .02em; }
  .hero-collage { gap: 12px; max-width: 440px; margin-inline: auto; }
  /* keep the floating badges from colliding with text on small screens */
  .float-card { display: none; }
  .scroll-hint { display: none; }

  /* Marquee: a touch smaller + faster feel */
  .marquee-track span { font-size: .9rem; gap: 34px; }
  .marquee-track { gap: 34px; }

  /* Sections & headings */
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .split { gap: 34px; }
  .split-img::before { inset: 14px -12px -12px 14px; }

  /* Cards: comfortable padding on small screens */
  .tilt-card { padding: 28px 22px; }
  .feature-detail { padding: 30px 24px; }
  .showcase-card { aspect-ratio: 4/3.6; }
  /* reveal paragraph text on tap-capable small screens by default */
  .showcase-card p { max-height: 120px; opacity: 1; }

  /* Quote */
  .quote-panel .qmark { font-size: 5rem; height: 46px; }

  /* CTA */
  .cta-panel { padding: 40px 24px; text-align: center; }
  .cta-panel h3 { font-size: 1.5rem; }
  .cta-panel > div:last-child { justify-content: center; }
  .subscribe-form { flex-direction: column; }
  .subscribe-form .btn { justify-content: center; }

  /* Contact cards stay centered-friendly */
  .contact-card { padding: 22px; }
  .map-frame iframe { min-height: 320px; }
  .form-panel { padding: 28px 20px; }

  /* Tabs wrap and scroll comfortably */
  .tabs-nav { gap: 8px; }
  .tabs-nav button { padding: 10px 18px; font-size: .88rem; }

  /* Footer: readable stacked layout */
  .site-footer { padding-top: 64px; }
  .footer-grid { gap: 34px; }

  /* Back-to-top clear of thumb zone edges */
  #to-top { right: 16px; bottom: 16px; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 2rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; display: grid; }
  .stat-chip:nth-child(3) { grid-column: 1 / -1; }
  .cards-grid { gap: 18px; }
}

/* Larger default tap targets for nav on touch devices */
@media (hover: none) {
  .nav-links a { padding-block: 12px; }
}
