/* ==========================================================================
   Softanic v3 design layer (Nov 2026): premium SaaS look with soft 3D depth.
   Loaded after softanic.css; later rules win.
   ========================================================================== */
:root {
  --ink: #0b1b3a; --ink-2: #273449; --body: #475569; --muted: #64748b;
  --line: #e3e9f2; --line-2: #eef2f7; --surface: #f7fafe; --soft-2: #eef2f8;
  --brand: #1b5fae; --brand-2: #2d78d2; --brand-600: #174f92; --brand-50: #eef5fd; --brand-100: #dbe9fa;
  --sky: #38a9e0; --accent: #f59a23; --accent-600: #e0850c; --accent-50: #fff2e1;
  --navy-950: #050f22; --navy-900: #0b1b3a; --navy-800: #0d2147; --navy-700: #12346d;
  --ok: #16935a; --ok-bg: #e7f7ef; --warn: #a85c12; --warn-bg: #fff2e1; --bad: #b2373a; --bad-bg: #fdeded;
  --vio: #6d3fd1; --vio-bg: #f1eafe; --teal: #11928a; --teal-bg: #e3f7f6;
  --radius: 20px; --radius-lg: 24px; --radius-sm: 12px;
  --sh-card: inset 0 1px 0 #fff, 0 1px 2px rgba(15, 23, 42, .05), 0 16px 32px -22px rgba(15, 23, 42, .30);
  --sh-lift: 0 2px 4px rgba(14, 26, 43, .05), 0 34px 56px -28px rgba(8, 26, 54, .45);
  --shadow: var(--sh-lift);
  --header-h: 78px;
}
body { color: var(--body); }
h1, h2, h3, h4 { color: var(--ink); }
.h3 { font-size: 19px; font-weight: 800; line-height: 1.3; margin: 0; }
.stack-lg { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.stack-lg > * { margin: 0; }
.stack-lg > .feat, .stack-lg > .feat-grid, .stack-lg > .check-stack { align-self: stretch; }

/* Sections */
.section--soft { background: linear-gradient(180deg, var(--surface), #eef4fc); border-block: 1px solid var(--line); }
.section--dark { background: var(--navy-900); color: #aebbd0; }
.section--dark .eyebrow { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .14); }
.section--dark .section-head p { color: #aebbd0; }
.section-head h2, .h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -.02em; }
.section-head p { font-size: 17px; }
.eyebrow { font-size: 12.5px; padding: 5px 12px; letter-spacing: .07em; }
.eyebrow::before { box-shadow: none; }
.eyebrow--light { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .14); }

/* Grids */
.grid-4 { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-3 { gap: 22px; }
.grid-4 > * { min-width: 0; }

/* Buttons: soft 3D */
.btn {
  min-height: 50px; padding: 0 24px; border-radius: 13px; font-size: 15px; gap: 8px;
  border: 1px solid transparent; transition: transform .18s, box-shadow .18s, filter .18s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: none; }
.btn:active { transform: translateY(1px); }
.btn:hover .icon { transform: translateX(2px); }
.btn--lg { min-height: 56px; padding: 0 28px; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.btn--primary { background: linear-gradient(180deg, var(--brand-2), var(--brand)); border-color: var(--brand-600); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 12px 24px -10px rgba(27, 95, 174, .7); }
.btn--primary:hover { color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 16px 28px -10px rgba(27, 95, 174, .75); }
.btn--white, .btn--ghost { --fg: var(--ink); background: linear-gradient(180deg, #fff, #f3f6fb); border-color: #d5deea; color: var(--ink); box-shadow: inset 0 1px 0 #fff, 0 8px 18px -12px rgba(15, 23, 42, .45); }
.btn--white:hover, .btn--ghost:hover { color: var(--ink); background: linear-gradient(180deg, #fff, #eef3fa); border-color: #c8d4e4; box-shadow: inset 0 1px 0 #fff, 0 10px 20px -12px rgba(15, 23, 42, .5); }
.btn--accent { background: linear-gradient(180deg, #fdb54a, var(--accent)); color: #2b1700; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 14px 26px -12px rgba(224, 133, 12, .7); }
.btn--accent:hover { color: #2b1700; background: linear-gradient(180deg, #fdb54a, var(--accent)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 18px 30px -12px rgba(224, 133, 12, .75); }
.btn--navy { background: linear-gradient(180deg, var(--navy-700), var(--navy-900)); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 16px 28px -14px rgba(8, 26, 54, .8); }
.btn--navy:hover { color: #fff; }
.btn--glass, .btn--outline-light { background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn--glass:hover, .btn--outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); }

/* Cards + 3D tiles */
.card { border-radius: var(--radius); box-shadow: var(--sh-card); border-color: var(--line); }
.card--lift, .card--hover { transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.card--lift:hover, .card--hover:hover { transform: translateY(-6px); box-shadow: var(--sh-lift); border-color: var(--line); }
.tile {
  width: 50px; height: 50px; border-radius: 14px; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none;
  font-weight: 800; font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -3px 0 rgba(0, 0, 0, .12), 0 12px 20px -10px var(--tsh, rgba(27, 95, 174, .7));
}
.tile .icon { width: 22px; height: 22px; }
.tile--sm { width: 40px; height: 40px; border-radius: 12px; font-size: 14px; }
.tile--sm .icon { width: 18px; height: 18px; }
.tile--lg { width: 56px; height: 56px; border-radius: 16px; }
.tile--logo { width: auto; min-width: 56px; max-width: 128px; padding: 8px 10px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 20px -14px rgba(8, 26, 54, .45); }
.tile--logo img { display: block; height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.tile--img { padding: 0; background: none; overflow: hidden; --tsh: rgba(24, 33, 77, .55); }
.tile--img img { display: block; width: 100%; height: 100%; }
.nav .nav__menu .tile--logo { width: auto; max-width: 84px; padding: 5px 6px; }
.t-blue { background: linear-gradient(145deg, #4c8fe0, var(--brand)); --tsh: rgba(27, 95, 174, .7); }
.t-green { background: linear-gradient(145deg, #3ccb85, var(--ok)); --tsh: rgba(22, 147, 90, .7); }
.t-orange { background: linear-gradient(145deg, #fdb54a, var(--accent-600)); --tsh: rgba(224, 133, 12, .7); }
.t-violet { background: linear-gradient(145deg, #9b6bf0, var(--vio)); --tsh: rgba(109, 63, 209, .7); }
.t-teal { background: linear-gradient(145deg, #3cc9c0, var(--teal)); --tsh: rgba(17, 146, 138, .7); }
.badge { display: inline-flex; align-items: center; align-self: flex-start; padding: 3px 9px; border-radius: 8px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge--lg { font-size: 13px; padding: 6px 12px; }
.badge--blue { background: var(--brand-50); color: var(--brand); }
.badge--green { background: var(--ok-bg); color: var(--ok); }
.badge--orange { background: var(--warn-bg); color: var(--warn); }
.badge--violet { background: var(--vio-bg); color: var(--vio); }
.badge--teal { background: var(--teal-bg); color: #0e7a73; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316935A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-stack { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.check-stack--strong .check { color: var(--ink); font-weight: 600; }
.check-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.tilt { transition: transform .7s var(--ease); }
.tilt:hover { transform: perspective(1400px) rotateY(0) rotateX(0) !important; }

/* Top bar + header */
.topbar { background: var(--navy-900); color: #aebbd0; font-size: 13px; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: space-between; padding-block: 8px; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 18px; }
.topbar a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.topbar a .icon { width: 14px; height: 14px; color: var(--sky); }
.topbar a:hover { color: #cfe3fa; }
@media (max-width: 575px) { .topbar__inner > span:first-child { display: none; } .topbar__links { width: 100%; justify-content: center; } }
.site-header { background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px -24px rgba(8, 26, 54, .35); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 12px 30px -20px rgba(8, 26, 54, .4); }
.brand img { height: auto; width: 160px; }
.nav { flex: 1; margin-left: 18px; }
.nav ul { gap: 2px; }
.nav li { position: relative; }
.nav > ul > li > a { display: flex; align-items: center; gap: 4px; border-radius: 10px; padding: 9px 13px; }
.nav a.is-active { color: var(--brand); background: var(--brand-50); }
.nav a.is-active::after { display: none; }
.nav__caret { width: 15px !important; height: 15px !important; }
.nav__menu {
  position: absolute; left: 0; top: calc(100% + 8px); min-width: 300px; padding: 8px; z-index: 5;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 50px -24px rgba(8, 26, 54, .45);
  display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav li.has-menu:hover .nav__menu, .nav li.has-menu:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav .nav__menu a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 11px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.nav .nav__menu a:hover, .nav .nav__menu a.is-current { background: var(--brand-50); color: var(--brand); }
.nav .nav__menu .tile { width: 34px; height: 34px; border-radius: 10px; }
.nav .nav__menu .tile .icon { width: 16px; height: 16px; }
.nav .nav__menu a.nav__all { color: var(--brand); }
.header-cta { min-height: 46px; }
@media (max-width: 1100px) { .nav, .header-cta { display: none !important; } .nav-toggle { display: inline-grid !important; } }
@media (min-width: 1101px) { .nav { display: block; } .header-cta { display: inline-flex; } .nav-toggle { display: none; } }
@media (min-width: 1101px) and (max-width: 1240px) { .nav > ul > li > a { padding: 9px 9px; font-size: 14.5px; } .brand img { width: 140px; } }
.drawer__group { padding: 16px 4px 4px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.drawer nav a { font-size: 16px; padding: 12px 4px; }

/* Home hero */
.hero {
  padding-top: 70px; color: #b9c7dc;
  background: radial-gradient(760px 560px at 76% 46%, rgba(45, 120, 210, .55), transparent 62%), radial-gradient(520px 380px at 6% 104%, rgba(245, 154, 35, .16), transparent 62%), linear-gradient(160deg, #0d2147 0%, #081733 52%, #050f22 100%);
}
.hero::before { opacity: 1; z-index: 0; -webkit-mask-image: radial-gradient(900px 600px at 70% 40%, #000, transparent 75%); mask-image: radial-gradient(900px 600px at 70% 40%, #000, transparent 75%); }
.hero > .container { position: relative; z-index: 1; }
.hero__grid { align-items: end; gap: 36px; }
@media (min-width: 992px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
.hero__content { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; padding-bottom: 84px; }
.hero__content > * { margin: 0; }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); line-height: 1.04; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #6cb6ff, #a9d6ff 60%, #ffc37a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { color: #aebbd0; font-size: 18px; max-width: 620px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 4px; }
.stat-chip {
  padding: 13px 18px; border-radius: 16px; display: flex; flex-direction: column; line-height: 1.25;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 20px 30px -22px #000;
}
.stat-chip b { font-size: 26px; color: #fff; font-weight: 800; }
.stat-chip b span { font: inherit; color: inherit; }
.stat-chip > span { font-size: 13px; color: #9fb1cc; }
.hero__art { position: relative; height: 580px; display: flex; justify-content: center; align-items: flex-end; min-width: 0; }
.hero__halo { position: absolute; left: 50%; bottom: 70px; width: min(470px, 92%); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 50% 40%, rgba(108, 182, 255, .55), rgba(27, 95, 174, .35) 45%, rgba(11, 27, 58, 0) 70%); }
.hero__ring { position: absolute; left: 50%; bottom: 52px; width: min(510px, 98%); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; border: 1px solid rgba(169, 214, 255, .28); }
.hero__ring--spin { width: min(400px, 80%); bottom: 108px; border: 1.5px dashed rgba(169, 214, 255, .32); animation: heroSpin 60s linear infinite; }
.hero__ring--spin::after { content: ""; position: absolute; top: 8%; left: 12%; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(245, 154, 35, .18), 0 0 24px var(--accent); }
.hero__portrait { position: relative; height: 560px; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.hero__art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(transparent, #050f22 92%); pointer-events: none; }
@keyframes heroSpin { to { transform: translateX(-50%) rotate(360deg); } }
@media (max-width: 991px) { .hero__content { padding-bottom: 10px; } }
@media (max-width: 640px) { .hero { padding-top: 44px; } .hero__art { height: 440px; } .hero__portrait { height: 420px; } }

/* Service cards with photo tops */
.svc-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; color: var(--body); height: 100%; }
.svc-card:hover { color: var(--body); }
.svc-card__img { position: relative; display: block; height: 170px; overflow: hidden; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-card__img img { transform: scale(1.06); }
.svc-card__num { position: absolute; left: 14px; top: 14px; padding: 3px 10px; border-radius: 8px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 12px; font-weight: 800; }
.svc-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; font-size: 15px; }
.svc-card__body h3, .svc-card__body h2 { font-size: 19px; font-weight: 800; line-height: 1.3; margin: 0; }
.svc-card .more { margin-top: auto; font-weight: 700; color: var(--brand); }
.tile--float { margin-top: -44px; position: relative; border: 3px solid #fff; box-sizing: content-box; }

/* Tilted capability ribbon */
.tilt-ribbon { background: var(--navy-900); color: #fff; transform: rotate(-1.2deg); margin: 0 -40px; box-shadow: 0 20px 40px -24px rgba(8, 26, 54, .8); position: relative; z-index: 2; }
.tilt-ribbon > div { padding: 18px 60px; display: flex; flex-wrap: wrap; gap: 12px 36px; justify-content: center; font-weight: 700; font-size: 17px; }
.tilt-ribbon i { color: var(--accent); font-style: normal; }
.section--after-ribbon { padding-top: clamp(80px, 10vw, 110px); }
main { overflow-x: clip; }

/* Layered photo composition */
.split { gap: 52px; }
.photo-comp { position: relative; min-height: 430px; }
.photo-comp__main { position: absolute; left: 0; top: 0; width: 82%; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(8, 26, 54, .55); transform: perspective(1400px) rotateY(8deg) rotateX(2deg); }
.photo-comp__main img { display: block; width: 100%; height: 320px; object-fit: cover; }
.photo-comp__round { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid #fff; box-shadow: 0 30px 50px -24px rgba(8, 26, 54, .6); }
.photo-comp__badge { position: absolute; left: 22px; bottom: 18px; padding: 16px 20px; border-radius: 18px; background: linear-gradient(160deg, #fdb54a, var(--accent-600)); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 24px 40px -18px rgba(224, 133, 12, .8); line-height: 1.15; font-weight: 600; }
.photo-comp__badge b { font-size: 36px; display: block; font-weight: 800; }
.photo-comp__badge b span { font: inherit; }
@media (max-width: 575px) { .photo-comp { min-height: 360px; } .photo-comp__main img { height: 250px; } .photo-comp__main { width: 92%; } }
.tilt-photo { border-radius: 24px; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(8, 26, 54, .55); transform: perspective(1400px) rotateY(8deg) rotateX(2deg); }
.tilt-photo--left { transform: perspective(1400px) rotateY(-8deg) rotateX(2deg); }
.tilt-photo img { display: block; width: 100%; height: 360px; object-fit: cover; }
.feat-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 576px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
.feat { padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; box-shadow: 0 14px 28px -22px rgba(8, 26, 54, .5); display: flex; gap: 12px; line-height: 1.45; font-size: 15px; transition: transform .35s var(--ease), box-shadow .35s; }
.feat.card--lift:hover { transform: translateY(-4px); box-shadow: var(--sh-lift); }
.feat b { color: var(--ink); display: block; }
.feat small { color: var(--muted); font-size: 14px; }
.feat--wide { margin-bottom: 24px; background: var(--brand-50); border-color: var(--brand-100); }

/* Product cards */
.prod-card { padding: 26px; display: flex; flex-direction: column; gap: 16px; height: 100%; font-size: 15px; }
.prod-card__head { display: flex; align-items: center; gap: 14px; }
.prod-card__head > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.prod-card h3 { font-size: 20px; font-weight: 800; margin: 0; }
.prod-card small { font-size: 13px; color: var(--muted); }
.prod-card p { margin: 0; }
.prod-card__acts { margin-top: auto; display: flex; gap: 10px; }
.prod-card__acts .btn { flex: 1; min-height: 46px; padding: 0 12px; }
.more-products { margin-top: 30px; padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.more-products b { color: var(--ink); display: block; }
.more-products small { color: var(--muted); font-size: 14px; }

/* Step / feature cards */
.step-card { padding: 24px; display: flex; flex-direction: column; gap: 10px; height: 100%; font-size: 15px; }
.step-card h3 { font-size: 18px; font-weight: 800; margin: 0; }
.step-card p { margin: 0; }
.step-card__num { font-size: 13px; font-weight: 800; color: var(--brand); }
.step-card ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }

/* Clients coverflow */
.cf-section { overflow: hidden; background: radial-gradient(700px 300px at 50% 88%, rgba(45, 120, 210, .16), transparent 70%), var(--surface); }
.cflow { position: relative; z-index: 0; isolation: isolate; height: 360px; perspective: 1400px; touch-action: pan-y; user-select: none; }
.cf-card {
  position: absolute; left: 50%; top: 14px; width: 270px; margin-left: -135px; height: 290px; border-radius: 24px;
  background: linear-gradient(180deg, #fff, #f7fafe); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgba(15, 23, 42, .04), 0 40px 60px -36px rgba(15, 23, 42, .5);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 22px; text-align: center;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .8s, filter .8s, box-shadow .5s, border-color .5s; cursor: pointer;
  -webkit-box-reflect: below 10px linear-gradient(transparent 72%, rgba(255, 255, 255, .28));
}
.js .cflow:not(.is-ready) .cf-card { opacity: 0; }
.cf-card__logo { width: 100%; height: 130px; border-radius: 16px; background: #fff; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; padding: 16px; box-shadow: inset 0 2px 6px rgba(15, 23, 42, .05); }
.cf-card__logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.cf-card__mono { width: 84px; height: 84px; border-radius: 24px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 36px; font-weight: 800; background: linear-gradient(160deg, var(--brand-2), var(--brand) 55%, var(--navy-700)); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .3), 0 16px 24px -12px rgba(27, 95, 174, .7); }
.cf-card b { color: var(--ink); font-size: 17px; line-height: 1.3; text-transform: capitalize; }
.cf-card small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.cf-card small .icon { width: 15px; height: 15px; }
.cf-card.is-on { border-color: #b9d3f2; box-shadow: inset 0 1px 0 #fff, 0 0 0 4px rgba(45, 120, 210, .10), 0 50px 80px -36px rgba(27, 95, 174, .65); }
.cf-card.is-on small { color: var(--brand); }
.cf-ctrl { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 18px; }
.cf-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 20px -14px rgba(15, 23, 42, .6); transition: transform .15s, background .15s; }
.cf-btn:hover { transform: translateY(-2px); background: var(--brand-50); color: var(--brand); }
.icon--flip { transform: scaleX(-1); }
.cf-count { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; min-width: 64px; text-align: center; }
.cf-dots { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.cf-dots button { width: 9px; height: 9px; padding: 0; border-radius: 99px; border: 0; background: #c9d5e6; cursor: pointer; transition: width .3s, background .3s; }
.cf-dots button.is-on { width: 28px; background: var(--brand); }
@media (max-width: 640px) { .cflow { height: 330px; } .cf-card { width: 230px; margin-left: -115px; height: 260px; } }

/* Testimonials (dark) */
.quote-dark { margin: 0; padding: 28px; background: linear-gradient(180deg, var(--navy-700), #0c2550); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 50px -30px rgba(0, 0, 0, .8); transition: transform .35s var(--ease), box-shadow .35s; }
.quote-dark:hover { transform: translateY(-6px); }
.quote-dark .stars { display: flex; gap: 3px; color: var(--accent); }
.quote-dark .stars .icon { width: 17px; height: 17px; }
.quote-dark blockquote { margin: 0; color: #dce6f4; font-size: 15px; flex: 1; }
.quote-dark figcaption { color: #aebbd0; font-size: 14px; }
.quote-dark figcaption b { color: #fff; display: block; font-size: 15px; }

/* Inner page hero */
.page-hero { background: var(--navy-900); color: #c8d6ea; padding: 64px 0 70px; }
.page-hero::before { display: none; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 380px at 85% 20%, rgba(56, 169, 224, .32), transparent), linear-gradient(180deg, rgba(11, 27, 58, .5), var(--navy-900)); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .16; max-width: none; }
.page-hero__inner { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.page-hero__inner > * { margin: 0; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -.02em; margin: 0; max-width: 860px; }
.page-hero p { max-width: 660px; font-size: 17px; }
.crumbs a { color: #aebbd0; }
.crumbs li + li::before { color: rgba(255, 255, 255, .35); }
.post-hero .page-hero__inner, .post-hero > .container { position: relative; }

/* Product hero */
.product-hero { flex-direction: row; flex-wrap: wrap; gap: 44px; align-items: center; }
.product-hero__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.product-hero__copy > * { margin: 0; }
.product-hero__copy .btn-row { margin-top: 10px; }
.product-hero__art { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.product-mock { width: min(440px, 100%); background: #fff; border-radius: 20px; overflow: hidden; transform: perspective(1600px) rotateY(-12deg) rotateX(6deg); box-shadow: 0 60px 90px -40px rgba(0, 0, 0, .85); }
.product-mock__logo { padding: 36px 30px; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.product-mock__logo img { max-height: 110px; width: auto; max-width: 80%; object-fit: contain; }
.product-mock__logo--sm img { max-height: 80px; max-width: 58%; }
.product-mock__mods { padding: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; background: #f8fafc; }
.product-mock__mods .badge { padding: 14px 12px; border-radius: 12px; font-size: 13px; white-space: normal; align-self: stretch; box-shadow: inset 0 1px 0 #fff, 0 6px 12px -8px rgba(15, 23, 42, .4); }
.steps-title { font-size: 20px; font-weight: 800; margin: 0 0 16px; }
.mini-steps { list-style: none; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 576px) { .mini-steps { grid-template-columns: 1fr 1fr; } }
.mini-steps li { padding: 18px; display: flex; gap: 12px; align-items: center; line-height: 1.4; font-size: 14px; }
.mini-steps b { color: var(--ink); display: block; font-size: 15px; }

/* Service detail */
.detail-cover { border-radius: 24px; box-shadow: 0 18px 36px -24px rgba(11, 27, 58, .30); margin-bottom: 30px; aspect-ratio: 16 / 10; height: auto; width: 100%; max-width: 680px; }
/* Service illustrations are 1200x750 (16:10): show the whole picture, no cropping */
.detail-cover img { object-fit: contain; background: #fff; }
.tilt-x { transform: perspective(1600px) rotateX(3deg); }
.detail-intro { font-size: 17px; }
.detail-panel { margin-top: 26px; padding: 26px; background: #fff; display: flex; flex-direction: column; gap: 14px; }
.detail-panel > * { margin: 0; }
.detail-panel__head { display: flex; gap: 14px; align-items: center; }
.detail-panel__head h2 { font-size: 20px; font-weight: 800; margin: 0; }
.detail-panel > p { color: var(--body); margin: 0; }
.side-nav { padding: 10px; display: flex; flex-direction: column; }
.side-nav h2 { padding: 12px 14px; font-size: 16px; font-weight: 800; margin: 0; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 12px; font-weight: 600; color: var(--ink-2); font-size: 15px; transition: background .2s, color .2s; }
.side-nav a .icon { width: 16px; height: 16px; }
.side-nav a:hover { background: var(--brand-50); color: var(--brand); }
.side-nav a.is-current { background: linear-gradient(180deg, var(--brand-2), var(--brand)); color: #fff; box-shadow: 0 10px 20px -10px rgba(27, 95, 174, .7); }
.side-help { border-radius: 20px; padding: 24px; background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #c8d6ea; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; box-shadow: 0 30px 50px -30px rgba(11, 27, 58, .8); }
.side-help b { color: #fff; font-size: 19px; }
.side-help a:not(.btn) { color: #fff; }
.sidebar-box { background: #fff; box-shadow: var(--sh-card); border-radius: var(--radius); }
.side-cta { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); }

/* About numbers */
.numbers-band { background: var(--navy-900); }
.numbers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-block: 44px; text-align: center; }
@media (min-width: 768px) { .numbers { grid-template-columns: repeat(4, 1fr); } }
.numbers b { display: block; color: #fff; font-size: 40px; font-weight: 800; line-height: 1.1; }
.numbers b span { font: inherit; }
.numbers > div > span { color: #aebbd0; }

/* Team */

/* Clients page */
.client-tools { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.search-pill { flex: 0 1 360px; height: 48px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--muted); box-shadow: var(--sh-card); }
.search-pill input { border: 0; outline: none; flex: 1; min-width: 0; background: transparent; font-size: 15px; color: var(--ink); }
.client-grid { --cols: 2; --gap: 22px; }
@media (min-width: 640px) { .client-grid { --cols: 3; } }
@media (min-width: 992px) { .client-grid { --cols: 4; } }
@media (min-width: 1200px) { .client-grid { --cols: 4; } }
.client-card { padding: 24px; gap: 14px; }
.client-card:hover { border-color: var(--line); }
.client-card__logo { height: 90px; border-radius: 10px; border: 1px solid var(--line-2); background: #fafbfd; padding: 8px; }
.client-card__logo img { max-height: 74px; }
.client-card__name { font-weight: 700; color: var(--ink); font-size: 15px; }
.client-card__initial { background: none; color: var(--brand); font-size: 34px; }

/* Blogs */
.blog-card { box-shadow: var(--sh-card); }

/* Internship plans */
.plan-card { padding: 26px; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.plan-card > * { margin: 0; }
.plan-card__spacer { height: 24px; }
.plan-card small { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: var(--muted); }
.plan-card h3 { font-size: 30px; font-weight: 800; color: var(--ink); }
.plan-card__list { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); }
.plan-card__list .off { display: flex; gap: 10px; opacity: .45; text-decoration: line-through; }
.plan-card__list .off > span:first-child { width: 22px; text-align: center; }
.plan-card .btn { margin-top: auto; }
.plan-card--featured { background: linear-gradient(170deg, var(--navy-700), var(--navy-900)); border-color: transparent; color: #c8d6ea; box-shadow: 0 40px 60px -30px rgba(11, 27, 58, .8); }
.plan-card--featured small { color: #aebbd0; }
.plan-card--featured h3, .plan-card--featured .plan-card__list { color: #fff; }

/* Forms */
.form-card { border-radius: 20px; padding: clamp(24px, 4vw, 32px); box-shadow: inset 0 1px 0 #fff, 0 40px 70px -40px rgba(8, 26, 54, .5); }
.form-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  min-height: 50px; padding: 12px 14px; border: 1px solid #dce3ee; border-radius: 12px; background-color: #fff; font-size: 15px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .05);
}
.field textarea { min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.field.has-error input, .field.has-error select, .field.has-error textarea { box-shadow: 0 0 0 4px var(--bad-bg); }
.file-drop { border: 1.5px dashed #c6d3e6; background: #fafbfd; border-radius: 12px; padding: 14px; }
.file-drop .icon-tile { width: 40px; height: 40px; border-radius: 12px; color: #fff; background: linear-gradient(145deg, #4c8fe0, var(--brand)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 18px -10px rgba(27, 95, 174, .7); }
.file-drop .icon-tile .icon { width: 18px; height: 18px; }
.contact-layout { align-items: start; gap: 44px; }
@media (min-width: 992px) { .contact-layout { grid-template-columns: 1fr 1.4fr; } }
.contact-layout > .stack-lg .feat a { color: var(--ink-2); }
.socials--light a { background: #fff; color: var(--ink-2); border: 1px solid var(--line); box-shadow: 0 8px 16px -12px rgba(15, 23, 42, .45); }
.socials--light a:hover { background: var(--brand); color: #fff; }
.section--map { padding-bottom: 88px; }
.map-card { display: grid; grid-template-columns: 1fr; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-card); }
@media (min-width: 900px) { .map-card { grid-template-columns: 360px 1fr; } }
.map-card__info { padding: 30px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; background: linear-gradient(135deg, #dcebfb, #eef5fd); }
.map-card__info b { color: var(--ink); font-size: 18px; }
.map-card__frame { min-height: 340px; }
.map-card__frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* Modal */
.modal__box { border-radius: 22px; }
.modal__icon { border-radius: 20px; }
.modal__icon--ok { background: linear-gradient(145deg, #3ccb85, var(--ok)); color: #fff; box-shadow: 0 14px 24px -12px rgba(22, 147, 90, .7); }

/* Policies */
.policy { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-card); padding: clamp(24px, 4vw, 40px); }
.policy h3 { border-top-color: var(--line-2); }

/* CTA band + footer */
.cta-band--footer { padding: 60px 0 0; background: var(--navy-950); }
.cta-band__box--bright { background: linear-gradient(120deg, var(--brand), var(--brand-2) 55%, var(--sky)); color: #e3effc; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 40px 70px -40px rgba(56, 169, 224, .8); border-radius: 24px; padding: 34px 38px; }
.cta-band__box--bright h2 { color: #fff; font-size: 26px; font-weight: 800; }
.cta-band__box--bright p { color: #e3effc; }
.cta-band__note { margin-top: 12px !important; font-size: 13px !important; opacity: .75; }
.site-footer { padding-top: 54px; }
.logo-pill { display: inline-block; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .7); margin-bottom: 18px; }
.footer-brand .logo-pill img { height: auto; width: 150px; filter: none; margin: 0; }
.footer-bottom { border-top-color: #14264a; }

@media (max-width: 575px) {
  .btn-row .btn { flex: 1 1 auto; }
  .prod-card__acts { flex-wrap: wrap; }
  .tilt-photo img { height: 260px; }
  .tilt-ribbon > div { padding: 14px 50px; font-size: 15px; gap: 8px 20px; }
  .cta-band__box--bright { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) { .hero__ring--spin { animation: none; } .js .cflow:not(.is-ready) .cf-card { opacity: 1; } }

.client-card[hidden], .empty-state[hidden] { display: none !important; }

/* Service detail: justified body paragraphs (headings, sidebar and bullets stay left) */
.detail-body > p, .detail-panel > p {
  text-align: justify; text-justify: inter-word;
  -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word;
}

/* Clients carousel: many dots wrap in a tidy, centred block */
.cf-dots { max-width: min(640px, 100%); margin-inline: auto; row-gap: 8px; }

/* Service illustration cards: keep the centred artwork centred */
.svc-card__img img { object-position: center; }
.svc-card__img { height: auto; aspect-ratio: 16 / 10; }

/* Clients carousel: quicker steps (autoplay every 1.8s in softanic.js) */
.cf-card { transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .6s, filter .6s, box-shadow .5s, border-color .5s; }

/* About: "Meet Our Expert Team" - floating name cards */
.b-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 26px; }
.b-card { position: relative; display: block; text-decoration: none; padding-bottom: 40px; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.b-card .ph { position: relative; height: 330px; border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 50% 25%, #dcebfb, #9dc1ec); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), 0 34px 56px -32px rgba(11, 27, 58, .65); }
.b-card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s var(--ease); }
.b-card:hover .ph img { transform: scale(1.06); }
.b-card .ph::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(11, 27, 58, .55)); pointer-events: none; }
.b-card__initial { position: absolute; inset: 0; display: grid; place-items: center; font-size: 4rem; font-weight: 800; color: var(--brand); }
.b-card .lead { position: absolute; top: 14px; left: 14px; z-index: 1; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(11, 27, 58, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .25); padding: 5px 10px; border-radius: 99px; }
.b-card .glass { position: absolute; left: 18px; right: 18px; bottom: 0; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line, #e3e9f2); box-shadow: 0 22px 34px -18px rgba(11, 27, 58, .55); text-align: center; transition: transform .35s var(--ease), box-shadow .35s; }
.b-card:hover .glass { transform: translateY(-8px); box-shadow: 0 30px 44px -18px rgba(27, 95, 174, .55); }
.b-card .glass::before { content: ""; position: absolute; top: -1px; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--brand-2), var(--accent)); }
.b-card h3 { font-size: 17px; font-weight: 800; margin: 0; color: var(--ink); }
.b-card .glass p { font-size: 13.5px; color: var(--muted); line-height: 1.4; margin: 2px 0 0; }
.b-card.join .ph { background: linear-gradient(160deg, var(--brand-2), var(--navy-700)); display: flex; align-items: center; justify-content: center; border: 2px dashed rgba(255, 255, 255, .4); }
.b-card.join .ph::after { display: none; }
.b-card.join .q { font-size: 120px; font-weight: 800; line-height: 1; color: #fff; text-shadow: 0 20px 40px rgba(0, 0, 0, .4); transition: transform .4s var(--ease); }
.b-card.join:hover .q { transform: scale(1.08) rotate(-6deg); }
.b-card.join .glass p { color: var(--accent-600); font-weight: 700; }
