*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(calc(100% - 40px), var(--container-width));
    margin-inline: auto;
}

.section {
    padding: 110px 0;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--color-primary-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin-top: 0;
    font-family: var(--font-heading);
    line-height: 1.1;
}

h1 {
    max-width: 780px;
    margin-bottom: 24px;
    font-size: clamp(3rem, 7vw, 6.2rem);
    letter-spacing: -0.06em;
}

h1 span {
    color: var(--color-primary-light);
}

h2 {
    margin-bottom: 22px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    letter-spacing: -0.04em;
}

h3 {
    margin-bottom: 14px;
    font-size: 1.35rem;
}

p {
    color: var(--color-text-muted);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-small);
    background: var(--color-primary);
    color: var(--color-text);
    font-weight: 700;
    transition:
        transform var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.button:hover {
    transform: translateY(-2px);
    background: var(--color-primary-light);
    box-shadow: 0 12px 30px rgba(215, 25, 32, 0.3);
}

.button-secondary {
    border-color: var(--color-border);
    background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
    border-color: var(--color-primary);
    background: rgba(215, 25, 32, 0.12);
}

.button-small {
    min-height: 42px;
    padding-inline: 18px;
    font-size: 0.88rem;
}

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 9, 11, 0.82);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    min-height: var(--header-height);
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.brand-tagline {
    color: var(--color-text-muted);
    font-size: 0.68rem;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-navigation > a:not(.button) {
    color: #d8dde5;
    font-size: 0.92rem;
    font-weight: 600;
    transition: color var(--transition);
}

.main-navigation > a:not(.button):hover {
    color: var(--color-primary-light);
}

.mobile-menu-button {
    display: none;
    width: 46px;
    height: 46px;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);
    background: transparent;
}

.mobile-menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: white;
}

.hero {
    position: relative;
    display: flex;
    min-height: 100vh;
    align-items: center;
    overflow: hidden;
    padding: calc(var(--header-height) + 80px) 0 80px;
    background:
        radial-gradient(circle at 65% 30%, rgba(215, 25, 32, 0.11), transparent 30%),
        linear-gradient(135deg, #08090b, #101319 60%, #08090b);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.17;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-glow-left {
    bottom: 5%;
    left: -10%;
    width: 360px;
    height: 360px;
    background: rgba(215, 25, 32, 0.12);
}

.hero-glow-right {
    top: 20%;
    right: -5%;
    width: 460px;
    height: 460px;
    background: rgba(215, 25, 32, 0.16);
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    align-items: center;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 60px;
}

.hero-description {
    max-width: 700px;
    margin-bottom: 32px;
    font-size: 1.15rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 38px;
}

.hero-services {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-services span {
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: #c4cad3;
    font-size: 0.78rem;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.network-canvas {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.52;
    pointer-events: none;
}

.hero-grid,
.hero-glow {
    z-index: 0;
}

.hero-layout {
    position: relative;
    z-index: 3;
}

.logo-orbit {
    position: relative;
    display: grid;
    width: min(500px, 90vw);
    aspect-ratio: 1;
    place-items: center;
    isolation: isolate;
}

.logo-orbit::before {
    position: absolute;
    z-index: -2;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: rgba(215, 25, 32, 0.22);
    content: "";
    filter: blur(85px);
    animation: logo-glow 4s ease-in-out infinite;
}

.hero-logo {
    position: relative;
    z-index: 3;
    width: 76%;
    object-fit: contain;
    filter:
        drop-shadow(0 0 18px rgba(255, 57, 67, 0.38))
        drop-shadow(0 30px 45px rgba(0, 0, 0, 0.75));
    animation: logo-float 5s ease-in-out infinite;
}

.orbit {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.orbit-one {
    inset: 10%;
    border: 1px solid rgba(255, 57, 67, 0.28);
    border-top-color: rgba(255, 57, 67, 0.9);
    animation: rotate-clockwise 18s linear infinite;
}

.orbit-two {
    inset: 1%;
    border: 1px dashed rgba(255, 255, 255, 0.13);
    border-right-color: rgba(255, 57, 67, 0.55);
    animation: rotate-counterclockwise 28s linear infinite;
}

@keyframes logo-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes logo-glow {
    0%,
    100% {
        opacity: 0.55;
        transform: scale(0.92);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

.section-heading {
    max-width: 760px;
    margin-bottom: 56px;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.solution-icon{
    width:72px;
    height:72px;
    margin-bottom:20px;

    display:flex;
    align-items:center;
    justify-content:center;

    color:var(--color-primary-light);

    transition:.35s ease;
}

.solution-icon svg{
    width:72px;
    height:72px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
}

.solution-card{
    position:relative;

    background:linear-gradient(
        180deg,
        rgba(255,255,255,.02),
        rgba(255,255,255,.01)
    );

    border:1px solid rgba(255,255,255,.08);

    border-radius:22px;

    padding:3rem;

    overflow:hidden;

    transition:
        transform .35s,
        border-color .35s,
        box-shadow .35s;
}

.solution-card:hover{
    transform:translateY(-10px);

    border-color:rgba(255,60,60,.4);

    box-shadow:
        0 25px 60px rgba(0,0,0,.45),
        0 0 30px rgba(255,40,40,.08);
}

.card-number {
    display: block;
    margin-bottom: 18px;
    color: var(--color-primary-light);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.solution-card a {
    display: inline-block;
    margin-top: 18px;
    color: var(--color-primary-light);
    font-weight: 700;
}

.why-max1 {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-background-soft);
}

.split-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
}

.benefit {
    padding: 26px 0;
    border-bottom: 1px solid var(--color-border);
}

.benefit:first-child {
    padding-top: 0;
}

.about {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(215, 25, 32, 0.11),
            transparent 34%
        ),
        var(--color-background);
}

.about::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 72px 72px;
    content: "";
    opacity: 0.22;
    pointer-events: none;
}

.about-layout {
    position: relative;
    z-index: 2;
    display: grid;
    align-items: start;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
}

.about-content {
    position: sticky;
    top: calc(var(--header-height) + 40px);
}

.about-content h2 span {
    display: block;
    color: var(--color-primary-light);
}

.about-lead {
    margin-bottom: 22px;
    color: #d6dbe3;
    font-size: 1.08rem;
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary-light);
    font-weight: 700;
}

.text-link span {
    transition: transform var(--transition);
}

.text-link:hover span {
    transform: translateX(5px);
}

.about-details {
    display: grid;
    gap: 16px;
}

.about-detail {
    display: grid;
    padding: 28px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.012)
        );
    grid-template-columns: auto 1fr;
    gap: 24px;
    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.about-detail:hover {
    transform: translateX(8px);
    border-color: rgba(255, 57, 67, 0.42);
    background:
        linear-gradient(
            145deg,
            rgba(215, 25, 32, 0.11),
            rgba(255, 255, 255, 0.018)
        );
}

.about-detail-number {
    color: var(--color-primary-light);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.about-detail h3 {
    margin-bottom: 10px;
}

.about-detail p {
    margin: 0;
}

.contact {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--color-border);
    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(215, 25, 32, 0.14),
            transparent 34%
        ),
        var(--color-background-soft);
}

.contact-layout {
    display: grid;
    align-items: start;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
}

.contact-content h2 span {
    display: block;
    color: var(--color-primary-light);
}

.contact-lead {
    max-width: 620px;
    margin-bottom: 36px;
    font-size: 1.06rem;
}

.contact-methods {
    display: grid;
    gap: 14px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    background: rgba(255, 255, 255, 0.025);
    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.contact-method:hover {
    transform: translateX(6px);
    border-color: rgba(255, 57, 67, 0.45);
    background: rgba(215, 25, 32, 0.08);
}

.contact-method-icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 57, 67, 0.35);
    border-radius: 12px;
    background: rgba(215, 25, 32, 0.1);
    place-items: center;
}

.contact-method-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--color-primary-light);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-method span {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-method strong {
    font-family: var(--font-heading);
}

.contact-form {
    padding: 38px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.012)
        );
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.form-field label {
    color: #d8dde5;
    font-size: 0.82rem;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    outline: none;
    background: rgba(8, 9, 11, 0.8);
    color: var(--color-text);
    font: inherit;
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.form-field input,
.form-field select {
    min-height: 50px;
    padding: 0 14px;
}

.form-field textarea {
    min-height: 150px;
    padding: 14px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--color-primary-light);
    box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.12);
}

.contact-submit {
    width: 100%;
}

.form-note {
    margin: 14px 0 0;
    font-size: 0.75rem;
    text-align: center;
}

.site-footer {
    padding: 76px 0 24px;
    border-top: 1px solid var(--color-border);
    background: #050607;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 54px;
}

.footer-brand p {
    max-width: 330px;
}

.footer-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h3 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.footer-column a,
.footer-column p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.88rem;
}

.footer-column a:hover {
    color: var(--color-primary-light);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 54px;
    padding-top: 22px;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}

.footer-bottom a {
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

.contact-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 58px;
    border: 1px solid rgba(255, 57, 67, 0.35);
    border-radius: var(--radius-large);
    background:
        linear-gradient(135deg, rgba(215, 25, 32, 0.18), rgba(255, 255, 255, 0.025));
}

.contact-panel > div:first-child {
    max-width: 660px;
}

.contact-actions {
    display: flex;
    min-width: 260px;
    flex-direction: column;
    gap: 14px;
}

.site-footer {
    padding: 34px 0;
    border-top: 1px solid var(--color-border);
    background: #050607;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-inner p {
    margin: 4px 0 0;
    font-size: 0.85rem;
}
.credibility-strip {
    position: relative;
    z-index: 5;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: #090a0d;
}

.credibility-layout {
    padding-top: 28px;
    padding-bottom: 28px;
}

.technology-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--color-border);
    flex-wrap: wrap;
}

.technology-list span {
    color: #d7dce4;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.stat-list {
    display: grid;
    padding-top: 26px;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    padding: 6px 24px;
    border-right: 1px solid var(--color-border);
    text-align: center;
}

.stat-item:last-child {
    border-right: 0;
}

.stat-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--color-primary-light);
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.stat-item span {
    color: var(--color-text-muted);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
@media (prefers-reduced-motion: reduce) {
    .hero-logo,
    .orbit-one,
    .orbit-two,
    .logo-orbit::before {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}
.service-hero {
    position: relative;
    display: flex;
    min-height: 86vh;
    align-items: center;
    overflow: hidden;
    padding: calc(var(--header-height) + 90px) 0 90px;
    background:
        radial-gradient(
            circle at 75% 40%,
            rgba(215, 25, 32, 0.16),
            transparent 30%
        ),
        linear-gradient(135deg, #08090b, #11141a 65%, #08090b);
}

.service-hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px
        );
    background-size: 64px 64px;
}

.service-hero-glow {
    position: absolute;
    top: 20%;
    right: 8%;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: rgba(215, 25, 32, 0.14);
    filter: blur(100px);
}

.service-hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    align-items: center;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
}

.service-hero-content h1 span,
.service-intro h2 span,
.service-faq h2 span {
    display: block;
    color: var(--color-primary-light);
}

.service-hero-lead {
    max-width: 700px;
    margin-bottom: 32px;
    font-size: 1.12rem;
}

.service-hero-panel {
    padding: 38px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.012)
        );
}

.service-hero-icon {
    display: grid;
    width: 90px;
    height: 90px;
    margin-bottom: 34px;
    border: 1px solid rgba(255, 57, 67, 0.4);
    border-radius: 22px;
    background: rgba(215, 25, 32, 0.1);
    place-items: center;
}

.service-hero-icon svg {
    width: 48px;
    height: 48px;
    fill: none;
    stroke: var(--color-primary-light);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-highlight {
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}

.service-highlight:last-child {
    border-bottom: 0;
}

.service-highlight span {
    display: block;
    margin-bottom: 5px;
    color: var(--color-primary-light);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.service-highlight strong {
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

.service-intro {
    background: var(--color-background);
}

.service-intro-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
}

.service-lead {
    color: #d8dde5;
    font-size: 1.1rem;
}

.service-included {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-background-soft);
}

.service-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-feature {
    min-height: 250px;
    padding: 28px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    background: rgba(255, 255, 255, 0.025);
    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.service-feature:hover {
    transform: translateY(-7px);
    border-color: rgba(255, 57, 67, 0.42);
    background: rgba(215, 25, 32, 0.07);
}

.service-feature > span,
.process-step > span {
    display: block;
    margin-bottom: 34px;
    color: var(--color-primary-light);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.service-benefits {
    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(215, 25, 32, 0.08),
            transparent 44%
        );
}

.service-benefit-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.service-benefit {
    padding: 30px;
    border-left: 3px solid var(--color-primary);
    background: rgba(255, 255, 255, 0.025);
}

.service-process {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-background-soft);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.process-step {
    padding: 28px;
    border-top: 1px solid rgba(255, 57, 67, 0.55);
    background: rgba(255, 255, 255, 0.02);
}

.faq-layout {
    display: grid;
    align-items: start;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 90px;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    background: rgba(255, 255, 255, 0.025);
}

.faq-item summary {
    position: relative;
    padding: 22px 58px 22px 24px;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    position: absolute;
    top: 50%;
    right: 24px;
    color: var(--color-primary-light);
    content: "+";
    font-size: 1.5rem;
    transform: translateY(-50%);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin: 0;
    padding: 0 24px 24px;
}

.service-cta {
    background: var(--color-background);
}

.service-cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 54px;
    border: 1px solid rgba(255, 57, 67, 0.35);
    border-radius: var(--radius-large);
    background:
        linear-gradient(
            135deg,
            rgba(215, 25, 32, 0.16),
            rgba(255, 255, 255, 0.02)
        );
}

.service-cta-panel > div {
    max-width: 720px;
}

/* ========================================
   Premium Scrolling Header
======================================== */

.site-header {
    transition:
        min-height 250ms ease,
        background 250ms ease,
        border-color 250ms ease,
        box-shadow 250ms ease;
}

.site-header .header-inner,
.site-header .brand-logo,
.site-header .brand-name,
.site-header .brand-tagline {
    transition:
        min-height 250ms ease,
        width 250ms ease,
        height 250ms ease,
        font-size 250ms ease,
        opacity 250ms ease;
}

.site-header.is-scrolled {
    border-bottom-color: rgba(255, 57, 67, 0.18);
    background: rgba(5, 6, 8, 0.94);
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.35),
        0 1px 0 rgba(255, 57, 67, 0.08);
    backdrop-filter: blur(24px);
}

.site-header.is-scrolled .header-inner {
    min-height: 72px;
}

.site-header.is-scrolled .brand-logo {
    width: 48px;
    height: 48px;
}

.site-header.is-scrolled .brand-name {
    font-size: 0.9rem;
}

.site-header.is-scrolled .brand-tagline {
    opacity: 0.72;
}

.main-navigation > a:not(.button) {
    position: relative;
}

.main-navigation > a:not(.button)::after {
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--color-primary-light);
    content: "";
    opacity: 0;
    transform: scaleX(0);
    transition:
        opacity 200ms ease,
        transform 200ms ease;
}

.main-navigation > a:not(.button):hover::after,
.main-navigation > a:not(.button).is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.main-navigation > a.is-active {
    color: var(--color-primary-light);
}

/* ========================================
   Interactive Solution Cards
======================================== */

.solution-card {
    --mouse-x: 50%;
    --mouse-y: 50%;
    --rotate-x: 0deg;
    --rotate-y: 0deg;

    transform:
        perspective(900px)
        rotateX(var(--rotate-x))
        rotateY(var(--rotate-y))
        translateY(0);

    transform-style: preserve-3d;
    will-change: transform;
}

.solution-card::before {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(
            320px circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 57, 67, 0.16),
            transparent 55%
        );
    content: "";
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.solution-card:hover {
    transform:
        perspective(900px)
        rotateX(var(--rotate-x))
        rotateY(var(--rotate-y))
        translateY(-8px);
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-card > * {
    position: relative;
    z-index: 1;
}

.solution-card .solution-icon {
    transition:
        transform 260ms ease,
        filter 260ms ease;
}

.solution-card:hover .solution-icon {
    transform: translateZ(24px) scale(1.06);
    filter: drop-shadow(0 0 14px rgba(255, 57, 67, 0.35));
}

.solution-card h3,
.solution-card p,
.solution-card a {
    transform: translateZ(12px);
}

@media (prefers-reduced-motion: reduce) {
    .solution-card,
    .solution-card:hover {
        transform: none;
    }

    .solution-card::before {
        display: none;
    }
}

/* ========================================
   Premium Buttons
======================================== */

.button {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    transition:
        transform 220ms ease,
        background 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.button::before {
    position: absolute;
    z-index: -1;
    top: -40%;
    bottom: -40%;
    left: -70%;
    width: 42%;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.28),
            transparent
        );
    content: "";
    transform: skewX(-22deg);
    transition: left 520ms ease;
}

.button:hover {
    transform: translateY(-3px) scale(1.015);
    border-color: var(--color-primary-light);
    background: var(--color-primary-light);
    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.42),
        0 0 28px rgba(255, 57, 67, 0.28);
}

.button:hover::before {
    left: 135%;
}

.button:active {
    transform: translateY(-1px) scale(0.99);
}

.button:focus-visible {
    outline: 3px solid rgba(255, 57, 67, 0.32);
    outline-offset: 4px;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.035);
}

.button-secondary:hover {
    border-color: rgba(255, 57, 67, 0.65);
    background: rgba(215, 25, 32, 0.13);
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.38),
        0 0 24px rgba(255, 57, 67, 0.16);
}

@media (prefers-reduced-motion: reduce) {
    .button,
    .button:hover,
    .button:active {
        transform: none;
    }

    .button::before {
        display: none;
    }
}

/* ========================================
   Interactive Hero Logo
======================================== */

.logo-orbit {
    --logo-rotate-x: 0deg;
    --logo-rotate-y: 0deg;
    --logo-shift-x: 0px;
    --logo-shift-y: 0px;

    transform:
        perspective(1000px)
        rotateX(var(--logo-rotate-x))
        rotateY(var(--logo-rotate-y))
        translate(
            var(--logo-shift-x),
            var(--logo-shift-y)
        );

    transition: transform 180ms ease-out;
    will-change: transform;
}

.logo-orbit.is-resetting {
    transition: transform 500ms ease;
}

.hero-logo {
    transition:
        filter 240ms ease,
        transform 240ms ease;
}

.logo-orbit:hover .hero-logo {
    filter:
        drop-shadow(0 0 26px rgba(255, 57, 67, 0.52))
        drop-shadow(0 34px 50px rgba(0, 0, 0, 0.8));
}

:focus-visible {
    outline: 3px solid var(--color-primary-light);
    outline-offset: 4px;
}

.contact-method:not(a) {
    cursor: default;
}

.contact-method:not(a):hover {
    transform: none;
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-note a {
    color: var(--color-primary-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-status {
    min-height: 1.4em;
    margin: 14px 0 0;
    font-size: 0.9rem;
    text-align: center;
}

.form-status.is-success {
    color: #7fe3a1;
}

.form-status.is-error {
    color: var(--color-primary-light);
}

/* ========================================
   Interactive Service Hero Panel
======================================== */

.service-hero-panel {
    --panel-mouse-x: 50%;
    --panel-mouse-y: 50%;
    --panel-rotate-x: 0deg;
    --panel-rotate-y: 0deg;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition:
        transform 180ms ease-out,
        border-color 260ms ease,
        box-shadow 260ms ease;
    will-change: transform;
}

.service-hero-panel::before {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        360px circle at var(--panel-mouse-x) var(--panel-mouse-y),
        rgba(255, 57, 67, 0.2),
        rgba(255, 57, 67, 0.05) 32%,
        transparent 62%
    );
    content: "";
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.service-hero-panel::after {
    position: absolute;
    top: -80%;
    left: -70%;
    width: 44%;
    height: 240%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.09),
        transparent
    );
    content: "";
    opacity: 0;
    pointer-events: none;
    transform: rotate(20deg);
}

.service-hero-panel.reveal.active {
    transform:
        perspective(1000px)
        rotateX(var(--panel-rotate-x))
        rotateY(var(--panel-rotate-y))
        translateY(0);
}

.service-hero-panel.reveal.active:hover {
    border-color: rgba(255, 57, 67, 0.5);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.48),
        0 0 42px rgba(255, 40, 50, 0.1);
    transform:
        perspective(1000px)
        rotateX(var(--panel-rotate-x))
        rotateY(var(--panel-rotate-y))
        translateY(-6px);
}

.service-hero-panel:hover::before {
    opacity: 1;
}

.service-hero-panel:hover::after {
    animation: service-panel-sheen 850ms ease forwards;
    opacity: 1;
}

.service-hero-panel > * {
    position: relative;
    z-index: 1;
}

.service-hero-icon {
    transition:
        transform 280ms ease,
        background-color 280ms ease,
        box-shadow 280ms ease;
}

.service-hero-panel:hover .service-hero-icon {
    background: rgba(215, 25, 32, 0.18);
    box-shadow: 0 0 28px rgba(255, 57, 67, 0.18);
    transform: translateZ(34px) rotate(-3deg) scale(1.06);
}

.service-highlight {
    transition:
        transform 260ms ease,
        padding-left 260ms ease,
        border-color 260ms ease;
}

.service-hero-panel:hover .service-highlight {
    border-color: rgba(255, 57, 67, 0.2);
    padding-left: 8px;
    transform: translateZ(18px);
}

.service-hero-panel:hover .service-highlight:nth-of-type(3) {
    transition-delay: 35ms;
}

.service-hero-panel:hover .service-highlight:nth-of-type(4) {
    transition-delay: 70ms;
}

@keyframes service-panel-sheen {
    from { left: -70%; }
    to { left: 145%; }
}

@media (prefers-reduced-motion: reduce), (hover: none) {
    .service-hero-panel,
    .service-hero-panel.reveal.active,
    .service-hero-panel.reveal.active:hover {
        transform: none;
    }

    .service-hero-panel::before,
    .service-hero-panel::after {
        display: none;
    }

    .service-hero-panel:hover .service-hero-icon,
    .service-hero-panel:hover .service-highlight {
        padding-left: 0;
        transform: none;
    }
}

/* ========================================
   Legal Pages
======================================== */

.legal-main {
    min-height: 70vh;
}

.legal-hero {
    position: relative;
    overflow: hidden;
    padding: 170px 0 72px;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-background-soft);
}

.legal-hero .container {
    position: relative;
    z-index: 1;
}

.legal-hero h1 {
    margin-bottom: 12px;
    font-size: clamp(2.7rem, 7vw, 5.4rem);
}

.legal-hero p:last-child {
    margin: 0;
    color: var(--color-text-muted);
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.7fr);
    gap: clamp(48px, 8vw, 110px);
    align-items: start;
}

.legal-summary {
    position: sticky;
    top: 130px;
    padding: 28px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);
    background: rgba(255, 255, 255, 0.025);
}

.legal-summary h2 {
    font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.legal-review-note {
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

.legal-content {
    max-width: 780px;
}

.legal-content section {
    padding: 0 0 34px;
    margin-bottom: 34px;
    border-bottom: 1px solid var(--color-border);
}

.legal-content section:last-child {
    margin-bottom: 0;
}

.legal-content h2 {
    margin-bottom: 14px;
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.legal-content a {
    color: var(--color-primary-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-footer {
    padding-top: 24px;
}

@media (max-width: 820px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-summary {
        position: static;
    }

    .legal-hero {
        padding-top: 135px;
    }
}
