/* ==========================================================================
   Cynatech — design system v2
   Blue brand (logo indigo-blue + original site cyan), Sora / DM Sans.
   ========================================================================== */

:root {
    --ink: #0a1a44;
    --ink-2: #102766;
    --ink-3: #18348a;
    --brand: #1a4fe0;
    --brand-dark: #1239b3;
    --cyan: #06b6e8;
    --cyan-bright: #38c8f5;
    --brand-soft: #edf2ff;
    --grad: linear-gradient(120deg, #1a4fe0 0%, #06b6e8 100%);
    --wa: #25d366;
    --text: #1a2338;
    --muted: #55617a;
    --line: #e4e9f2;
    --surface: #f4f7fc;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 24px 48px -24px rgba(6, 15, 38, .28);
    --shadow-blue: 0 18px 40px -16px rgba(26, 79, 224, .55);
    --font-head: "Sora", system-ui, sans-serif;
    --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);

    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--text);
    --bs-link-color-rgb: 26, 79, 224;
    --bs-link-hover-color-rgb: 18, 57, 179;
}

html { font-size: 17px; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: #fff;
    font-size: 1.06rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.15;
}

a { text-decoration: none; }
img { max-width: 100%; height: auto; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--ink); color: #fff; padding: .75rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

.text-brand { color: var(--brand) !important; }

/* ---------- Buttons ---------- */
.btn {
    font-weight: 600;
    border-radius: 999px;
    padding: .75rem 1.5rem;
    letter-spacing: -.005em;
    transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn-lg { padding: .95rem 1.9rem; font-size: 1rem; }
.btn-brand { background: var(--brand); border: 1px solid var(--brand); color: #fff; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; box-shadow: var(--shadow-blue); transform: translateY(-2px); }
.btn-outline-ink { border: 1px solid #c9d2e3; color: var(--ink); background: #fff; }
.btn-outline-ink:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-ghost-light { border: 1px solid rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light { color: var(--ink); }
.btn .bi-arrow-right, .btn .bi-arrow-up-right { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .bi-arrow-right { transform: translateX(4px); }
.btn:hover .bi-arrow-up-right { transform: translate(2px, -2px); }

.link-arrow { font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: .45rem; }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--brand-dark); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Section scaffolding ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .84rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); }
.eyebrow-light { color: var(--cyan-bright); }

.section { padding: 112px 0; position: relative; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--ink); color: rgba(255, 255, 255, .72); }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 1.1rem; }
.section-head p { color: var(--muted); font-size: 1.18rem; margin: 0; }
.section-dark .section-head p { color: rgba(255, 255, 255, .65); }
.split-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; margin-bottom: 64px; }
.split-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 0; max-width: 640px; }
.split-head p { color: var(--muted); max-width: 440px; margin: 0; font-size: 1.12rem; }

/* ---------- Utility bar & header ---------- */
.utility-bar { background: #071436; color: rgba(255, 255, 255, .72); font-size: .88rem; padding: .55rem 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.utility-bar a { color: inherit; }
.utility-bar a:hover { color: #fff; }
.utility-bar i { color: var(--cyan-bright); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: background-color .35s, border-color .35s, box-shadow .35s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(6, 15, 38, .35); }
.site-header .navbar { padding: .55rem 0; }
.navbar-brand img { height: 40px; width: auto; }
.navbar-brand .logo-inverse { display: none; }
.navbar-toggler { border: 1px solid var(--line); font-size: 1.6rem; padding: .15rem .55rem; color: var(--ink); border-radius: 10px; }
.navbar-toggler:focus { box-shadow: none; }

.site-header .nav-link { font-weight: 500; font-size: 1.02rem; color: var(--text); padding: .75rem 0; position: relative; transition: color .2s; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--brand); }

/* Home: header blends into the dark hero until the page scrolls */
.page-index .site-header:not(.scrolled) { background: var(--ink); border-color: rgba(255, 255, 255, .07); }
@media (min-width: 992px) {
    .page-index .site-header:not(.scrolled) .logo-default { display: none; }
    .page-index .site-header:not(.scrolled) .logo-inverse { display: block; }
    .page-index .site-header:not(.scrolled) .nav-link { color: rgba(255, 255, 255, .85); }
    .page-index .site-header:not(.scrolled) .nav-link:hover,
    .page-index .site-header:not(.scrolled) .nav-link.active { color: #fff; }
}
@media (max-width: 991.98px) {
    .page-index .site-header:not(.scrolled) .logo-default { display: none; }
    .page-index .site-header:not(.scrolled) .logo-inverse { display: block; }
    .page-index .site-header:not(.scrolled) .navbar-toggler { color: #fff; border-color: rgba(255, 255, 255, .25); }
    .page-index .site-header:not(.scrolled) .navbar-collapse { background: #fff; margin: .5rem -12px -.55rem; padding: .5rem 12px 1.25rem; }
}

@media (min-width: 992px) {
    .site-header .navbar { padding: 0; }
    .site-header .nav-link { padding: 1.55rem .95rem !important; }
    .site-header .nav-link.active::after {
        content: "";
        position: absolute;
        left: .95rem;
        right: .95rem;
        bottom: 1.1rem;
        height: 2px;
        background: var(--grad);
        border-radius: 2px;
    }
    .navbar .mega { position: static; }
    .navbar .mega:hover > .dropdown-menu { display: block; animation: drop .25s var(--ease); }
    .mega-menu {
        left: 50% !important;
        transform: translateX(-50%);
        width: min(1000px, calc(100vw - 48px));
        margin-top: 0 !important;
        padding: 36px !important;
    }
}
@keyframes drop { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

.dropdown-menu { border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.mega-heading { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .92rem; display: flex; align-items: center; gap: .55rem; padding-bottom: .8rem; margin-bottom: .5rem; border-bottom: 1px solid var(--line); }
.mega-heading i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--brand-soft); color: var(--brand); }
.mega-menu .dropdown-item { border-radius: 8px; padding: .55rem .65rem; color: var(--text); font-size: .95rem; white-space: normal; transition: background-color .2s, color .2s, padding .2s; }
.mega-menu .dropdown-item:hover, .mega-menu .dropdown-item.active { background: var(--brand-soft); color: var(--brand); padding-left: .9rem; }
.mega-all { display: inline-flex; gap: .4rem; margin-top: 1.4rem; font-weight: 600; color: var(--brand); }

@media (max-width: 991.98px) {
    .navbar-collapse { padding: .5rem 0 1.25rem; }
    .site-header .nav-item + .nav-item { border-top: 1px solid var(--line); }
    .site-header .nav-item.ms-lg-3 { border-top: 0; padding-top: 1rem; }
    .mega-menu { border: 0; box-shadow: none; padding: 0 0 1rem; }
    .navbar-brand img { height: 34px; }
}

/* ---------- Hero (home) ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: rgba(255, 255, 255, .74);
    padding: 96px 0 0;
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(900px 500px at 85% 30%, rgba(26, 79, 224, .45), transparent 60%),
        radial-gradient(700px 420px at 10% 100%, rgba(6, 163, 218, .22), transparent 60%);
}
.net-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .4rem .9rem .4rem .5rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    font-size: .85rem;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 1.75rem;
}
.hero-tag b { white-space: nowrap; background: var(--grad); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; padding: .2rem .55rem; border-radius: 999px; }
.hero h1 {
    color: #fff;
    font-size: clamp(2.5rem, 5.4vw, 4.4rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.04;
    margin-bottom: 1.6rem;
}
/* The rotating word always sits on its own line so the headline never reflows between words */
.rotator { display: block; white-space: nowrap; }
.rotator span { display: inline-block; background: linear-gradient(120deg, #6d9bff, var(--cyan-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; transition: opacity .35s, transform .35s var(--ease); }
.rotator span.out { opacity: 0; transform: translateY(-.35em); }
.rotator span.pre { opacity: 0; transform: translateY(.35em); }
.hero .lead { font-size: 1.25rem; max-width: 560px; margin-bottom: 2.4rem; color: rgba(255, 255, 255, .72); }

.hero-metrics { display: flex; flex-wrap: wrap; gap: 1.5rem 2.75rem; margin-top: 3.25rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .12); max-width: 700px; }
.hero-metrics strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 600; color: #fff; line-height: 1; letter-spacing: -.03em; }
.hero-metrics span { font-size: .95rem; color: rgba(255, 255, 255, .58); }

/* Orbit visual */
.orbit { position: relative; width: 480px; height: 480px; margin-left: auto; }
.orbit .ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .16); animation: spin 60s linear infinite; }
.orbit .ring-1 { width: 290px; height: 290px; margin: -145px 0 0 -145px; animation-duration: 40s; animation-direction: reverse; }
.orbit .ring-2 { width: 460px; height: 460px; margin: -230px 0 0 -230px; border-style: solid; border-color: rgba(255, 255, 255, .09); }
.orbit .node { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; transform: rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a))); }
.orbit .ring-1 .node { --r: 145px; }
.orbit .ring-2 .node { --r: 230px; }
.orbit .node i {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    font-size: 1.35rem;
    color: #fff;
    background: rgba(13, 30, 72, .85);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 10px 30px -10px rgba(6, 163, 218, .5);
    backdrop-filter: blur(6px);
    animation: spin 60s linear infinite reverse;
}
.orbit .ring-1 .node i { animation-duration: 40s; animation-direction: normal; }
.orbit .node.accent i { background: var(--grad); border-color: transparent; }
.orbit-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 132px;
    height: 132px;
    margin: -66px 0 0 -66px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--grad);
    box-shadow: 0 0 0 14px rgba(26, 79, 224, .14), 0 0 0 30px rgba(26, 79, 224, .07), 0 30px 80px -10px rgba(6, 163, 218, .7);
}
.orbit-core img { width: 76px; height: 76px; }
.orbit-core::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(56, 200, 245, .45); animation: pulse 3s var(--ease) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* Ticker */
.ticker { margin-top: 88px; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .02); overflow: hidden; padding: 22px 0; position: relative; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 2.75rem; padding-right: 2.75rem; font-family: var(--font-head); font-size: 1.05rem; color: rgba(255, 255, 255, .5); white-space: nowrap; }
.ticker-track span::after { content: "✦"; color: var(--cyan); font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro / stats ---------- */
.intro-statement { font-family: var(--font-head); font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.35; letter-spacing: -.02em; color: var(--ink); font-weight: 500; }
.intro-statement em { font-style: normal; color: var(--brand); }

/* ---------- Spotlight cards (cursor-follow glow) ---------- */
.spot { position: relative; overflow: hidden; isolation: isolate; }
.spot::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity .3s;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(26, 79, 224, .1), transparent 45%);
}
.spot:hover::after { opacity: 1; }
.section-dark .spot::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(56, 200, 245, .14), transparent 45%); }

/* ---------- Service explorer ---------- */
.explorer { display: grid; grid-template-columns: 5fr 7fr; gap: 32px; align-items: start; }
.explorer-group + .explorer-group { margin-top: 1.75rem; }
.explorer-group h3 { font-size: .78rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.explorer-tab {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .9rem 1rem;
    border-radius: 14px;
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 1.1rem;
    border: 1px solid transparent;
    transition: background-color .25s, border-color .25s, color .25s, padding .25s var(--ease);
}
.explorer-tab i.bi:first-child { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 10px; background: var(--surface); color: var(--brand); font-size: 1.1rem; transition: background .25s, color .25s; }
.explorer-tab .bi-arrow-right { margin-left: auto; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s var(--ease); color: var(--brand); }
.explorer-tab:hover, .explorer-tab.active { background: #fff; border-color: var(--line); color: var(--brand); box-shadow: 0 12px 30px -20px rgba(6, 15, 38, .35); }
.explorer-tab.active i.bi:first-child { background: var(--grad); color: #fff; }
.explorer-tab.active .bi-arrow-right, .explorer-tab:hover .bi-arrow-right { opacity: 1; transform: none; }

.explorer-stage { position: sticky; top: 110px; min-height: 520px; }
.explorer-panel {
    display: none;
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: rgba(255, 255, 255, .72);
    border-radius: 28px;
    padding: 48px;
    min-height: 520px;
}
.explorer-panel.active { display: block; animation: panelIn .45s var(--ease); }
.explorer-panel::before { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -220px; background: radial-gradient(circle, rgba(26, 79, 224, .6), transparent 65%); }
.explorer-panel::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(200deg, #000, transparent 60%); }
.explorer-panel > * { position: relative; z-index: 1; }
.explorer-panel .big-icon { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; font-size: 2rem; color: #fff; background: var(--grad); box-shadow: var(--shadow-blue); margin-bottom: 1.75rem; }
.explorer-panel .cat { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--cyan-bright); }
.explorer-panel h3 { color: #fff; font-size: 2rem; margin: .5rem 0 1rem; }
.explorer-panel p { font-size: 1.12rem; max-width: 520px; }
.explorer-panel ul { list-style: none; padding: 0; margin: 1.75rem 0 2.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.5rem; }
.explorer-panel li { display: flex; gap: .6rem; font-size: 1rem; color: rgba(255, 255, 255, .85); }
.explorer-panel li i { color: var(--cyan-bright); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }

@media (max-width: 991.98px) {
    .explorer { grid-template-columns: 1fr; }
    .explorer-stage { display: none; }
    .explorer-tab { background: #fff; border-color: var(--line); margin-bottom: .5rem; }
    .explorer-tab .bi-arrow-right { opacity: 1; transform: none; }
}

/* ---------- Cards ---------- */
.icon-badge { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; background: var(--brand-soft); color: var(--brand); flex-shrink: 0; transition: background .3s, color .3s, transform .3s var(--ease); }
.icon-badge.dark { background: rgba(255, 255, 255, .07); color: var(--cyan-bright); border: 1px solid rgba(255, 255, 255, .1); }
.icon-badge.grad { background: var(--grad); color: #fff; }

.service-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px 30px;
    display: flex;
    flex-direction: column;
    transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.service-card:hover { border-color: #cdd8f5; box-shadow: var(--shadow); transform: translateY(-6px); }
.service-card:hover .icon-badge { background: var(--grad); color: #fff; transform: rotate(-6deg); }
.service-card .category { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 1.4rem 0 .4rem; }
.service-card h3 { font-size: 1.3rem; margin-bottom: .7rem; }
.service-card p { color: var(--muted); font-size: 1.02rem; flex-grow: 1; }
.service-card .stretched-link::after { border-radius: var(--radius-lg); }

.tile { height: 100%; padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.tile:hover { border-color: #cdd8f5; box-shadow: var(--shadow); transform: translateY(-4px); }
.tile h3 { font-size: 1.2rem; margin: 1.2rem 0 .5rem; }
.tile p { color: var(--muted); margin: 0; font-size: 1.02rem; }
.section-dark .tile { background: rgba(255, 255, 255, .035); border-color: rgba(255, 255, 255, .1); }
.section-dark .tile:hover { border-color: rgba(56, 200, 245, .35); box-shadow: none; }
.section-dark .tile p { color: rgba(255, 255, 255, .62); }


/* ---------- Bento (why us) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(210px, auto); gap: 20px; }
.bento > * { border-radius: 24px; padding: 32px; }
.bento .b-photo { grid-column: span 5; grid-row: span 2; position: relative; overflow: hidden; padding: 0; min-height: 440px; }
.bento .b-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento .b-photo:hover img { transform: scale(1.05); }
.bento .b-photo .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px; color: #fff; background: linear-gradient(transparent, rgba(6, 15, 38, .9)); }
.bento .b-photo .cap strong { display: block; font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; margin-bottom: .25rem; }
.bento .b-photo .cap span { color: rgba(255, 255, 255, .75); font-size: .95rem; }
.bento .b-feature { grid-column: span 7; background: var(--grad); color: rgba(255, 255, 255, .85); display: flex; flex-direction: column; justify-content: space-between; }
.bento .b-feature h3 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); max-width: 520px; }
.bento .b-feature .bi { font-size: 2.2rem; color: #fff; }
.bento .b-card { grid-column: span 7; background: var(--surface); border: 1px solid var(--line); }
.bento .b-half { grid-column: span 6; }
.bento h3 { font-size: 1.25rem; margin: 1.1rem 0 .45rem; }
.bento .b-card p { color: var(--muted); margin: 0; }
.bento .b-split { grid-column: span 7; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 0; }
.bento .b-split > div { border-radius: 24px; padding: 32px; background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 991.98px) {
    .bento > *, .bento .b-photo, .bento .b-feature, .bento .b-split { grid-column: span 12; }
    .bento .b-photo { min-height: 320px; grid-row: auto; }
}
@media (max-width: 575.98px) { .bento .b-split { grid-template-columns: 1fr; } }

/* ---------- Process / timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(var(--steps, 4), 1fr); gap: 28px; }
.timeline::before, .timeline::after { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; }
.timeline::before { background: rgba(127, 145, 180, .25); }
.timeline::after { background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.timeline.in::after { transform: scaleX(1); }
.t-step { position: relative; z-index: 1; }
.t-step .num { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; background: var(--ink); color: #fff; border: 2px solid var(--brand); margin-bottom: 1.5rem; transition: background .4s, box-shadow .4s; }
.section-dark .t-step .num { background: var(--ink-2); }
.timeline.in .t-step .num { background: var(--brand); box-shadow: 0 0 0 6px rgba(26, 79, 224, .2); }
.timeline.in .t-step:nth-child(2) .num { transition-delay: .5s; }
.timeline.in .t-step:nth-child(3) .num { transition-delay: .9s; }
.timeline.in .t-step:nth-child(4) .num { transition-delay: 1.3s; }
.timeline.in .t-step:nth-child(5) .num { transition-delay: 1.7s; }
.t-step h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.t-step p { color: var(--muted); font-size: 1.02rem; margin: 0; }
.section-dark .t-step p { color: rgba(255, 255, 255, .62); }
@media (max-width: 991.98px) {
    .timeline { grid-template-columns: 1fr; gap: 0; }
    .timeline::before, .timeline::after { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; }
    .timeline::after { transform: scaleY(0); transform-origin: top; }
    .timeline.in::after { transform: scaleY(1); }
    .t-step { display: grid; grid-template-columns: 48px 1fr; column-gap: 1.25rem; padding-bottom: 1.75rem; }
    .t-step .num { grid-row: span 2; margin: 0; }
}

/* ---------- Industries ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: .65rem; padding: .85rem 1.3rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink); transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.chip i { color: var(--brand); font-size: 1.15rem; }
.chip:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: 0 12px 24px -16px rgba(26, 79, 224, .6); }

/* ---------- Media ---------- */
.media-frame { position: relative; border-radius: 24px; overflow: hidden; height: 100%; min-height: 440px; }
.media-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-badge { position: absolute; left: 24px; bottom: 24px; right: 24px; max-width: 330px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; }
.media-badge strong { display: block; font-family: var(--font-head); color: var(--ink); font-weight: 600; }
.media-badge span { font-size: .86rem; color: var(--muted); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list i { color: var(--brand); font-size: 1.1rem; line-height: 1.5; }
.section-dark .check-list i { color: var(--cyan-bright); }

/* ---------- Pricing ---------- */
.plan { position: relative; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 40px 34px; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan.featured { background: var(--ink); color: rgba(255, 255, 255, .78); border-color: var(--ink); box-shadow: 0 40px 80px -40px rgba(26, 79, 224, .8); }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan.featured::before { content: ""; position: absolute; inset: 0; border-radius: 24px; padding: 1px; background: var(--grad); -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 .badge-top { position: absolute; top: 24px; right: 24px; background: var(--grad); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; }
.plan h3 { font-size: 1.35rem; margin-bottom: .25rem; }
.plan .for { color: var(--muted); font-size: .92rem; }
.plan.featured .for { color: rgba(255, 255, 255, .6); }
.plan .price { font-family: var(--font-head); font-weight: 600; font-size: 3rem; color: var(--ink); margin: 1.5rem 0 .25rem; letter-spacing: -.04em; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 1.5rem 0 0; margin: 1rem 0 2rem; border-top: 1px solid var(--line); flex-grow: 1; display: grid; gap: .85rem; align-content: start; }
.plan.featured ul { border-color: rgba(255, 255, 255, .12); }
.plan li { display: flex; gap: .65rem; font-size: 1rem; }
.plan li i { color: var(--brand); font-size: 1.1rem; line-height: 1.45; }
.plan.featured li i { color: var(--cyan-bright); }
.plan li.no { color: #9aa5ba; }
.plan li.no i { color: #c3cbd9; }
.plan.featured .btn-brand { background: #fff; color: var(--ink); border-color: #fff; }

.rate-card { height: 100%; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; background: #fff; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.rate-card:hover { border-color: #cdd8f5; box-shadow: var(--shadow); transform: translateY(-4px); }
.rate-card h3 { font-size: 1.12rem; margin: 1.1rem 0 .3rem; }
.rate-card .rate { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--brand); margin-bottom: 1rem; }
.rate-card .rate small { font-size: .85rem; font-weight: 500; color: var(--muted); }
.rate-card ul { padding-left: 1.1rem; margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: rgba(255, 255, 255, .72); padding: 88px 0 96px; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(700px 420px at 90% 0%, rgba(26, 79, 224, .5), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(6, 163, 218, .18), transparent 60%); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 700; letter-spacing: -.035em; max-width: 860px; margin-bottom: 1.1rem; }
.page-hero .lead { max-width: 700px; font-size: 1.22rem; margin: 0; }
.page-hero .breadcrumb { margin-bottom: 2rem; font-size: .88rem; --bs-breadcrumb-divider-color: rgba(255, 255, 255, .35); --bs-breadcrumb-item-active-color: rgba(255, 255, 255, .9); }
.page-hero .breadcrumb a { color: rgba(255, 255, 255, .55); }
.page-hero .breadcrumb a:hover { color: #fff; }

/* ---------- Service detail ---------- */
.side-card { position: sticky; top: 110px; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.side-card .head { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 30px; }
.side-card .head::after { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; top: -130px; background: radial-gradient(circle, rgba(26, 79, 224, .7), transparent 65%); }
.side-card .head > * { position: relative; z-index: 1; }
.side-card .head h3 { color: #fff; font-size: 1.25rem; margin-bottom: .5rem; }
.side-card .head p { color: rgba(255, 255, 255, .7); font-size: .95rem; margin: 0; }
.side-card .body { padding: 24px 30px 30px; }
.side-card .related a { display: flex; justify-content: space-between; align-items: center; padding: .7rem 0; border-top: 1px solid var(--line); color: var(--text); font-weight: 500; font-size: 1rem; transition: color .2s, padding .2s; }
.side-card .related a:hover { color: var(--brand); padding-left: .3rem; }

.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.offer { display: flex; gap: .85rem; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-weight: 500; transition: border-color .25s, transform .25s var(--ease); }
.offer:hover { border-color: var(--brand); transform: translateX(4px); }
.offer i { color: var(--brand); font-size: 1.2rem; }

.faq .accordion-item { border: 1px solid var(--line); border-radius: 16px !important; overflow: hidden; background: #fff; }
.faq .accordion-item + .accordion-item { margin-top: 12px; }
.faq .accordion-button { font-family: var(--font-head); font-weight: 500; color: var(--ink); padding: 1.25rem 1.5rem; background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--brand); background: #fff; }
.faq .accordion-button:focus { box-shadow: none; }
.faq .accordion-body { color: var(--muted); padding: 0 1.5rem 1.35rem; }

/* ---------- Forms & contact ---------- */
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 44px; box-shadow: var(--shadow); }
.form-label { font-weight: 500; font-size: .95rem; color: var(--ink); margin-bottom: .4rem; }
.form-control, .form-select { border-color: #d5ddea; border-radius: 12px; padding: .8rem 1rem; background-color: #fbfcfe; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.form-control:focus, .form-select:focus { border-color: var(--brand); background-color: #fff; box-shadow: 0 0 0 4px rgba(26, 79, 224, .12); }
.form-note { font-size: .82rem; color: var(--muted); margin: .85rem 0 0; text-align: center; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-card { display: flex; gap: 1rem; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: border-color .3s, box-shadow .3s; }
.contact-card:hover { border-color: #cdd8f5; box-shadow: var(--shadow); }
.contact-card h3 { font-size: 1rem; margin-bottom: .2rem; }
.contact-card p, .contact-card a { margin: 0; color: var(--muted); word-break: break-word; }
.contact-card a:hover { color: var(--brand); }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 420px; border-radius: 24px; filter: saturate(.85); }

.steps-list { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps-list li { position: relative; padding: 0 0 1.75rem 3.6rem; }
.steps-list li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-family: var(--font-head); font-weight: 600; display: grid; place-items: center; }
.steps-list li::after { content: ""; position: absolute; left: 18px; top: 44px; bottom: 6px; width: 2px; background: var(--line); }
.steps-list li:last-child::after { display: none; }
.steps-list strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.steps-list span { color: var(--muted); font-size: 1rem; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 112px; }
.section-alt + .cta-band { background: linear-gradient(var(--surface) 50%, #fff 50%); }
.section-dark + .cta-band { padding-top: 112px; }
.cta-inner {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 32px;
    background: var(--ink);
    color: rgba(255, 255, 255, .75);
    padding: 72px 64px;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 3rem;
    justify-content: space-between;
    align-items: center;
}
.cta-inner::before { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -220px; top: -360px; background: radial-gradient(circle, rgba(26, 79, 224, .75), transparent 62%); }
.cta-inner::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(90deg, transparent 30%, #000); }
.cta-inner h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: .75rem; max-width: 600px; }
.cta-inner p { margin: 0; max-width: 540px; font-size: 1.15rem; }

/* ---------- Footer ---------- */
.site-footer {
    background:
        radial-gradient(900px 420px at 85% 0%, rgba(26, 79, 224, .55), transparent 60%),
        radial-gradient(700px 380px at 0% 100%, rgba(6, 182, 232, .25), transparent 60%),
        linear-gradient(180deg, #0d2160 0%, #0a1a44 100%);
    color: rgba(255, 255, 255, .78);
    padding: 96px 0 0;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(56, 200, 245, .5), transparent); }
.footer-logo { height: 44px; width: auto; }
.site-footer h3 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 1.25rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.site-footer a { color: rgba(255, 255, 255, .78); transition: color .2s; }
.site-footer a:hover { color: var(--cyan-bright); }
.site-footer small { color: rgba(255, 255, 255, .55); }
.footer-contact li { display: flex; gap: .6rem; }
.footer-contact i { color: var(--cyan-bright); }
.footer-social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); }
.footer-social a:hover { background: var(--brand); border-color: var(--brand); }
.footer-wordmark { font-family: var(--font-head); font-weight: 700; font-size: clamp(4rem, 15vw, 13rem); line-height: .8; letter-spacing: -.06em; margin: 56px 0 -.12em; text-align: center; background: linear-gradient(180deg, rgba(120, 190, 255, .55) 0%, rgba(56, 200, 245, .22) 55%, rgba(56, 200, 245, 0) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255, 255, 255, .14); padding: 24px 0; font-size: .92rem; color: rgba(255, 255, 255, .7); position: relative; }

.back-to-top { position: fixed; right: 20px; bottom: 80px; z-index: 1000; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: var(--shadow-blue); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--brand-dark); color: #fff; transform: translateY(-3px); }

/* ---------- Reveal on scroll (only while JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal-stagger.in > * { opacity: 1; transform: none; }
.js .reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.js .reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.js .reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.js .reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.js .reveal-stagger.in > *:nth-child(6) { transition-delay: .4s; }
.js .reveal-stagger.in > *:nth-child(n+7) { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .section { padding: 80px 0; }
    .hero { padding-top: 64px; }
    .ticker { margin-top: 64px; }
    .side-card { position: static; }
    .media-frame { min-height: 320px; }
    .cta-inner { padding: 48px 32px; }
}
@media (max-width: 575.98px) {
    .section { padding: 64px 0; }
    .hero-metrics { gap: 1.5rem 2rem; }
    .hero-tag { font-size: .78rem; border-radius: 14px; }
    .form-panel { padding: 28px 20px; }
    .cta-inner { padding: 40px 24px; border-radius: 24px; }
    .explorer-panel ul { grid-template-columns: 1fr; }
}

/* ---------- WhatsApp ---------- */
.btn-whatsapp { background: var(--wa); border: 1px solid var(--wa); color: #fff; }
.btn-whatsapp:hover, .btn-whatsapp:focus { background: #1ebe5b; border-color: #1ebe5b; color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(37, 211, 102, .8); }
.icon-badge.wa { background: rgba(37, 211, 102, .12); color: #1aa851; }
a.contact-card { color: inherit; }
a.contact-card h3 { color: var(--ink); }
/* Compact round button; the label only slides out on hover/focus with a mouse */
.wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--wa);
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .9);
    transition: transform .25s var(--ease);
}
.wa-float i { font-size: 1.35rem; line-height: 1; }
.wa-float span {
    position: absolute;
    right: calc(100% + 10px);
    white-space: nowrap;
    font-size: .85rem;
    font-weight: 600;
    padding: .35rem .7rem;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    opacity: 0;
    transform: translateX(6px);
    pointer-events: none;
    transition: opacity .2s, transform .2s var(--ease);
}
.wa-float:hover { color: #fff; transform: translateY(-3px); }
@media (hover: hover) {
    .wa-float:hover span, .wa-float:focus-visible span { opacity: 1; transform: none; }
}
@media (max-width: 575.98px) {
    .wa-float { width: 44px; height: 44px; right: 14px; bottom: 14px; }
    .wa-float i { font-size: 1.2rem; }
    .back-to-top { width: 44px; height: 44px; right: 14px; bottom: 68px; }
}

/* ---------- Service figure ---------- */
.service-figure { position: relative; margin: 0 0 3rem; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 8; }
.service-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-figure:hover img { transform: scale(1.04); }
.service-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10, 26, 68, .6)); }
.service-figure figcaption { position: absolute; left: 24px; bottom: 20px; z-index: 1; display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.service-figure figcaption i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--grad); }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; }
.legal-updated { display: inline-block; font-size: .9rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.4rem; margin: 2.5rem 0 .9rem; }
.legal p, .legal li { color: #3b4760; }
.legal ul { padding-left: 1.2rem; display: grid; gap: .5rem; margin-bottom: 1rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* ---------- 404 ---------- */
.not-found { padding: 140px 0 150px; }
.not-found h1, .not-found .lead { max-width: 640px; }

/* Bootstrap's g-5 gutter is wider than the phone container padding and causes sideways scroll */
@media (max-width: 575.98px) {
    .row.g-5 { --bs-gutter-x: 1.5rem; }
}

/* Never hide animated content when printing */
@media print {
    .js .reveal, .js .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
    .wa-float, .back-to-top, .net-canvas, .consent { display: none !important; }
}

/* First-visit privacy notice (bottom-left, clear of the right-side floating buttons) */
.consent {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1040;
    max-width: 440px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(10, 26, 68, .22);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.consent.show { opacity: 1; transform: none; }
.consent-inner { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; }
.consent-text { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--ink); }
.consent-text a { color: var(--brand); font-weight: 600; text-decoration: underline; }
.consent-ok { flex: 0 0 auto; white-space: nowrap; }

@media (max-width: 575.98px) {
    .consent { left: 12px; right: 12px; bottom: 76px; max-width: none; }
    .consent-inner { flex-direction: column; align-items: stretch; gap: .75rem; padding: .9rem 1rem; }
    .consent-ok { width: 100%; }
}

/* Keep the footer's last row clear of the floating buttons */
.footer-bottom { padding-bottom: 32px; }
@media (max-width: 1299.98px) {
    .footer-bottom { padding-bottom: 96px; }
}
