:root {
    --ink: #070b18;
    --panel: #10172a;
    --panel-soft: #151d33;
    --text: #f7fbff;
    --muted: #9aa6ba;
    --cyan: #78d9ff;
    --violet: #a76bf0;
    --gutter: clamp(20px, 5vw, 72px);
    --content: 1180px;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 13%, rgba(72, 153, 219, .13), transparent 31%),
        radial-gradient(circle at 87% 30%, rgba(126, 72, 195, .12), transparent 28%),
        var(--ink);
    font-family: "Bai Jamjuree", system-ui, sans-serif;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgba(140, 205, 245, .1);
    background: rgba(7, 11, 24, .78);
    backdrop-filter: blur(18px);
}

.site-header__inner,
.service-main,
.site-footer__inner {
    width: min(calc(100% - (var(--gutter) * 2)), var(--content));
    margin-inline: auto;
}

.site-header__inner {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo img {
    display: block;
    width: 116px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 36px);
}

.site-nav a {
    color: #b6c1d3;
    font-size: 14px;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--cyan);
}

.site-nav .nav-cta {
    padding: 12px 20px;
    border: 1px solid rgba(126, 214, 255, .72);
    border-radius: 999px;
    color: #fff;
}

.language-switch {
    position: relative;
    flex: 0 0 auto;
}

.language-switch summary {
    min-width: 48px;
    padding: 10px 12px;
    border: 1px solid rgba(126, 214, 255, .34);
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-align: center;
    cursor: pointer;
    list-style: none;
}

.language-switch summary::-webkit-details-marker {
    display: none;
}

.language-switch__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    min-width: 82px;
    padding: 8px;
    border: 1px solid rgba(126, 214, 255, .18);
    border-radius: 16px;
    background: rgba(8, 14, 28, .97);
    box-shadow: 0 20px 55px rgba(0, 0, 0, .35);
}

.language-switch__menu a {
    padding: 8px 10px;
    border-radius: 10px;
    color: #aebbd0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-align: center;
    text-decoration: none;
}

.language-switch__menu a:hover,
.language-switch__menu a:focus-visible,
.language-switch__menu a[aria-current="page"] {
    color: #fff;
    background: rgba(87, 206, 255, .13);
}

.service-main {
    overflow: hidden;
}

.service-hero {
    position: relative;
    display: grid;
    min-height: min(720px, calc(100vh - 88px));
    align-content: center;
    padding: clamp(92px, 12vw, 154px) 0 clamp(82px, 10vw, 126px);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 34px;
    color: #7e8ca2;
    font-size: 12px;
}

.breadcrumb a {
    color: #a9bed3;
    text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
    color: var(--cyan);
}

.service-hero::before {
    position: absolute;
    z-index: -1;
    inset: 8% -20% 0 41%;
    border: 1px solid rgba(121, 210, 252, .13);
    border-radius: 50%;
    background:
        repeating-linear-gradient(90deg, transparent 0 34px, rgba(91, 193, 239, .035) 35px 36px),
        repeating-linear-gradient(0deg, transparent 0 34px, rgba(91, 193, 239, .035) 35px 36px);
    box-shadow: inset 0 0 100px rgba(48, 147, 205, .06);
    content: "";
    transform: perspective(560px) rotateX(64deg) rotateZ(-9deg);
}

.eyebrow {
    margin: 0 0 20px;
    color: var(--cyan);
    font: 700 12px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: .2em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 880px;
    margin-bottom: 28px;
    font-size: clamp(44px, 7vw, 86px);
    line-height: .98;
    letter-spacing: -.04em;
}

.service-lead {
    max-width: 770px;
    margin-bottom: 32px;
    color: #c3ccda;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.58;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 36px;
    padding: 0;
    list-style: none;
}

.tag-list li {
    padding: 9px 13px;
    border: 1px solid rgba(131, 211, 249, .2);
    border-radius: 999px;
    color: #a9dff7;
    background: rgba(91, 169, 213, .055);
    font-size: 12px;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.proof-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 45px;
    color: #7f8ca0;
    font: 600 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.proof-line span {
    position: relative;
}

.proof-line span:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -13px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--cyan);
    content: "";
    transform: translateY(-50%);
}

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    border: 1px solid rgba(133, 220, 255, .75);
    border-radius: 999px;
    background: linear-gradient(112deg, rgba(79, 155, 222, .15), rgba(158, 78, 204, .14));
    box-shadow: 0 14px 35px rgba(0, 0, 0, .2);
    font-weight: 700;
    text-decoration: none;
}

.button:hover,
.button:focus-visible {
    border-color: #fff;
    transform: translateY(-2px);
}

.button--ghost {
    border-color: rgba(151, 166, 190, .3);
    color: #bbc5d5;
    background: transparent;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: clamp(34px, 7vw, 86px);
    padding: clamp(78px, 9vw, 124px) 0;
    border-top: 1px solid rgba(129, 208, 246, .11);
}

.markets {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: clamp(34px, 7vw, 86px);
    padding: clamp(72px, 8vw, 110px) 0;
    border-top: 1px solid rgba(129, 208, 246, .11);
    border-bottom: 1px solid rgba(129, 208, 246, .11);
}

.markets h2 {
    max-width: 760px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
}

.markets > p {
    align-self: center;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.82;
}

.industry-focus {
    padding: clamp(78px, 9vw, 124px) 0;
    border-bottom: 1px solid rgba(129, 208, 246, .11);
}

.industry-focus > h2 {
    max-width: 820px;
    margin-bottom: clamp(34px, 5vw, 58px);
    font-size: clamp(32px, 4.5vw, 54px);
    line-height: 1.08;
}

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

.industry-grid article {
    min-height: 220px;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgba(126, 210, 251, .13);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(22, 34, 58, .82), rgba(12, 18, 34, .9));
}

.industry-grid h3 {
    margin-bottom: 16px;
    color: #eaf8ff;
    font-size: 21px;
}

.industry-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.72;
}

.search-intent {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    gap: clamp(35px, 7vw, 86px);
    padding: clamp(78px, 9vw, 124px) 0;
    border-top: 1px solid rgba(129, 208, 246, .11);
}

.intent-copy h2 {
    margin-bottom: 24px;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.08;
}

.intent-copy > p:last-child {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.82;
}

.decision-grid {
    display: grid;
    gap: 16px;
}

.decision-card {
    padding: clamp(25px, 3vw, 34px);
    border: 1px solid rgba(126, 210, 251, .13);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(22, 34, 58, .86), rgba(12, 18, 34, .86));
}

.decision-card h3 {
    margin-bottom: 18px;
    color: #eaf8ff;
    font-size: 20px;
}

.decision-card ul {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.decision-card li {
    position: relative;
    padding-left: 22px;
    color: #9eabba;
    line-height: 1.58;
}

.decision-card li::before {
    position: absolute;
    top: .66em;
    left: 0;
    width: 8px;
    height: 8px;
    border: 1px solid var(--cyan);
    border-radius: 50%;
    content: "";
}

.content-grid h2,
.process h2,
.faq h2,
.related h2,
.final-cta h2 {
    margin-bottom: 24px;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.08;
}

.prose p,
.process-card p,
.faq-answer,
.related-card p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.outcomes {
    padding: clamp(28px, 4vw, 46px);
    border: 1px solid rgba(126, 210, 251, .13);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(22, 34, 58, .9), rgba(12, 18, 34, .9));
    box-shadow: 0 26px 70px rgba(0, 0, 0, .2);
}

.outcomes h2 {
    font-size: clamp(26px, 3vw, 38px);
}

.outcomes ul {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.outcomes li {
    position: relative;
    padding-left: 28px;
    color: #c8d1df;
    line-height: 1.55;
}

.outcomes li::before {
    position: absolute;
    top: .55em;
    left: 0;
    width: 10px;
    height: 10px;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 14px rgba(120, 217, 255, .55);
    content: "";
}

.process,
.faq,
.related {
    padding: clamp(74px, 9vw, 120px) 0;
    border-top: 1px solid rgba(129, 208, 246, .11);
}

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

.process-card,
.related-card {
    min-height: 230px;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgba(127, 203, 241, .11);
    border-radius: 24px;
    background: rgba(18, 26, 47, .72);
    transition: border-color .25s ease, transform .25s ease;
}

.process-card:hover,
.related-card:hover {
    border-color: rgba(120, 217, 255, .36);
    transform: translateY(-5px);
}

.process-number {
    color: var(--violet);
    font: 700 12px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: .16em;
}

.process-card h3,
.related-card h3 {
    margin: 28px 0 14px;
    font-size: 23px;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    padding: 28px clamp(22px, 4vw, 40px);
    border: 1px solid rgba(128, 205, 242, .11);
    border-radius: 22px;
    background: rgba(16, 23, 42, .72);
}

.faq-item h3 {
    margin-bottom: 11px;
    font-size: 21px;
}

.faq-answer {
    margin-bottom: 0;
}

.related-card {
    display: block;
    min-height: 180px;
    text-decoration: none;
}

.related-card h3 {
    color: var(--cyan);
}

.final-cta {
    margin: clamp(70px, 10vw, 140px) 0;
    padding: clamp(38px, 6vw, 72px);
    border: 1px solid rgba(130, 213, 251, .17);
    border-radius: 34px;
    background:
        radial-gradient(circle at 18% 15%, rgba(81, 180, 231, .18), transparent 34%),
        linear-gradient(125deg, rgba(18, 36, 61, .95), rgba(30, 21, 53, .95));
    text-align: center;
}

.final-cta p {
    max-width: 720px;
    margin: 0 auto 28px;
    color: #b4c0d1;
    font-size: 18px;
    line-height: 1.65;
}

.site-footer {
    border-top: 1px solid rgba(129, 208, 246, .1);
}

.site-footer__inner {
    display: flex;
    min-height: 112px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #7f899b;
    font-size: 13px;
}

.site-footer a {
    color: #aeb9c9;
    text-decoration: none;
}

.telegram-fixed {
    position: fixed;
    z-index: 30;
    right: clamp(14px, 2vw, 30px);
    bottom: clamp(14px, 2vw, 28px);
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 1px solid rgba(143, 221, 255, .7);
    border-radius: 50%;
    background: #2aabee;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .35), 0 0 22px rgba(42, 171, 238, .28);
}

.telegram-fixed svg {
    width: 27px;
    height: 27px;
    fill: #fff;
}

@media (max-width: 820px) {
    .site-header__inner {
        min-height: 76px;
    }

    .site-logo img {
        width: 96px;
    }

    .site-nav a:not(.nav-cta) {
        display: none;
    }

    .site-nav .nav-cta {
        padding: 10px 15px;
    }

    .site-header__inner {
        gap: 12px;
    }

    .site-nav {
        margin-left: auto;
    }

    .language-switch summary {
        min-width: 44px;
        padding: 9px 10px;
    }

    .service-hero {
        min-height: 0;
    }

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

    .search-intent {
        grid-template-columns: 1fr;
    }

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

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

    .industry-grid article {
        min-height: 0;
    }

    .process-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        min-height: 0;
    }

    .site-footer__inner {
        min-height: 140px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}
