/* =========================================================
   Shivix Softtech — Design System (v5)
   Dark aurora theme: deep violet/near-black canvas, animated
   gradient glow backgrounds, glass navigation, bento grids,
   and purposeful hover motion on every interactive element.
   Built on the approved hero-preview concept.
   ========================================================= */

:root{
  --bg: #08060f;
  --bg-2: #0f0a1e;
  --tint: rgba(255,255,255,0.035);
  --surface: #120c22;
  --surface-2: #170f2a;

  --border: rgba(255,255,255,0.10);
  --border-strong: rgba(255,255,255,0.20);

  --text: #f4f1f9;
  --text-muted: rgba(244,241,249,0.68);
  --text-faint: rgba(244,241,249,0.45);

  /* brand colors, unchanged from the logo */
  --primary: #7e349c;
  --primary-2: #a855c9;
  --primary-dark: #4a1078;
  --pink: #f95c97;
  --success: #34d399;

  --gradient-brand: linear-gradient(90deg, #7e349c 0%, #f95c97 100%);
  --gradient-text: linear-gradient(90deg, #a855c9 0%, #f95c97 100%);

  --glass: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.14);

  --radius-pill: 999px;
  --radius-card: 20px;
  --radius-sm: 10px;

  --shadow-soft: 0 24px 60px -24px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 0 1px rgba(255,255,255,0.06), 0 24px 60px -20px rgba(126,52,156,0.35);
  --shadow-btn: 0 14px 32px -10px rgba(126,52,156,0.55);

  --container: 1180px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin:0; padding:0; }
h1,h2,h3,h4{ margin: 0 0 14px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
p{ margin: 0 0 16px; color: var(--text-muted); }
.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* -------------------- Accessibility -------------------- */
.skip-link{
  position: absolute; left: 12px; top: -60px;
  background: var(--surface); color: var(--text);
  padding: 12px 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  z-index: 999; font-weight: 700; font-size: 14px;
  transition: top .2s ease;
}
.skip-link:focus{ top: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px;
}

/* -------------------- Ambient background (fixed, site-wide) -------------------- */
.aurora-wrap{ position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--bg); pointer-events: none; }
.aurora{ position: absolute; border-radius: 50%; filter: blur(100px); opacity: .38; will-change: transform; }
.aurora.a1{ width: 620px; height: 620px; background: radial-gradient(circle, var(--primary), transparent 70%); top: -180px; left: -140px; animation: floatA 26s ease-in-out infinite; }
.aurora.a2{ width: 560px; height: 560px; background: radial-gradient(circle, var(--pink), transparent 70%); bottom: -200px; right: -120px; animation: floatB 30s ease-in-out infinite; }
.aurora.a3{ width: 420px; height: 420px; background: radial-gradient(circle, var(--primary-2), transparent 70%); top: 38%; left: 44%; animation: floatC 34s ease-in-out infinite; }
@keyframes floatA{ 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(70px,50px) scale(1.12); } }
@keyframes floatB{ 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(-60px,-40px) scale(1.08); } }
@keyframes floatC{ 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(-50px,40px) scale(1.15); } }
.dot-grid{
  position: fixed; inset:0; z-index:0; pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 60% 45% at 50% 12%, black 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 45% at 50% 12%, black 0%, transparent 75%);
}
.grain{
  position: fixed; inset:0; z-index:0; pointer-events:none; opacity:.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, footer{ position: relative; z-index: 1; }

/* -------------------- Buttons -------------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: 14.5px;
  border: none; cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, background .25s ease, border-color .25s ease;
  will-change: transform;
}
.btn-primary{ background: var(--gradient-brand); color: #fff; box-shadow: var(--shadow-btn); }
.btn-primary:hover{ transform: translateY(-3px); box-shadow: 0 20px 42px -10px rgba(126,52,156,0.65); }
.btn-outline{ background: var(--glass); color: var(--text); border: 1px solid var(--glass-border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn-outline:hover{ background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); transform: translateY(-3px); }
.btn-sm{ padding: 10px 20px; font-size: 13px; }
.btn-block{ width: 100%; }
.btn:focus-visible{ outline-offset: 4px; }

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

/* -------------------- Nav -------------------- */
.navbar{
  position: sticky; top:0; z-index: 50;
  padding: 22px 0;
  background: rgba(8,6,15,0.55);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: padding .3s ease, background .3s ease;
}
.navbar.is-scrolled{ padding: 14px 0; background: rgba(8,6,15,0.82); }
.navbar .container{ display:flex; align-items:center; justify-content:space-between; gap: 24px; }
.brand{ display:flex; align-items:center; }
.brand img{ height: 46px; width:auto; display:block; transition: transform .25s ease; }
.brand:hover img{ transform: scale(1.04); }
.nav-links{
  display:none; align-items:center; gap: 4px;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-pill); padding: 6px;
}
.nav-links a{
  position: relative;
  padding: 10px 20px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover{ color: #fff; background: rgba(255,255,255,0.08); }
.nav-links a.active{ color: #fff; background: var(--gradient-brand); }
.nav-cta{ display:flex; align-items:center; gap: 14px; }
.nav-toggle{
  display:flex; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--glass-border); background: var(--glass);
  color: var(--text); font-size: 16px; align-items:center; justify-content:center;
  cursor:pointer; transition: background .2s ease;
}
.nav-toggle:hover{ background: rgba(255,255,255,0.1); }

.mobile-nav{
  position: fixed; inset: 0; z-index: 90;
  background: #0b0716; padding: 24px;
  transform: translateX(100%); transition: transform .35s ease;
  display:flex; flex-direction:column;
}
.mobile-nav.is-open{ transform: translateX(0); }
.mobile-nav .top{ display:flex; align-items:center; justify-content:space-between; margin-bottom: 40px; }
.mobile-nav .top img{ height: 40px; }
.mobile-nav a{ padding: 16px 4px; font-size: 20px; font-weight: 700; border-bottom: 1px solid var(--border); color: var(--text); }
.mobile-nav .btn{ margin-top: 24px; }
.close-btn{ background: none; border: none; color: var(--text); font-size: 20px; cursor:pointer; }

/* -------------------- Hero -------------------- */
.hero{
  position: relative; text-align:center;
  min-height: calc(100vh - 90px);
  min-height: calc(100svh - 90px);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding: 56px 0;
}
.hero .container{ max-width: 900px; position: relative; z-index: 2; }
.hero-dots{
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  pointer-events: none;
}
@media (max-width: 720px){ .hero-dots{ display: none; } }
.hero-spotlight{
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 40%), rgba(249,92,151,0.20), rgba(126,52,156,0.10) 32%, transparent 60%);
  opacity: 0; transition: opacity .5s ease;
  pointer-events: none;
}
.hero:hover .hero-spotlight{ opacity: 1; }
.hero .eyebrow{
  display:inline-flex; align-items:center; gap: 8px;
  padding: 8px 18px; border-radius: var(--radius-pill);
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 12.5px; font-weight: 700; color: var(--text-muted);
  letter-spacing: .02em; margin-bottom: 26px;
}
.hero h1{ font-size: clamp(2.8rem, 6.4vw, 5.2rem); margin-bottom: 24px; }
.lead{ font-size: 18px; max-width: 620px; margin: 0 auto 36px; color: var(--text-muted); }
.hero-actions{ display:flex; align-items:center; justify-content:center; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-actions.center{ justify-content:center; }
.hero-tags{ display:flex; flex-wrap: wrap; gap: 12px; justify-content:center; }
.hero-tags.tags-pair{ display:flex; flex-direction:column; align-items:center; gap: 12px; }
.hero-tags span{
  display:flex; align-items:center; gap: 10px;
  padding: 10px 20px; font-size: 14px; font-weight: 600; color: var(--text-muted);
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
}
.hero-tags span i{ color: var(--pink); }

/* page hero (inner pages) */
.page-hero{ padding: 150px 0 48px; text-align:center; position: relative; }
.page-hero h1{ font-size: clamp(2.3rem, 4.8vw, 3.5rem); margin-bottom: 0; }
.breadcrumb{ display:flex; align-items:center; justify-content:center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-faint); margin-bottom: 16px; }
.breadcrumb a:hover{ color: var(--pink); }
.breadcrumb .sep{ opacity: .5; }

/* -------------------- Sections -------------------- */
section{ position: relative; padding: 64px 0; }
.section-tight{ padding: 44px 0; }
.section-tint{ background: rgba(255,255,255,0.02); }
.section-header{ max-width: 640px; margin: 0 auto 52px; text-align:center; }
.section-header.left{ margin: 0 0 44px; text-align:left; }
.section-header.center{ text-align:center; margin-left:auto; margin-right:auto; }
.section-header h2{ font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 12px; }
.section-header .eyebrow, .hero .eyebrow{ display:inline-flex; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 12.5px; font-weight: 700; letter-spacing:.04em; text-transform:uppercase;
  color: var(--pink); margin-bottom: 12px;
}

/* -------------------- Cards / Grid -------------------- */
.grid{ display:grid; gap: 24px; }
.grid-2{ grid-template-columns: 1fr; }
.grid-3{ grid-template-columns: 1fr; }
.grid-4{ grid-template-columns: 1fr; }

.card{
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: var(--border-strong);
}
.card-icon{
  width: 50px; height: 50px; border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  background: var(--gradient-brand); color: #fff; font-size: 19px;
  margin-bottom: 22px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover .card-icon{ transform: scale(1.1) rotate(-5deg); box-shadow: 0 10px 24px -6px rgba(126,52,156,0.6); }
.card-icon.icon-blue{ background: linear-gradient(135deg, #2563eb, #38bdf8); }
.card-icon.icon-orange{ background: linear-gradient(135deg, #f97316, #fbbf24); }
.card-icon.icon-teal{ background: linear-gradient(135deg, #0d9488, #34d399); }
.card-icon.icon-indigo{ background: linear-gradient(135deg, #4f46e5, #818cf8); }
.card-icon.icon-rose{ background: linear-gradient(135deg, #db2777, #f97316); }
.card h3{ font-size: 19px; margin-bottom: 10px; }
.card p{ font-size: 14.5px; margin-bottom: 16px; }
.card .card-link{
  font-size: 14px; font-weight: 700; color: var(--pink);
  display:inline-flex; align-items:center; gap: 6px;
  transition: gap .2s ease, color .2s ease;
}
.card .card-link i{ transition: transform .2s ease; }
.card:hover .card-link{ color: #fff; }
.card:hover .card-link i{ transform: translateX(5px); }

.check-list li{ display:flex; align-items:flex-start; gap: 10px; font-size: 14.5px; color: var(--text-muted); margin-bottom: 10px; }
.check-list i{ color: var(--success); margin-top: 3px; }

/* -------------------- Bento grid (services) -------------------- */
.bento{ display:grid; grid-template-columns: 1fr; grid-auto-rows: auto; grid-auto-flow: dense; gap: 20px; }
.bento .card{ height: 100%; display:flex; flex-direction:column; overflow: hidden; }
.bento .card .card-link{ margin-top: auto; padding-top: 16px; }
.bento .wide{ grid-column: span 1; }
.bento .tall{ grid-row: span 1; }
.bento .tall p{ max-width: 34ch; }

/* -------------------- Stats -------------------- */
.stats{
  display:grid; grid-template-columns: repeat(2, 1fr); gap: 24px; text-align:center;
  padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stat{ padding: 8px; }
.stat .num{
  font-size: clamp(2.2rem, 3.2vw, 3rem); font-weight: 800; margin-bottom: 6px;
  background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .label{ font-size: 14px; color: var(--text-muted); font-weight: 600; }

/* -------------------- Chips (floating stat pills) -------------------- */
.chip-row{ display:flex; gap: 12px; flex-wrap: wrap; justify-content:center; }
.chip{
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 18px; padding: 18px 24px; min-width: 150px;
  transition: transform .3s ease, background .3s ease;
}
.chip:hover{ transform: translateY(-6px); background: rgba(255,255,255,0.1); }
.chip .num{ font-size: 24px; font-weight: 800; background: var(--gradient-text); -webkit-background-clip:text; background-clip:text; color:transparent; }
.chip .label{ font-size: 12px; color: var(--text-muted); font-weight: 600; margin-top: 2px; }

/* -------------------- Process -------------------- */
/* Base (mobile/tablet): simple stacked cards */
.process-grid{ display:grid; grid-template-columns: 1fr; gap: 24px; position: relative; }
.process-step{
  padding: 32px 26px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); transition: transform .3s ease, border-color .3s ease;
}
.process-step:hover{ transform: translateY(-6px); border-color: var(--border-strong); }
.process-step-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom: 10px; }
.process-step .step-num{ font-size: 40px; font-weight: 800; background: var(--gradient-text); -webkit-background-clip:text; background-clip:text; color:transparent; }
.process-step .step-icon{
  width: 40px; height: 40px; border-radius: 50%; display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,0.08); border: 1px solid var(--glass-border); color: var(--pink); font-size: 16px;
}
.process-step h3{ font-size: 18px; margin-bottom: 8px; }
.process-step p{ font-size: 14px; margin-bottom: 0; }

/* Desktop (1024px+): connected arrow/chevron ribbon, matching the approved reference */
@media (min-width: 1024px){
  .process-grid{ display:flex; gap: 0; }
  .process-step{
    flex: 1; position: relative; border: none; border-radius: 0;
    padding: 34px 34px 30px 46px;
    clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%, 10% 50%);
    margin-left: -26px;
    transition: transform .3s ease, filter .3s ease;
  }
  .process-step:hover{ transform: translateY(-4px); filter: brightness(1.08); }
  .process-step.step-1{ clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%); margin-left: 0; padding-left: 34px; }
  .process-step.step-1{ z-index: 4; background: linear-gradient(135deg, #4a1078, #6a1f96); }
  .process-step.step-2{ z-index: 3; background: linear-gradient(135deg, #6a1f96, #8a3bb0); }
  .process-step.step-3{ z-index: 2; background: linear-gradient(135deg, #8a3bb0, #a855c9); }
  .process-step.step-4{ z-index: 1; background: linear-gradient(135deg, #a855c9, #f95c97); }
  .process-step .step-num{ font-size: 32px; background: none; -webkit-text-fill-color: initial; color: rgba(255,255,255,0.55); }
  .process-step .step-icon{ background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.28); color: #fff; }
  .process-step h3{ color: #fff; }
  .process-step p{ color: rgba(255,255,255,0.82); font-size: 13.5px; }
}

/* -------------------- FAQ -------------------- */
.faq-list{ max-width: 780px; }
.faq-list.center{ margin: 0 auto; }
.faq-item{ border-bottom: 1px solid var(--border); }
.faq-item:first-child{ border-top: 1px solid var(--border); }
.faq-question{ display:flex; align-items:center; justify-content:space-between; gap: 16px; padding: 24px 4px; font-weight: 700; font-size: 16.5px; cursor:pointer; transition: color .2s ease; }
.faq-question:hover{ color: var(--pink); }
.faq-question .icon{
  width: 30px; height: 30px; min-width: 30px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--glass-border);
  display:flex; align-items:center; justify-content:center;
  transition: transform .25s ease, background .2s ease, color .2s ease;
}
.faq-item.active .faq-question .icon{ transform: rotate(45deg); background: var(--gradient-brand); color: #fff; }
.faq-answer{ max-height: 0; overflow:hidden; transition: max-height .3s ease; }
.faq-answer p{ padding: 0 4px 24px; font-size: 14.5px; margin: 0; }

/* -------------------- Leadership banner -------------------- */
.leader-card{
  position: relative; overflow:hidden;
  border-radius: var(--radius-card);
  background: var(--surface);
  margin-bottom: 24px; box-shadow: var(--shadow-soft);
  transition: transform .4s ease;
}
.leader-card:hover{ transform: translateY(-4px); }
.leader-card:last-child{ margin-bottom: 0; }
/* the photo lives in its own FIXED-HEIGHT block, independent of how long the bio text is —
   without this, a longer bio grows the card taller, which forces background-size:cover to
   zoom in further on the face. this keeps the crop/zoom identical no matter the text length. */
.leader-hero{
  position: relative; width:100%; height: 300px; overflow:hidden;
  background-size: cover; background-position: 26% top;
}
.leader-card.alt .leader-hero{ background-position: 74% top; }
/* fade the photo into the card's own solid surface color so hero and content blend with
   zero visible seam — face stays clear for the top ~55%, solid by the time content starts */
.leader-hero::after{
  content:""; position:absolute; inset:0; pointer-events:none; z-index:1;
  background: linear-gradient(0deg, var(--surface) 0%, var(--surface) 8%, rgba(18,12,34,0.55) 30%, rgba(18,12,34,0) 55%, rgba(18,12,34,0) 100%);
}
/* brand-tint wash so a bright studio-shot background still reads as part of the dark theme */
.leader-hero::before{
  content:""; position:absolute; inset:0; pointer-events:none; z-index:0;
  background: linear-gradient(160deg, rgba(126,52,156,0.22), rgba(8,6,15,0.16));
  mix-blend-mode: multiply;
}
.leader-card-body{ position: relative; z-index:1; padding: 18px 24px 32px; }
.leader-card-body h3{ color:#fff; font-size: 26px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; }
.leader-card-body p{ font-size: 14px; line-height:1.62; color: rgba(255,255,255,0.75); margin-bottom: 14px; }
.leader-card-body p:last-child{ margin-bottom: 0; }
.leader-role{
  display:inline-flex; align-items:center; margin-bottom: 16px; padding: 8px 16px;
  border-radius: var(--radius-pill); background: rgba(20,16,28,0.4); border: 1px solid rgba(255,255,255,0.35);
  font-size: 11.5px; font-weight: 700; letter-spacing:.08em; text-transform:uppercase;
  color: #fff; backdrop-filter: blur(6px);
}
.leader-role.role-alt{ background: rgba(249,92,151,0.32); }

/* -------------------- Highlight card (about intro) -------------------- */
.intro-split{ display:grid; grid-template-columns: 1fr; gap: 40px; align-items:center; }
.intro-photo{ position: relative; max-width: 440px; margin: 0 auto; }
.intro-photo::before{
  content:""; position:absolute; top:-24px; left:-24px; width:100%; height:100%;
  background: var(--gradient-brand); border-radius: 32px; opacity: 0.25; z-index:0;
}
.highlight-card{
  position: relative; z-index:1;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 28px; padding: 40px 36px; box-shadow: var(--shadow-soft);
}
.highlight-row{ display:flex; gap: 16px; align-items:flex-start; margin-bottom: 24px; transition: transform .25s ease; }
.highlight-row:hover{ transform: translateX(4px); }
.highlight-row:last-child{ margin-bottom: 0; }
.highlight-icon{ width: 46px; height: 46px; min-width: 46px; border-radius: 13px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:17px; background: var(--gradient-brand); }
.highlight-row h4{ font-size: 15.5px; margin-bottom: 4px; }
.highlight-row p{ font-size: 13.5px; color: var(--text-muted); margin-bottom: 0; }

/* -------------------- Capability strip -------------------- */
.capability-strip{ display:flex; flex-wrap: wrap; gap: 14px; justify-content:center; }
.capability-strip span{
  display:flex; align-items:center; gap: 10px; padding: 14px 24px; font-size: 14.5px; font-weight: 600;
  color: var(--text); background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill); transition: transform .25s ease, background .25s ease;
}
.capability-strip span:hover{ transform: translateY(-3px); background: rgba(255,255,255,0.1); }

/* -------------------- Contact -------------------- */
.contact-card{
  display:flex; gap: 18px; align-items:flex-start; padding: 28px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card);
  transition: transform .3s ease, border-color .3s ease;
}
.contact-card:hover{ transform: translateY(-5px); border-color: var(--border-strong); }
.contact-card h4{ font-size: 16px; margin-bottom: 4px; }
.contact-card p{ font-size: 14px; margin-bottom: 0; }
.contact-grid{ display:grid; grid-template-columns: 1fr; gap: 40px; align-items:flex-start; }
.contact-line{ display:flex; align-items:center; gap: 10px; }
.form-field{ margin-bottom: 20px; }
.form-field label{ display:block; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.form-field input, .form-field textarea{
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: rgba(255,255,255,0.03); color: var(--text);
  font-family: var(--font); font-size: 14.5px; transition: border-color .2s ease, background .2s ease;
}
.form-field input:focus, .form-field textarea:focus{ outline:none; border-color: var(--primary-2); background: rgba(255,255,255,0.06); }
.form-field textarea{ min-height: 130px; resize: vertical; }
.form-status{ margin-top: 14px; font-size: 14px; }
.form-status.success{ color: var(--success); }
.form-status.error{ color: var(--pink); }

/* -------------------- Sidebar (service-details) -------------------- */
.details-layout{ display:grid; grid-template-columns: 1fr; gap: 32px; align-items:start; }
.sidebar-card{ background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-soft); padding: 26px; margin-bottom: 24px; }
.sidebar-card h4{ font-size: 15px; margin-bottom: 18px; }
.sidebar-list a{ display:flex; align-items:center; justify-content:space-between; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; color: var(--text-muted); transition: color .2s ease, padding-left .2s ease; }
.sidebar-list a:last-child{ border-bottom:none; }
.sidebar-list a:hover{ color: var(--pink); padding-left: 4px; }
.sidebar-list a.active{ color: var(--pink); font-weight:600; }

/* -------------------- CTA band -------------------- */
.cta-band{
  text-align:center; padding: 40px 24px; border-radius: 28px;
  background: linear-gradient(150deg, rgba(126,52,156,0.35), rgba(249,92,151,0.18));
  border: 1px solid var(--border-strong);
}
.cta-band h2{ margin-bottom: 12px; }
.cta-band p{ max-width: 520px; margin: 0 auto 28px; }

/* -------------------- Legal pages -------------------- */
.updated-badge{ display:inline-block; padding: 6px 16px; border-radius: var(--radius-pill); background: var(--glass); border: 1px solid var(--glass-border); font-size: 13px; font-weight:700; color: var(--pink); margin-bottom: 24px; }
.prose{ max-width: 780px; margin: 0 auto; }
.prose h2{ font-size: 22px; margin-top: 40px; }
.prose ul{ margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.prose li{ color: var(--text-muted); margin-bottom: 8px; }

/* -------------------- Error page -------------------- */
.error-page{ text-align:center; padding: 150px 0 64px; }
.error-page .code{
  font-size: clamp(5rem, 14vw, 9rem); font-weight: 900; line-height:1;
  background: var(--gradient-text); -webkit-background-clip:text; background-clip:text; color:transparent;
  margin-bottom: 8px;
}

/* -------------------- Footer -------------------- */
footer{ border-top: 1px solid var(--border); padding: 48px 0 0; }
.footer-grid{ display:grid; grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
.footer-brand p{ font-size: 14px; margin: 16px 0 20px; }
.social-row{ display:flex; gap: 10px; }
.social-row a{
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--glass-border);
  display:flex; align-items:center; justify-content:center; color: var(--text);
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.social-row a:hover{ transform: translateY(-4px); background: var(--gradient-brand); color: #fff; }
.footer-col h4{ font-size: 14px; margin-bottom: 18px; }
.footer-col a{ display:block; font-size: 14px; color: var(--text-muted); margin-bottom: 12px; transition: color .2s ease, transform .2s ease; }
.footer-col a:hover{ color: var(--pink); transform: translateX(3px); }
.contact-line{ font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.contact-line i{ color: var(--pink); margin-top:2px; }
.footer-bottom{ display:flex; flex-direction:column; gap: 12px; align-items:center; justify-content:space-between; padding: 22px 0; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-faint); text-align:center; }
.footer-bottom .links{ display:flex; gap: 20px; }
.footer-bottom a:hover{ color: var(--pink); }

.back-to-top{
  position: fixed; bottom: 28px; right: 28px; z-index: 60;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor:pointer;
  background: var(--gradient-brand); color: #fff; font-size: 16px;
  box-shadow: var(--shadow-btn); opacity: 0; pointer-events:none;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
}
.back-to-top.is-visible{ opacity: 1; pointer-events:auto; transform: translateY(0); }
.back-to-top:hover{ transform: translateY(-4px) scale(1.05); }

/* -------------------- Scroll reveal -------------------- */
.reveal{ opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive — mobile-first, progressive enhancement
   Base rules above (unguarded) target Small Mobile (320-374px).
   Each tier below only overrides what needs to change as the
   viewport grows; everything not mentioned keeps cascading.
   ========================================================= */

/* ---- Standard Mobile: 375px – 479px ---- */
@media (min-width: 375px){
  .hero{ padding: 60px 0; }
  .cta-band{ padding: 48px 28px; }
}

/* ---- Large Mobile: 480px – 575px ---- */
@media (min-width: 480px){
  .container{ padding: 0 28px; }
  .hero-actions{ flex-wrap: nowrap; }
  .chip-row{ gap: 16px; }
  .footer-bottom{ flex-direction: row; text-align:left; }
  .error-page{ padding: 160px 0 72px; }
  .hero-tags.tags-pair{ display:grid; grid-template-columns: repeat(2, max-content); justify-content:center; }
}

/* ---- Extra Large Mobile: 576px – 767px ---- */
@media (min-width: 576px){
  .grid-2{ grid-template-columns: repeat(2, 1fr); }
  .stats{ grid-template-columns: repeat(4, 1fr); }
  .process-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 30px; }
  .cta-band{ padding: 56px 36px; }
}

/* ---- Tablet (Portrait): 768px – 991px ---- */
@media (min-width: 768px){
  section{ padding: 84px 0; }
  .hero{ padding: 64px 0; }
  .page-hero{ padding: 168px 0 56px; }
  .grid-3, .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .cta-band{ padding: 64px 40px; }
  footer{ padding: 64px 0 0; }
  .bento{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(200px, auto); }
  .bento .wide{ grid-column: span 2; }
  .bento .tall{ grid-row: span 2; }
  /* default: face left, content right. .alt mirrors it: face right, content left.
     the hero becomes a full-bleed absolute layer so the text column can float on top of it. */
  .leader-card{ display:flex; align-items: center; min-height: 480px; }
  .leader-hero{ position: absolute; inset: 0; width: 100%; height: 100%; background-position: 26% top; }
  .leader-card.alt .leader-hero{ background-position: 74% top; }
  .leader-hero::after{
    background: linear-gradient(90deg, rgba(8,6,15,0.06) 0%, rgba(8,6,15,0.6) 46%, rgba(8,6,15,0.97) 100%);
  }
  .leader-card.alt .leader-hero::after{
    background: linear-gradient(270deg, rgba(8,6,15,0.06) 0%, rgba(8,6,15,0.6) 46%, rgba(8,6,15,0.97) 100%);
  }
  .leader-card-body{ padding: 48px 56px; width: 48%; max-width: 640px; margin-left: auto; margin-right: 0; }
  .leader-card.alt .leader-card-body{ margin-left: 0; margin-right: auto; }
  .leader-card-body h3{ font-size: 22px; }
  .leader-card-body p{ font-size: 14.5px; line-height:1.6; }
  .contact-grid{ grid-template-columns: 1fr; gap: 44px; }
  .intro-split{ grid-template-columns: 1fr; }
  .details-layout{ grid-template-columns: 1fr; }
}

/* ---- Tablet (Landscape): 992px – 1023px ---- */
@media (min-width: 992px){
  .nav-links{ display:flex; }
  .nav-toggle{ display:none; }
  .contact-grid{ grid-template-columns: 1fr 1fr; }
  .intro-split{ grid-template-columns: 1.05fr 0.95fr; gap: 48px; }
  .details-layout{ grid-template-columns: 2fr 1fr; }
}

/* ---- Small Laptop: 1024px – 1199px ---- */
@media (min-width: 1024px){
  section{ padding: 100px 0; }
  .grid-4{ grid-template-columns: repeat(4, 1fr); }
  .grid-3{ grid-template-columns: repeat(3, 1fr); }
  .bento{ grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); }
  .process-grid{ grid-template-columns: repeat(4, 1fr); }
  .process-arrow{ display: block; }
  .footer-grid{ grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
  .intro-split{ gap: 56px; }
}

/* ---- Desktop: 1200px – 1439px ---- */
@media (min-width: 1200px){
  :root{ --container: 1180px; }
}

/* ---- Large Desktop: 1440px – 1599px ---- */
@media (min-width: 1440px){
  :root{ --container: 1260px; }
  section{ padding: 112px 0; }
  .hero{ padding: 72px 0; }
}

/* ---- Full HD Desktop: 1600px – 1919px ---- */
@media (min-width: 1600px){
  :root{ --container: 1320px; }
}

/* ---- Ultra Wide: 1920px+ ---- */
@media (min-width: 1920px){
  :root{ --container: 1400px; }
  section{ padding: 128px 0; }
}
