/* =========================================================
   Five9 Media — global stylesheet (light + dark themes)
   ========================================================= */
:root {
  --brand: #04A7E1;
  --brand-2: #0B7FD6;
  --navy: #0F1B3F;
  --accent: #7AE2FF;
  --bg: #F6F9FC;
  --bg-2: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #EEF4FA;
  --text: #0F1B3F;
  --muted: #55617E;
  --line: rgba(15, 27, 63, .10);
  --glass: rgba(255, 255, 255, .75);
  --shadow: 0 20px 50px -20px rgba(15, 27, 63, .25);
  --glow: rgba(4, 167, 225, .35);
  --radius: 22px;
  --maxw: 1240px;
  --img-fallback: linear-gradient(135deg, #0F1B3F, #0A2A66 55%, #04A7E1);
}
:root[data-theme="dark"] {
  --bg: #060B1C;
  --bg-2: #0A1230;
  --surface: #0E1838;
  --surface-2: #142150;
  --text: #EAF2FF;
  --muted: #9AA8C7;
  --line: rgba(255, 255, 255, .09);
  --glass: rgba(10, 18, 48, .72);
  --shadow: 0 25px 60px -20px rgba(0, 0, 0, .7);
  --glow: rgba(4, 167, 225, .5);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Inter', system-ui, sans-serif; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}
h1, h2, h3, h4, h5 { font-family: 'Sora', sans-serif; line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.grad-text {
  background: linear-gradient(100deg, var(--brand) 0%, var(--accent) 50%, var(--brand-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% auto; animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.skip { position: absolute; left: -999px; top: 10px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 10px; }

/* ---------- Media frames (gradient shows if an image fails) ---------- */
.media { position: relative; overflow: hidden; background: var(--img-fallback); border-radius: var(--radius); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(6,11,28,.55)); pointer-events: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s;
  font-family: 'Inter', sans-serif; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 12px 30px -10px var(--glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px var(--glow); }
.btn-ghost { border-color: var(--line); background: var(--glass); color: var(--text); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--brand); transform: translateY(-3px); }
.btn-white { background: #fff; color: #0F1B3F; }
.btn-white:hover { transform: translateY(-3px); }
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); font-size: 15px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
header.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: all .35s ease; padding: 16px 0; }
header.nav.scrolled { padding: 9px 0; background: var(--glass); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo-img { height: 48px; width: auto; }
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }
footer .logo-img { height: 58px; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-word b { font-family: 'Sora'; font-weight: 800; font-size: 21px; letter-spacing: .02em; }
.logo-word span { font-family: 'Sora'; font-weight: 600; font-size: 10.5px; letter-spacing: .44em; color: var(--muted); margin-top: 4px; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 6px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-links > li { position: relative; }
.nav-links > li > a { display: flex; align-items: center; gap: 4px; padding: 9px 15px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: all .25s; }
.nav-links > li > a svg { width: 14px; height: 14px; transition: transform .25s; }
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--text); background: var(--surface-2); }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px); width: 560px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: all .25s ease;
}
.dropdown::before { content: ''; position: absolute; inset: -16px 0 auto; height: 16px; }
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-drop:hover > a svg { transform: rotate(180deg); }
.dropdown a { display: flex; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 12px; font-size: 14px; font-weight: 600; transition: background .2s; }
.dropdown a:hover { background: var(--surface-2); }
.dropdown a .n { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(4,167,225,.12); color: var(--brand); font-family: 'Sora'; font-size: 12px; font-weight: 700; }
.dropdown a.all { grid-column: span 2; justify-content: center; color: var(--brand); border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 4px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex: none;
  border: 1px solid var(--line); background: var(--glass); color: var(--text); backdrop-filter: blur(10px); transition: all .3s;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }
.menu-btn { display: none; }
.nav .btn { padding: 11px 20px; font-size: 14px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 49; background: var(--bg); display: flex; flex-direction: column;
  padding: 96px 24px 40px; gap: 2px; transform: translateY(-100%); overflow-y: auto;
  transition: transform .5s cubic-bezier(.7,0,.2,1); visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu > a { font-family: 'Sora'; font-size: 26px; font-weight: 700; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu > a.active { color: var(--brand); }
.mobile-menu .sub { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; padding: 12px 0 16px; border-bottom: 1px solid var(--line); }
.mobile-menu .sub a { font-size: 14px; color: var(--muted); font-weight: 500; }
.mobile-menu > a.btn { margin-top: 26px; justify-content: center; font-family: 'Inter', sans-serif; font-size: 16px; padding: 15px 28px; border: none; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 140px 0 90px; overflow: hidden; }
.bg-fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; animation: float 14s ease-in-out infinite; }
.orb.o1 { width: 520px; height: 520px; background: var(--brand); top: -140px; right: -120px; }
.orb.o2 { width: 380px; height: 380px; background: #5B6CFF; bottom: -140px; left: -140px; animation-delay: -5s; opacity: .28; }
.orb.o3 { width: 260px; height: 260px; background: var(--accent); top: 40%; left: 40%; animation-delay: -9s; opacity: .25; }
[data-theme="light"] .orb { opacity: .25; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.08); } 66% { transform: translate(-30px,30px) scale(.95); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--muted); backdrop-filter: blur(10px);
}
.eyebrow .dot { padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 600; font-size: 12px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 76px); font-weight: 800; margin: 24px 0 18px; }
.hero .sub-head { font-family: 'Sora'; font-weight: 600; font-size: clamp(18px, 2vw, 24px); margin-bottom: 18px; }
.hero .lead { font-size: clamp(16px, 1.5vw, 18px); color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.collage { position: relative; height: 560px; }
.collage .media { position: absolute; box-shadow: var(--shadow); }
.collage .m1 { inset: 0 18% 22% 0; border-radius: 28px; }
.collage .m2 { width: 46%; height: 44%; right: 0; top: 8%; border-radius: 24px; border: 6px solid var(--bg); }
.collage .m3 { width: 50%; height: 36%; right: 6%; bottom: 0; border-radius: 24px; border: 6px solid var(--bg); }
.collage .media img { animation: kb 18s ease-in-out infinite alternate; }
@keyframes kb { to { transform: scale(1.12); } }
.float-card {
  position: absolute; z-index: 3; padding: 12px 16px 12px 12px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; font-size: 13px;
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.float-card b { font-family: 'Sora'; font-size: 18px; display: block; line-height: 1.1; }
.float-card small { color: var(--muted); }
.float-card .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; flex: none; }
.float-card .ic svg { width: 19px; height: 19px; }
.fc1 { top: 4%; left: -5%; }
.fc2 { top: 52%; left: -8%; animation-delay: -1.5s; }
.fc3 { bottom: 38%; right: -4%; animation-delay: -3s; }
.fc4 { bottom: -3%; left: 14%; animation-delay: -4s; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 170px 0 90px; overflow: hidden; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 70px); font-weight: 800; margin: 18px 0 20px; max-width: 900px; }
.page-hero .lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 680px; }
.page-hero .hero-cta { margin-top: 30px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); list-style: none; padding: 0; margin: 0; }
.crumbs a:hover { color: var(--brand); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .5; }
.page-hero.split .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.page-hero.split .media { aspect-ratio: 4/3.2; box-shadow: var(--shadow); border-radius: 28px; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; gap: 52px; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track a { display: flex; align-items: center; gap: 52px; font-family: 'Sora'; font-weight: 700; font-size: clamp(20px, 2.8vw, 30px); white-space: nowrap; color: var(--muted); transition: color .2s; }
.marquee-track a:hover { color: var(--text); }
.marquee-track a::after { content: '✦'; color: var(--brand); font-size: .7em; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 120px 0; }
.section.alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 60px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head .row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.h2, .section-head h2 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 18px; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 56px; }
.split-head > div { max-width: 640px; }
.split-head p { color: var(--muted); font-size: 17px; margin-top: 16px; }

/* ---------- About block ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-visual { position: relative; }
.about-visual .media { aspect-ratio: 4/4.4; border-radius: 28px; box-shadow: var(--shadow); }
.exp-badge {
  position: absolute; right: -24px; bottom: 36px; z-index: 2; padding: 24px 26px; border-radius: 22px; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 20px 40px -12px var(--glow);
}
.exp-badge b { font-family: 'Sora'; font-size: 58px; font-weight: 800; display: block; line-height: 1; }
.exp-badge b span { font: inherit; }
.exp-badge .lbl { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .95; }
.about-text p { color: var(--muted); font-size: 17px; margin-top: 18px; }
.about-text .btn { margin-top: 30px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.checks li svg { flex: none; width: 22px; height: 22px; color: var(--brand); margin-top: 1px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 90px; }
.stat { padding: 30px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; transition: transform .3s; }
.stat:hover { transform: translateY(-6px); }
.stat b { font-family: 'Sora'; font-size: clamp(34px, 3.3vw, 46px); font-weight: 800; display: block; line-height: 1.1; }
.stat b span { font: inherit; }
.stat .lbl { display: block; margin-top: 10px; color: var(--muted); font-size: 17px; font-weight: 600; }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  overflow: hidden; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .45s; isolation: isolate;
}
.svc::before {
  content: ''; position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(4,167,225,.14), transparent 50%);
}
.svc:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(4,167,225,.45); }
.svc:hover::before { opacity: 1; }
.svc .media { border-radius: 0; aspect-ratio: 16/10; }
.svc:hover .media img { transform: scale(1.08); }
.svc .num { position: absolute; top: 16px; left: 16px; z-index: 2; font-family: 'Sora'; font-weight: 700; font-size: 13px; color: #fff; padding: 6px 12px; border-radius: 999px; background: rgba(6,11,28,.45); backdrop-filter: blur(8px); }
.svc .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc h3 { font-size: 21px; margin-bottom: 10px; }
.svc p { color: var(--muted); font-size: 15px; flex: 1; }
.svc .link-arrow { margin-top: 20px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.steps::before { content: ''; position: absolute; top: 38px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, transparent, var(--brand), transparent); opacity: .5; }
.step { text-align: center; padding: 0 6px; position: relative; }
.step .circle {
  width: 78px; height: 78px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  font-family: 'Sora'; font-weight: 800; font-size: 22px; color: var(--brand); background: var(--surface);
  border: 2px solid var(--brand); box-shadow: 0 0 0 8px var(--bg-2), 0 14px 30px -10px var(--glow); transition: all .35s;
}
.section:not(.alt) .step .circle { box-shadow: 0 0 0 8px var(--bg), 0 14px 30px -10px var(--glow); }
.step:hover .circle { background: var(--brand); color: #fff; transform: scale(1.08); }
.step h4 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- Why grid ---------- */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.why-sticky { position: sticky; top: 120px; }
.why-sticky p { color: var(--muted); font-size: 17px; margin: 20px 0 30px; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-item { padding: 30px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: all .35s; }
.why-item:hover { border-color: rgba(4,167,225,.45); transform: translateY(-6px); box-shadow: var(--shadow); }
.why-item .ic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; margin-bottom: 20px; }
.why-item .ic svg { width: 25px; height: 25px; }
.why-item h4 { font-size: 19px; margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: 15px; }

/* ---------- Industries ---------- */
.ind-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 1100px; margin: 0 auto; }
.chip {
  display: inline-flex; align-items: center; justify-content: center; padding: 20px 34px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); font-weight: 700; font-size: 18px; transition: all .3s; cursor: pointer; font-family: 'Sora', sans-serif;
}
.chip:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-4px); }


/* ---------- Presence band ---------- */
.presence { position: relative; overflow: hidden; border-radius: 34px; color: #fff; background: #0A1230; min-height: 480px; display: grid; grid-template-columns: 1fr 1fr; }
.presence .txt { padding: 64px 56px; position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
.presence .txt p { opacity: .78; font-size: 17px; margin: 18px 0 30px; max-width: 440px; }
.presence .tag { color: var(--accent); }
.presence .h2 { color: #fff; }
.presence .media { border-radius: 0; }
.presence .media::after { background: linear-gradient(90deg, #0A1230 0%, rgba(10,18,48,.2) 50%, transparent); }
.radar { position: absolute; right: 18%; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); z-index: 3; box-shadow: 0 0 0 6px rgba(4,167,225,.3); }
.radar::before, .radar::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--brand); animation: ping 2.4s ease-out infinite; }
.radar::after { animation-delay: 1.2s; }
@keyframes ping { to { transform: scale(7); opacity: 0; } }
.radar-label { position: absolute; right: calc(18% - 30px); top: calc(50% + 26px); z-index: 3; font-family: 'Sora'; font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(6,11,28,.6); backdrop-filter: blur(8px); }

/* ---------- Blog / article cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: all .4s cubic-bezier(.2,.8,.2,1); }
.post:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(4,167,225,.45); }
.post .media { border-radius: 0; aspect-ratio: 16/10; }
.post:hover .media img { transform: scale(1.07); }
.post .body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post .cat { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.post h3 { font-size: 21px; margin: 12px 0 10px; line-height: 1.25; }
.post p { color: var(--muted); font-size: 15px; flex: 1; }
.post .link-arrow { margin-top: 18px; }

/* ---------- Work gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filters button { font: inherit; font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; transition: all .25s; }
.filters button:hover { color: var(--text); border-color: var(--brand); }
.filters button.on { background: var(--brand); border-color: var(--brand); color: #fff; }


/* ---------- Service detail ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.offer { padding: 28px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: all .35s; }
.offer:hover { border-color: rgba(4,167,225,.45); transform: translateY(-6px); box-shadow: var(--shadow); }
.offer .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(4,167,225,.12); color: var(--brand); margin-bottom: 18px; font-family: 'Sora'; font-weight: 800; font-size: 15px; transition: all .35s; }
.offer:hover .ic { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.offer h3 { font-size: 18px; margin-bottom: 8px; }
.offer p { color: var(--muted); font-size: 15px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.detail-grid .media { aspect-ratio: 5/4; border-radius: 28px; box-shadow: var(--shadow); }
.detail-grid p { color: var(--muted); font-size: 17px; margin-top: 18px; }
.benefits { display: grid; gap: 16px; margin-top: 30px; }
.benefit { display: flex; gap: 16px; align-items: flex-start; }
.benefit .ic { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.benefit .ic svg { width: 21px; height: 21px; }
.benefit h4 { font-size: 17px; margin-bottom: 4px; }
.benefit p { margin: 0; font-size: 15px; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-family: 'Sora'; font-weight: 700; transition: all .3s; }
.related a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-4px); }
.related a svg { width: 18px; height: 18px; flex: none; }

/* ---------- Article ---------- */
.article-hero .media { aspect-ratio: 21/9; border-radius: 28px; margin-top: 44px; box-shadow: var(--shadow); }
.meta-row { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 14px; }
.meta-row .cat { color: var(--brand); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12.5px; }
.prose { max-width: 760px; margin: 0 auto; font-size: 18px; }
.prose p { color: var(--muted); margin: 0 0 22px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 48px 0 18px; }
.prose ul { color: var(--muted); padding-left: 22px; margin: 0 0 22px; }
.prose li { margin-bottom: 10px; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--text); }
.prose a { color: var(--brand); font-weight: 600; }
.prose blockquote { margin: 34px 0; padding: 24px 28px; border-left: 4px solid var(--brand); background: var(--surface); border-radius: 0 18px 18px 0; font-family: 'Sora'; font-size: 21px; font-weight: 600; line-height: 1.4; }

/* ---------- CTA ---------- */
.cta-box {
  position: relative; overflow: hidden; border-radius: 34px; padding: 84px 60px; text-align: center; color: #fff;
  background: linear-gradient(135deg, #0F1B3F 0%, #0A2A66 50%, #04A7E1 125%); box-shadow: var(--shadow);
}
.cta-box::before, .cta-box::after { content: ''; position: absolute; border-radius: 50%; border: 50px solid rgba(4,167,225,.35); }
.cta-box::before { width: 420px; height: 420px; left: -160px; bottom: -220px; }
.cta-box::after { width: 300px; height: 300px; right: -90px; top: -120px; border-width: 36px; border-color: rgba(122,226,255,.2); }
.cta-box h2 { font-size: clamp(30px, 4.6vw, 56px); font-weight: 800; position: relative; }
.cta-box p { position: relative; opacity: .82; font-size: 18px; margin: 18px auto 34px; max-width: 600px; }
.cta-box .btns { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-box .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; }
.contact-info { display: grid; gap: 16px; align-content: start; }
.ci { display: flex; gap: 18px; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); align-items: center; transition: all .3s; }
a.ci:hover { border-color: rgba(4,167,225,.45); transform: translateX(4px); }
.ci .ic { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(4,167,225,.12); color: var(--brand); }
.ci .ic svg { width: 22px; height: 22px; }
.ci small { color: var(--muted); display: block; font-size: 13px; }
.ci b { font-size: 15.5px; font-weight: 600; word-break: break-word; line-height: 1.45; display: block; }
form.card { padding: 40px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
form.card h2 { font-size: 26px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field label i { color: var(--brand); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2);
  color: var(--text); font: inherit; font-size: 15px; transition: border-color .25s, box-shadow .25s; outline: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(4,167,225,.15); }
.form-note { margin-top: 14px; font-size: 14px; color: var(--brand); min-height: 20px; }
.map { margin-top: 40px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); height: 420px; background: var(--surface-2); }
.map iframe { width: 100%; height: 100%; border: 0; }
[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 84px 0 30px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px; }
.foot-grid .tagline { font-family: 'Sora'; font-weight: 700; font-size: 17px; margin-top: 22px; }
.foot-grid p { color: var(--muted); font-size: 15px; margin-top: 10px; max-width: 330px; }
.foot-grid h5 { font-size: 15px; margin: 0 0 18px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid ul a, .foot-grid address a { color: var(--muted); font-size: 15px; transition: color .2s; }
.foot-grid ul a:hover, .foot-grid address a:hover { color: var(--brand); }
.foot-grid address { font-style: normal; color: var(--muted); font-size: 15px; display: grid; gap: 12px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); transition: all .3s; }
.socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

.to-top { position: fixed; right: 20px; bottom: 88px; z-index: 40; opacity: 0; pointer-events: none; transition: all .3s; }
.to-top.show { opacity: 1; pointer-events: auto; }
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .3s; }
.wa:hover { transform: scale(1.08); }
.wa svg { width: 28px; height: 28px; }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 140px 0 80px; }
.nf .big { font-family: 'Sora'; font-weight: 800; font-size: clamp(110px, 20vw, 220px); line-height: 1; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .nav-links, .nav .btn { display: none; }
  .menu-btn { display: grid; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 50px; }
  .steps::before { display: none; }
}
@media (max-width: 960px) {
  .hero-inner, .about-grid, .why-grid, .contact-grid, .detail-grid, .page-hero.split .container, .presence { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .collage { height: 440px; max-width: 560px; width: 100%; margin: 0 auto; }
  .why-sticky { position: static; }
  .svc-grid, .post-grid, .offer-grid, .related { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 90px 0; }
  .page-hero { padding: 140px 0 70px; }
  .presence .media { height: 300px; order: -1; }
  .presence .media::after { background: linear-gradient(0deg, #0A1230 0%, transparent 60%); }
  .presence .txt { padding: 20px 32px 48px; }
  .exp-badge { right: 16px; }
  .dropdown { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .svc-grid, .post-grid, .offer-grid, .related, .why-list, .checks, .form-row, .foot-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-box { padding: 60px 22px; border-radius: 26px; }
  form.card { padding: 26px 20px; }
  .collage { height: 380px; }
  .collage .m1 { inset: 0 10% 24% 0; }
  .fc1 { left: 0; } .fc2 { left: 0; } .fc3 { right: 0; } .fc4 { left: 4%; }
  .float-card { padding: 9px 12px 9px 9px; }
  .float-card b { font-size: 15px; }
  .float-card .ic { width: 32px; height: 32px; }
  .logo-img { height: 42px; }
  .presence { border-radius: 26px; }
  .prose { font-size: 17px; }
  .map { height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ================= v7 additions ================= */

/* ---------- Logo + photo marquees ---------- */
.logo-marquee, .photo-marquee { display: grid; gap: 20px; overflow: hidden; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.lm-row { display: flex; overflow: hidden; }
.lm-track { display: flex; gap: 20px; width: max-content; padding-right: 20px; animation: lm 50s linear infinite; }
.lm-row.rev .lm-track { animation-direction: reverse; animation-duration: 60s; }
.logo-marquee:hover .lm-track, .photo-marquee:hover .lm-track { animation-play-state: paused; }
@keyframes lm { to { transform: translateX(-50%); } }
.lm-tile { flex: none; width: 220px; height: 118px; display: grid; place-items: center; padding: 24px 28px; background: #fff;
  border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 14px 34px -22px rgba(15,27,63,.35); transition: transform .3s, box-shadow .3s; }
.lm-tile:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -20px var(--glow); }
.lm-tile img { display: block; width: auto; height: auto; max-width: 100%; max-height: 66px; object-fit: contain; }
.ph-row .lm-track { animation-duration: 70s; }
.ph-row.rev .lm-track { animation-duration: 80s; }
.ph-tile { flex: none; width: 360px; height: 240px; border-radius: 22px; overflow: hidden; background: var(--img-fallback); box-shadow: var(--shadow); }
.ph-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.ph-tile:hover img { transform: scale(1.08); }

/* ---------- Interactive India map ---------- */
.presence-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.pres-txt p { color: var(--muted); font-size: 17px; margin-top: 18px; }
.city-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 32px; }
.city-chip { font: inherit; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; transition: all .25s; }
.city-chip:hover, .city-chip.on { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.india-map { position: relative; width: 100%; max-width: 620px; justify-self: center; aspect-ratio: 1; }
.india-map > img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 24px 40px var(--glow)); }
.pin { position: absolute; width: 30px; height: 30px; transform: translate(-50%, -50%); border: 0; background: transparent; padding: 0; cursor: pointer; border-radius: 50%; }
.pin i { position: absolute; inset: 9px; border-radius: 50%; background: #fff; opacity: 0; box-shadow: 0 0 0 4px var(--brand), 0 0 22px 4px var(--brand); transform: scale(.4); transition: all .3s; }
.pin::before, .pin::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; }
.pin:hover i, .pin.on i, .pin:focus-visible i { opacity: 1; transform: scale(1.15); }
.pin.on::before, .pin:hover::before { animation: ping2 1.5s ease-out infinite; }
.pin.on::after, .pin:hover::after { animation: ping2 1.5s ease-out .75s infinite; }
.pin:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@keyframes ping2 { 0% { transform: scale(.7); opacity: .95; } 100% { transform: scale(3.2); opacity: 0; } }

/* ---------- Our Work ---------- */
.filter-bar { position: sticky; top: 64px; z-index: 30; padding: 14px 0; background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.filter-bar .filters { margin: 0; }
.cs-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.cs { display: grid; grid-template-columns: 52% 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .45s; }
.cs:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(4,167,225,.45); }
.cs .media { border-radius: 0; height: 100%; min-height: 0; aspect-ratio: 4 / 3; }
.cs .media::after { background: linear-gradient(90deg, transparent 60%, rgba(6,11,28,.18)); }
.cs:hover .media img { transform: scale(1.06); }
.cs .media.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; text-align: center; padding: 20px; }
.cs .media.ph svg { width: 54px; height: 54px; opacity: .9; position: relative; z-index: 1; }
.cs .media.ph span { font-size: 13px; font-weight: 600; letter-spacing: .06em; opacity: .85; position: relative; z-index: 1; }
.cs-body { padding: 38px 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 0; }
.cs-client { font-size: 12px; letter-spacing: .2em; font-weight: 700; color: var(--brand); text-transform: uppercase; }
.cs-medium { font-size: 13.5px; color: var(--muted); margin-top: 4px; font-weight: 600; }
.cs h3 { font-size: clamp(22px, 2.2vw, 30px); margin: 14px 0 12px; line-height: 1.2; }
.cs-body > p { color: var(--muted); font-size: 16px; }
.cs-meta { margin: 20px 0 24px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 8px; width: 100%; }
.cs-meta > div { display: flex; gap: 10px; font-size: 14px; }
.cs-meta dt { color: var(--muted); min-width: 74px; }
.cs-meta dd { margin: 0; font-weight: 600; }
.cs .btn { padding: 13px 26px; font-size: 15px; }
.cs.hide { display: none; }
.cs.solo { width: auto; }
.no-results { text-align: center; color: var(--muted); font-size: 18px; padding: 40px 0 10px; }
.no-results a { color: var(--brand); font-weight: 600; }
.work-note { text-align: center; max-width: 760px; margin: 64px auto 0; font-family: 'Sora', sans-serif; font-weight: 600; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; }
.svc-copy { margin-top: 14px; }
.svc-copy p { color: var(--muted); font-size: 17px; margin-top: 12px; }

/* ---------- Article extras ---------- */
.takeaways { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 18px; padding: 24px 28px; margin: 0 0 34px; }
.takeaways h2 { font-size: 20px; margin: 0 0 12px !important; }
.takeaways ul { margin: 0; padding-left: 20px; color: var(--text); }
.takeaways li { margin-bottom: 8px; }
.prose h3 { font-size: 21px; margin: 32px 0 12px; }
.prose ol { color: var(--muted); padding-left: 22px; margin: 0 0 22px; }
.table-wrap { overflow-x: auto; margin: 0 0 28px; border: 1px solid var(--line); border-radius: 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.prose th, .prose td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.prose tr:last-child td { border-bottom: 0; }
.prose th { background: var(--surface-2); color: var(--text); font-family: 'Sora', sans-serif; font-size: 13px; letter-spacing: .04em; }
.prose td strong { color: var(--text); }
.prose .checklist { list-style: none; padding-left: 0; }
.prose .checklist li { padding-left: 34px; position: relative; }
.prose .checklist li::before { content: ''; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border: 2px solid var(--brand); border-radius: 6px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 17px; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq p { padding-bottom: 18px; margin: 0; }
.sources { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 15px; }
.sources h2 { font-size: 20px; margin: 0 0 14px !important; }
.sources ol { padding-left: 22px; }
.sources a { word-break: break-word; }

@media (max-width: 1100px) {
  .cs { grid-template-columns: 1fr; }
  .cs .media { height: auto; }
  .cs-body { padding: 28px 26px 30px; }
  .filter-bar { top: 58px; }
}
@media (max-width: 960px) {
  .presence-grid { grid-template-columns: 1fr; }
  .india-map { max-width: 520px; }
}
@media (max-width: 640px) {
  .cs-body { padding: 24px 22px 26px; }
  .lm-tile { width: 160px; height: 92px; padding: 16px 18px; border-radius: 18px; }
  .lm-tile img { max-height: 50px; }
  .ph-tile { width: 260px; height: 180px; }
  .chip { padding: 15px 24px; font-size: 16px; }
  .stat .lbl { font-size: 15px; }
  .exp-badge b { font-size: 46px; }
  .filters { gap: 8px; }
  .filters button { padding: 9px 14px; font-size: 13px; }
  .prose table { min-width: 480px; }
}
