/* =====================================================================
   GlobalWebix — public website styles (dependency-free)
   Brand palette from the logo: navy #13305a + red #ef1a3d
   ===================================================================== */

:root {
    --navy-950: #061224;
    --navy-900: #0a1a33;
    --navy-800: #0f2548;
    --navy: #13305a;
    --navy-600: #1d4273;
    --navy-500: #2a5a96;
    --navy-100: #e6edf7;
    --navy-50: #f3f6fb;
    --red: #ef1a3d;
    --red-600: #d3122f;
    --red-700: #b00e27;
    --red-100: #fde6ea;
    --pink: #ff8fa3;

    --c-primary: var(--red-600);
    --c-text: #0d1b33;
    --c-body: #3a4a63;
    --c-muted: #56667f;
    --c-border: #e2e8f1;
    --c-surface: #ffffff;
    --c-bg: #ffffff;
    --c-bg-muted: #f4f7fb;
    --c-success: #059669;
    --c-danger: #dc2626;
    --gradient: linear-gradient(135deg, #ef1a3d 0%, #c30f2f 100%);
    --gradient-navy: linear-gradient(135deg, #1d4273 0%, #0a1a33 100%);
    --gradient-text: linear-gradient(90deg, #ff3b5c 0%, #ff8fa3 55%, #ffd4dc 100%);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(13, 27, 51, .06), 0 1px 3px rgba(13, 27, 51, .08);
    --shadow: 0 14px 34px -14px rgba(13, 27, 51, .22);
    --shadow-lg: 0 26px 60px -20px rgba(6, 18, 36, .45);
    --shadow-red: 0 14px 30px -12px rgba(239, 26, 61, .55);
    --header-h: 78px;
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--c-body); background: var(--c-bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-600); }
h1, h2, h3, h4 { color: var(--c-text); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #ff5a76; outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
::selection { background: var(--red); color: #fff; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: #fff; color: var(--c-text); padding: 10px 16px; border-radius: 8px; font-weight: 700; box-shadow: var(--shadow); transition: top .2s; }
.skip-link:focus { top: 12px; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 860px; }

/* ---------- Keyframes ---------- */
@keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(50px, -40px) scale(1.12); } 100% { transform: translate(-40px, 30px) scale(.94); } }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(239, 26, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 26, 61, 0); } }
@keyframes node { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dash { to { stroke-dashoffset: -160; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes gridpan { to { background-position: 48px 48px; } }
@keyframes shine { 0%, 70% { left: -120%; } 100% { left: 140%; } }
@keyframes breathe { 50% { box-shadow: 0 0 0 16px rgba(255, 255, 255, .05), 0 0 90px rgba(239, 26, 61, .6); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes scrollDot { 0% { transform: translate(-50%, 0); opacity: 1; } 80% { transform: translate(-50%, 14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.anim-up { opacity: 0; animation: up .85s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }
.anim-zoom { opacity: 0; animation: zoomIn 1.1s var(--ease) .35s forwards; }

/* ---------- Buttons ---------- */
.btn {
    position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .8em 1.45em; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: .95rem; line-height: 1.2;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-loading { opacity: .7; cursor: progress; transform: none; }
.btn i { transition: transform .25s var(--ease); }
.btn:hover .fa-arrow-right { transform: translateX(4px); }
.btn--primary { background: var(--gradient); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary:hover { color: #fff; box-shadow: 0 18px 34px -12px rgba(239, 26, 61, .7); }
.btn--shine::after { content: ""; position: absolute; top: 0; left: -120%; width: 55%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); transition: left .75s ease; pointer-events: none; }
.btn--shine:hover::after { left: 140%; }
.btn--auto-shine::after { animation: shine 4.5s ease-in-out 2s infinite; }
.btn--outline { border-color: var(--c-border); color: var(--navy); background: #fff; }
.btn--outline:hover { border-color: var(--red); color: var(--red-600); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { color: #fff; border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .12); }
.btn--light { background: #fff; color: var(--red-600); }
.btn--light:hover { color: var(--red-700); box-shadow: var(--shadow); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn--sm { padding: .62em 1.15em; font-size: .88rem; }
.btn--lg { padding: 1em 1.8em; font-size: 1rem; }
.btn--block { width: 100%; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; color: var(--red-600); }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #b9c6da; font-size: .83rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__info, .topbar__social { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.topbar__info li { display: flex; align-items: center; gap: 8px; }
.topbar__info i { color: var(--red); }
.topbar a { color: #dbe4f1; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
/* Indian tricolour drawn in CSS (flag emoji do not render on Windows). */
.flag-in { position: relative; display: inline-block; width: 20px; height: 14px; border-radius: 2px; overflow: hidden; background: linear-gradient(#ff9933 0 33.3%, #ffffff 33.3% 66.6%, #138808 66.6%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); flex-shrink: 0; }
.flag-in::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 50%; border: 1px solid #000080; }
.topbar__social { gap: 12px; }
.topbar__social a { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; transition: background-color .2s; }
.topbar__social a:hover { background: var(--red); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1000; height: var(--header-h);
    background: rgba(255, 255, 255, .94); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--c-border); transition: box-shadow .3s, height .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(13, 27, 51, .35); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand__mark { display: block; width: 46px; height: 43px; transition: transform .4s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }
.brand__mark svg { width: 100%; height: 100%; }
.brand__img { height: 44px; width: auto; max-width: 190px; object-fit: contain; }
.brand__text { font-weight: 800; font-size: 1.4rem; letter-spacing: -.03em; color: var(--navy); }
.brand__accent { color: var(--red); }
.brand--white .brand__text { color: #fff; }
.site-footer .brand__img { background: #fff; padding: 6px 10px; border-radius: 10px; }

.main-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav__item { position: relative; display: flex; align-items: center; }
.main-nav__link { position: relative; display: block; padding: 10px 12px; color: var(--navy); text-decoration: none; font-weight: 700; font-size: .93rem; border-radius: 8px; transition: color .2s; cursor: default; }
a.main-nav__link { cursor: pointer; }
.main-nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav__link:hover, .main-nav__item:hover > .main-nav__link { color: var(--red-600); }
.main-nav__link:hover::after, .main-nav__link.is-active::after { transform: scaleX(1); }
.main-nav__link.is-active { color: var(--red-600); }
.has-dropdown > .main-nav__link { padding-right: 4px; }
.has-dropdown > .main-nav__link::after { right: 4px; }
.main-nav__caret { background: none; border: 0; color: var(--navy-500); padding: 8px 8px 8px 2px; cursor: pointer; font-size: .7rem; border-radius: 6px; }
.main-nav__caret i { transition: transform .2s; }
.main-nav__item:hover .main-nav__caret i, .main-nav__item.is-open .main-nav__caret i { transform: rotate(180deg); }

.dropdown {
    position: absolute; top: calc(100% + 10px); left: 50%; min-width: 240px; transform: translate(-50%, 10px);
    background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 10px; border: 1px solid var(--c-border); border-top: 3px solid var(--red);
    /* visibility flips instantly on open (links focusable at once) and only after the fade on close */
    opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.main-nav__item:hover > .dropdown, .main-nav__item:focus-within > .dropdown, .main-nav__item.is-open > .dropdown {
    opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
}
.dropdown ul { list-style: none; margin: 0; padding: 0; }
.dropdown--mega { width: min(660px, 92vw); }
.dropdown__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.dropdown__link { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--c-text); text-decoration: none; font-weight: 600; font-size: .9rem; transition: background-color .2s, color .2s; }
.dropdown__link:hover, .dropdown__link.is-active { background: var(--navy-50); color: var(--red-600); }
.dropdown__icon { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: var(--navy-100); color: var(--navy); font-size: .9rem; transition: background-color .2s, color .2s, transform .25s var(--ease); }
.dropdown__link:hover .dropdown__icon { background: var(--red); color: #fff; transform: rotate(-8deg); }
.dropdown__all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; padding: 11px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; }
.dropdown__all:hover { background: var(--red-600); color: #fff; }

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--c-border); border-radius: 10px; background: #fff; cursor: pointer; padding: 12px 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 999; background: #fff; overflow-y: auto; padding: 12px 20px 32px; animation: fadeDown .25s var(--ease); }
.mobile-nav__list { list-style: none; margin: 0 0 20px; padding: 0; }
.mobile-nav__list > li { border-bottom: 1px solid var(--c-border); }
.mobile-nav__link { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 15px 4px; color: var(--navy); font-weight: 700; font-size: 1.05rem; text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; }
.mobile-nav__link.is-active { color: var(--red-600); }
.mobile-nav__toggle i { transition: transform .2s; font-size: .8rem; }
.mobile-nav__toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.mobile-nav__sub { list-style: none; margin: 0 0 12px; padding: 0 0 0 12px; border-left: 2px solid var(--red-100); }
.mobile-nav__sub a { display: block; padding: 9px 8px; color: var(--c-body); text-decoration: none; font-weight: 500; }
.mobile-nav__sub a[aria-current="page"] { color: var(--red-600); }
.mobile-nav__contact { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.mobile-nav__contact a { color: var(--navy); font-weight: 600; text-decoration: none; }
.mobile-nav__contact i { color: var(--red); width: 20px; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 96px 0; }
.section--tight { padding: 60px 0; }
.section--muted { background: var(--c-bg-muted); }
.section--dark { background: var(--navy-900); color: #c3cfe1; overflow: hidden; isolation: isolate; }
.section--dark__inner { position: relative; z-index: 1; }
.section--dark .section-title { color: #fff; }
.section--dark .section-lead { color: #9fb0c9; }
.section--center { min-height: 60vh; display: flex; align-items: center; }
.section-head { max-width: 740px; margin: 0 auto 52px; text-align: center; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; text-align: left; flex-wrap: wrap; }
.section-head--row .section-title { margin-bottom: 0; }
.section-title { font-size: clamp(1.8rem, 1.2rem + 2.1vw, 2.75rem); }
.section-lead { font-size: 1.08rem; color: var(--c-muted); margin: 0; }
.section-foot { text-align: center; margin-top: 46px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red-600); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--gradient); }
.section-head:not(.section-head--row) .eyebrow::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--gradient); }
.eyebrow--light { color: #ff8fa3; }
.block-title { font-size: 1.45rem; margin: 44px 0 18px; }
.text-gradient { background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; isolation: isolate; color: #c3cfe1; padding: 104px 0 130px;
    background:
        radial-gradient(1100px 620px at 85% -10%, rgba(239, 26, 61, .22), transparent 60%),
        radial-gradient(900px 620px at -10% 110%, rgba(42, 90, 150, .38), transparent 60%),
        linear-gradient(160deg, #0a1a33 0%, #061224 58%, #0c2244 100%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__mesh span, .page-hero__mesh span { position: absolute; border-radius: 50%; filter: blur(80px); animation: drift 18s ease-in-out infinite alternate; pointer-events: none; }
.hero__mesh span { z-index: -2; }
.hero__mesh span:nth-child(1) { width: 520px; height: 520px; background: #ef1a3d; top: -180px; right: -90px; opacity: .3; }
.hero__mesh span:nth-child(2) { width: 460px; height: 460px; background: #2a5a96; bottom: -220px; left: -140px; opacity: .45; animation-duration: 22s; }
.hero__mesh span:nth-child(3) { width: 320px; height: 320px; background: #c30f2f; top: 38%; left: 42%; opacity: .16; animation-duration: 26s; }
.hero__grid-bg {
    position: absolute; inset: 0; z-index: -1; opacity: .55;
    background-image: linear-gradient(rgba(160, 180, 210, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(160, 180, 210, .08) 1px, transparent 1px);
    background-size: 48px 48px; animation: gridpan 6s linear infinite;
    mask-image: radial-gradient(ellipse at 50% 35%, #000 25%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 25%, transparent 75%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px; font-size: .86rem; font-weight: 600;
    color: #ffd4dc; background: rgba(239, 26, 61, .12); border: 1px solid rgba(255, 110, 135, .35); margin-bottom: 24px; backdrop-filter: blur(6px);
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(239, 26, 61, .6); animation: pulse 2s infinite; }
.hero__title { color: #fff; font-size: clamp(2.2rem, 1.2rem + 3vw, 3.4rem); line-height: 1.1; margin-bottom: 22px; }
.hero__line, .hero__rotator { display: block; }
/* One reserved line: long admin-entered words are clipped instead of pushing the layout around. */
.hero__rotator { min-height: 1.15em; font-size: .92em; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.hero__rotator-word { background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__caret { display: inline-block; width: 4px; height: .9em; margin-left: 6px; vertical-align: -.08em; background: var(--red); border-radius: 2px; animation: blink 1s steps(1) infinite; }
.hero__subtitle { font-size: 1.14rem; color: #a9b8ce; max-width: 580px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; font-size: .92rem; color: #a9b8ce; }
.hero__trust i { color: var(--red); margin-right: 6px; }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 540px; }
.orbit { position: relative; width: 480px; height: 480px; transition: transform .35s ease-out; }
.orbit__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .2); animation: spin 44s linear infinite; }
.orbit__ring--2 { inset: 16%; border-style: solid; border-color: rgba(239, 26, 61, .38); animation-duration: 30s; animation-direction: reverse; }
.orbit__ring--3 { inset: 30%; border-color: rgba(255, 255, 255, .1); border-style: solid; animation: none; }
.orbit__planet { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px; transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1)); }
.orbit__planet > span {
    display: grid; place-items: center; width: 100%; height: 100%; border-radius: 16px; color: #fff; font-size: 1.45rem;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); animation: spin 44s linear infinite reverse;
}
.orbit__ring--2 .orbit__planet > span { animation-duration: 30s; animation-direction: normal; background: rgba(239, 26, 61, .16); border-color: rgba(255, 120, 145, .4); }
.orbit__core {
    position: absolute; inset: 33%; border-radius: 50%; display: grid; place-items: center;
    background: radial-gradient(circle at 35% 30%, #ffffff 0%, #eef3fa 70%, #dbe5f2 100%);
    box-shadow: 0 0 0 12px rgba(255, 255, 255, .06), 0 0 70px rgba(239, 26, 61, .45); animation: breathe 4.5s ease-in-out infinite;
}
.orbit__core .brand-mark { width: 68%; height: auto; }
.brand-mark--animated .bm-line { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s var(--ease) .6s forwards; }
.brand-mark--animated .bm-node { transform-box: fill-box; transform-origin: center; animation: node 2.6s ease-in-out infinite; }
.brand-mark--animated .bm-node:nth-child(2) { animation-delay: .5s; }
.brand-mark--animated .bm-node:nth-child(3) { animation-delay: 1s; }
.brand-mark--animated .bm-node:nth-child(4) { animation-delay: 1.5s; }

.float-card {
    position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; z-index: 2;
    background: rgba(255, 255, 255, .97); color: var(--c-text); box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .96rem; }
.float-card small { color: var(--c-muted); font-size: .78rem; }
.float-card--a { left: -6px; bottom: 36px; }
.float-card--b { right: -10px; top: 26px; animation-delay: -2s; }
.float-card--c { right: 6px; bottom: -6px; animation-delay: -4s; }
.float-card__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--navy-100); color: var(--navy); }
.float-card__icon--green { background: #ecfdf5; color: var(--c-success); }
.float-card__icon--red { background: var(--red-100); color: var(--red-600); }

.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 16px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s ease-in-out infinite; }

/* ---------- Services marquee ---------- */
.marquee { overflow: hidden; background: #fff; border-bottom: 1px solid var(--c-border); padding: 16px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee__list li { display: flex; align-items: center; }
.marquee__list li::after { content: "✦"; color: var(--red); margin: 0 26px; font-size: .9rem; }
.marquee__list a { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; font-size: 1.02rem; text-decoration: none; white-space: nowrap; }
.marquee__list a i { color: var(--red); }
.marquee__list a:hover { color: var(--red-600); }

/* ---------- Stats ---------- */
.stats-strip { position: relative; background: var(--gradient-navy); padding: 44px 0; overflow: hidden; }
.stats-strip::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 50% 0, rgba(239, 26, 61, .25), transparent 70%); }
.stats-strip__grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat { text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .08); }
.stat__value { display: block; font-size: clamp(2rem, 1.4rem + 1.8vw, 2.8rem); font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.stat__label { color: #a9b8ce; font-size: .93rem; }

/* ---------- Cards ---------- */
.card { position: relative; overflow: hidden; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); z-index: 2; }
.card:hover::before { transform: scaleX(1); }
.stretched-link { color: inherit; text-decoration: none; }
.stretched-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.stretched-link:focus-visible { outline: none; }
.stretched-link:focus-visible::after { outline: 3px solid #ff5a76; outline-offset: -3px; }

.service-card { padding: 32px 28px; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: #cfdaea; }
.service-card__icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; background: var(--gradient-navy); color: #fff; font-size: 1.4rem; margin-bottom: 20px; box-shadow: 0 12px 22px -12px rgba(10, 26, 51, .7); transition: background .35s, transform .45s var(--ease); }
.service-card:hover .service-card__icon { background: var(--gradient); transform: rotate(-8deg) scale(1.06); }
.service-card__title { font-size: 1.2rem; margin-bottom: 10px; }
.service-card__title a:hover { color: var(--red-600); }
.service-card__text { color: var(--c-muted); font-size: .96rem; margin-bottom: 18px; }
.service-card__more, .post-card__more { font-weight: 700; font-size: .9rem; color: var(--red-600); display: inline-flex; align-items: center; gap: .4em; }
.service-card__more i, .post-card__more i { transition: transform .25s; }
.card:hover .service-card__more i, .card:hover .post-card__more i { transform: translateX(5px); }

.project-card, .post-card { display: flex; flex-direction: column; }
.project-card:hover, .post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.project-card__media, .post-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-100); }
.project-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 26, 51, .55)); opacity: 0; transition: opacity .35s; }
.card:hover .project-card__media::after { opacity: 1; }
.project-card__media img, .post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .project-card__media img, .card:hover .post-card__media img { transform: scale(1.07); }
.project-card__media .badge { position: absolute; left: 14px; top: 14px; z-index: 1; }
.project-card__body, .post-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.project-card__title, .post-card__title { font-size: 1.15rem; margin-bottom: 8px; }
.project-card__title a:hover, .post-card__title a:hover { color: var(--red-600); }
.project-card__text, .post-card__text { color: var(--c-muted); font-size: .94rem; margin-bottom: 14px; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .82rem; color: var(--c-muted); margin-bottom: 8px; }
.post-card__cat { font-weight: 700; color: var(--red-600); text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; }
.img-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: var(--gradient-navy); color: rgba(255, 255, 255, .8); font-size: 2.5rem; }

.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--red-100); color: var(--red-700); text-decoration: none; }
.badge--glass { background: rgba(10, 26, 51, .6); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--navy-50); color: var(--navy); border: 1px solid var(--c-border); }
.chip--link { text-decoration: none; position: relative; z-index: 2; transition: all .2s; }
.chip--link:hover { border-color: var(--red); color: #fff; background: var(--red); }

.testimonial-card { padding: 30px; display: flex; flex-direction: column; margin: 0; }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testimonial-card::after { content: "\201C"; position: absolute; right: 22px; top: 6px; font-size: 5rem; line-height: 1; font-family: Georgia, serif; color: var(--red); opacity: .12; }
.section--dark .testimonial-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); box-shadow: none; backdrop-filter: blur(6px); }
.stars { color: #f59e0b; display: flex; gap: 3px; margin-bottom: 14px; font-size: .9rem; }
.testimonial-card__quote { margin: 0 0 20px; flex: 1; }
.testimonial-card__quote p { margin: 0; font-size: 1rem; color: var(--c-body); }
.section--dark .testimonial-card__quote p { color: #d3dcea; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__author strong { display: block; color: var(--c-text); }
.section--dark .testimonial-card__author strong { color: #fff; }
.testimonial-card__author small { color: var(--c-muted); font-size: .85rem; }
.section--dark .testimonial-card__author small { color: #9fb0c9; }
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar--initials { display: grid; place-items: center; background: var(--gradient); color: #fff; font-weight: 800; font-size: 1rem; }
.masonry { columns: 3 300px; column-gap: 24px; }
.masonry > * { break-inside: avoid; margin-bottom: 24px; }

/* ---------- Why / features ---------- */
.why { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.why__intro .section-lead { margin-bottom: 26px; }
.why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feature { position: relative; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfdaea; }
.feature--card { padding: 30px; }
.feature__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: var(--red-100); color: var(--red-600); font-size: 1.1rem; margin-bottom: 14px; transition: background .3s, color .3s, transform .4s var(--ease); }
.feature:hover .feature__icon { background: var(--red); color: #fff; transform: rotate(-8deg); }
.feature__title { font-size: 1.05rem; margin-bottom: 6px; }
.feature__text { color: var(--c-muted); font-size: .93rem; margin: 0; }

.tech-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.tech { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 8px; border-radius: 16px; border: 1px solid var(--c-border); background: #fff; font-weight: 700; font-size: .85rem; color: var(--navy); text-align: center; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.tech i { font-size: 1.95rem; color: var(--navy); transition: transform .35s var(--ease), color .3s; }
.tech:hover { transform: translateY(-6px); border-color: #ffc2cd; box-shadow: var(--shadow); }
.tech:hover i { transform: scale(1.18); color: var(--red); }

.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.process__step { position: relative; padding: 30px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border); transition: transform .35s var(--ease), box-shadow .35s; }
.process__step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.process__num { display: inline-block; font-size: 2.4rem; font-weight: 800; line-height: 1; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.process__title { font-size: 1.1rem; margin-bottom: 6px; }
.process__text { color: var(--c-muted); font-size: .93rem; margin: 0; }
.process__step:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -24px; width: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--red) 0 6px, transparent 6px 10px); }

/* ---------- FAQ / accordion ---------- */
.faq-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-split__more { margin-top: 18px; }
.help-card { display: flex; gap: 16px; margin-top: 28px; padding: 22px; border-radius: var(--radius); background: var(--navy-50); border: 1px solid var(--c-border); }
.help-card > i { font-size: 1.6rem; color: var(--red); margin-top: 4px; }
.help-card strong { color: var(--c-text); display: block; margin-bottom: 4px; }
.help-card p { color: var(--c-muted); font-size: .93rem; margin-bottom: 8px; }
.accordion { display: grid; gap: 12px; }
.accordion__item { border: 1px solid var(--c-border); border-radius: 14px; background: #fff; transition: border-color .25s, box-shadow .25s; }
.accordion__item[open] { border-color: #ffc2cd; box-shadow: var(--shadow-sm); }
.accordion__question { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 700; color: var(--c-text); border-radius: 14px; }
.accordion__question::-webkit-details-marker { display: none; }
.accordion__question:hover { color: var(--red-600); }
.accordion__question i { flex-shrink: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--red-100); color: var(--red-600); font-size: .8rem; transition: transform .3s var(--ease), background-color .3s, color .3s; }
.accordion__item[open] .accordion__question i { transform: rotate(45deg); background: var(--red); color: #fff; }
.accordion__item[open] .accordion__answer { animation: fadeDown .3s var(--ease); }
.accordion__answer { padding: 0 20px 20px; color: var(--c-muted); }
.faq-group + .faq-group { margin-top: 12px; }
.faq-group .block-title { margin-top: 36px; }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
    padding: 56px 56px; border-radius: 26px; color: #dfe7f3;
    background: linear-gradient(120deg, #0a1a33, #13305a, #b00e27, #13305a); background-size: 300% 300%; animation: gradientShift 14s ease infinite;
}
.cta-band__glow { position: absolute; width: 380px; height: 380px; right: -100px; top: -170px; background: rgba(239, 26, 61, .35); border-radius: 50%; filter: blur(50px); }
.cta-band__text { position: relative; max-width: 640px; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); margin-bottom: 10px; }
.cta-band p { margin: 0; font-size: 1.05rem; }
.cta-band__actions { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page hero & breadcrumbs ---------- */
.page-hero {
    position: relative; overflow: hidden; isolation: isolate; color: #a9b8ce; padding: 72px 0 80px;
    background: radial-gradient(900px 400px at 90% -20%, rgba(239, 26, 61, .22), transparent 60%), linear-gradient(160deg, #0a1a33 0%, #061224 70%, #0c2244 100%);
}
.page-hero__mesh span { z-index: -1; }
.page-hero__mesh span:nth-child(1) { width: 420px; height: 420px; background: #ef1a3d; top: -230px; right: -60px; opacity: .25; }
.page-hero__mesh span:nth-child(2) { width: 380px; height: 380px; background: #2a5a96; bottom: -260px; left: -120px; opacity: .4; animation-duration: 24s; }
.page-hero__mesh span:nth-child(3) { width: 240px; height: 240px; background: #c30f2f; top: 30%; left: 55%; opacity: .12; animation-duration: 28s; }
.page-hero__grid {
    position: absolute; inset: 0; z-index: -1; opacity: .45; animation: gridpan 6s linear infinite;
    background-image: linear-gradient(rgba(160, 180, 210, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(160, 180, 210, .07) 1px, transparent 1px);
    background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.page-hero__circuit { position: absolute; right: -20px; bottom: -10px; width: min(560px, 60%); z-index: -1; opacity: .9; pointer-events: none; }
.section--dark .page-hero__circuit { opacity: .5; }
.section--dark .page-hero__mesh span:nth-child(1) { top: -200px; }
.pc-line { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 2; stroke-dasharray: 6 10; animation: dash 10s linear infinite; }
.pc-line--b { animation-duration: 14s; }
.pc-line--c { animation-duration: 12s; animation-direction: reverse; }
.pc-node { fill: #ef1a3d; transform-box: fill-box; transform-origin: center; animation: node 2.4s ease-in-out infinite; }
.pc-node--b { animation-delay: .8s; }
.pc-node--c { animation-delay: 1.6s; }
.page-hero__inner { position: relative; }
.page-hero__title { color: #fff; font-size: clamp(2rem, 1.4rem + 2.7vw, 3.3rem); max-width: 900px; margin-bottom: 14px; }
.page-hero__subtitle { font-size: 1.12rem; max-width: 720px; margin: 0; }
.page-hero--article .badge { margin-bottom: 14px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; font-size: .93rem; }
.article-meta i { margin-right: 6px; color: #ff8fa3; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 20px; padding: 0; font-size: .88rem; }
.breadcrumbs li + li::before { content: "/"; margin: 0 10px; color: #56667f; }
.breadcrumbs a { color: #ff8fa3; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: #d3dcea; }

/* ---------- Layout with sidebar ---------- */
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.sidebar { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 24px); }
.widget { padding: 24px; border-radius: var(--radius); border: 1px solid var(--c-border); background: #fff; }
.widget__title { font-size: 1.05rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--red-100); }
.widget__subtitle { font-size: .95rem; margin: 20px 0 10px; }
.widget__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.widget__list a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: var(--c-body); text-decoration: none; font-weight: 600; font-size: .93rem; transition: background-color .2s, color .2s, padding .2s; }
.widget__list a i { color: var(--red); width: 18px; text-align: center; }
.widget__list a:hover, .widget__list a.is-active { background: var(--navy-50); color: var(--red-600); padding-left: 14px; }
.widget__list--count a { justify-content: space-between; }
.widget__list--count span { font-size: .78rem; background: var(--navy-50); border-radius: 999px; padding: 2px 9px; color: var(--c-muted); }
.widget .btn { margin-top: 20px; }
.details { margin: 0; display: grid; gap: 12px; }
.details div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--c-border); padding-bottom: 10px; }
.details dt { color: var(--c-muted); font-size: .9rem; }
.details dd { margin: 0; font-weight: 700; color: var(--c-text); text-align: right; }
.quote-card { position: relative; overflow: hidden; padding: 28px; border-radius: var(--radius); color: #dfe7f3; background: linear-gradient(140deg, #13305a, #0a1a33); }
.quote-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: rgba(239, 26, 61, .35); filter: blur(30px); }
.quote-card > * { position: relative; z-index: 1; }
.quote-card h2 { color: #fff; font-size: 1.25rem; margin: 14px 0 8px; }
.quote-card p { font-size: .94rem; }
.quote-card__icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--gradient); color: #fff; font-size: 1.2rem; }
.recent-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.recent-posts a { display: flex; gap: 12px; text-decoration: none; }
.recent-posts img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.recent-posts strong { display: block; color: var(--c-text); font-size: .9rem; line-height: 1.35; }
.recent-posts a:hover strong { color: var(--red-600); }
.recent-posts small { color: var(--c-muted); font-size: .78rem; }

.detail-cover { width: 100%; border-radius: var(--radius); margin-bottom: 32px; box-shadow: var(--shadow); aspect-ratio: 16 / 10; object-fit: cover; }
.check-card, .benefit { display: flex; gap: 14px; padding: 20px; border-radius: 14px; border: 1px solid var(--c-border); background: #fff; transition: transform .3s var(--ease), box-shadow .3s; }
.check-card:hover, .benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.check-card > i { color: var(--red); font-size: 1.25rem; margin-top: 2px; }
.check-card h3, .benefit h3 { font-size: 1rem; margin-bottom: 4px; }
.check-card p, .benefit p { color: var(--c-muted); font-size: .92rem; margin: 0; }
.benefit__icon { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--navy-100); color: var(--navy); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list i { color: #fff; background: var(--red); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; flex-shrink: 0; margin-top: 3px; }

/* ---------- Prose (rich text) ---------- */
.prose { color: var(--c-body); font-size: 1.04rem; line-height: 1.8; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.55rem; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 1.08rem; margin: 1.4em 0 .5em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--red); }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--red); background: var(--navy-50); border-radius: 0 12px 12px 0; font-style: italic; color: var(--c-text); }
.prose blockquote p:last-child { margin: 0; }
.prose img { border-radius: 12px; margin: 1.5em 0; }
.prose pre { background: var(--navy-900); color: #e2e8f0; padding: 18px; border-radius: 12px; overflow-x: auto; font-size: .9rem; }
.prose code { background: var(--navy-50); color: var(--red-700); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.prose pre code { background: none; color: inherit; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--c-border); padding: 10px 12px; text-align: left; }
.prose th { background: var(--navy-50); }
.prose hr { border: 0; border-top: 1px solid var(--c-border); margin: 2em 0; }
.page-updated { margin-top: 40px; color: var(--c-muted); font-size: .9rem; }

/* ---------- About ---------- */
.about-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 56px; align-items: start; }
.about-intro__aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.stat-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stat-card { padding: 22px 18px; border-radius: 14px; background: var(--gradient-navy); color: #a9b8ce; font-size: .88rem; transition: transform .3s var(--ease); }
.stat-card:hover { transform: translateY(-4px); }
.stat-card strong { display: block; font-size: 1.8rem; color: #fff; line-height: 1.1; margin-bottom: 4px; }

/* ---------- Toolbar / filters / search ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chips--center { justify-content: center; margin-bottom: 12px; }
.filter-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--c-border); background: #fff; color: var(--c-body); font-weight: 600; font-size: .9rem; text-decoration: none; transition: all .2s; }
.filter-chip span { font-size: .75rem; background: var(--navy-50); padding: 1px 7px; border-radius: 999px; }
.filter-chip:hover { border-color: var(--red); color: var(--red-600); }
.filter-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-chip.is-active span { background: rgba(255, 255, 255, .18); }
.search-form { position: relative; display: flex; min-width: 260px; }
.search-form input { width: 100%; padding: 11px 48px 11px 16px; border: 1px solid var(--c-border); border-radius: 999px; background: #fff; }
.search-form input:focus { border-color: var(--navy-500); outline: none; box-shadow: 0 0 0 4px rgba(42, 90, 150, .15); }
.search-form button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--gradient); color: #fff; cursor: pointer; }
.result-note { margin-bottom: 24px; color: var(--c-muted); }
.empty-state { text-align: center; padding: 56px 20px; border: 2px dashed var(--c-border); border-radius: var(--radius); color: var(--c-muted); }
.empty-state i { font-size: 2.4rem; color: var(--red); opacity: .6; margin-bottom: 14px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 44px; }
.pagination__item { min-width: 42px; height: 42px; padding: 0 10px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--c-border); background: #fff; color: var(--c-text); font-weight: 700; text-decoration: none; transition: all .2s; }
.pagination__item:hover { border-color: var(--red); color: var(--red-600); }
.pagination__item.is-current { background: var(--gradient); border-color: transparent; color: #fff; }
.pagination__gap { align-self: center; color: var(--c-muted); padding: 0 4px; }

/* ---------- Gallery & lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery__item { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 8px; background: linear-gradient(transparent, rgba(10, 26, 51, .85)); color: #fff; font-size: .82rem; font-weight: 600; }
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(6, 18, 36, .94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-height: calc(100vh - 160px); width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { color: #cbd5e1; margin-top: 12px; }
.lightbox__close, .lightbox__nav { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.2rem; cursor: pointer; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--red); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Article ---------- */
.article-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--c-border); font-weight: 700; color: var(--c-text); }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; font-weight: 700; color: var(--c-text); }
.share span { margin-right: 6px; }
.share a, .share button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--c-border); background: #fff; color: var(--navy); text-decoration: none; cursor: pointer; transition: all .2s; }
.share a:hover, .share button:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px); }
.share button.is-copied { background: var(--c-success); border-color: var(--c-success); color: #fff; }
.author-box { display: flex; gap: 16px; margin-top: 32px; padding: 24px; border-radius: var(--radius); background: var(--navy-50); border-left: 4px solid var(--red); }
.author-box strong { color: var(--c-text); }
.author-box p { margin: 4px 0 0; color: var(--c-muted); font-size: .94rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 26px; border-radius: 20px; border: 1px solid var(--c-border); background: #fff; transition: transform .35s var(--ease), box-shadow .35s; }
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.plan--featured { background: var(--gradient-navy); border-color: transparent; color: #c3cfe1; box-shadow: var(--shadow-lg); }
.plan--featured::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: linear-gradient(135deg, #ef1a3d, transparent 40%, #ef1a3d); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan--featured .plan__name, .plan--featured .plan__price strong { color: #fff; }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gradient); color: #fff; font-size: .75rem; font-weight: 800; padding: 5px 14px; border-radius: 999px; white-space: nowrap; box-shadow: var(--shadow-red); }
.plan__name { font-size: 1.2rem; margin-bottom: 8px; }
.plan__desc { font-size: .92rem; color: var(--c-muted); min-height: 3.2em; }
.plan--featured .plan__desc { color: #9fb0c9; }
.plan__price { margin: 8px 0 22px; }
.plan__price small { display: block; font-size: .8rem; color: var(--c-muted); }
.plan__price strong { display: block; font-size: 2.15rem; color: var(--navy); letter-spacing: -.03em; line-height: 1.2; }
.plan__price span { font-size: .85rem; color: var(--c-muted); }
.plan__features { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; flex: 1; font-size: .93rem; }
.plan__features li { display: flex; gap: 10px; }
.plan__features i { color: var(--red); margin-top: 5px; }
.plan--featured .plan__features i { color: #ff8fa3; }
.pricing-note { text-align: center; color: var(--c-muted); margin-top: 32px; font-size: .92rem; }

/* ---------- Contact & forms ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.form-card { padding: 38px; }
.form-card__title { font-size: 1.4rem; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; color: var(--c-text); }
.req { color: var(--c-danger); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--c-border); border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 4px rgba(42, 90, 150, .15); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--c-danger); }
.field__error { color: var(--c-danger); font-size: .85rem; margin: 0; font-weight: 600; }
.form__privacy { font-size: .85rem; color: var(--c-muted); margin: 18px 0; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; font-size: .95rem; animation: fadeDown .35s var(--ease); }
.alert i { margin-top: 3px; }
.alert--success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.contact-info { display: grid; gap: 24px; }
.contact-card, .next-steps { padding: 28px; }
.contact-card__title { font-size: 1.15rem; margin-bottom: 18px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list small { display: block; color: var(--c-muted); font-size: .8rem; }
.contact-list a, .contact-list span { font-weight: 700; color: var(--c-text); text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--red-600); }
.contact-list__icon { width: 46px; height: 46px; flex-shrink: 0; display: grid !important; place-items: center; border-radius: 13px; background: var(--navy-100); color: var(--navy) !important; }
.contact-list__icon--wa { background: #dcfce7; color: #15803d !important; }
.next-steps ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; counter-reset: s; }
.next-steps li { counter-increment: s; position: relative; padding-left: 44px; }
.next-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--gradient); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .85rem; }
.next-steps strong { display: block; color: var(--c-text); }
.next-steps span { color: var(--c-muted); font-size: .9rem; }

/* ---------- Status / error pages ---------- */
.status-card { padding: 48px 36px; text-align: center; }
.status-card h1 { font-size: 1.7rem; }
.status-card form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.status-card__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--navy-100); color: var(--navy); font-size: 1.8rem; margin-bottom: 18px; }
.status-card__icon--ok { background: #ecfdf5; color: var(--c-success); }
.error-page { padding: 100px 0; text-align: center; }
.error-page--standalone { min-height: 100vh; display: flex; align-items: center; background: var(--c-bg-muted); }
.error-page__logo { margin: 0 auto 10px; }
.error-page__code { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; line-height: 1; margin: 0 0 10px; background: linear-gradient(135deg, #13305a, #ef1a3d); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.05em; animation: up .8s var(--ease); }
.error-page__title { font-size: 2rem; }
.error-page__text { color: var(--c-muted); font-size: 1.08rem; max-width: 560px; margin: 0 auto 28px; }
.error-page__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.error-page__search { max-width: 420px; margin: 36px auto 18px; }
.error-page__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font-weight: 700; }
.debug-box { margin-top: 36px; text-align: left; background: var(--navy-900); color: #e2e8f0; padding: 20px; border-radius: 12px; font-size: .85rem; overflow-x: auto; }
.debug-box pre { white-space: pre-wrap; }

.sitemap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.sitemap-grid .block-title:first-child { margin-top: 0; }
.sitemap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sitemap-list a { font-weight: 600; text-decoration: none; }
.sitemap-list a::before { content: "›"; margin-right: 8px; color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy-900); color: #9fb0c9; padding-top: 76px; font-size: .95rem; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #ef1a3d, #13305a, #ef1a3d); background-size: 200% 100%; animation: gradientShift 8s linear infinite; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.3fr); gap: 40px; padding-bottom: 56px; }
.site-footer__brand p { margin: 18px 0 20px; max-width: 340px; }
.site-footer__title { position: relative; font-size: 1rem; color: #fff; margin-bottom: 20px; padding-bottom: 10px; font-weight: 700; letter-spacing: 0; }
.site-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--red); border-radius: 2px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #9fb0c9; text-decoration: none; transition: color .2s, padding .2s; }
.site-footer__links a:hover { color: #fff; padding-left: 6px; }
.site-footer a:hover { color: #fff; }
.site-footer__contact { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact i { color: var(--red); margin-top: 5px; width: 16px; }
.social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #d3dcea; transition: transform .25s var(--ease), background .25s; }
.social a:hover { background: var(--gradient); color: #fff; transform: translateY(-3px); }
.newsletter__label { display: block; font-weight: 700; color: #e2e8f0; margin-bottom: 10px; font-size: .92rem; }
.newsletter__row { display: flex; gap: 8px; }
.newsletter__row input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); color: #fff; }
.newsletter__row input::placeholder { color: #6f809b; }
.newsletter__row input:focus { outline: none; border-color: var(--red); }
.newsletter__row .btn { flex-shrink: 0; width: 46px; padding: 0; }
.newsletter__msg { min-height: 1.4em; margin: 8px 0 0; font-size: .85rem; }
.newsletter__msg.is-success { color: #6ee7b7; }
.newsletter__msg.is-error { color: #fca5a5; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: .88rem; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }

/* ---------- Scroll-to-top button (stacked above floating buttons in the same corner) ---------- */
.gw-totop {
    position: fixed; z-index: 890; bottom: calc(22px + var(--st-count, 0) * 74px); width: 48px; height: 48px; padding: 0;
    display: grid; place-items: center; border: 2px solid rgba(255, 255, 255, .95); border-radius: 50%; cursor: pointer;
    background: var(--st-bg, #13305a); color: var(--st-color, #fff); font-size: 1.05rem;
    box-shadow: 0 12px 26px -10px rgba(6, 18, 36, .6);
    opacity: 0; visibility: hidden; transform: translateY(18px) scale(.85);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.gw-totop--bottom-right { right: 25px; }
.gw-totop--bottom-left { left: 25px; }
.gw-totop.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.gw-totop.is-visible:hover { transform: translateY(-3px); }
.gw-totop i, .gw-totop span { position: relative; z-index: 1; transition: transform .25s var(--ease); }
.gw-totop:hover i { transform: translateY(-2px); }
/* max-width: none — the global "svg { max-width: 100% }" rule shrank the ring and pushed it off-centre. */
.gw-totop__ring { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); max-width: none; transform: rotate(-90deg); pointer-events: none; }
.gw-totop::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; pointer-events: none; animation: gwTopPulse 2.6s ease-out infinite; }
@keyframes gwTopPulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); }
    70%  { box-shadow: 0 0 0 11px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
.gw-totop__ring circle { fill: none; stroke: #ef1a3d; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 138.23; stroke-dashoffset: calc(138.23 - 138.23 * var(--st-progress, 0)); }
body.nav-open .gw-totop, body.gw-ai-open .gw-totop { opacity: 0; visibility: hidden; }

/* ---------- Scroll reveal (only below-the-fold elements are hidden, by JS) ---------- */
.reveal-init { opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-init.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal-init, .anim-up, .anim-zoom { opacity: 1; transform: none; }
    .brand-mark--animated .bm-line { stroke-dashoffset: 0; }
    .marquee__track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
    .main-nav, .site-header__cta, .topbar { display: none; }
    .nav-toggle { display: flex; }
    .tech-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
    .orbit { transform: scale(.88); }
}
@media (min-width: 1121px) {
    .mobile-nav { display: none !important; }
}
@media (max-width: 960px) {
    .section { padding: 72px 0; }
    .hero { padding: 64px 0 96px; }
    .hero__inner, .why, .faq-split, .layout-sidebar, .about-intro, .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .hero__visual { min-height: 420px; margin: 0 auto; width: 100%; max-width: 480px; }
    .orbit { transform: scale(.8); }
    .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process__step::after { display: none; }
    .sidebar, .about-intro__aside { position: static; }
    .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sitemap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
    .stat:nth-child(3) { border-left: 0; }
    .hero__scroll { display: none; }
}
@media (max-width: 640px) {
    :root { --header-h: 68px; }
    body { font-size: 15.5px; }
    .container { padding: 0 16px; }
    .section { padding: 60px 0; }
    .section-head { margin-bottom: 36px; }
    .grid--2, .grid--3, .why__grid, .form-grid, .check-list, .pricing-grid, .process, .sitemap-grid, .gallery { grid-template-columns: minmax(0, 1fr); }
    .tech-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .cta-band { padding: 38px 24px; }
    .cta-band__actions, .cta-band__actions .btn { width: 100%; }
    .hero__actions .btn { flex: 1 1 100%; }
    /* Stable hero on phones: one reserved line for the typed word; the animated orbit keeps rotating
       inside a fixed-size box so nothing is clipped or pushes the layout around. */
    .hero { padding: 48px 0 64px; }
    .hero__rotator { font-size: .8em; white-space: nowrap; min-height: 1.2em; }
    /* transform: scale() does not shrink the layout box, so the visual gets a fixed height
       (tall enough for the outer ring: 238px radius × .52 + icon). */
    .hero__visual { position: relative; display: block; min-height: 0; height: 320px; max-width: 100%; overflow: hidden; }
    /* Centre the 480px orbit box itself; a grid track would start-align it when it is wider than the screen. */
    .orbit { position: absolute; left: 50%; top: 50%; margin: -240px 0 0 -240px; transform: scale(.52); }
    .marquee__track { animation-duration: 60s; }
    .reveal-init { transform: translateY(14px); transition-duration: .5s; }
    .float-card { display: none; }
    .form-card { padding: 24px 18px; }
    .search-form { min-width: 0; width: 100%; }
    .toolbar { flex-direction: column; align-items: stretch; }
    .brand__text { font-size: 1.2rem; }
    .brand__mark { width: 40px; height: 37px; }
    .lightbox { padding: 60px 12px; }
    .lightbox__nav { top: auto; bottom: 16px; transform: none; }
    .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
    .page-hero__circuit { width: 90%; opacity: .5; }
    /* Comfortable tap targets for text links on touch screens. */
    .site-footer__links { gap: 2px; }
    .site-footer__links a, .site-footer__legal a, .sitemap-list a, .contact-list a, .site-footer__contact a { display: inline-block; padding: 7px 0; }
    .site-footer__legal { gap: 0 18px; }
    .gw-totop--bottom-right { right: 17px; }
    .gw-totop--bottom-left { left: 17px; }
    .gw-totop { bottom: calc(16px + var(--st-count, 0) * 72px); }
}
