:root {
    --bg: #f7f4ff;
    --ink: #14172b;
    --muted: #5c6075;
    --primary: #4E59AA;
    --primary-2: #6f7ad1;
    --magenta: #BD56A0;
    --cyan: #1faec9;
    --amber: #b96c16;
    --violet: #6d51d9;
    --glass: rgba(255, 255, 255, 0.72);
    --line: rgba(37, 48, 120, 0.13);
    --shadow: 0 24px 70px rgba(39, 52, 137, 0.18);
    --radius: 24px;
    --container: 1200px;
    --font-heading: "Space Grotesk", system-ui, sans-serif;
    --font-body: "Manrope", system-ui, sans-serif;
}

:root[data-theme="dark"] {
    --bg: #0c1024;
    --ink: #f4f7ff;
    --muted: #b7bed6;
    --primary: #9da8ff;
    --primary-2: #7787ff;
    --magenta: #e077c5;
    --cyan: #4dd7ef;
    --amber: #e1a05c;
    --violet: #a991ff;
    --glass: rgba(18, 24, 54, 0.78);
    --line: rgba(221, 226, 255, 0.14);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(189, 86, 160, 0.18), transparent 30rem),
        radial-gradient(circle at 85% 18%, rgba(31, 174, 201, 0.16), transparent 28rem),
        linear-gradient(180deg, #fbf8ff 0%, #f3f0fb 55%, #ffffff 100%);
    overflow-x: hidden;
}

:root[data-theme="dark"] body {
    background:
        radial-gradient(circle at 12% 8%, rgba(224, 119, 197, 0.16), transparent 30rem),
        radial-gradient(circle at 85% 18%, rgba(77, 215, 239, 0.12), transparent 28rem),
        linear-gradient(180deg, #090d1d 0%, #10162f 55%, #080b18 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    inset: 16px 0 auto;
    z-index: 50;
    transition: transform 220ms ease, inset 220ms ease;
}

.site-header.is-scrolled {
    inset: 8px 0 auto;
}

.nav-shell {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 16px 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(22px);
    box-shadow: 0 18px 60px rgba(47, 56, 130, 0.16);
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary);
}

.brand-logo {
    width: auto;
    height: 42px;
    object-fit: contain;
}

.footer-brand .brand-logo {
    height: 50px;
}

.brand-logo-dark,
:root[data-theme="dark"] .brand-logo-light {
    display: none;
}

:root[data-theme="dark"] .brand-logo-dark {
    display: block;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--magenta));
    box-shadow: 0 12px 28px rgba(84, 68, 185, 0.28);
    font-size: 0.78rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle {
    cursor: pointer;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(78, 89, 170, 0.18);
    border-radius: 50%;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.68);
    font: inherit;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary), var(--magenta));
}

.theme-icon-light,
:root[data-theme="dark"] .theme-icon-dark {
    display: none;
}

:root[data-theme="dark"] .theme-icon-light {
    display: inline-block;
}

.mobile-theme-toggle {
    display: none;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.desktop-nav a {
    position: relative;
    padding: 11px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
    transition: 180ms ease;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 7px;
    height: 2px;
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--primary), var(--magenta));
    transition: transform 180ms ease;
}

.desktop-nav a:hover {
    color: var(--primary);
    background: rgba(84, 103, 216, 0.09);
}

.desktop-nav a:hover::after {
    transform: scaleX(1);
}

.nav-cta,
.button {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.88rem;
    isolation: isolate;
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.nav-cta::before,
.button::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 -45%;
    z-index: -1;
    width: 38%;
    transform: skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    transition: left 520ms ease;
}

.nav-cta,
.button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--magenta));
    box-shadow: 0 14px 34px rgba(78, 89, 170, 0.26);
}

.nav-cta:hover,
.button:hover {
    transform: translateY(-3px) scale(1.025);
    box-shadow: 0 18px 42px rgba(78, 89, 170, 0.3);
}

.nav-cta:hover::before,
.button:hover::before {
    left: 118%;
}

.button:active,
.nav-cta:active {
    transform: translateY(0) scale(0.98);
}

.button-secondary {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(78, 89, 170, 0.2);
}

.button-light {
    color: var(--primary);
    background: #fff;
}

.button-ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.42);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(78, 89, 170, 0.1);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    background: var(--primary);
}

.mobile-panel {
    display: none;
}

.hero {
    position: relative;
    min-height: 860px;
    padding: 160px 0 90px;
    overflow: hidden;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(248, 246, 255, 0.98) 0%, rgba(248, 246, 255, 0.86) 42%, rgba(248, 246, 255, 0.26) 100%),
        linear-gradient(180deg, rgba(20, 23, 43, 0.08), rgba(20, 23, 43, 0.3));
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 42px;
    align-items: center;
}

.hero-copy {
    max-width: 760px;
}

.eyebrow,
.panel-label,
.service-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--primary);
    background: rgba(78, 89, 170, 0.12);
    border: 1px solid rgba(78, 89, 170, 0.16);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font-heading);
    letter-spacing: 0;
}

h1 {
    margin-top: 22px;
    font-size: 6.4rem;
    line-height: 0.94;
    max-width: 980px;
    color: #101638;
}

.hero-copy p {
    max-width: 650px;
    margin: 24px 0 0;
    color: #3f4359;
    font-size: 1.18rem;
    line-height: 1.75;
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.momentum-panel {
    align-self: end;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: center;
    padding: 22px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(15, 19, 46, 0.82), rgba(56, 48, 122, 0.72)),
        radial-gradient(circle at 15% 15%, rgba(31, 174, 201, 0.36), transparent 10rem);
    color: #fff;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: var(--shadow);
}

.momentum-panel.is-visible {
    animation: floatPanel 6s ease-in-out infinite;
}

.momentum-panel .panel-label {
    color: #dce2ff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
}

.experience-orb {
    position: relative;
    display: grid;
    place-items: center;
    width: 132px;
    height: 132px;
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)),
        linear-gradient(135deg, var(--cyan), var(--magenta));
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.26);
    overflow: hidden;
}

.experience-orb::after {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 26px;
}

.experience-orb span {
    position: relative;
    z-index: 1;
    font-size: 1.6rem;
}

.experience-orb strong {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-size: 3.6rem;
    line-height: 1;
}

.momentum-panel p {
    margin: 14px 0 16px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.meter {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
}

.metric-strip {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.metric-strip div,
.service-card,
.impact-card {
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: var(--glass);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow);
}

.metric-strip div {
    padding: 22px;
    border-radius: 18px;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.metric-strip div:hover {
    transform: translateY(-6px) scale(1.015);
    border-color: rgba(189, 86, 160, 0.32);
    box-shadow: 0 26px 70px rgba(39, 52, 137, 0.22);
}

[data-tilt] {
    transform-style: preserve-3d;
    will-change: transform;
}

.metric-strip strong {
    display: block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 2rem;
}

.metric-strip span {
    color: var(--muted);
    font-weight: 700;
}

.section {
    padding: 110px 0;
}

.section-heading {
    display: grid;
    gap: 18px;
    max-width: 790px;
    margin-bottom: 38px;
}

.section-heading h2,
.impact-card h2,
.cta-card h2 {
    font-size: 4.2rem;
    line-height: 1;
    color: #11173a;
}

.section-heading p,
.impact-card p,
.cta-card p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

.service-card {
    position: relative;
    min-height: 360px;
    padding: 30px;
    border-radius: var(--radius);
    overflow: hidden;
    isolation: isolate;
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.012);
    border-color: color-mix(in srgb, var(--tone) 38%, transparent);
    box-shadow: 0 28px 80px rgba(39, 52, 137, 0.24);
}

.service-card::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--tone) 22%, transparent);
    transition: transform 320ms ease, opacity 320ms ease;
}

.service-card:hover::after {
    transform: scale(1.28);
    opacity: 0.9;
}

.service-wide {
    grid-column: span 8;
}

.service-tall,
.service-standard {
    grid-column: span 4;
}

.service-full {
    grid-column: span 12;
    min-height: 300px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.tone-blue { --tone: var(--primary-2); }
.tone-magenta { --tone: var(--magenta); }
.tone-amber { --tone: var(--amber); }
.tone-violet { --tone: var(--violet); }

.service-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.service-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--tone), var(--magenta));
    box-shadow: 0 16px 36px color-mix(in srgb, var(--tone) 28%, transparent);
    transition: transform 260ms ease;
}

.service-card:hover .service-icon {
    transform: rotate(-5deg) scale(1.08);
}

.service-card h3 {
    position: relative;
    z-index: 1;
    margin-top: 32px;
    font-size: 2.15rem;
    color: var(--primary);
}

.service-card p {
    position: relative;
    z-index: 1;
    max-width: 660px;
    color: var(--muted);
    line-height: 1.7;
}

.method-section {
    background: #11162f;
    color: #fff;
}

.method-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
    align-items: start;
}

.method-section .section-heading h2,
.method-section .section-heading p {
    color: #fff;
}

.method-section .section-heading p {
    color: rgba(255, 255, 255, 0.72);
}

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding-top: 34px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: calc(8% + 14px);
    right: calc(8% + 14px);
    top: 0;
    height: 2px;
    border-radius: 999px;
    z-index: 0;
    background: rgba(255, 255, 255, 0.12);
}

.timeline::after {
    content: "";
    position: absolute;
    left: calc(8% + 14px);
    top: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    z-index: 0;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    transition: width 1200ms cubic-bezier(.2, .8, .2, 1);
}

.timeline.is-visible::after {
    width: calc(84% - 28px);
}

.timeline div {
    position: relative;
    z-index: 1;
    padding: 30px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 620ms ease, transform 620ms ease, border-color 220ms ease, background 220ms ease;
}

.timeline.is-visible div {
    opacity: 1;
    transform: translateY(0);
}

.timeline.is-visible div:nth-child(1) {
    transition-delay: 120ms;
}

.timeline.is-visible div:nth-child(2) {
    transition-delay: 280ms;
}

.timeline.is-visible div:nth-child(3) {
    transition-delay: 440ms;
}

.timeline div::before {
    content: "";
    position: absolute;
    left: 30px;
    top: -44px;
    z-index: 3;
    width: 22px;
    height: 22px;
    border: 3px solid #11162f;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 6px rgba(77, 215, 239, 0.14);
}

.timeline span {
    color: #a8efff;
    font-weight: 900;
}

.timeline h3 {
    margin-top: 12px;
    font-size: 1.35rem;
}

.timeline p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.7;
}

.impact-section {
    padding: 110px 0 0;
}

.impact-card {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 30px;
    align-items: center;
    padding: 42px;
    border-radius: 32px;
}

.impact-stack {
    display: grid;
    gap: 16px;
}

.impact-stack div {
    padding: 24px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
}

.impact-stack span {
    color: var(--magenta);
}

.impact-stack strong {
    display: block;
    margin-top: 12px;
    font-family: var(--font-heading);
    color: var(--primary);
}

.cta-card {
    position: relative;
    overflow: hidden;
    padding: 70px;
    border-radius: 34px;
    color: #fff;
    background:
        radial-gradient(circle at 85% 20%, rgba(31, 174, 201, 0.34), transparent 18rem),
        linear-gradient(135deg, var(--primary), var(--magenta));
    box-shadow: 0 28px 80px rgba(78, 89, 170, 0.3);
}

.cta-card .eyebrow {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-card h2 {
    margin-top: 18px;
    color: #fff;
}

.cta-card p {
    max-width: 660px;
    color: rgba(255, 255, 255, 0.78);
}

.split-layout,
.feature-layout,
.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 44px;
    align-items: center;
}

.feature-layout.reverse {
    grid-template-columns: 1.1fr 0.9fr;
}

.about-card,
.stacked-copy,
.feature-copy,
.brand-card,
.project-card,
.contact-form,
.portfolio-item {
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow);
}

.about-card {
    position: relative;
    min-height: 360px;
    padding: 112px 34px 34px;
    border-radius: 30px;
}

.about-card p,
.stacked-copy p,
.feature-copy p,
.brand-card p,
.project-card p {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

.floating-badge {
    position: absolute;
    top: -34px;
    right: 30px;
    display: grid;
    place-items: center;
    width: 154px;
    height: 154px;
    padding: 16px;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--magenta));
    box-shadow: 0 24px 58px rgba(88, 60, 164, 0.34);
    animation: badgePulse 4.8s ease-in-out infinite;
}

.floating-badge strong {
    font-family: var(--font-heading);
    font-size: 2.7rem;
    line-height: 0.9;
}

.floating-badge small {
    max-width: 90px;
    font-weight: 800;
    line-height: 1.1;
}

.feature-visual {
    display: grid;
    place-items: center;
    min-height: 520px;
    border-radius: 34px;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(circle at 72% 24%, rgba(31, 174, 201, 0.42), transparent 16rem),
        linear-gradient(145deg, #121735, var(--primary) 54%, var(--magenta));
    box-shadow: 0 28px 88px rgba(39, 52, 137, 0.24);
    transition: transform 280ms ease, box-shadow 280ms ease;
}

.feature-visual:hover {
    transform: translateY(-8px) scale(1.012);
    box-shadow: 0 36px 100px rgba(39, 52, 137, 0.32);
}

.feature-visual span {
    font-size: 5.4rem;
}

.feature-visual strong {
    max-width: 280px;
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1;
}

.plan-photo {
    position: relative;
    overflow: visible;
    align-content: end;
    padding: 34px;
    isolation: isolate;
    text-align: left;
    background: transparent;
    box-shadow: none;
}

.plan-photo::before {
    content: "";
    position: absolute;
    inset: 42px 0 0;
    z-index: -3;
    border-radius: 34px;
    background:
        radial-gradient(circle at 68% 18%, rgba(31, 174, 201, 0.24), transparent 15rem),
        linear-gradient(145deg, #121735, #1a1d46 56%, #2c1948);
    box-shadow: 0 28px 88px rgba(39, 52, 137, 0.24);
    transition: transform 280ms ease, box-shadow 280ms ease;
}

.plan-photo::after {
    content: "";
    position: absolute;
    inset: 42px 0 0;
    z-index: -1;
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(8, 11, 24, 0) 0%, rgba(8, 11, 24, 0) 48%, rgba(8, 11, 24, 0.76) 100%);
}

.plan-photo img {
    position: absolute;
    left: 5%;
    top: -54px;
    z-index: -2;
    width: 90%;
    height: calc(100% + 54px);
    object-fit: cover;
    object-position: center top;
    border-radius: 32px;
    filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.38));
    transition: transform 420ms ease, filter 420ms ease;
}

.plan-photo:hover::before {
    transform: translateY(-8px) scale(1.012);
    box-shadow: 0 36px 100px rgba(39, 52, 137, 0.32);
}

.plan-photo:hover img {
    transform: translateY(-12px) scale(1.035);
    filter: saturate(1.08) drop-shadow(0 34px 46px rgba(0, 0, 0, 0.44));
}

.plan-photo strong {
    position: relative;
    z-index: 1;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}

.web-visual {
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.3), transparent 12rem),
        linear-gradient(145deg, #102a3f, #1faec9 48%, var(--primary-2));
}

.plan-map-section {
    padding-top: 50px;
}

.plan-map-layout {
    display: grid;
    gap: 34px;
}

.plan-map {
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) 1fr;
    gap: 32px;
    align-items: center;
}

.plan-map-board {
    position: relative;
    aspect-ratio: 1;
    min-height: 460px;
    border-radius: 34px;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.22), transparent 7rem),
        linear-gradient(145deg, #11162f, var(--primary) 58%, var(--magenta));
    box-shadow: var(--shadow);
}

.plan-map-board::before,
.plan-map-board::after {
    content: "";
    position: absolute;
    inset: 18%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
}

.plan-map-board::after {
    inset: 31%;
}

.plan-node {
    cursor: pointer;
    position: absolute;
    left: var(--x);
    top: var(--y);
    z-index: 2;
    display: grid;
    gap: 6px;
    place-items: center;
    width: 112px;
    min-height: 92px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 22px;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 900;
    transform: translate(-50%, -50%);
    transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.plan-node span {
    font-size: 2rem;
}

.plan-node:hover,
.plan-node.is-active {
    background: rgba(255, 255, 255, 0.24);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
    transform: translate(-50%, -50%) scale(1.08);
}

.plan-center {
    position: absolute;
    inset: 50% auto auto 50%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    color: #fff;
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.38), transparent 2.5rem),
        linear-gradient(145deg, #121735, var(--primary), var(--magenta));
    transform: translate(-50%, -50%);
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.24),
        0 0 0 14px rgba(255, 255, 255, 0.1),
        0 0 0 32px rgba(255, 255, 255, 0.06);
    animation: centerPulse 4.8s ease-in-out infinite;
}

.plan-center::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: inherit;
}

.plan-center strong {
    position: relative;
    font-family: var(--font-heading);
    font-size: 3.15rem;
    line-height: 1;
    text-align: center;
    text-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.plan-center span {
    position: relative;
    padding: 7px 10px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.12);
    font-weight: 900;
    font-size: 0.72rem;
}

.plan-map-card,
.use-cases-shell {
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
}

.plan-map-card {
    padding: 42px;
}

.plan-map-card span,
.use-case-panel span {
    color: var(--magenta);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.76rem;
}

.plan-map-card h3,
.use-case-panel h3 {
    margin: 16px 0 0;
    color: #11173a;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    line-height: 1;
}

.plan-map-card p,
.use-case-panel p {
    color: var(--muted);
    line-height: 1.75;
}

.feature-copy,
.stacked-copy {
    padding: 34px;
    border-radius: 30px;
}

.feature-copy h2,
.brand-card h2,
.project-card h2 {
    margin-top: 18px;
    color: #11173a;
    font-size: 3.25rem;
    line-height: 1;
}

.feature-copy h3 {
    margin-top: 28px;
    color: var(--primary);
    font-size: 1.45rem;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    gap: 10px;
    color: #30344c;
    font-weight: 700;
}

.check-list li::before {
    content: "check_circle";
    flex: 0 0 auto;
    font-family: "Material Symbols Outlined";
    color: var(--magenta);
}

.finance-section {
    background: #11162f;
}

.finance-section .section-heading h2,
.finance-section .section-heading p,
.finance-section .stacked-copy p {
    color: #fff;
}

.finance-section .section-heading p,
.finance-section .stacked-copy p {
    color: rgba(255, 255, 255, 0.72);
}

.finance-section .stacked-copy {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

.brand-card,
.project-card {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 34px;
    align-items: center;
    padding: 44px;
    border-radius: 34px;
}

.brand-orbit {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.brand-orbit span {
    display: grid;
    place-items: center;
    min-height: 142px;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--magenta));
    box-shadow: 0 20px 48px rgba(78, 89, 170, 0.2);
    font-size: 3rem;
    transition: transform 260ms ease, filter 260ms ease;
}

.brand-orbit span:nth-child(2) {
    transform: translateY(22px);
}

.brand-orbit span:hover {
    transform: translateY(-6px) rotate(2deg) scale(1.04);
    filter: saturate(1.18);
}

.brand-orbit span:nth-child(2):hover {
    transform: translateY(12px) rotate(-2deg) scale(1.04);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.use-cases-section {
    padding-top: 50px;
}

.use-cases-shell {
    display: grid;
    gap: 26px;
    padding: 34px;
}

.use-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.use-tabs button {
    cursor: pointer;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(78, 89, 170, 0.16);
    border-radius: 999px;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.7);
    font: inherit;
    font-weight: 900;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.use-tabs button:hover,
.use-tabs button.is-active {
    transform: translateY(-2px);
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary), var(--magenta));
}

.use-case-panel {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 28px;
    align-items: start;
    min-height: 300px;
    padding: 34px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 92% 12%, rgba(31, 174, 201, 0.18), transparent 17rem),
        rgba(255, 255, 255, 0.58);
    border: 1px solid var(--line);
}

.use-case-panel.is-switching {
    animation: panelSwitch 280ms ease both;
}

.use-case-panel .button {
    margin-top: 12px;
}

@keyframes panelSwitch {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-item {
    min-height: 280px;
    padding: 28px;
    border-radius: 28px;
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.portfolio-item:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: rgba(189, 86, 160, 0.28);
    box-shadow: 0 30px 82px rgba(39, 52, 137, 0.23);
}

.portfolio-item span {
    color: var(--magenta);
    font-weight: 900;
}

.portfolio-item h3 {
    margin-top: 40px;
    color: var(--primary);
    font-size: 1.55rem;
}

.portfolio-item p {
    color: var(--muted);
    line-height: 1.7;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 78px;
    background:
        radial-gradient(circle at 12% 18%, rgba(189, 86, 160, 0.18), transparent 28rem),
        radial-gradient(circle at 88% 12%, rgba(31, 174, 201, 0.16), transparent 26rem),
        linear-gradient(180deg, #fbf8ff 0%, #f3f0fb 100%);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 38px;
    align-items: center;
}

.page-hero-copy {
    max-width: 820px;
}

.page-hero-copy h1 {
    max-width: 900px;
}

.page-hero-copy p {
    max-width: 680px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.75;
}

.page-hero-panel,
.path-card,
.portfolio-detail-card {
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow);
}

.page-hero-panel {
    display: grid;
    gap: 18px;
    padding: 34px;
    border-radius: 32px;
}

.page-hero-panel span {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--magenta));
    box-shadow: 0 18px 44px rgba(78, 89, 170, 0.24);
    font-size: 2.5rem;
}

.page-hero-panel strong {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.05;
}

.page-hero-panel p,
.path-card p,
.portfolio-detail-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.service-path-section {
    padding-bottom: 50px;
}

.service-path-grid,
.portfolio-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.path-card,
.portfolio-detail-card {
    min-height: 260px;
    padding: 30px;
    border-radius: 28px;
}

.path-card span {
    color: var(--magenta);
    font-weight: 900;
}

.path-card h2,
.portfolio-detail-card h2 {
    margin: 34px 0 14px;
    color: var(--primary);
    font-size: 1.65rem;
    line-height: 1.12;
}

.portfolio-detail-card span {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--magenta));
    font-size: 2rem;
}

.page-cta-section {
    padding-top: 40px;
}

.page-cta-section .project-card {
    grid-template-columns: 1fr 0.85fr auto;
}

.page-cta-section .button {
    align-self: center;
    white-space: nowrap;
}

.contact-page-hero + #formulario .cta-section {
    padding-top: 70px;
}

.project-card {
    grid-template-columns: 0.95fr 1.05fr;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.58)),
        radial-gradient(circle at 100% 0%, rgba(189, 86, 160, 0.2), transparent 24rem);
}

.service-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-pills span {
    padding: 12px 15px;
    border-radius: 999px;
    color: var(--primary);
    background: rgba(78, 89, 170, 0.1);
    border: 1px solid rgba(78, 89, 170, 0.14);
    font-weight: 800;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.service-pills span:hover {
    transform: translateY(-3px);
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--magenta));
}

.contact-layout {
    align-items: stretch;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 34px;
    border-radius: 30px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--primary);
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 50px;
    padding: 13px 15px;
    border: 1px solid rgba(78, 89, 170, 0.16);
    border-radius: 14px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.76);
    font: inherit;
    outline: none;
    transition: border 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(189, 86, 160, 0.55);
    box-shadow: 0 0 0 4px rgba(189, 86, 160, 0.12);
}

.contact-form .button {
    width: fit-content;
}

.contact-experience {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 28px;
    align-items: stretch;
}

.form-promise {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 34px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-promise span {
    color: #fff;
    font-size: 2rem;
}

.form-promise p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

.guided-form {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    min-height: 620px;
    padding: 28px;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background:
        radial-gradient(circle at 88% 10%, rgba(189, 86, 160, 0.16), transparent 18rem),
        rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(24px);
    box-shadow: var(--shadow);
}

.guided-form::before {
    content: "";
    position: absolute;
    inset: -30% auto auto -18%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(78, 89, 170, 0.14);
    pointer-events: none;
}

.form-progress {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
    color: var(--primary);
    font-weight: 900;
}

.form-progress div {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(78, 89, 170, 0.12);
}

.form-progress i {
    display: block;
    width: 20%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--magenta));
    transition: width 320ms ease;
}

.form-insight {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 14px;
    padding: 11px 14px;
    border: 1px solid rgba(78, 89, 170, 0.14);
    border-radius: 999px;
    color: var(--primary);
    background:
        linear-gradient(90deg, rgba(78, 89, 170, 0.08), rgba(189, 86, 160, 0.08));
    overflow: hidden;
}

.form-insight::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 -30%;
    width: 24%;
    transform: skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    animation: insightSweep 4.2s ease-in-out infinite;
}

.form-insight span {
    position: relative;
    z-index: 1;
    color: var(--magenta);
    font-size: 1.2rem;
}

.form-insight p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.35;
}

.form-step {
    position: relative;
    z-index: 1;
    display: none;
    align-content: start;
    padding: 26px 0 22px;
    animation: stepIn 360ms ease both;
}

.form-step.is-active {
    display: grid;
}

.step-kicker {
    width: fit-content;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--magenta);
    background: rgba(189, 86, 160, 0.1);
    font-size: 0.78rem;
    font-weight: 900;
}

.form-step h3 {
    color: #11173a;
    font-size: 2.5rem;
    line-height: 1;
}

.form-step p {
    max-width: 680px;
    color: var(--muted);
    line-height: 1.7;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 20px;
}

.choice-grid label {
    cursor: pointer;
}

.choice-grid input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-grid span {
    display: grid;
    min-height: 82px;
    place-items: center;
    padding: 16px;
    border: 1px solid rgba(78, 89, 170, 0.16);
    border-radius: 20px;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
    font-weight: 900;
    transition: transform 200ms ease, color 200ms ease, background 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.choice-grid span:hover {
    transform: translateY(-4px) scale(1.015);
    border-color: rgba(189, 86, 160, 0.34);
    box-shadow: 0 18px 42px rgba(78, 89, 170, 0.14);
}

.choice-grid input:checked + span {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary), var(--magenta));
    box-shadow: 0 18px 46px rgba(189, 86, 160, 0.24);
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 20px;
}

.field-grid .field-label:last-child {
    grid-column: 1 / -1;
}

.field-label {
    display: grid;
    gap: 8px;
    color: var(--primary);
    font-weight: 900;
}

.field-label input,
.field-label textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid rgba(78, 89, 170, 0.18);
    border-radius: 16px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.82);
    font: inherit;
    outline: none;
    transition: border 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.field-label textarea {
    resize: vertical;
}

.field-label input:focus,
.field-label textarea:focus {
    border-color: rgba(189, 86, 160, 0.55);
    box-shadow: 0 0 0 4px rgba(189, 86, 160, 0.12);
    transform: translateY(-2px);
}

.form-actions {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(78, 89, 170, 0.12);
}

.form-actions .is-hidden,
.guided-form.is-complete .form-progress,
.guided-form.is-complete [data-form-prev],
.guided-form.is-complete [data-form-next] {
    display: none;
}

.form-actions .button:disabled {
    cursor: not-allowed;
    opacity: 0.48;
    transform: none;
}

.thank-you-step {
    min-height: 420px;
    place-items: center;
    text-align: center;
}

.summary-grid {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.summary-grid div {
    padding: 16px;
    border: 1px solid rgba(78, 89, 170, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.66);
}

.summary-grid span {
    display: block;
    color: var(--magenta);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.summary-grid strong {
    display: block;
    margin-top: 6px;
    color: var(--primary);
}

.thank-you-step > span {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--magenta));
    box-shadow: 0 24px 58px rgba(189, 86, 160, 0.3);
    font-size: 3rem;
}

.guided-form.is-complete .form-actions {
    display: none;
}

@keyframes stepIn {
    from {
        opacity: 0;
        filter: blur(8px);
        transform: translateX(18px) scale(0.985);
    }

    to {
        opacity: 1;
        filter: blur(0);
        transform: translateX(0) scale(1);
    }
}

.site-footer {
    padding: 70px 0;
    background: #e9e8ff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 34px;
}

.site-footer p,
.site-footer a,
.site-footer span {
    display: block;
    color: #555a75;
    line-height: 1.8;
}

.site-footer h3 {
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 0.82rem;
    text-transform: uppercase;
}

.reveal {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(24px) scale(0.985);
    transition: opacity 720ms ease, transform 720ms ease, filter 720ms ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

:root[data-theme="dark"] .nav-shell,
:root[data-theme="dark"] .mobile-panel,
:root[data-theme="dark"] .metric-strip div,
:root[data-theme="dark"] .service-card,
:root[data-theme="dark"] .impact-card,
:root[data-theme="dark"] .plan-map-card,
:root[data-theme="dark"] .use-cases-shell,
:root[data-theme="dark"] .about-card,
:root[data-theme="dark"] .stacked-copy,
:root[data-theme="dark"] .feature-copy,
:root[data-theme="dark"] .brand-card,
:root[data-theme="dark"] .project-card,
:root[data-theme="dark"] .contact-form,
:root[data-theme="dark"] .portfolio-item,
:root[data-theme="dark"] .guided-form,
:root[data-theme="dark"] .page-hero-panel,
:root[data-theme="dark"] .path-card,
:root[data-theme="dark"] .portfolio-detail-card {
    border-color: rgba(255, 255, 255, 0.12);
    background: var(--glass);
}

:root[data-theme="dark"] .nav-shell {
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
}

:root[data-theme="dark"] .theme-toggle,
:root[data-theme="dark"] .button-secondary,
:root[data-theme="dark"] .use-tabs button,
:root[data-theme="dark"] .choice-grid span,
:root[data-theme="dark"] .contact-form input,
:root[data-theme="dark"] .contact-form select,
:root[data-theme="dark"] .contact-form textarea,
:root[data-theme="dark"] .field-label input,
:root[data-theme="dark"] .field-label textarea {
    color: var(--ink);
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .hero-overlay {
    background:
        linear-gradient(90deg, rgba(8, 11, 24, 0.98) 0%, rgba(8, 11, 24, 0.86) 42%, rgba(8, 11, 24, 0.34) 100%),
        linear-gradient(180deg, rgba(8, 11, 24, 0.12), rgba(8, 11, 24, 0.74));
}

:root[data-theme="dark"] .page-hero {
    background:
        radial-gradient(circle at 12% 18%, rgba(224, 119, 197, 0.16), transparent 28rem),
        radial-gradient(circle at 88% 12%, rgba(77, 215, 239, 0.12), transparent 26rem),
        linear-gradient(180deg, #090d1d 0%, #10162f 100%);
}

:root[data-theme="dark"] h1,
:root[data-theme="dark"] .section-heading h2,
:root[data-theme="dark"] .impact-card h2,
:root[data-theme="dark"] .plan-map-card h3,
:root[data-theme="dark"] .use-case-panel h3,
:root[data-theme="dark"] .feature-copy h2,
:root[data-theme="dark"] .brand-card h2,
:root[data-theme="dark"] .project-card h2,
:root[data-theme="dark"] .path-card h2,
:root[data-theme="dark"] .portfolio-detail-card h2,
:root[data-theme="dark"] .form-step h3 {
    color: var(--ink);
}

:root[data-theme="dark"] .hero-copy p,
:root[data-theme="dark"] .section-heading p,
:root[data-theme="dark"] .impact-card p,
:root[data-theme="dark"] .feature-copy p,
:root[data-theme="dark"] .stacked-copy p,
:root[data-theme="dark"] .brand-card p,
:root[data-theme="dark"] .project-card p,
:root[data-theme="dark"] .portfolio-item p,
:root[data-theme="dark"] .page-hero-copy p,
:root[data-theme="dark"] .page-hero-panel p,
:root[data-theme="dark"] .path-card p,
:root[data-theme="dark"] .portfolio-detail-card p,
:root[data-theme="dark"] .plan-map-card p,
:root[data-theme="dark"] .use-case-panel p,
:root[data-theme="dark"] .form-step p,
:root[data-theme="dark"] .metric-strip span,
:root[data-theme="dark"] .service-card p {
    color: var(--muted);
}

:root[data-theme="dark"] .impact-stack div,
:root[data-theme="dark"] .use-case-panel,
:root[data-theme="dark"] .summary-grid div,
:root[data-theme="dark"] .form-insight {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.07);
}

:root[data-theme="dark"] .check-list li {
    color: #dfe5ff;
}

:root[data-theme="dark"] .project-card {
    background:
        linear-gradient(135deg, rgba(18, 24, 54, 0.9), rgba(18, 24, 54, 0.7)),
        radial-gradient(circle at 100% 0%, rgba(224, 119, 197, 0.18), transparent 24rem);
}

:root[data-theme="dark"] .site-footer {
    background: #090d1d;
}

:root[data-theme="dark"] .site-footer p,
:root[data-theme="dark"] .site-footer a,
:root[data-theme="dark"] .site-footer span {
    color: var(--muted);
}

@keyframes heroZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

@keyframes floatPanel {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes badgePulse {
    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 24px 58px rgba(88, 60, 164, 0.34);
    }

    50% {
        transform: translateY(-8px) scale(1.035);
        box-shadow: 0 30px 76px rgba(189, 86, 160, 0.38);
    }
}

@keyframes centerPulse {
    0%,
    100% {
        box-shadow:
            0 28px 60px rgba(0, 0, 0, 0.24),
            0 0 0 14px rgba(255, 255, 255, 0.1),
            0 0 0 32px rgba(255, 255, 255, 0.06);
    }

    50% {
        box-shadow:
            0 34px 74px rgba(0, 0, 0, 0.28),
            0 0 0 18px rgba(255, 255, 255, 0.12),
            0 0 0 42px rgba(255, 255, 255, 0.045);
    }
}

@keyframes insightSweep {
    0%,
    56% {
        left: -30%;
    }

    100% {
        left: 120%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

@media (max-width: 980px) {
    .desktop-nav,
    .nav-actions {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-panel {
        position: fixed;
        top: 94px;
        left: 20px;
        right: 20px;
        display: grid;
        gap: 8px;
        padding: 16px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: var(--shadow);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: 180ms ease;
    }

    .mobile-panel.is-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .mobile-panel a {
        padding: 14px 16px;
        border-radius: 16px;
        color: var(--primary);
        font-weight: 800;
    }

    .mobile-theme-toggle {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        height: auto;
        gap: 10px;
        padding: 14px 16px;
        border-radius: 16px;
        color: var(--primary);
        font-weight: 800;
    }

    .mobile-cta {
        color: #fff !important;
        background: linear-gradient(135deg, var(--primary), var(--magenta));
    }

    .hero {
        min-height: auto;
        padding: 124px 0 72px;
    }

    .hero-content,
    .page-hero-grid,
    .method-layout,
    .impact-card,
    .plan-map,
    .use-case-panel,
    .split-layout,
    .feature-layout,
    .feature-layout.reverse,
    .brand-card,
    .project-card,
    .contact-layout,
    .contact-experience {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .page-hero-copy,
    .section-heading,
    .feature-copy,
    .stacked-copy,
    .brand-card,
    .project-card,
    .cta-card {
        max-width: 760px;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .section-heading {
        justify-items: center;
    }

    .hero-copy p,
    .page-hero-copy p,
    .section-heading p,
    .feature-copy p,
    .stacked-copy p,
    .brand-card p,
    .project-card p,
    .cta-card p {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-actions,
    .cta-actions {
        justify-content: center;
    }

    .page-hero {
        padding: 124px 0 70px;
    }

    .page-hero-panel {
        max-width: 620px;
        margin: 0 auto;
        text-align: center;
        justify-items: center;
    }

    .service-path-grid,
    .portfolio-detail-grid {
        grid-template-columns: 1fr;
        max-width: 680px;
        margin: 0 auto;
    }

    .page-cta-section .project-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-cta-section .service-pills {
        justify-content: center;
    }

    .timeline {
        grid-template-columns: 1fr;
        padding-top: 0;
        padding-left: 22px;
    }

    .timeline::before {
        left: 0;
        right: auto;
        top: 18px;
        bottom: 18px;
        width: 2px;
        height: auto;
    }

    .timeline::after {
        left: 0;
        top: 18px;
        width: 2px;
        height: 0;
    }

    .timeline.is-visible::after {
        width: 2px;
        height: calc(100% - 36px);
    }

    .timeline div::before {
        left: -32px;
        top: 28px;
    }

    .metric-strip {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-wide,
    .service-tall,
    .service-standard,
    .service-full {
        grid-column: auto;
    }

    .service-full {
        grid-template-columns: 1fr;
    }

    .feature-visual {
        min-height: 340px;
        max-width: 640px;
        margin: 0 auto;
    }

    .plan-map-board {
        min-height: auto;
    }

    .plan-photo::before,
    .plan-photo::after {
        inset: 30px 0 0;
    }

    .plan-photo img {
        top: -36px;
        height: calc(100% + 36px);
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .brand-orbit {
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    .brand-orbit span,
    .brand-orbit span:nth-child(2),
    .brand-orbit span:hover,
    .brand-orbit span:nth-child(2):hover {
        transform: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    h1 {
        font-size: clamp(3.25rem, 10vw, 4.65rem);
        text-align: center;
    }

    .section-heading h2,
    .impact-card h2,
    .cta-card h2,
    .feature-copy h2,
    .brand-card h2,
    .project-card h2 {
        font-size: clamp(2.55rem, 7.4vw, 3.25rem);
    }

    .service-card h3 {
        font-size: 1.85rem;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .brand span:last-child {
        max-width: 150px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .brand-logo {
        height: 36px;
        max-width: 160px;
    }

    .site-header {
        inset: 10px 0 auto;
    }

    .nav-shell {
        height: 60px;
        padding: 0 12px 0 14px;
        border-radius: 22px;
    }

    .mobile-panel {
        top: 78px;
        left: 12px;
        right: 12px;
        padding: 12px;
        border-radius: 20px;
    }

    h1 {
        margin-top: 16px;
        font-size: clamp(2.45rem, 13vw, 3.05rem);
        line-height: 0.98;
    }

    .section-heading h2,
    .impact-card h2,
    .cta-card h2 {
        font-size: clamp(2rem, 10vw, 2.45rem);
        line-height: 1.05;
    }

    .hero-copy p {
        font-size: 1rem;
        line-height: 1.65;
    }

    .section {
        padding: 64px 0;
    }

    .hero {
        padding: 104px 0 56px;
    }

    .page-hero {
        padding: 104px 0 56px;
    }

    .hero-content,
    .page-hero-grid,
    .method-layout,
    .impact-card,
    .plan-map,
    .use-case-panel,
    .split-layout,
    .feature-layout,
    .feature-layout.reverse,
    .brand-card,
    .project-card,
    .contact-layout,
    .contact-experience,
    .footer-grid {
        gap: 20px;
    }

    .section-heading {
        gap: 14px;
        margin-bottom: 26px;
    }

    .eyebrow,
    .panel-label,
    .service-eyebrow,
    .step-kicker {
        max-width: 100%;
        justify-content: center;
        text-align: center;
        white-space: normal;
    }

    .button,
    .nav-cta,
    .mobile-cta {
        min-height: 48px;
        justify-content: center;
        text-align: center;
    }

    .hero-actions,
    .cta-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 360px;
        margin: 26px auto 0;
    }

    .hero-actions .button,
    .cta-actions .button {
        width: 100%;
    }

    .service-card,
    .impact-card,
    .cta-card,
    .page-hero-panel,
    .path-card,
    .portfolio-detail-card,
    .plan-map-card,
    .use-cases-shell,
    .use-case-panel,
    .about-card,
    .feature-copy,
    .stacked-copy,
    .brand-card,
    .project-card,
    .contact-form {
        padding: 22px;
        border-radius: 20px;
    }

    .guided-form {
        min-height: auto;
        padding: 18px;
        border-radius: 22px;
    }

    .page-hero-panel span,
    .portfolio-detail-card span {
        width: 62px;
        height: 62px;
        border-radius: 20px;
        font-size: 2rem;
    }

    .page-hero-panel strong {
        font-size: 1.65rem;
    }

    .path-card,
    .portfolio-detail-card {
        min-height: auto;
        text-align: center;
    }

    .path-card h2,
    .portfolio-detail-card h2 {
        margin-top: 24px;
        font-size: 1.4rem;
    }

    .portfolio-detail-card span {
        margin: 0 auto;
    }

    .form-insight {
        align-items: flex-start;
        border-radius: 18px;
    }

    .momentum-panel {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
        text-align: center;
        justify-items: center;
    }

    .experience-orb {
        width: 116px;
        height: 116px;
    }

    .choice-grid,
    .field-grid {
        grid-template-columns: 1fr;
    }

    .choice-grid span {
        min-height: 64px;
        padding: 14px;
    }

    .form-step h3 {
        font-size: clamp(1.7rem, 8vw, 2rem);
        line-height: 1.08;
        text-align: center;
    }

    .form-step p,
    .field-label {
        text-align: center;
    }

    .field-label input,
    .field-label textarea {
        text-align: left;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions .button {
        width: 100%;
    }

    .plan-node {
        width: 82px;
        min-height: 70px;
        padding: 9px;
        font-size: 0.68rem;
        border-radius: 18px;
    }

    .plan-node span {
        font-size: 1.35rem;
    }

    .plan-center {
        width: 112px;
        height: 112px;
        gap: 8px;
    }

    .plan-center strong {
        font-size: 1.95rem;
    }

    .plan-center span {
        max-width: 84px;
        padding: 5px 8px;
        font-size: 0.62rem;
        line-height: 1.15;
    }

    .about-card {
        padding-top: 112px;
    }

    .floating-badge {
        left: 24px;
        right: auto;
        width: 132px;
        height: 132px;
    }

    .feature-copy h2,
    .brand-card h2,
    .project-card h2 {
        font-size: clamp(1.95rem, 9vw, 2.25rem);
        line-height: 1.05;
    }

    .momentum-panel strong {
        font-size: 3.3rem;
    }

    .service-card {
        min-height: auto;
    }

    .service-card h3,
    .plan-map-card h3,
    .use-case-panel h3 {
        font-size: clamp(1.65rem, 8vw, 2rem);
        line-height: 1.08;
        text-align: center;
    }

    .service-top {
        justify-content: center;
        flex-wrap: wrap;
    }

    .service-card p,
    .plan-map-card p,
    .use-case-panel p,
    .portfolio-item p {
        text-align: center;
    }

    .use-tabs {
        display: grid;
        grid-template-columns: 1fr;
    }

    .use-tabs button {
        width: 100%;
    }

    .check-list li {
        align-items: flex-start;
        text-align: left;
    }

    .brand-orbit span {
        min-height: 96px;
        border-radius: 22px;
        font-size: 2.55rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .container {
        width: min(100% - 18px, var(--container));
    }

    .brand-logo {
        height: 32px;
        max-width: 138px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
    }

    .hero {
        padding-top: 96px;
    }

    .page-hero {
        padding-top: 96px;
    }

    h1 {
        font-size: clamp(2.12rem, 12.5vw, 2.55rem);
    }

    .section-heading h2,
    .impact-card h2,
    .cta-card h2,
    .feature-copy h2,
    .brand-card h2,
    .project-card h2 {
        font-size: clamp(1.72rem, 9.4vw, 2.08rem);
    }

    .service-card,
    .impact-card,
    .cta-card,
    .page-hero-panel,
    .path-card,
    .portfolio-detail-card,
    .plan-map-card,
    .use-cases-shell,
    .use-case-panel,
    .about-card,
    .feature-copy,
    .stacked-copy,
    .brand-card,
    .project-card,
    .contact-form,
    .guided-form,
    .portfolio-item,
    .metric-strip div {
        padding: 18px;
        border-radius: 18px;
    }

    .about-card {
        padding-top: 98px;
    }

    .floating-badge {
        left: 50%;
        right: auto;
        width: 116px;
        height: 116px;
        transform: translateX(-50%);
    }

    .floating-badge strong {
        font-size: 2rem;
    }

    .feature-visual {
        min-height: 260px;
        border-radius: 22px;
    }

    .plan-map-board {
        min-width: 0;
        border-radius: 22px;
    }

    .plan-node {
        width: 70px;
        min-height: 60px;
        gap: 4px;
        padding: 7px;
        font-size: 0.58rem;
        border-radius: 15px;
    }

    .plan-node span {
        font-size: 1.1rem;
    }

    .plan-center {
        width: 94px;
        height: 94px;
        box-shadow:
            0 20px 42px rgba(0, 0, 0, 0.22),
            0 0 0 8px rgba(255, 255, 255, 0.1),
            0 0 0 18px rgba(255, 255, 255, 0.06);
    }

    .plan-center strong {
        font-size: 1.55rem;
    }

    .plan-center span {
        display: none;
    }

    .form-insight {
        padding: 12px;
    }

    .choice-grid span {
        min-height: 58px;
        font-size: 0.9rem;
    }
}
