@font-face {
    font-family: 'Caldstone';
    src: url('../fonts/caldstone/Caldstone-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* ==============================
   SERVICES — CUSTOM PLATFORM PAGE
   ============================== */

.services-page {
    --services-ink: #17202b;
    --services-muted: #5f6978;
    --services-line: #d9dee5;
    --services-line-strong: #b9c2ce;
    --services-blue: #1558c0;
    --services-blue-dark: #0e4ba9;
    --services-paper: #ffffff;
    --services-soft: #f3f5f8;
    color: var(--services-ink);
    background: var(--services-paper);
}

.services-page h1,
.services-page h2,
.services-page h3,
.services-page p {
    color: inherit;
}

.services-overline {
    margin: 0 0 16px;
    color: var(--services-blue) !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.35;
    text-transform: uppercase;
}

.services-hero {
    position: relative;
    padding: 96px 0 0;
    background-color: var(--services-soft);
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.45) 42%, rgba(255, 255, 255, 0.92) 100%),
        url('../img/sections/services-hero-bg.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.services-hero-inner {
    text-align: center;
}

.services-signature {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 48px;
    color: #6b7583 !important;
    font-family: Consolas, "Courier New", monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.services-signature span {
    display: inline-flex;
    min-width: 36px;
    height: 24px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--services-ink);
    letter-spacing: 0.06em;
}

.services-hero h1 {
    max-width: 1020px;
    margin: 0 auto;
    font-size: clamp(44px, 5.2vw, 70px);
    font-weight: 600;
    letter-spacing: -2px;
    line-height: 1.02;
}

.services-hero-lead {
    max-width: 760px;
    margin: 25px auto 0;
    color: var(--services-muted) !important;
    font-size: 17px;
    line-height: 1.72;
}

.services-hero-actions,
.services-closing-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 33px;
}

.services-action-primary {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 11px 20px;
    color: #ffffff;
    border: 1px solid var(--services-blue);
    border-radius: 3px;
    background: var(--services-blue);
    box-shadow: none;
    font-size: 13px;
    font-weight: 700;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.services-action-primary:hover {
    color: #ffffff;
    border-color: var(--services-blue-dark);
    background: var(--services-blue-dark);
    box-shadow: none;
}

.services-action-secondary {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 8px;
    color: var(--services-ink);
    border-bottom: 1px solid var(--services-ink);
    font-size: 13px;
    font-weight: 700;
}

.services-action-secondary i {
    color: #168b5b;
    font-size: 18px;
}

.services-action-secondary:hover {
    color: var(--services-blue);
    border-color: var(--services-blue);
}

.services-hero-proof {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 76px 0 0;
    padding: 0;
    border-top: 1px solid var(--services-line-strong);
    list-style: none;
    text-align: start;
}

.services-hero-proof li {
    min-height: 96px;
    padding: 23px 24px;
    color: #424d5c;
    border-inline-start: 1px solid var(--services-line);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.55;
}

.services-hero-proof li:first-child {
    border-inline-start: 0;
}

.services-statement {
    padding: 84px 0 90px;
    color: #f6f8fb;
    background: #111820;
}

.services-statement-grid {
    display: grid;
    grid-template-columns: minmax(150px, 0.22fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.services-statement-label {
    margin: 9px 0 0;
    color: #7faee8 !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.services-statement-copy {
    min-width: 0;
}

.services-statement h2 {
    display: grid;
    gap: 14px;
    max-width: 860px;
    margin: 0;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: clamp(30px, 3.8vw, 52px);
    font-weight: 800;
    letter-spacing: -1.4px;
    line-height: 1.06;
}

.services-statement-line {
    display: flex;
    align-items: center;
    gap: 16px;
}

.services-statement-line + .services-statement-line {
    padding-inline-start: 0;
    border-inline-start: 0;
}

.services-statement-no {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 30px;
    padding: 0 13px;
    color: #ff6b5e;
    border: 1px solid rgba(255, 107, 94, 0.55);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.services-statement-phrase {
    white-space: nowrap;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: 1;
}

[lang="fr"] .services-statement h2 {
    font-size: clamp(26px, 3.3vw, 46px);
}

[lang="ar"] .services-statement h2 {
    font-size: clamp(28px, 3.6vw, 48px);
    letter-spacing: -0.4px;
}

.services-statement-intro {
    max-width: 760px;
    margin: 27px 0 0;
    color: #aeb7c4;
    font-size: 15px;
    line-height: 1.75;
}

.services-statement-reasons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 920px;
    margin-top: 44px;
}

.services-statement-reasons section {
    padding: 24px 26px 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.services-statement-reasons section > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 24px;
    padding: 0 8px;
    color: #7faee8;
    border: 1px solid rgba(127, 174, 232, 0.4);
    border-radius: 999px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
}

.services-statement-reasons h3 {
    margin: 18px 0 9px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.services-statement-reasons p {
    margin: 0;
    color: #aeb7c4;
    font-size: 13px;
    line-height: 1.68;
}

.services-statement-promise {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 26px;
    max-width: 920px;
    margin: 34px 0 0;
    padding: 18px 22px;
    border: 1px solid rgba(127, 174, 232, 0.35);
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(127, 174, 232, 0.16), rgba(127, 174, 232, 0.04));
}

.services-statement-promise strong {
    color: #ffffff;
    font-size: 13px;
    line-height: 1.5;
}

.services-statement-promise span {
    color: #c2c9d3;
    font-size: 13px;
    line-height: 1.68;
}

.services-engineering {
    padding: 98px 0 104px;
    background: var(--services-paper);
}

.services-section-heading {
    display: grid;
    grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
    gap: 62px;
    align-items: start;
    margin-bottom: 46px;
}

.services-section-heading h2,
.services-capabilities h2,
.services-stack h2,
.services-ownership h2,
.services-closing h2 {
    margin: 0;
    font-size: clamp(29px, 3vw, 39px);
    font-weight: 600;
    letter-spacing: -0.7px;
    line-height: 1.15;
}

.services-section-heading > div > p,
.services-capabilities header > p:last-child,
.services-stack-copy > p:last-child,
.services-ownership header > p:last-child,
.services-closing div > p:last-child {
    max-width: 720px;
    margin: 15px 0 0;
    color: var(--services-muted);
    font-size: 14px;
    line-height: 1.72;
}

.services-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--services-line-strong);
    border-bottom: 1px solid var(--services-line-strong);
    list-style: none;
}

.services-steps li {
    min-height: 238px;
    padding: 24px 24px 29px;
    border-inline-start: 1px solid var(--services-line);
}

.services-steps li:first-child {
    border-inline-start: 0;
}

.services-steps li > span,
.services-capability-list article > span,
.services-index-num,
.services-solution-index,
.services-ownership li > span {
    color: #778394;
    font-family: Consolas, "Courier New", monospace;
    font-size: 11px;
    font-weight: 700;
}

.services-steps h3 {
    margin: 49px 0 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.services-steps p {
    margin: 0;
    color: var(--services-muted);
    font-size: 13px;
    line-height: 1.65;
}

.services-capabilities {
    display: grid;
    grid-template-columns: minmax(270px, 0.66fr) minmax(0, 1.34fr);
    gap: 92px;
    margin-top: 108px;
}

.services-capability-list {
    border-top: 1px solid var(--services-line-strong);
}

.services-capability-list article {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 0;
    padding: 21px 0 23px;
    border-bottom: 1px solid var(--services-line);
}

.services-capability-list h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.services-capability-list p {
    max-width: 650px;
    margin: 0;
    color: var(--services-muted);
    font-size: 13px;
    line-height: 1.62;
}

.services-stack {
    display: grid;
    grid-template-columns: minmax(270px, 0.66fr) minmax(0, 1.34fr);
    gap: 92px;
    margin-top: 108px;
    padding: 48px 0 0;
    border-top: 1px solid var(--services-line-strong);
}

.services-technology-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--services-line);
    list-style: none;
}

.services-technology-list li {
    padding: 14px 4px;
    color: #303b49;
    border-bottom: 1px solid var(--services-line);
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    font-weight: 700;
}

.services-wordpress-note {
    display: grid;
    grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr);
    gap: 28px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid var(--services-ink);
}

.services-wordpress-note strong {
    font-size: 13px;
    line-height: 1.45;
}

.services-wordpress-note p {
    margin: 0;
    color: var(--services-muted);
    font-size: 13px;
    line-height: 1.62;
}

.services-index {
    border-top: 1px solid var(--services-line);
    background: var(--services-soft);
}

.services-index-head {
    padding-top: 44px;
}

.services-index-note {
    max-width: 640px;
    margin: 0;
    color: var(--services-muted);
    font-size: 14px;
    line-height: 1.68;
}

.services-index-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0 0 48px;
    list-style: none;
}

.services-index-list li {
    min-width: 0;
}

.services-index-list a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 58px;
    padding: 12px 16px;
    color: var(--services-ink);
    border: 1px solid var(--services-line);
    border-radius: 8px;
    background: var(--services-paper);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.services-index-list a:hover {
    color: var(--services-blue);
    border-color: var(--services-blue);
    transform: translateY(-1px);
}

.services-index-list a:hover .services-index-num {
    color: var(--services-blue);
}

.services-index-name {
    min-width: 0;
}

.services-index-arrow {
    color: #9aa3af;
    font-size: 15px;
    font-weight: 400;
    transition: transform 160ms ease, color 160ms ease;
}

.services-index-list a:hover .services-index-arrow {
    color: var(--services-blue);
    transform: translateX(3px);
}

.services-solutions {
    padding: 98px 0 60px;
    background: var(--services-paper);
}

.services-solution-list {
    border-top: 1px solid var(--services-line-strong);
}

.services-solution {
    padding: 58px 0 62px;
    border-bottom: 1px solid var(--services-line-strong);
    scroll-margin-top: 88px;
}

.services-solution-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 44px;
    align-items: end;
    margin-bottom: 34px;
}

.services-solution-head-copy {
    min-width: 0;
}

.services-solution-index {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 15px;
}

.services-solution-index span {
    color: var(--services-blue);
}

.services-solution-index em {
    color: #778394;
    font-family: var(--font);
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.services-solution h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(26px, 2.8vw, 35px);
    font-weight: 600;
    letter-spacing: -0.6px;
    line-height: 1.16;
}

.services-solution-intro {
    max-width: 700px;
    margin: 15px 0 0;
    color: var(--services-muted);
    font-size: 14px;
    line-height: 1.72;
}

.services-solution-cta {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 10px 18px;
    color: var(--services-blue);
    border: 1px solid var(--services-blue);
    border-radius: 3px;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.services-solution-cta:hover {
    color: #ffffff;
    border-color: var(--services-blue-dark);
    background: var(--services-blue-dark);
}

.services-solution-cta > span {
    font-size: 15px;
    font-weight: 400;
}

.services-solution-body {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 56px;
    align-items: start;
}

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

.services-solution-details h3 {
    margin: 0 0 12px;
    color: #364252;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.services-solution-details ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.services-solution-details li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    padding: 13px 15px;
    color: #43505f;
    border: 1px solid var(--services-line);
    border-radius: 8px;
    background: var(--services-paper);
    font-size: 13px;
    line-height: 1.55;
    transition: border-color 160ms ease;
}

.services-solution-details li:hover {
    border-color: var(--services-blue);
}

.services-check {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    margin-top: 1px;
    color: var(--services-blue);
    font-size: 14px;
    line-height: 1;
}

.services-solution-result {
    margin: 34px 0 0;
    padding: 14px 18px;
    color: #3f4b5a !important;
    border-inline-start: 3px solid var(--services-blue);
    border-radius: 0 6px 6px 0;
    background: #eef3fb;
    font-size: 13px;
    line-height: 1.62;
}

.services-solution-result strong {
    color: var(--services-ink);
}

.services-solution-figure {
    margin: 0;
}

.services-solution-figure > a {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid #c7ced7;
    border-radius: 3px;
    background: #111820;
}

.services-solution-figure.is-phone > a {
    aspect-ratio: 4 / 3;
}

.services-solution-figure img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 12px;
    object-fit: contain;
    object-position: center;
}

.services-solution-figure.is-phone img {
    padding: 16px 24px;
}

.services-solution-figure figcaption {
    margin-top: 9px;
    color: #737e8d;
    font-size: 10px;
    line-height: 1.45;
}

.services-ownership {
    padding: 92px 0 96px;
    background: var(--services-paper);
}

.services-ownership-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    gap: 100px;
}

.services-ownership ol {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--services-line-strong);
    list-style: none;
}

.services-ownership li {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 20px 0 22px;
    border-bottom: 1px solid var(--services-line);
}

.services-ownership h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.services-ownership li p {
    margin: 0;
    color: var(--services-muted);
    font-size: 13px;
    line-height: 1.62;
}

.services-closing {
    padding: 68px 0 72px;
    border-top: 1px solid var(--services-line-strong);
    background: var(--services-soft);
}

.services-closing-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 70px;
    align-items: end;
}

.services-closing-actions {
    justify-content: flex-end;
    margin-top: 0;
}

[dir="rtl"] .services-action-primary > span,
[dir="rtl"] .services-solution-cta > span,
[dir="rtl"] .services-index-arrow {
    transform: rotate(180deg);
}

[dir="rtl"] .services-index-list a:hover .services-index-arrow {
    transform: rotate(180deg) translateX(-3px);
}

[dir="rtl"] .services-overline,
[dir="rtl"] .services-statement-label,
[dir="rtl"] .services-solution-index span,
[dir="rtl"] .services-solution-index em {
    letter-spacing: 0;
}

[dir="rtl"] .services-statement h2 {
    font-family: Tahoma, Arial, sans-serif;
    letter-spacing: 0;
}

@media (prefers-reduced-motion: reduce) {
    .brand-mark {
        animation: none;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .brand-mark {
        animation: logoShine 3s ease-in-out infinite;
    }
}

@media (max-width: 1040px) {
    .services-hero-proof,
    .services-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-hero-proof li:nth-child(3),
    .services-steps li:nth-child(3) {
        border-inline-start: 0;
    }

    .services-hero-proof li:nth-child(n + 3) {
        border-top: 1px solid var(--services-line);
    }

    .services-steps li:nth-child(n + 3) {
        border-top: 1px solid var(--services-line);
    }

    .services-capabilities,
    .services-stack,
    .services-ownership-grid {
        grid-template-columns: minmax(240px, 0.58fr) minmax(0, 1.42fr);
        gap: 58px;
    }

    .services-index-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-solution-body {
        gap: 40px;
    }
}

@media (max-width: 820px) {
    .services-statement-grid,
    .services-section-heading,
    .services-capabilities,
    .services-stack,
    .services-solution-head,
    .services-solution-body,
    .services-ownership-grid,
    .services-closing-grid {
        grid-template-columns: 1fr;
    }

    .services-statement-grid,
    .services-section-heading,
    .services-capabilities,
    .services-stack,
    .services-ownership-grid {
        gap: 32px;
    }

    .services-statement-label {
        margin-top: 0;
    }

    .services-capabilities,
    .services-stack {
        margin-top: 82px;
    }

    .services-index-note {
        max-width: 580px;
    }

    .services-solution-head {
        gap: 24px;
        align-items: start;
    }

    .services-solution-body {
        gap: 34px;
    }

    .services-solution-figure {
        max-width: 660px;
    }

    .services-closing-grid {
        gap: 32px;
        align-items: start;
    }

    .services-closing-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .services-hero {
        padding-top: 56px;
    }

    .services-signature {
        margin-bottom: 34px;
    }

    .services-hero h1 {
        font-size: 38px;
        letter-spacing: -1px;
        line-height: 1.05;
    }

    .services-hero-lead {
        margin-top: 20px;
        font-size: 15px;
    }

    .services-hero-actions,
    .services-closing-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        margin-top: 27px;
    }

    .services-action-primary {
        width: 100%;
    }

    .services-hero-proof,
    .services-steps {
        grid-template-columns: 1fr;
        margin-top: 54px;
    }

    .services-hero-proof li,
    .services-steps li {
        min-height: 0;
        padding: 20px 0 22px;
        border-top: 1px solid var(--services-line);
        border-inline-start: 0;
    }

    .services-hero-proof li:first-child,
    .services-steps li:first-child {
        border-top: 0;
    }

    .services-statement {
        padding: 62px 0 66px;
    }

    .services-statement h2 {
        gap: 12px;
        font-size: clamp(17px, 5.2vw, 26px);
        letter-spacing: -0.6px;
        line-height: 1.08;
    }

    .services-statement-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .services-statement-no {
        min-width: 44px;
        height: 26px;
        padding: 0 10px;
        font-size: 11px;
    }

    .services-statement-phrase {
        white-space: nowrap;
    }

    [lang="fr"] .services-statement h2 {
        font-size: clamp(16px, 4.6vw, 24px);
    }

    [lang="ar"] .services-statement h2 {
        font-size: clamp(16px, 4.8vw, 24px);
    }

    .services-statement-intro {
        margin-top: 22px;
        font-size: 14px;
    }

    .services-statement-reasons {
        grid-template-columns: 1fr;
        margin-top: 34px;
    }

    .services-statement-reasons section,
    [dir="rtl"] .services-statement-reasons section {
        padding: 20px 22px 24px;
    }

    .services-statement-reasons h3 {
        margin-top: 16px;
    }

    .services-statement-promise {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .services-engineering,
    .services-solutions,
    .services-ownership {
        padding-top: 66px;
        padding-bottom: 70px;
    }

    .services-section-heading {
        margin-bottom: 32px;
    }

    .services-section-heading h2,
    .services-capabilities h2,
    .services-stack h2,
    .services-ownership h2,
    .services-closing h2 {
        font-size: 27px;
    }

    .services-steps {
        margin-top: 0;
    }

    .services-steps h3 {
        margin-top: 20px;
    }

    .services-capabilities,
    .services-stack {
        margin-top: 70px;
    }

    .services-capability-list article,
    .services-ownership li {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .services-technology-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-wordpress-note {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .services-index-list,
    .services-solution-details {
        grid-template-columns: 1fr;
    }

    .services-index-list {
        gap: 10px;
        padding-bottom: 36px;
    }

    .services-index-head {
        padding-top: 32px;
    }

    .services-solution {
        padding: 44px 0 48px;
    }

    .services-solution h2 {
        font-size: 25px;
    }

    .services-solution-head {
        margin-bottom: 26px;
    }

    .services-solution-cta {
        width: 100%;
    }

    .services-solution-details {
        gap: 25px;
        margin-top: 30px;
    }

    .services-solution-figure figcaption {
        max-width: 300px;
    }

    .services-closing {
        padding: 54px 0 58px;
    }
}

/* ==============================
   PROCESS — BUSINESS-LED DELIVERY
   ============================== */

.process-page {
    --process-ink: #17202b;
    --process-muted: #5f6978;
    --process-line: #d9dee5;
    --process-line-strong: #aeb8c4;
    --process-blue: #1558c0;
    --process-blue-dark: #0e4ba9;
    color: var(--process-ink);
    background: #ffffff;
}

.process-page h1,
.process-page h2,
.process-page h3,
.process-page p {
    color: inherit;
}

.process-overline {
    margin: 0 0 16px;
    color: var(--process-blue) !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.35;
    text-transform: uppercase;
}

.process-hero {
    padding: 92px 0 86px;
    border-bottom: 1px solid var(--process-line);
    background: #f3f5f8;
}

.process-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.58fr);
    gap: clamp(64px, 8vw, 112px);
    align-items: end;
}

.process-hero-copy h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(44px, 5.6vw, 72px);
    font-weight: 600;
    letter-spacing: -2px;
    line-height: 1.03;
}

.process-hero-lead {
    max-width: 730px;
    margin: 26px 0 0;
    color: var(--process-muted) !important;
    font-size: 17px;
    line-height: 1.72;
}

.process-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 34px;
}

.process-action-primary {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 11px 20px;
    color: #ffffff;
    border: 1px solid var(--process-blue);
    border-radius: 3px;
    background: var(--process-blue);
    box-shadow: none;
    font-size: 13px;
    font-weight: 700;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.process-action-primary:hover {
    color: #ffffff;
    border-color: var(--process-blue-dark);
    background: var(--process-blue-dark);
    box-shadow: none;
}

.process-action-link {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    color: var(--process-ink);
    border-bottom: 1px solid var(--process-ink);
    font-size: 13px;
    font-weight: 700;
}

.process-action-link:hover {
    color: var(--process-blue);
    border-color: var(--process-blue);
}

.process-brief {
    border-top: 2px solid var(--process-ink);
    border-bottom: 1px solid var(--process-line-strong);
}

.process-brief > p {
    margin: 0;
    padding: 15px 0 13px;
    color: var(--process-muted) !important;
    border-bottom: 1px solid var(--process-line);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.process-brief ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-brief li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    align-items: baseline;
    padding: 16px 0;
    border-top: 1px solid var(--process-line);
}

.process-brief li:first-child {
    border-top: 0;
}

.process-brief li span {
    color: var(--process-blue);
    font-size: 10px;
    font-weight: 800;
}

.process-brief li strong {
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
}

.process-flow,
.process-collaboration,
.process-delivery {
    padding: 100px 0;
}

.process-collaboration,
.process-delivery {
    border-top: 1px solid var(--process-line);
}

.process-section-intro {
    display: grid;
    grid-template-columns: minmax(150px, 0.3fr) minmax(0, 1fr);
    gap: 54px;
    align-items: start;
}

.process-section-intro .process-overline {
    margin-top: 7px;
}

.process-section-intro h2,
.process-delivery h2,
.process-closing h2 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(32px, 3.6vw, 46px);
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.1;
}

.process-section-intro div > p,
.process-delivery-grid > div > p:last-child,
.process-closing-grid > div > p:last-child {
    max-width: 700px;
    margin: 18px 0 0;
    color: var(--process-muted) !important;
    font-size: 15px;
    line-height: 1.75;
}

.process-timeline {
    margin: 66px 0 0;
    padding: 0;
    border-top: 1px solid var(--process-line-strong);
    list-style: none;
}

.process-timeline > li {
    display: grid;
    grid-template-columns: minmax(100px, 0.24fr) minmax(0, 0.94fr) minmax(280px, 0.82fr);
    gap: clamp(32px, 5vw, 70px);
    align-items: start;
    padding: 48px 0 50px;
    border-bottom: 1px solid var(--process-line);
}

.process-stage-index {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.process-stage-index span {
    color: var(--process-blue);
    font-size: 44px;
    font-variant-numeric: tabular-nums;
    font-weight: 750;
    letter-spacing: -0.06em;
    line-height: 0.9;
}

.process-stage-index small {
    color: var(--process-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.process-stage-copy h2 {
    margin: 0;
    font-size: 25px;
    font-weight: 650;
    letter-spacing: -0.4px;
    line-height: 1.22;
}

.process-stage-copy p {
    margin: 14px 0 0;
    color: var(--process-muted) !important;
    font-size: 14px;
    line-height: 1.72;
}

.process-stage-points {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--process-line);
    list-style: none;
}

.process-stage-points li {
    position: relative;
    padding: 12px 0 12px 18px;
    color: #44505f;
    border-bottom: 1px solid var(--process-line);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

[dir="rtl"] .process-stage-points li {
    padding-right: 18px;
    padding-left: 0;
}

.process-stage-points li::before {
    position: absolute;
    top: 1.55em;
    left: 0;
    width: 6px;
    height: 1px;
    content: "";
    background: var(--process-blue);
}

[dir="rtl"] .process-stage-points li::before {
    right: 0;
    left: auto;
}

.process-principles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 62px;
    border-top: 1px solid var(--process-line-strong);
    border-bottom: 1px solid var(--process-line-strong);
}

.process-principles article {
    min-height: 250px;
    padding: 29px 26px 32px;
    border-inline-start: 1px solid var(--process-line);
}

.process-principles article:first-child {
    border-inline-start: 0;
}

.process-principles article > span {
    color: var(--process-blue);
    font-size: 11px;
    font-weight: 800;
}

.process-principles h3 {
    margin: 55px 0 12px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.process-principles p {
    margin: 0;
    color: var(--process-muted) !important;
    font-size: 13px;
    line-height: 1.68;
}

.process-delivery-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(420px, 0.9fr);
    gap: clamp(60px, 9vw, 130px);
    align-items: start;
}

.process-delivery-grid > ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--process-line-strong);
    list-style: none;
}

.process-delivery-grid > ul li {
    min-height: 88px;
    padding: 18px 20px 20px 0;
    border-bottom: 1px solid var(--process-line);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.55;
}

.process-delivery-grid > ul li:nth-child(even) {
    padding-right: 0;
    padding-left: 20px;
    border-inline-start: 1px solid var(--process-line);
}

[dir="rtl"] .process-delivery-grid > ul li {
    padding-right: 0;
    padding-left: 20px;
}

[dir="rtl"] .process-delivery-grid > ul li:nth-child(even) {
    padding-right: 20px;
    padding-left: 0;
}

.process-closing {
    padding: 76px 0 80px;
    color: #ffffff;
    background: #111820;
}

.process-closing .process-overline {
    color: #7faee8 !important;
}

.process-closing-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 70px;
    align-items: end;
}

.process-closing-grid > div > p:last-child {
    color: #b7c0cc !important;
}

.process-closing-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}

.process-whatsapp-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 700;
}

.process-whatsapp-link i {
    color: #45c982;
    font-size: 19px;
}

.process-whatsapp-link:hover {
    color: #ffffff;
    border-color: #ffffff;
}

@media (max-width: 1040px) {
    .process-hero-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
        gap: 58px;
    }

    .process-timeline > li {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .process-stage-points {
        grid-column: 2;
    }

    .process-principles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-principles article:nth-child(3) {
        border-top: 1px solid var(--process-line);
        border-inline-start: 0;
    }

    .process-principles article:nth-child(4) {
        border-top: 1px solid var(--process-line);
    }
}

@media (max-width: 780px) {
    .process-hero {
        padding: 66px 0 64px;
    }

    .process-hero-grid,
    .process-section-intro,
    .process-delivery-grid,
    .process-closing-grid {
        grid-template-columns: 1fr;
    }

    .process-hero-grid {
        gap: 48px;
    }

    .process-hero-copy h1 {
        font-size: clamp(39px, 10vw, 56px);
        letter-spacing: -1.4px;
    }

    .process-section-intro,
    .process-delivery-grid,
    .process-closing-grid {
        gap: 28px;
    }

    .process-flow,
    .process-collaboration,
    .process-delivery {
        padding: 72px 0;
    }

    .process-section-intro .process-overline {
        margin-top: 0;
    }

    .process-timeline {
        margin-top: 44px;
    }

    .process-closing-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .process-hero-copy h1 {
        font-size: 39px;
    }

    .process-hero-lead {
        font-size: 15px;
    }

    .process-actions,
    .process-closing-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .process-action-primary {
        width: 100%;
    }

    .process-timeline > li {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 36px 0 38px;
    }

    .process-stage-points {
        grid-column: auto;
    }

    .process-principles,
    .process-delivery-grid > ul {
        grid-template-columns: 1fr;
    }

    .process-principles article,
    .process-principles article:nth-child(3),
    .process-principles article:nth-child(4) {
        min-height: 0;
        padding: 26px 0 29px;
        border-top: 1px solid var(--process-line);
        border-inline-start: 0;
    }

    .process-principles article:first-child {
        border-top: 0;
    }

    .process-principles h3 {
        margin-top: 30px;
    }

    .process-delivery-grid > ul li,
    .process-delivery-grid > ul li:nth-child(even),
    [dir="rtl"] .process-delivery-grid > ul li,
    [dir="rtl"] .process-delivery-grid > ul li:nth-child(even) {
        min-height: 0;
        padding: 16px 0 18px;
        border-inline-start: 0;
    }

    .process-closing {
        padding: 58px 0 62px;
    }
}

@font-face {
    font-family: 'Caldstone';
    src: url('../fonts/caldstone/Caldstone-SemiBoldItalic.woff2') format('woff2');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'GameOfSquids';
    src: url('../fonts/game_of_squids/GameOfSquids.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@keyframes logoShine {
    0%, 100% { background-position: -200% center; }
    50% { background-position: 200% center; }
}

:root {
    --bg: #05070a;
    --bg-soft: #080b0f;
    --panel: rgba(8, 12, 18, 0.9);
    --panel-solid: #080c12;
    --panel-alt: #0d1118;
    --line: rgba(255, 255, 255, 0.07);
    --line-strong: rgba(255, 255, 255, 0.13);
    --text: #eef1f6;
    --muted: #8892a4;
    --muted-strong: #b8c0d0;
    --accent: #4a9eff;
    --accent-dark: #2563eb;
    --accent-light: #60b4ff;
    --accent-soft: rgba(74, 158, 255, 0.08);
    --accent-glow: rgba(74, 158, 255, 0.14);
    --gradient: linear-gradient(135deg, #2563eb, #4a9eff);
    --gradient-hover: linear-gradient(135deg, #3b82f6, #60b4ff);
    --danger: #f36b5f;
    --radius: 16px;
    --radius-small: 10px;
    --max: 1160px;
    --font: 'Caldstone', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --font-logo: 'GameOfSquids', 'Caldstone', serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: var(--bg);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.65;
}

[dir="rtl"] body {
    font-family: Tahoma, Arial, sans-serif;
}

body.nav-open {
    overflow: hidden;
}

body.lightbox-open {
    overflow: hidden;
}

img,
svg {
    max-width: 100%;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

::selection {
    color: #04110d;
    background: var(--accent);
}

.site-pattern {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(74, 158, 255, 0.06), transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(74, 158, 255, 0.03), transparent 60%),
        var(--bg);
}

.site-pattern::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.skip-link {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 100;
    transform: translateY(-150%);
    padding: 10px 14px;
    color: #04110d;
    background: var(--accent);
    border-radius: 999px;
}

.skip-link:focus {
    transform: translateY(0);
}

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

/* ==============================
   SITE HEADER
   ============================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 7, 10, 0.88);
    backdrop-filter: blur(24px) saturate(1.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    gap: 20px;
}

/* Brand */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    direction: ltr;
    text-decoration: none;
}

.brand-mark {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 42px;
    padding: 0 12px 0 16px;
    border-radius: 9px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 45%, #1d4ed8 100%);
    background-size: 260% 100%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 66%, 9px 50%, 0 34%);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.28));
    color: #ffffff;
    font-family: var(--font-logo);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.6px;
    line-height: 1;
}

.brand-mark::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 6px 6px;
    pointer-events: none;
}

.brand-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-logo-text {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.1px;
    line-height: 0.9;
}

.brand-logo-line {
    display: block;
    color: var(--text);
}

.brand-logo-line:nth-child(2) {
    color: transparent;
    background: linear-gradient(110deg, #2563eb 0%, #4a9eff 55%, #60b4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand strong {
    display: none;
}

.brand small {
    display: none;
}

/* Desktop Nav */

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: color 180ms ease;
}

.nav-link i {
    font-size: 15px;
}

.nav-link:hover {
    color: var(--text);
}

.nav-link.is-active {
    color: var(--text);
}

.nav-link.is-active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--gradient);
}

[dir="rtl"] .nav-link.is-active::after {
    left: 14px;
    right: 14px;
}

/* Header Actions */

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Language Dropdown */

.lang-dropdown {
    position: relative;
}

.lang-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 32px;
    padding: 0 8px 0 6px;
    color: var(--muted-strong);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.lang-dropdown-trigger:hover {
    color: var(--text);
    border-color: rgba(74, 158, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.lang-dropdown-trigger i {
    font-size: 12px;
    transition: transform 200ms ease;
}

.lang-dropdown.is-open .lang-dropdown-trigger i {
    transform: rotate(180deg);
}

.lang-dropdown-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: block;
}

.lang-dropdown-code {
    pointer-events: none;
}

.lang-dropdown-list {
    position: absolute;
    top: calc(100% + 6px);
    inset-inline-end: 0;
    z-index: 20;
    min-width: 130px;
    padding: 3px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: rgba(10, 14, 18, 0.96);
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.03);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.97);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
    pointer-events: none;
}

.lang-dropdown.is-open .lang-dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    color: var(--muted-strong);
    text-decoration: none;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    transition: color 140ms ease, background 140ms ease;
}

.lang-dropdown-item:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.lang-dropdown-item.is-current {
    color: var(--accent);
}

.lang-dropdown-item-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    flex-shrink: 0;
}

.lang-dropdown-item-name {
    flex: 1;
    min-width: 0;
}

.lang-dropdown-item .ti-check {
    font-size: 11px;
    color: var(--accent);
    flex-shrink: 0;
}

/* Account Icon */

.header-account {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.header-account i {
    font-size: 17px;
}

.header-account:hover,
.header-account.is-active {
    color: var(--text);
    border-color: rgba(74, 158, 255, 0.3);
    background: var(--accent-soft);
}

/* CTA Button - Square with Animation */

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 18px;
    color: #ffffff;
    background: var(--gradient);
    border: none;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 14px rgba(37, 99, 235, 0.28);
    position: relative;
    overflow: hidden;
    transition: box-shadow 200ms ease, transform 200ms ease;
}

.header-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%);
    background-size: 250% 100%;
    background-position: 200% center;
    transition: background-position 0.6s ease;
}

.header-cta:hover {
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.42);
    transform: translateY(-2px);
}

.header-cta:hover::before {
    background-position: -200% center;
    transition: background-position 0.8s ease;
}

/* Hamburger Toggle - Gradient Icon */

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    color: #9ca3af;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(156, 163, 175, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 200ms ease;
}

.nav-toggle:hover {
    color: #d1d5db;
    border-color: rgba(209, 213, 219, 0.34);
    background: rgba(255, 255, 255, 0.065);
    transform: scale(1.08);
}

.nav-toggle:focus-visible {
    outline: 2px solid #9ca3af;
    outline-offset: 3px;
}

.nav-toggle-icon {
    display: block;
    color: inherit;
    font-size: 25px;
    line-height: 1;
}

/* Account icon mobile - only visible on mobile */

.header-account-mobile {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.header-account-mobile i {
    font-size: 17px;
}

.header-account-mobile:hover,
.header-account-mobile.is-active {
    color: var(--text);
    border-color: rgba(74, 158, 255, 0.3);
    background: var(--accent-soft);
}

/* ==============================
   MOBILE SIDE MENU
   ============================== */

.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 89;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 250ms ease, visibility 250ms ease;
}

.mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    width: min(300px, calc(100% - 48px));
    display: flex;
    flex-direction: column;
    background: rgba(8, 12, 16, 0.97);
    border: 0;
    backdrop-filter: blur(24px);
    transform: translateX(104%);
    transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overscroll-behavior: contain;
}

[dir="rtl"] .mobile-menu {
    right: auto;
    left: 0;
    border: 0;
    transform: translateX(-104%);
}

[dir="rtl"] .mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 10px;
    border: 0;
}

.mobile-menu-head .brand {
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.mobile-menu-head .brand-logo-text {
    font-size: 15px;
}

.mobile-menu-head .brand small {
    display: none;
}

.mobile-menu-close {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: var(--muted);
    background: transparent;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    transition: color 160ms ease, border-color 160ms ease;
}

.mobile-menu-close:hover {
    color: var(--text);
    border-color: rgba(74, 158, 255, 0.3);
}

.mobile-menu-close i {
    font-size: 18px;
}

/* Mobile Nav Links */

.mobile-menu-nav {
    display: grid;
    gap: 0;
    padding: 10px 18px 8px;
}

.mobile-menu-link {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 0;
    color: var(--muted-strong);
    border: 0;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    text-decoration: none;
    transition: color 160ms ease;
}

.mobile-menu-link:hover,
.mobile-menu-link.is-active {
    color: var(--text);
    background: transparent;
}

.mobile-menu-link.is-active {
    color: var(--accent-light);
    border: 0;
}

[dir="rtl"] .mobile-menu-link {
    justify-content: flex-start;
    text-align: right;
}

.mobile-menu-link-divider {
    display: none;
}

/* Divider */

.mobile-menu-divider {
    display: none;
}

/* Languages */

.mobile-menu-langs {
    padding: 12px 18px 8px;
}

.mobile-menu-langs-label {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-menu-lang-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px 13px;
}

.mobile-menu-lang {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    padding: 2px 0;
    color: var(--muted);
    text-decoration: none;
    border: 0;
    border-radius: 0;
    font-size: 9px;
    font-weight: 700;
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.mobile-menu-lang img {
    width: 18px;
    height: 13px;
    object-fit: cover;
    border-radius: 2px;
    border: 0;
}

.mobile-menu-lang:hover,
.mobile-menu-lang.is-current {
    color: var(--text);
    border: 0;
    background: transparent;
}

/* Contact Info */

.mobile-menu-contact {
    display: grid;
    gap: 4px;
    padding: 10px 18px;
}

.mobile-menu-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    padding: 7px 0;
    color: var(--muted-strong);
    border: 0;
    border-radius: 0;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: color 160ms ease;
}

.mobile-menu-contact a i {
    font-size: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

.mobile-menu-contact a:hover {
    color: var(--text);
    background: transparent;
}

/* Footer of mobile menu */

.mobile-menu-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    margin-top: auto;
    border: 0;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
}

.mobile-menu-footer i {
    color: #f36b5f;
    font-size: 14px;
}

/* btn base (shared with other pages) */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 16px;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.btn-primary {
    color: #ffffff;
    background: var(--gradient);
    border-color: transparent;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    background: var(--gradient-hover);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.btn-ghost {
    color: var(--text);
    background: transparent;
    border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 92px 0 84px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.1);
    background-color: #edf1f5;
    background-image:
        linear-gradient(rgba(17, 24, 39, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
}

.hero-section::before {
    content: "{ booking }    [ tours ]    PHP    CSS    JS    #travel    data-route";
    position: absolute;
    top: 76px;
    left: 3%;
    width: 94%;
    color: #111827;
    font-family: Consolas, "Courier New", monospace;
    font-size: clamp(28px, 4vw, 58px);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 2.8;
    word-spacing: 1.8em;
    opacity: 0.025;
    pointer-events: none;
    transform: rotate(-5deg);
    transform-origin: center;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    align-items: center;
    gap: 68px;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1 {
    margin: 0;
    max-width: 680px;
    color: var(--text);
    font-family: var(--font);
    font-size: 52px;
    line-height: 1.06;
    letter-spacing: -0.7px;
    font-weight: 600;
}

.hero-copy h1 > span {
    display: block;
    margin-top: 5px;
    color: var(--accent-light);
}

.hero-section .hero-copy h1 {
    color: #111827;
}

.hero-section .hero-copy h1 > span {
    color: #2563eb;
}

.hero-section .hero-copy > p {
    color: #596579;
}

.hero-section .hero-actions .btn-ghost {
    color: #111827;
    border-color: rgba(17, 24, 39, 0.18);
    background: rgba(255, 255, 255, 0.45);
}

.hero-section .hero-actions .btn-ghost:hover {
    color: #1d4ed8;
    border-color: rgba(37, 99, 235, 0.55);
    background: rgba(255, 255, 255, 0.72);
}

.hero-copy p,
.page-hero p {
    max-width: 590px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 30px;
    max-width: 600px;
}

.hero-facts div,
.remote-list div,
.delivery-list div,
.contact-methods a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.hero-facts div {
    color: #3f4b5d;
    font-size: 13px;
}

.hero-facts i,
.remote-list i,
.delivery-list i {
    color: var(--accent);
    font-size: 16px;
}

.hero-section .hero-facts i {
    color: #2563eb;
}

.hero-badges {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.hero-badges img {
    height: 96px;
    width: auto;
    object-fit: contain;
    opacity: 0.92;
    transition: opacity 160ms ease;
}

.hero-badges img:hover {
    opacity: 1;
}

.system-console {
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    background: rgba(8, 12, 13, 0.95);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(74, 158, 255, 0.04);
}

.console-top {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.console-top span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}

.console-top span:first-child {
    background: #ff6b5f;
}

.console-top span:nth-child(2) {
    background: #f4c45b;
}

.console-top span:nth-child(3) {
    background: var(--accent);
}

.console-top strong {
    margin-inline-start: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.console-body {
    display: grid;
    grid-template-columns: 165px minmax(0, 1fr);
    min-height: 420px;
}

.console-side {
    padding: 18px 14px;
    border-inline-end: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.012);
}

.console-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(74, 158, 255, 0.5);
}

.console-profile strong,
.console-profile small {
    display: block;
}

.console-profile strong {
    font-size: 13px;
}

.console-profile small {
    color: var(--muted);
    font-size: 11px;
}

.console-side nav {
    display: grid;
    gap: 6px;
    margin-top: 18px;
}

.console-side nav span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    color: var(--muted);
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 12px;
}

.console-side nav span.is-active {
    color: var(--text);
    border-color: rgba(74, 158, 255, 0.18);
    background: var(--accent-soft);
}

.console-side i {
    font-size: 16px;
}

.console-main {
    padding: 22px;
}

.console-message {
    max-width: 460px;
    margin-inline-start: auto;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.console-message small {
    display: block;
    margin-bottom: 5px;
    color: var(--accent);
    font-weight: 700;
}

.console-message p {
    margin: 0;
    color: var(--muted-strong);
    font-size: 13px;
}

.console-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 155px;
    gap: 16px;
    margin-top: 22px;
}

.console-columns > div {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
}

.console-columns h3 {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
}

.console-columns ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-inline-start: 18px;
    color: var(--muted-strong);
    font-size: 13px;
}

.console-metrics {
    display: grid;
    gap: 8px;
}

.console-metrics div {
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.console-metrics strong,
.console-metrics span {
    display: block;
}

.console-metrics strong {
    color: var(--accent);
    font-size: 20px;
    line-height: 1;
}

.console-metrics span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
}

.console-progress {
    height: 5px;
    margin-top: 22px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.console-progress span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--gradient);
}

.section {
    padding: 80px 0;
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.75fr);
    align-items: end;
    gap: 30px;
    margin-bottom: 34px;
}

.section-head h2,
.split-grid h2,
.proof-grid h2,
.delivery-grid h2,
.contact-grid h2,
.footer-cta h2 {
    margin: 0;
    color: var(--text);
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.3px;
    font-weight: 600;
}

.section-head p,
.split-grid p,
.proof-grid p,
.contact-grid p,
.footer-cta p,
.page-hero p {
    color: var(--muted);
}

.section-head p {
    margin: 0;
    line-height: 1.7;
}

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

.service-card,
.market-card,
.workflow-panel,
.service-detail-card,
.process-card,
.notice,
.inquiry-form {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.service-card,
.market-card {
    padding: 0;
    overflow: hidden;
}

.section-image {
    position: relative;
    display: block;
    overflow: hidden;
    color: var(--text);
    background: #0c1011;
}

.section-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 14px;
    transition: transform 320ms ease, opacity 320ms ease;
}

.section-image span {
    position: absolute;
    inset-inline: 10px;
    bottom: 10px;
    display: grid;
    gap: 2px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(3, 7, 8, 0.8);
    backdrop-filter: blur(14px);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 220ms ease, transform 220ms ease;
}

.section-image:hover span {
    opacity: 1;
    transform: translateY(0);
}

.section-image strong,
.section-image small {
    display: block;
    min-width: 0;
}

.section-image strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
}

.section-image small {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
}

.section-image:hover img {
    transform: scale(1.04);
    opacity: 0.9;
}

.service-card-image {
    height: 220px;
}

.service-card-image.is-phone {
    height: auto;
    min-height: 280px;
    background:
        radial-gradient(circle at center, rgba(74, 158, 255, 0.06), transparent 60%),
        #0c1011;
}

.service-card-image.is-phone img {
    object-fit: contain;
    padding: 16px 20px;
}

.service-card-body {
    padding: 20px 22px 22px;
}

.service-card-horizontal {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    min-height: 320px;
}

.service-card-horizontal .service-card-image {
    height: 100%;
    border-radius: var(--radius) 0 0 var(--radius);
    border-right: 1px solid var(--line);
}

.service-card-horizontal .service-card-image img {
    border-radius: 0;
}

.service-card-horizontal .service-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card h3,
.market-card h3,
.tab-panel h3,
.service-detail-card h2,
.process-card h2 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 17px;
    line-height: 1.3;
    letter-spacing: 0;
    font-weight: 600;
}

.service-card p,
.market-card p,
.tab-panel p,
.service-detail-card p,
.process-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.service-card a,
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
}

.service-card a:hover,
.text-link:hover {
    color: var(--accent-light);
}

[dir="rtl"] .ti-arrow-right {
    transform: rotate(180deg);
}

.split-section {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.012);
}

.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.72fr);
    align-items: start;
    gap: 48px;
}

.split-grid p {
    max-width: 600px;
    margin: 18px 0 0;
    line-height: 1.7;
}

.remote-list {
    display: grid;
    gap: 0;
    margin-top: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.remote-list div {
    padding: 16px 18px;
}

.remote-list div + div {
    border-top: 1px solid var(--line);
}

.workflow-panel {
    padding: 6px;
}

.workflow-stack {
    display: grid;
    gap: 12px;
}

.workflow-line {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border-radius: 12px;
}

.workflow-line + .workflow-line {
    border-top: 1px solid var(--line);
}

.workflow-line span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--accent);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
}

.workflow-line p {
    margin: 0;
}

.management-preview {
    height: auto;
    min-height: 180px;
    max-height: 240px;
}

.tabs-layout .section-head {
    grid-template-columns: minmax(0, 0.78fr) minmax(300px, 0.7fr);
}

.system-tabs {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 14px;
}

.tab-buttons {
    display: grid;
    gap: 8px;
}

.tab-buttons button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    color: var(--muted);
    text-align: start;
    background: rgba(255, 255, 255, 0.018);
    border: 1px solid var(--line);
    border-radius: 14px;
    cursor: pointer;
    font-weight: 600;
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.tab-buttons button .tab-num {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.tab-buttons button.is-active,
.tab-buttons button:hover {
    color: var(--text);
    border-color: rgba(74, 158, 255, 0.3);
    background: var(--accent-soft);
}

.tab-buttons button.is-active .tab-num {
    color: #ffffff;
    border-color: transparent;
    background: var(--gradient);
}

.tab-panels {
    min-height: 300px;
}

.tab-panel {
    display: none;
    height: 100%;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.tab-panel.is-active {
    display: block;
}

.tab-panel h3 {
    font-size: 22px;
}

.point-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.point-row span {
    padding: 7px 12px;
    color: var(--muted-strong);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    font-size: 13px;
}

.proof-section {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.proof-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.68fr);
    gap: 48px;
}

.proof-grid p {
    max-width: 640px;
    margin: 18px 0 0;
    line-height: 1.7;
}

.proof-stack {
    display: grid;
    gap: 10px;
}

.proof-stack div {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.018);
}

.proof-stack strong {
    color: var(--accent);
    font-size: 22px;
    line-height: 1;
    font-weight: 600;
}

.proof-stack span {
    color: var(--muted-strong);
    font-size: 14px;
}

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

.market-card {
    min-height: auto;
    padding: 26px 24px;
}

.market-card .market-num {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
}

.market-card:hover .market-num {
    color: var(--accent);
    border-color: rgba(74, 158, 255, 0.3);
}

.contact-band {
    padding-bottom: 96px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(420px, 0.9fr);
    align-items: start;
    gap: 34px;
}

.contact-grid > div:first-child {
    position: sticky;
    top: 104px;
}

.inquiry-form {
    display: grid;
    gap: 16px;
    padding: 24px;
}

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

label {
    display: grid;
    gap: 8px;
    color: var(--muted-strong);
    font-size: 13px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    color: var(--text);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: none;
    transition: border-color 180ms ease;
}

input,
select {
    min-height: 44px;
    padding: 0 14px;
}

textarea {
    resize: vertical;
    min-height: 130px;
    padding: 13px 14px;
}

select {
    color-scheme: dark;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(74, 158, 255, 0.5);
}

::placeholder {
    color: rgba(200, 210, 205, 0.4);
}

.form-submit {
    justify-self: start;
}

.page-hero {
    padding: 80px 0 48px;
    border-bottom: 1px solid var(--line);
}

.page-hero-inner {
    max-width: 880px;
}

.service-detail-list {
    display: grid;
    gap: 18px;
}

.service-detail-card {
    padding: 28px;
    scroll-margin-top: 96px;
}

.service-detail-card:target {
    border-color: rgba(74, 158, 255, 0.45);
}

.service-detail-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: start;
}

.service-detail-head .detail-icon {
    display: none;
}

.service-detail-head h2 {
    margin-top: 0;
}

.service-detail-visual {
    height: auto;
    min-height: 260px;
    max-height: 440px;
    margin-top: 22px;
}

.service-detail-visual.is-phone {
    height: auto;
    min-height: 440px;
    max-height: 620px;
    background:
        radial-gradient(circle at 50% 46%, rgba(74, 158, 255, 0.06), transparent 42%),
        rgba(255, 255, 255, 0.02);
}

.service-detail-visual.is-phone img {
    object-fit: contain;
    padding: 20px 24px;
}

.service-detail-horizontal .service-detail-split {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 0;
}

.service-detail-horizontal .service-detail-visual {
    margin-top: 0;
    border-radius: var(--radius) 0 0 var(--radius);
    border-right: 1px solid var(--line);
}

.service-detail-horizontal .service-detail-visual img {
    border-radius: 0;
}

.service-detail-horizontal .service-detail-split-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 28px 28px 32px;
}

.service-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.service-columns > div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.018);
}

.service-columns h3 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
}

.service-columns ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-inline-start: 18px;
    color: var(--muted-strong);
    font-size: 14px;
}

.process-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.62fr) minmax(420px, 0.9fr);
    gap: 42px;
    align-items: start;
}

.sticky-head {
    position: sticky;
    top: 104px;
    display: block;
    margin: 0;
}

.sticky-head p {
    margin-top: 16px;
    line-height: 1.7;
}

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

.process-card {
    position: relative;
    padding: 26px;
}

.process-card .step-num {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 14px;
}

.process-card:hover .step-num {
    color: var(--accent);
    border-color: rgba(74, 158, 255, 0.3);
}

.process-card > span {
    position: absolute;
    top: 22px;
    inset-inline-end: 24px;
    color: rgba(255, 255, 255, 0.08);
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.delivery-section {
    border-top: 1px solid var(--line);
}

.delivery-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.68fr) minmax(420px, 0.9fr);
    gap: 36px;
}

.delivery-list {
    display: grid;
    gap: 10px;
}

.delivery-list div {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.018);
}

/* ── Contact hero (dark with bg image) ────────────────────────────── */
.contact-hero-dark {
    position: relative;
    background-color: #0a0e18;
    background-image:
        linear-gradient(180deg, rgba(10, 14, 24, 0.88) 0%, rgba(10, 14, 24, 0.78) 50%, rgba(10, 14, 24, 0.92) 100%),
        url('../img/sections/services-hero-bg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.contact-hero-dark-inner {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 96px 0 72px;
}

.contact-hero-dark h1 {
    max-width: 640px;
    margin: 0 auto;
    color: #ffffff;
    font-size: clamp(34px, 4.4vw, 56px);
    font-weight: 600;
    letter-spacing: -1.5px;
    line-height: 1.06;
}

.contact-hero-dark p {
    max-width: 560px;
    margin: 20px auto 0;
    color: #8899b0;
    font-size: 17px;
    line-height: 1.72;
}

.contact-hero-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 4vw, 52px);
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-hero-badges img {
    height: 90px;
    width: auto;
    object-fit: contain;
    opacity: 0.92;
    transition: opacity 160ms ease;
}

.contact-hero-badges img:hover {
    opacity: 1;
}

/* ── Contact form band (grey coding pattern) ─────────────────────── */
.contact-form-band {
    position: relative;
    padding: 80px 0 88px;
    color: #0f172a;
    background-color: #eef0f4;
    background-image:
        radial-gradient(circle, #c4cad4 1px, transparent 1px);
    background-size: 20px 20px;
}

.contact-form-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(238, 240, 244, 0.92) 0%, rgba(238, 240, 244, 0.6) 50%, rgba(238, 240, 244, 0.92) 100%);
    pointer-events: none;
}

.contact-form-band > * {
    position: relative;
    z-index: 1;
}

.contact-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.55fr) minmax(440px, 1fr);
    align-items: start;
    gap: 56px;
}

.contact-form-copy {
    position: sticky;
    top: 104px;
}

.contact-form-copy h2 {
    max-width: 400px;
    margin: 0;
    color: #0f172a;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.contact-form-copy > p {
    max-width: 420px;
    margin: 18px 0 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.75;
}

.contact-copy-methods {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.contact-copy-methods a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: #334155;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 160ms ease;
}

.contact-copy-methods a:hover {
    border-color: #2563eb;
}

.contact-copy-methods i {
    color: #2563eb;
    font-size: 20px;
}

/* ── Form card ────────────────────────────────────────────────────── */
.contact-form-card {
    padding: 32px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #ffffff;
}

.contact-form-card label {
    color: #334155;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
    color: #0f172a;
    background: #f8fafc;
    border-color: #d1d5db;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
    color: #94a3b8;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
    border-color: #2563eb;
    outline: none;
}

.contact-form-card select {
    color-scheme: light;
}

.contact-form-card .project-type-option {
    color: #475569;
    border-color: #d1d5db;
    background: #f8fafc;
}

.contact-form-card .project-type-option:hover,
.contact-form-card .project-type-option:has(input:checked) {
    border-color: #2563eb;
    background: #eff6ff;
    color: #0f172a;
}

.contact-form-card .project-country-trigger {
    color: #0f172a;
    background: #f8fafc;
    border-color: #d1d5db;
}

.contact-form-card .project-country-list {
    background: #ffffff;
    border-color: #d1d5db;
}

.contact-form-card .project-country-list button {
    color: #475565;
}

.contact-form-card .project-country-list button:hover,
.contact-form-card .project-country-list button:focus,
.contact-form-card .project-country-list button[aria-selected="true"] {
    color: #0f172a;
    background: #eff6ff;
}

.contact-form-card .contact-btn-primary {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: #ffffff;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #2563eb;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 160ms ease;
}

.contact-form-card .contact-btn-primary:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.contact-form-card .contact-btn-primary i {
    font-size: 18px;
}

.contact-form-card .contact-btn-outline {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    color: #475569;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 160ms ease, color 160ms ease;
}

.contact-form-card .contact-btn-outline:hover {
    color: #0f172a;
    border-color: #94a3b8;
}

.contact-form-card .contact-btn-outline i {
    font-size: 18px;
    color: #16a34a;
}

/* ── Contact notices ──────────────────────────────────────────────── */
.contact-notice {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 22px;
    margin-bottom: 22px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #f8fafc;
}

.contact-notice i {
    font-size: 20px;
    margin-top: 2px;
}

.contact-notice strong {
    display: block;
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 15px;
}

.contact-notice p {
    margin: 0 0 8px;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.contact-notice ul {
    margin: 6px 0 0;
    padding-inline-start: 18px;
    color: #475569;
    font-size: 13px;
}

.contact-notice-success i {
    color: #16a34a;
}

.contact-notice-error i {
    color: #dc2626;
}

.contact-notice-error {
    border-color: rgba(220, 38, 38, 0.3);
}

.contact-ref {
    color: #334155 !important;
    font-size: 13px !important;
}

.contact-notice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

/* ── Trust band ───────────────────────────────────────────────────── */
.contact-trust-band {
    padding: 44px 0;
    border-top: 1px solid #e2e5ea;
    background: #ffffff;
}

.contact-trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.contact-trust-cell {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.contact-trust-cell i {
    color: #2563eb;
    font-size: 22px;
    margin-top: 1px;
}

.contact-trust-cell strong {
    display: block;
    margin: 0;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
}

.contact-trust-cell span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

/* Contact — How we build (FAQ toggle) */

.contact-how {
    background: #fff;
    padding: 48px 0;
}

.contact-how-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 36px;
    align-items: start;
}

.contact-how-img {
    border-radius: 12px;
    overflow: hidden;
}

.contact-how-img img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

.contact-how-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.contact-how-lead {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 24px;
}

.contact-how-list {
    margin-bottom: 24px;
}

.contact-how-toggle {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 6px;
    background: #f8fafc;
}

.contact-how-toggle[open] {
    background: #fff;
    border-color: #cbd5e1;
}

.contact-how-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.contact-how-head::-webkit-details-marker { display: none; }
.contact-how-head::marker { display: none; content: ""; }

.contact-how-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #e0e7ff;
    color: #4338ca;
    flex-shrink: 0;
    font-weight: 700;
    transition: transform 180ms ease, background 160ms ease;
}

.contact-how-icon i {
    font-size: 14px;
    line-height: 1;
}

.contact-how-toggle[open] .contact-how-icon {
    background: #4338ca;
    color: #fff;
}

.contact-how-body {
    padding: 0 14px 14px 46px;
}

.contact-how-body p {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.7;
    color: #475569;
}

.contact-how-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #4338ca;
    text-decoration: none;
    transition: color 140ms ease;
}

.contact-how-link:hover {
    color: #2563eb;
}

.contact-how-link i { font-size: 12px; }

.contact-how-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 160ms ease;
}

.contact-how-btn:hover {
    background: #1d4ed8;
}

[dir="rtl"] .contact-how-head {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact-how-body {
    padding: 0 46px 14px 14px;
}

@media (max-width: 768px) {
    .contact-how {
        padding: 32px 0;
    }

    .contact-how-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-how-img {
        max-width: 280px;
        margin: 0 auto;
    }

    .contact-how-content h2 {
        font-size: 19px;
    }
}

/* ── FAQs page (full light theme) ─────────────────────────────────── */

.faqs-page {
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --panel: #ffffff;
    --panel-solid: #ffffff;
    --panel-alt: #f1f5f9;
    --line: #e2e8f0;
    --line-strong: #cbd5e1;
    --text: #0f172a;
    --muted: #475569;
    --muted-strong: #334155;
    --accent: #2563eb;
    --accent-dark: #1d4ed8;
    --accent-light: #4a9eff;
    background: #ffffff;
    color: #0f172a;
}

.faqs-hero {
    padding: 72px 0 48px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.faqs-hero h1 {
    margin: 0 0 12px;
    font-size: 40px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.faqs-hero p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    max-width: 600px;
}

.faqs-body {
    padding: 52px 0 72px;
}

.faqs-shell {
    max-width: 780px;
}

.faqs-group {
    margin-bottom: 40px;
}

.faqs-group:last-child {
    margin-bottom: 0;
}

.faqs-group-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    letter-spacing: -0.2px;
}

.faqs-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.faqs-toggle {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    transition: border-color 150ms ease;
}

.faqs-toggle[open] {
    border-color: #cbd5e1;
}

.faqs-question {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.faqs-question::-webkit-details-marker { display: none; }
.faqs-question::marker { display: none; content: ""; }

.faqs-q-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #dbeafe;
    color: #2563eb;
    flex-shrink: 0;
    font-weight: 700;
    transition: background 150ms ease, color 150ms ease;
}

.faqs-q-icon i {
    font-size: 14px;
    line-height: 1;
}

.faqs-toggle[open] .faqs-q-icon {
    background: #2563eb;
    color: #ffffff;
}

.faqs-answer {
    padding: 0 14px 14px 46px;
}

.faqs-answer p {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: #475569;
}

.faqs-answer a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(37, 99, 235, 0.3);
    text-underline-offset: 2px;
    transition: text-decoration-color 140ms ease;
}

.faqs-answer a:hover {
    text-decoration-color: #2563eb;
}

.faqs-cta {
    margin-top: 52px;
    padding: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    text-align: center;
}

.faqs-cta h3 {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.faqs-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.faqs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 150ms ease, color 150ms ease;
}

.faqs-btn-primary {
    background: #2563eb;
    color: #ffffff;
}

.faqs-btn-primary:hover {
    background: #1d4ed8;
}

.faqs-btn-ghost {
    background: transparent;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.faqs-btn-ghost:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

[dir="rtl"] .faqs-question {
    flex-direction: row-reverse;
}

[dir="rtl"] .faqs-answer {
    padding: 0 46px 14px 14px;
}

@media (max-width: 640px) {
    .faqs-hero {
        padding: 48px 0 32px;
    }

    .faqs-hero h1 {
        font-size: 28px;
    }

    .faqs-hero p {
        font-size: 14px;
    }

    .faqs-body {
        padding: 32px 0 48px;
    }

    .faqs-group-title {
        font-size: 15px;
    }

    .faqs-question {
        font-size: 13px;
        padding: 10px 12px;
    }

    .faqs-answer {
        padding: 0 12px 12px 44px;
    }

    .faqs-answer p {
        font-size: 13px;
    }

    .faqs-cta {
        padding: 28px 20px;
    }

    .faqs-cta-actions {
        flex-direction: column;
    }

    .faqs-btn {
        width: 100%;
        justify-content: center;
    }
}

.notice {
    margin-bottom: 16px;
    padding: 20px;
}

.notice h2 {
    margin: 0 0 8px;
    font-size: 18px;
}

.notice p {
    margin: 0 0 12px;
}

.notice ul {
    margin: 8px 0 0;
    padding-inline-start: 18px;
}

.notice-success {
    border-color: rgba(74, 158, 255, 0.35);
}

.notice-error {
    border-color: rgba(243, 107, 95, 0.45);
}

.notice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.015);
}

.footer-cta {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 42px 0;
    border-bottom: 1px solid var(--line);
}

.footer-cta p {
    max-width: 640px;
    margin: 12px 0 0;
}

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

.footer-project-request {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
    padding: 64px 0;
    border-bottom: 1px solid var(--line);
}

.footer-project-request-copy {
    padding-top: 8px;
}

.footer-project-request-copy > span {
    display: block;
    margin-bottom: 14px;
    color: var(--accent-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-project-request-copy h2 {
    max-width: 480px;
    margin: 0;
    color: var(--text);
    font-size: clamp(30px, 3.3vw, 44px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.footer-project-request-copy > p {
    max-width: 480px;
    margin: 20px 0 0;
    color: var(--muted);
    line-height: 1.75;
}

.footer-project-request-note {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 11px;
    max-width: 480px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.footer-project-request-note i {
    color: var(--accent-light);
    font-size: 20px;
}

.footer-project-request-note p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.footer-project-request-note strong {
    color: var(--muted-strong);
}

.footer-project-request-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.footer-project-request-actions .btn {
    white-space: nowrap;
}

.project-request-form {
    position: relative;
    gap: 20px;
    padding: 28px;
    border-color: var(--line-strong);
    border-radius: 14px;
    box-shadow: none;
}

.form-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.project-request-form label > span,
.project-phone-label > span:first-child,
.project-type-fieldset legend {
    color: var(--muted-strong);
    font-size: 12px;
    font-weight: 800;
}

.project-request-form label > span b,
.project-phone-label > span:first-child b,
.project-type-fieldset legend b {
    color: var(--danger);
    font-weight: 800;
}

.project-request-form small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
}

.project-phone-row {
    display: grid;
    grid-template-columns: minmax(205px, 0.82fr) minmax(210px, 1.18fr);
    gap: 10px;
}

.project-phone-label {
    display: grid;
    gap: 8px;
}

.project-phone-country {
    position: relative;
    display: block;
}

.project-phone-country select {
    display: block;
}

.project-phone-country select.is-customized {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.project-country-trigger {
    display: grid;
    width: 100%;
    min-height: 44px;
    grid-template-columns: 22px minmax(0, 1fr) auto 15px;
    align-items: center;
    gap: 8px;
    padding: 0 11px;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    cursor: pointer;
    text-align: start;
}

.project-country-trigger[hidden],
.project-country-list[hidden] {
    display: none;
}

.project-country-trigger img,
.project-country-list img {
    display: block;
    flex: 0 0 auto;
    border: 0;
    border-radius: 2px;
    object-fit: cover;
}

.project-country-trigger > span {
    overflow: hidden;
    color: var(--muted-strong);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-country-trigger > small {
    color: var(--muted);
    font-size: 9px;
    white-space: nowrap;
}

.project-country-trigger > i {
    color: var(--muted);
    font-size: 14px;
    transition: transform 160ms ease;
}

.project-phone-country.is-open .project-country-trigger {
    border-color: rgba(74, 158, 255, 0.5);
}

.project-phone-country.is-open .project-country-trigger > i {
    transform: rotate(180deg);
}

.project-country-list {
    position: absolute;
    z-index: 40;
    top: calc(100% + 6px);
    inset-inline-start: 0;
    display: grid;
    width: min(280px, calc(100vw - 48px));
    max-height: 250px;
    padding: 6px;
    overflow-y: auto;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: #0b0f15;
}

.project-country-list button {
    display: grid;
    width: 100%;
    min-height: 32px;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 5px 7px;
    color: var(--muted-strong);
    border: 0;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    text-align: start;
}

.project-country-list button:hover,
.project-country-list button:focus,
.project-country-list button[aria-selected="true"] {
    color: var(--text);
    background: var(--accent-soft);
    outline: none;
}

.project-country-list button span {
    overflow: hidden;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-country-list button small {
    color: var(--muted);
    font-size: 9px;
    white-space: nowrap;
}

.project-type-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.project-type-fieldset legend {
    margin-bottom: 9px;
    padding: 0;
}

.project-type-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.project-type-option {
    display: flex;
    min-width: 0;
    min-height: 42px;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    color: var(--muted-strong);
    border: 1px solid var(--line);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.018);
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.project-type-option:hover,
.project-type-option:has(input:checked) {
    border-color: rgba(74, 158, 255, 0.42);
    background: var(--accent-soft);
}

.project-type-option input {
    width: 16px;
    height: 16px;
    min-height: 0;
    margin: 0;
    flex: 0 0 auto;
    accent-color: var(--accent);
}

.project-type-option span {
    min-width: 0;
    color: inherit !important;
    font-size: 11px !important;
    line-height: 1.35;
}

.project-recaptcha {
    min-height: 78px;
    overflow: hidden;
}

.project-request-submit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
}

.project-request-submit p {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 330px;
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

.project-request-submit p i {
    color: var(--accent-light);
    font-size: 15px;
}

.footer-body {
    padding: 34px 0 0;
}

.footer-top {
    display: flex;
    gap: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.footer-brand-col {
    flex: 0 0 260px;
}

.footer-brand-col p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 10px 0 0;
}

.footer-solutions-col {
    flex: 1;
    min-width: 0;
}

.footer-solutions-col h3,
.footer-mid-group h3 {
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 800;
    color: var(--muted-strong);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-solutions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 18px;
}

.footer-solutions-list span {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
    white-space: nowrap;
    padding: 2px 0;
}

.footer-brand {
    margin-bottom: 0;
}

.footer-brand .brand-logo-text {
    font-size: 14px;
}

.footer-brand small {
    margin-top: 0;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.footer-social a {
    display: grid;
    width: 34px;
    height: 34px;
    margin: 0;
    place-items: center;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 15px;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.footer-social a:hover {
    color: #ffffff;
    border-color: var(--accent);
    background: var(--accent);
}

.footer-social a i {
    color: inherit;
    font-size: 15px;
}

.footer-mid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.footer-mid-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-mid-group {
    min-width: 120px;
}

.footer-mid-group a {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
    transition: color 180ms ease;
}

.footer-mid-group a:hover {
    color: var(--accent);
}

.footer-mid-group a i {
    font-size: 13px;
    color: var(--accent);
    flex-shrink: 0;
}

.footer-partner {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
}

.footer-partner-lg {
    font-size: 14px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.04em;
}

.footer-payment-block {
    flex-shrink: 0;
}

.footer-payment-block strong {
    display: block;
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 800;
    color: var(--muted-strong);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-payment-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-payment-icons img {
    height: 44px;
    width: auto;
    object-fit: contain;
    transition: opacity 200ms ease;
}

.footer-whatsapp-cta {
    margin-top: 10px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    font-size: 11px;
    font-weight: 700;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    color: var(--muted);
    font-size: 12px;
}

.footer-made-by {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-made-by i {
    color: #f36b5f;
    font-size: 13px;
}

@media (max-width: 900px) {
    .footer-top {
        flex-direction: column;
        gap: 24px;
    }

    .footer-brand-col {
        flex: none;
    }

    .footer-mid {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .footer-mid-links {
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .footer-mid-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px 16px;
    }

    .footer-mid-group {
        min-width: 0;
    }
}

@media (max-width: 1060px) {
    .hero-copy h1,
    .page-hero h1 {
        font-size: 40px;
    }

    .hero-grid,
    .contact-grid,
    .contact-form-layout,
    .process-layout,
    .delivery-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid > div:first-child,
    .contact-form-copy,
    .sticky-head {
        position: static;
    }

    .system-console {
        max-width: 740px;
    }

    .service-grid,
    .market-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .service-card-horizontal .service-card-image {
        height: 240px;
        border-right: 0;
        border-radius: var(--radius) var(--radius) 0 0;
        border-bottom: 1px solid var(--line);
    }

    .service-detail-horizontal .service-detail-split {
        grid-template-columns: 1fr;
    }

    .service-detail-horizontal .service-detail-visual {
        min-height: 320px;
        border-right: 0;
        border-radius: var(--radius) var(--radius) 0 0;
        border-bottom: 1px solid var(--line);
    }

    .service-detail-horizontal .service-detail-split-content {
        padding: 24px;
    }
}

@media (max-width: 860px) {
    .header-inner {
        min-height: 64px;
    }

    .brand-slug {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .header-account {
        display: none;
    }

    .header-account-mobile {
        display: flex;
    }

    .nav-toggle {
        display: grid;
    }

    .section-head,
    .tabs-layout .section-head,
    .split-grid,
    .proof-grid,
    .system-tabs,
    .footer-cta {
        grid-template-columns: 1fr;
    }

    .section-head {
        align-items: start;
    }

    .console-body {
        grid-template-columns: 1fr;
    }

    .console-side {
        border-inline-end: 0;
        border-bottom: 1px solid var(--line);
    }

    .console-side nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-cta {
        display: grid;
    }

    .footer-project-request {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-project-request-copy h2,
    .footer-project-request-copy > p,
    .footer-project-request-note {
        max-width: 720px;
    }

}

@media (max-width: 640px) {
    body {
        font-size: 14px;
    }

    .shell {
        width: min(var(--max), calc(100% - 28px));
    }

    .lang-dropdown-trigger {
        height: 28px;
        padding: 0 6px 0 5px;
    }

    .lang-dropdown-flag {
        width: 18px;
        height: 13px;
    }

    .lang-dropdown-code {
        display: none;
    }

    .lang-dropdown-list {
        min-width: 120px;
        padding: 2px;
    }

    .hero-section {
        padding: 62px 0 48px;
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: 32px;
        line-height: 1.1;
    }

    .hero-copy p,
    .page-hero p {
        font-size: 15px;
    }

    .hero-eyebrow {
        margin-bottom: 16px;
    }

    .hero-facts {
        gap: 8px 16px;
    }

    .hero-badges {
        gap: 14px;
        margin-top: 22px;
        padding-top: 18px;
    }

    .hero-badges img {
        height: 64px;
    }

    .section {
        padding: 52px 0;
    }

    .section-head h2,
    .split-grid h2,
    .proof-grid h2,
    .delivery-grid h2,
    .contact-grid h2,
    .footer-cta h2 {
        font-size: 23px;
    }

    .service-grid,
    .market-grid,
    .form-grid,
    .service-columns {
        grid-template-columns: 1fr;
    }

    .footer-project-request {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 48px 0;
    }

    .footer-project-request-actions {
        justify-content: flex-start;
    }

    .footer-project-request-copy h2 {
        font-size: 30px;
    }

    .project-request-form {
        padding: 18px;
    }

    .project-phone-row,
    .project-type-options {
        grid-template-columns: 1fr;
    }

    .project-recaptcha .g-recaptcha {
        transform: scale(0.84);
        transform-origin: top left;
    }

    [dir="rtl"] .project-recaptcha .g-recaptcha {
        transform-origin: top right;
    }

    .contact-hero {
        padding-top: 56px;
    }

    .contact-hero-dark-inner {
        padding: 56px 0 52px;
    }

    .contact-hero-dark h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .contact-hero-dark p {
        font-size: 15px;
    }

    .contact-hero-badges {
        gap: 20px;
        flex-wrap: wrap;
        margin-top: 36px;
        padding-top: 28px;
    }

    .contact-hero-badges img {
        height: 64px;
    }

    .contact-form-band {
        padding: 42px 0 48px;
    }

    .contact-form-copy h2 {
        font-size: 26px;
    }

    .contact-form-card {
        padding: 20px;
    }

    .contact-trust-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .console-main,
    .service-detail-card,
    .process-card,
    .inquiry-form {
        padding: 18px;
    }

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

    .console-side nav {
        grid-template-columns: 1fr;
    }

    .system-console {
        border-radius: 14px;
    }

    .service-card-image {
        height: 180px;
    }

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

    .service-card-horizontal .service-card-image {
        height: 220px;
        border-right: 0;
        border-radius: var(--radius) var(--radius) 0 0;
        border-bottom: 1px solid var(--line);
    }

    .service-detail-visual {
        min-height: 200px;
        max-height: 320px;
    }

    .service-detail-visual.is-phone {
        min-height: 320px;
        max-height: 480px;
    }

    .service-detail-horizontal .service-detail-split {
        grid-template-columns: 1fr;
    }

    .service-detail-horizontal .service-detail-visual {
        min-height: 280px;
        border-right: 0;
        border-radius: var(--radius) var(--radius) 0 0;
        border-bottom: 1px solid var(--line);
    }

    .service-detail-horizontal .service-detail-split-content {
        padding: 20px;
    }

    .management-preview {
        height: 180px;
    }

    .proof-stack div {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .footer-bottom {
        display: grid;
    }

    .chat-widget {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
    }

    .chat-widget-text {
        display: none;
    }

    .chat-widget-img {
        width: 46px;
        height: 46px;
    }
}

/* ==============================
   HERO TECHNOLOGY VISUAL
   ============================== */

.hero-visual {
    position: relative;
    width: min(100%, 470px);
    min-height: 460px;
    justify-self: end;
    direction: ltr;
    isolation: isolate;
}

.hero-visual-glow {
    position: absolute;
    inset: 72px 46px 54px;
    z-index: -2;
    border-radius: 50%;
    background: rgba(74, 158, 255, 0.17);
    filter: blur(72px);
}

.hero-preview {
    position: absolute;
    top: 66px;
    inset-inline-start: 46px;
    width: 380px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    background: #0b1017;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), 0 0 34px rgba(74, 158, 255, 0.08);
}

.hero-preview-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 35px;
    padding: 0 12px;
    border-bottom: 1px solid var(--line);
    background: #0d131c;
}

.hero-preview-bar > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.24);
}

.hero-preview-bar > span:first-child {
    background: #f36b5f;
}

.hero-preview-bar > span:nth-child(2) {
    background: #d7a947;
}

.hero-preview-bar > span:nth-child(3) {
    background: #4a9eff;
}

.hero-preview-bar small {
    margin-inline-start: 7px;
    color: var(--muted);
    font-size: 10px;
}

.hero-preview-image {
    height: 230px;
    overflow: hidden;
    background: #eef1f5;
}

.hero-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.hero-preview figcaption {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 68px;
    padding: 12px 16px;
    background: rgba(11, 16, 23, 0.98);
}

.hero-preview figcaption > i {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    color: var(--accent-light);
    border: 1px solid rgba(74, 158, 255, 0.24);
    border-radius: 10px;
    background: rgba(74, 158, 255, 0.08);
    font-size: 19px;
}

.hero-preview figcaption strong,
.hero-preview figcaption small {
    display: block;
}

.hero-preview figcaption strong {
    color: var(--text);
    font-size: 13px;
    line-height: 1.25;
}

.hero-preview figcaption small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.35;
}

.hero-tech-tile {
    --tile-color: 74, 158, 255;
    position: absolute;
    z-index: 3;
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    align-content: center;
    gap: 4px;
    color: #ffffff;
    border: 1px solid rgba(var(--tile-color), 0.68);
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 24%, rgba(var(--tile-color), 0.22), transparent 46%),
        rgba(7, 12, 18, 0.96);
    box-shadow:
        0 14px 30px rgba(15, 23, 42, 0.3),
        0 0 0 4px rgba(var(--tile-color), 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    animation: heroTechFloat 5.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    transition: border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease;
    will-change: transform;
}

.hero-tech-tile::before {
    content: "";
    position: absolute;
    inset: 5px;
    z-index: 0;
    border: 1px solid rgba(var(--tile-color), 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.hero-tech-tile i,
.hero-tech-tile img,
.hero-tech-tile span {
    position: relative;
    z-index: 1;
}

.hero-tech-tile i {
    color: rgb(var(--tile-color));
    font-size: 28px;
    line-height: 1;
    filter: drop-shadow(0 3px 8px rgba(var(--tile-color), 0.18));
    transition: transform 180ms ease;
}

.hero-tech-tile img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(var(--tile-color), 0.18));
    transition: transform 180ms ease;
}

.hero-tech-tile span {
    color: rgba(248, 250, 252, 0.84);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.025em;
    line-height: 1;
}

.hero-tech-tile.is-html {
    --tile-color: 240, 101, 49;
    top: 22px;
    left: 2px;
    animation-delay: -0.8s;
}

.hero-tech-tile.is-php {
    --tile-color: 119, 123, 179;
    top: 2px;
    right: 16px;
    animation-delay: -2.2s;
}

.hero-tech-tile.is-wordpress {
    --tile-color: 33, 117, 155;
    top: 8px;
    left: 198px;
    animation-delay: -1.9s;
}

.hero-tech-tile.is-github {
    --tile-color: 226, 232, 240;
    top: 184px;
    left: 0;
    animation-delay: -4.4s;
}

.hero-tech-tile.is-css {
    --tile-color: 41, 144, 210;
    top: 184px;
    right: 0;
    animation-delay: -1.4s;
}

.hero-tech-tile.is-js {
    --tile-color: 247, 223, 30;
    bottom: 30px;
    left: 8px;
    animation-delay: -3s;
}

.hero-tech-tile.is-mysql {
    --tile-color: 62, 170, 184;
    right: 44px;
    bottom: 12px;
    animation-delay: -3.8s;
}

.hero-tech-tile:hover {
    animation-play-state: paused;
    border-color: rgb(var(--tile-color));
    box-shadow:
        0 18px 36px rgba(15, 23, 42, 0.34),
        0 0 0 5px rgba(var(--tile-color), 0.1),
        0 0 26px rgba(var(--tile-color), 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    filter: brightness(1.08);
}

.hero-tech-tile:hover i,
.hero-tech-tile:hover img {
    transform: scale(1.08);
}

.hero-stack-label {
    position: absolute;
    right: 128px;
    bottom: 7px;
    width: 210px;
    margin: 0;
    color: #596579;
    font-size: 10px;
    line-height: 1.35;
    text-align: center;
}

@keyframes heroTechFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -7px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-tech-tile {
        animation: none;
    }
}

@media (max-width: 1060px) {
    .hero-visual {
        justify-self: start;
        margin-top: 6px;
    }
}

@media (max-width: 640px) {
    .hero-visual {
        width: 100%;
        min-height: 390px;
    }

    .hero-preview {
        top: 48px;
        inset-inline-start: 30px;
        width: calc(100% - 60px);
    }

    .hero-preview-image {
        height: 176px;
    }

    .hero-tech-tile {
        width: 60px;
        height: 60px;
        gap: 3px;
    }

    .hero-tech-tile i {
        font-size: 23px;
    }

    .hero-tech-tile img {
        width: 25px;
        height: 25px;
    }

    .hero-tech-tile span {
        font-size: 7px;
    }

    .hero-tech-tile.is-html {
        top: 20px;
    }

    .hero-tech-tile.is-php {
        top: 4px;
        right: 4px;
    }

    .hero-tech-tile.is-wordpress {
        top: 0;
        left: calc(50% - 30px);
    }

    .hero-tech-tile.is-github {
        top: 142px;
        left: 0;
    }

    .hero-tech-tile.is-css {
        top: 142px;
    }

    .hero-tech-tile.is-js {
        bottom: 24px;
    }

    .hero-tech-tile.is-mysql {
        right: 30px;
        bottom: 12px;
    }

    .hero-stack-label {
        right: 95px;
        bottom: 3px;
        width: 160px;
        font-size: 9px;
    }
}

/* ==============================
   WHY US AND QUALITY STANDARDS
   ============================== */

.section-label {
    display: inline-block;
    margin-bottom: 13px;
    color: var(--accent-light);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.why-section {
    position: relative;
    border-bottom: 1px solid var(--line);
    background-color: var(--bg);
}

.why-head {
    max-width: 960px;
    margin-bottom: 54px;
}

.why-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.why-eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--accent);
}

.why-title {
    max-width: 820px;
    margin: 0;
    color: var(--text);
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.why-lede {
    max-width: 640px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.why-card-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 46px;
}

.why-card {
    position: relative;
    min-width: 0;
    padding: 36px 30px 38px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.why-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0.75;
}

.why-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3px;
    height: 0;
    background: var(--gradient);
    transition: height 180ms ease;
}

.why-card-index {
    display: block;
    margin-bottom: 28px;
    color: transparent;
    background: linear-gradient(110deg, #2563eb 0%, #4a9eff 55%, #60b4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-logo);
    font-size: 64px;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.02em;
}

.why-card h3 {
    margin: 0;
    color: var(--text);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.why-card p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.why-card:hover {
    border-color: var(--line-strong);
    background: var(--panel-solid);
    transform: translateY(-3px);
}

.why-card:hover::after {
    height: 100%;
}

[dir="rtl"] .why-card::after {
    left: auto;
    right: 0;
}

.quality-section {
    position: relative;
    overflow: hidden;
    color: #111827;
    border-bottom: 1px solid rgba(17, 24, 39, 0.1);
    background-color: #f7f8fa;
    background-image:
        radial-gradient(circle at 88% 0%, rgba(214, 51, 132, 0.055), transparent 30%),
        radial-gradient(circle at 10% 100%, rgba(12, 186, 90, 0.045), transparent 28%),
        linear-gradient(rgba(37, 99, 235, 0.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.026) 1px, transparent 1px);
    background-size: auto, auto, 52px 52px, 52px 52px;
}

.quality-section::before,
.quality-section::after {
    position: absolute;
    z-index: 0;
    white-space: pre;
    pointer-events: none;
    user-select: none;
    font-family: Consolas, "Courier New", monospace;
    font-size: 10px;
    font-weight: 600;
    line-height: 2;
    letter-spacing: 0.02em;
}

.quality-section::before {
    content: "01  <?php\A 02    $site->optimize();\A 03    $seo->score(100);\A 04  ?>";
    top: 62px;
    right: max(22px, calc((100vw - var(--max)) / 2 - 210px));
    color: rgba(37, 99, 235, 0.13);
}

.quality-section::after {
    content: "const bookingFlow = {\A   performance: 100,\A   accessibility: true\A };";
    bottom: 52px;
    left: max(22px, calc((100vw - var(--max)) / 2 - 210px));
    color: rgba(11, 159, 75, 0.11);
}

.quality-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 46px;
}

.quality-content,
.quality-showcase {
    min-width: 0;
}

.quality-intro {
    max-width: 540px;
    margin: 0;
    text-align: start;
}

.quality-intro .section-label {
    color: #2563eb;
}

.quality-intro h2 {
    margin: 0;
    color: #111827;
    font-size: 31px;
    line-height: 1.17;
    letter-spacing: -0.35px;
}

.quality-intro > p {
    max-width: 520px;
    margin: 16px 0 0;
    color: #596579;
    font-size: 14px;
    line-height: 1.7;
}

.quality-note {
    max-width: 520px;
    margin: 16px 0 0;
    color: #7a8492;
    font-size: 10px;
    line-height: 1.55;
    text-align: start;
}

.quality-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 540px;
    margin: 28px 0 0;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.09);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 20px 52px rgba(17, 24, 39, 0.085);
    backdrop-filter: blur(12px);
}

.quality-result {
    min-width: 0;
    padding: 20px 14px 18px;
    text-align: center;
}

.quality-result:nth-child(even) {
    border-inline-start: 1px solid rgba(17, 24, 39, 0.08);
}

.quality-result:nth-child(n + 3) {
    border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.quality-score-ring {
    display: flex;
    width: 80px;
    height: 80px;
    align-items: baseline;
    justify-content: center;
    margin: 0 auto;
    padding-top: 22px;
    color: #087a3b;
    border: 4px solid #0caa54;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 5px rgba(12, 186, 90, 0.055);
    font-family: Inter, Arial, sans-serif;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1), opacity 400ms ease;
}

.quality-score-ring > span {
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.quality-score-ring > small {
    margin-inline-start: 2px;
    font-size: 14px;
    font-weight: 900;
}

.quality-result h3 {
    margin: 14px 0 0;
    color: #111827;
    font-size: 13px;
    line-height: 1.3;
}

.quality-result p {
    max-width: 190px;
    margin: 7px auto 0;
    color: #7a8492;
    font-size: 10px;
    line-height: 1.45;
}

.quality-results.is-waiting .quality-score-ring {
    opacity: 0.35;
    transform: scale(0.82);
}

@media (max-width: 1040px) {
    .why-card-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .why-card-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .quality-intro h2 {
        font-size: 25px;
    }

    .why-head {
        margin-bottom: 34px;
    }

    .why-title {
        font-size: 27px;
    }

    .why-lede {
        font-size: 14px;
    }

    .why-card-list {
        margin-top: 34px;
    }

    .why-card {
        padding: 30px 24px 32px;
    }

    .why-card-index {
        margin-bottom: 22px;
        font-size: 52px;
    }
}

.quality-showcase-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.quality-showcase-heading span {
    color: #2563eb;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.quality-showcase-heading strong {
    color: #596579;
    font-size: 11px;
    font-weight: 600;
    text-align: end;
}

.template-slider {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.14);
    border-radius: 20px;
    background: #090e15;
    box-shadow: 0 24px 68px rgba(17, 24, 39, 0.18);
}

.template-slider:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.template-slider-viewport {
    position: relative;
    overflow: hidden;
    background: #05080d;
}

.template-slider-track {
    display: flex;
    align-items: stretch;
    direction: ltr;
    will-change: transform;
    transition: transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.template-slide {
    display: flex;
    min-width: 100%;
    flex: 0 0 100%;
    flex-direction: column;
    background: #05080d;
}

.template-slide img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center;
    background: #05080d;
}

.template-slide-caption {
    display: flex;
    height: 92px;
    flex-direction: column;
    justify-content: center;
    padding: 15px 20px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #090e15;
}

.template-slide-caption span {
    display: block;
    margin-bottom: 5px;
    color: #7fc0ff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.template-slide-caption h3 {
    max-width: 540px;
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: -0.2px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.template-slider-controls {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 16px 0 20px;
    border-top: 1px solid var(--line);
}

.template-slider-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.template-slider-dots button {
    position: relative;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: transparent;
    cursor: pointer;
    transition: background 220ms ease;
}

.template-slider-dots button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    transform: translate(-50%, -50%);
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.25);
    transition: width 220ms ease, background 220ms ease;
}

.template-slider-dots button.is-active::before {
    width: 24px;
    background: var(--accent);
}

.template-slider-dots button:focus-visible,
.template-slider-arrows button:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 3px;
}

.template-slider-arrows {
    display: flex;
    gap: 8px;
}

.template-slider-arrows button {
    display: grid;
    width: 36px;
    height: 36px;
    padding: 0;
    place-items: center;
    color: var(--text);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    cursor: pointer;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.template-slider-arrows button:hover {
    color: #ffffff;
    border-color: rgba(74, 158, 255, 0.45);
    background: rgba(74, 158, 255, 0.1);
}

.template-slider-arrows i {
    font-size: 17px;
}

@media (prefers-reduced-motion: reduce) {
    .template-slider-track {
        transition: none;
    }
}

@media (max-width: 1080px) {
    .quality-section::before,
    .quality-section::after {
        display: none;
    }

    .quality-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .quality-content,
    .quality-intro,
    .quality-intro > p,
    .quality-note,
    .quality-results {
        max-width: 760px;
    }

    .quality-showcase {
        max-width: 820px;
    }
}

@media (max-width: 640px) {
    .quality-section {
        padding: 60px 0;
    }

    .quality-layout {
        gap: 34px;
    }

    .quality-results {
        margin-top: 26px;
    }

    .quality-result {
        padding: 18px 10px 17px;
    }

    .quality-score-ring {
        width: 72px;
        height: 72px;
        padding-top: 20px;
    }

    .quality-score-ring > span {
        font-size: 24px;
    }

    .quality-score-ring > small {
        font-size: 12px;
    }

    .quality-showcase-heading {
        display: block;
    }

    .quality-showcase-heading strong {
        display: block;
        margin-top: 5px;
        text-align: start;
    }

    .template-slider {
        border-radius: 15px;
    }

    .template-slide-caption {
        height: 86px;
        padding: 13px 16px 14px;
    }

    .template-slide-caption span {
        margin-bottom: 4px;
        font-size: 8px;
    }

    .template-slide-caption h3 {
        font-size: 14px;
    }

    .template-slider-controls {
        min-height: 55px;
        padding: 0 12px 0 16px;
    }

    .template-slider-arrows button {
        width: 34px;
        height: 34px;
    }
}

/* ==============================
   PROJECT SOLUTIONS
   ============================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.project-solutions-section {
    position: relative;
    overflow: hidden;
    padding: 88px 0 82px;
    color: #121a2a;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
    background-color: #f9fafc;
    background-image:
        linear-gradient(rgba(35, 55, 87, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(35, 55, 87, 0.028) 1px, transparent 1px),
        radial-gradient(circle at 78% 8%, rgba(74, 158, 255, 0.08), transparent 30%),
        radial-gradient(circle at 6% 88%, rgba(16, 185, 129, 0.06), transparent 25%);
    background-size: 48px 48px, 48px 48px, auto, auto;
}

.project-solutions-section::before {
    content: "01  plan.business();\A 02  design.booking();\A 03  build.responsive();\A 04  launch.searchReady();";
    position: absolute;
    top: 48px;
    right: max(20px, calc((100vw - var(--max)) / 2 - 190px));
    color: rgba(30, 64, 175, 0.07);
    font-family: Consolas, "Courier New", monospace;
    font-size: 10px;
    line-height: 2;
    white-space: pre;
    pointer-events: none;
}

.project-solutions-section .shell {
    position: relative;
    z-index: 1;
}

.project-solutions-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1.18fr);
    gap: 78px;
    align-items: end;
}

.project-solutions-heading h2 {
    max-width: 560px;
    margin: 15px 0 0;
    color: #121a2a;
    font-size: clamp(29px, 3vw, 43px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.project-solutions-seo {
    position: relative;
    min-height: 190px;
    padding: 30px 34px 30px 190px;
    overflow: hidden;
    color: #d8e3f0;
    border-radius: 18px;
    background-color: #111a2a;
    background-image:
        linear-gradient(rgba(102, 143, 198, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 143, 198, 0.07) 1px, transparent 1px),
        radial-gradient(circle at 100% 0, rgba(74, 158, 255, 0.18), transparent 35%);
    background-size: 30px 30px, 30px 30px, auto;
    box-shadow: 0 18px 50px rgba(15, 29, 52, 0.13);
}

.project-solutions-seo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 156px;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
}

.project-solutions-code {
    position: absolute;
    top: 34px;
    left: 25px;
    display: grid;
    gap: 13px;
    color: #6aaeff;
    font-family: Consolas, "Courier New", monospace;
    font-size: 9px;
    line-height: 1.4;
    direction: ltr;
    text-align: left;
}

.project-solutions-code span:nth-child(2) {
    color: #79d8b1;
}

.project-solutions-code span:nth-child(3) {
    color: #d8b4fe;
}

.project-solutions-seo p {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 0;
    font-size: 13px;
    line-height: 1.85;
}

.project-solutions-rail {
    margin-top: 48px;
    outline: none;
}

.project-solutions-rail:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.58);
    outline-offset: 8px;
    border-radius: 4px;
}

.project-solutions-toolbar {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.12);
}

.project-solutions-rail-label {
    padding-bottom: 15px;
    color: #58657a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.project-solutions-controls,
.project-solutions-arrows {
    display: flex;
    align-items: center;
}

.project-solutions-controls {
    gap: 20px;
    padding-bottom: 13px;
}

.project-solutions-counter {
    display: flex;
    align-items: baseline;
    gap: 5px;
    color: #8a94a5;
    font-family: Consolas, "Courier New", monospace;
    font-size: 10px;
}

.project-solutions-counter strong {
    color: #121a2a;
    font-size: 16px;
}

.project-solutions-arrows {
    gap: 7px;
}

.project-solutions-arrows button {
    display: grid;
    width: 32px;
    height: 32px;
    padding: 0;
    place-items: center;
    color: #344054;
    border: 1px solid rgba(17, 24, 39, 0.15);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.project-solutions-arrows button:hover {
    color: #ffffff;
    border-color: #172033;
    background: #172033;
    transform: translateY(-1px);
}

.project-solutions-arrows button:focus-visible {
    outline: 2px solid #4a9eff;
    outline-offset: 3px;
}

.project-slider-viewport {
    overflow: hidden;
}

.project-slider-track {
    display: flex;
    gap: 16px;
    direction: ltr;
    will-change: transform;
    transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-solution-card {
    --solution: #2563eb;
    --solution-soft: rgba(37, 99, 235, 0.08);
    position: relative;
    flex: 0 0 calc((100% - 32px) / 3);
    min-width: 0;
    min-height: 336px;
    padding: 26px 27px 28px;
    overflow: hidden;
    color: #1e293b;
    border-top: 3px solid var(--solution);
    border-bottom: 1px solid rgba(17, 24, 39, 0.12);
    background: rgba(255, 255, 255, 0.86);
}

.project-solution-card::after {
    content: "";
    position: absolute;
    right: -54px;
    bottom: -72px;
    width: 180px;
    height: 180px;
    border: 32px solid var(--solution-soft);
    border-radius: 50%;
    pointer-events: none;
}

.project-solution-card.is-violet {
    --solution: #7c3aed;
    --solution-soft: rgba(124, 58, 237, 0.08);
}

.project-solution-card.is-amber {
    --solution: #d97706;
    --solution-soft: rgba(217, 119, 6, 0.09);
}

.project-solution-card.is-cyan {
    --solution: #0284c7;
    --solution-soft: rgba(2, 132, 199, 0.08);
}

.project-solution-card.is-red {
    --solution: #d93025;
    --solution-soft: rgba(217, 48, 37, 0.075);
}

.project-solution-card.is-green {
    --solution: #059669;
    --solution-soft: rgba(5, 150, 105, 0.08);
}

.project-solution-card.is-indigo {
    --solution: #4f46e5;
    --solution-soft: rgba(79, 70, 229, 0.08);
}

.project-solution-topline {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 27px;
}

.project-solution-icon {
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    color: var(--solution);
    border-radius: 10px;
    background: var(--solution-soft);
}

.project-solution-icon i {
    font-size: 21px;
}

.project-solution-index {
    color: #a0a8b5;
    font-family: Consolas, "Courier New", monospace;
    font-size: 10px;
}

.project-solution-label,
.project-solution-brand,
.project-solution-card h3,
.project-solution-card p,
.project-solution-line {
    position: relative;
    z-index: 1;
}

.project-solution-label {
    display: block;
    margin-bottom: 7px;
    color: #7a8494;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-solution-brand {
    display: block;
    margin-bottom: 22px;
    color: var(--solution);
    font-size: 19px;
    font-weight: 900;
    letter-spacing: 0.075em;
    line-height: 1.1;
}

.project-solution-card h3 {
    max-width: 310px;
    margin: 0 0 12px;
    color: #172033;
    font-size: 17px;
    line-height: 1.32;
    letter-spacing: -0.02em;
}

.project-solution-card p {
    max-width: 315px;
    margin: 0;
    color: #687386;
    font-size: 11px;
    line-height: 1.65;
}

.project-solution-line {
    display: block;
    width: 34px;
    height: 2px;
    margin-top: 22px;
    background: var(--solution);
}

.project-solutions-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    margin-top: 38px;
    padding-top: 30px;
    border-top: 1px solid rgba(17, 24, 39, 0.12);
}

.project-solutions-cta h3 {
    margin: 0 0 6px;
    color: #172033;
    font-size: 18px;
}

.project-solutions-cta p {
    max-width: 720px;
    margin: 0;
    color: #687386;
    font-size: 11px;
    line-height: 1.65;
}

.project-solutions-cta .btn {
    flex: 0 0 auto;
    gap: 9px;
}

@media (prefers-reduced-motion: reduce) {
    .project-slider-track {
        transition: none;
    }
}

@media (max-width: 900px) {
    .project-solutions-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-solutions-heading h2 {
        max-width: 720px;
    }

    .project-solutions-seo {
        max-width: 820px;
    }

    .project-solution-card {
        flex-basis: calc((100% - 16px) / 2);
    }
}

@media (max-width: 620px) {
    .project-solutions-section {
        padding: 64px 0 60px;
    }

    .project-solutions-section::before {
        display: none;
    }

    .project-solutions-heading h2 {
        font-size: 29px;
    }

    .project-solutions-seo {
        min-height: 0;
        padding: 25px 23px;
    }

    .project-solutions-seo::after,
    .project-solutions-code {
        display: none;
    }

    .project-solutions-seo p {
        font-size: 12px;
        line-height: 1.75;
    }

    .project-solutions-rail {
        margin-top: 36px;
    }

    .project-solutions-toolbar {
        gap: 12px;
    }

    .project-solutions-rail-label {
        max-width: 160px;
        font-size: 8px;
        line-height: 1.4;
    }

    .project-solutions-controls {
        gap: 12px;
    }

    .project-solutions-counter {
        display: none;
    }

    .project-solution-card {
        flex-basis: 100%;
        min-height: 328px;
        padding: 25px 24px 27px;
    }

    .project-solutions-cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }
}

/* ==============================
   ABOUT AND REMOTE TEAM
   ============================== */

.team-section {
    position: relative;
    overflow: hidden;
    color: #172033;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
    border-bottom: 1px solid rgba(17, 24, 39, 0.1);
    background-color: #edf3f9;
    background-image:
        radial-gradient(circle at 8% 12%, rgba(74, 158, 255, 0.13), transparent 30%),
        radial-gradient(circle at 92% 88%, rgba(37, 99, 235, 0.07), transparent 30%),
        linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px);
    background-size: auto, auto, 64px 64px, 64px 64px;
}

.team-section::before {
    content: "remote.team({\A   market: 'worldwide',\A   workflow: 'async',\A   focus: 'solutions'\A });";
    position: absolute;
    top: 54px;
    right: max(24px, calc((100vw - var(--max)) / 2 - 190px));
    color: rgba(37, 99, 235, 0.1);
    font-family: Consolas, "Courier New", monospace;
    font-size: 10px;
    line-height: 1.9;
    white-space: pre;
    pointer-events: none;
}

.team-section .shell {
    position: relative;
    z-index: 1;
}

.team-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.62fr);
    align-items: end;
    gap: 72px;
}

.team-copy {
    max-width: 700px;
}

.team-copy h2 {
    max-width: 680px;
    margin: 0;
    color: #111827;
    font-size: 34px;
    line-height: 1.16;
    letter-spacing: -0.45px;
}

.team-copy > p {
    max-width: 690px;
    margin: 20px 0 0;
    color: #596579;
    font-size: 14px;
    line-height: 1.8;
}

.team-remote-note {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    padding: 0;
}

.team-global-mark {
    position: relative;
    width: 70px;
    height: 70px;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.13);
    animation: teamGlobeSpin 18s linear infinite;
}

.team-global-mark img {
    position: absolute;
    top: -34px;
    left: -17px;
    display: block;
    width: 104px;
    height: 104px;
    max-width: none;
}

@keyframes teamGlobeSpin {
    to { transform: rotate(360deg); }
}

.team-remote-kicker {
    display: block;
    color: #2563eb;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.team-remote-note h3 {
    margin: 8px 0 0;
    color: #172033;
    font-size: 18px;
    line-height: 1.3;
}

.team-remote-note p {
    margin: 8px 0 0;
    color: #657186;
    font-size: 12px;
    line-height: 1.7;
}

.team-people-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding-bottom: 13px;
    color: #667287;
    border-bottom: 1px solid rgba(17, 24, 39, 0.12);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.team-remote-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.team-remote-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0cba5a;
    box-shadow: 0 0 0 5px rgba(12, 186, 90, 0.08);
}

.team-member-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.12);
}

.team-member {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
    gap: 15px;
    min-width: 0;
    min-height: 190px;
    padding: 27px 22px 25px;
}

.team-member + .team-member {
    border-inline-start: 1px solid rgba(17, 24, 39, 0.1);
}

.team-portrait-wrap {
    width: 64px;
    height: 64px;
    padding: 2px;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 9px 24px rgba(37, 99, 235, 0.12);
}

.team-member.is-founder .team-portrait-wrap {
    width: 64px;
    height: 64px;
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 9px 24px rgba(37, 99, 235, 0.14);
}

.team-portrait-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.team-member-content {
    margin-top: 1px;
}

.team-member-content > span {
    color: #2563eb;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.team-member-content h3 {
    margin: 7px 0 0;
    color: #111827;
    font-size: 17px;
    line-height: 1.25;
}

.team-member-content p {
    margin: 9px 0 0;
    color: #667287;
    font-size: 11px;
    line-height: 1.65;
}

.team-join-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    margin-top: 27px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.team-join-bar h3 {
    margin: 0;
    color: #172033;
    font-size: 16px;
    line-height: 1.35;
}

.team-join-bar p {
    max-width: 680px;
    margin: 6px 0 0;
    color: #687488;
    font-size: 11px;
    line-height: 1.6;
}

.team-join-button {
    flex: 0 0 auto;
    gap: 9px;
    color: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.32);
    background: #2563eb;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
}

.team-join-button:hover {
    background: #1d55d2;
    transform: translateY(-1px);
}

/* Team application modal */

body.team-modal-open {
    overflow: hidden;
}

.team-modal[hidden] {
    display: none;
}

.team-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    padding: 24px;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.team-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.team-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 13, 0.82);
    backdrop-filter: blur(13px);
}

.team-modal-panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(430px, 1.18fr);
    width: min(940px, 100%);
    max-height: min(760px, calc(100vh - 48px));
    overflow: auto;
    color: #f6f8fc;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 22px;
    background: #0b111a;
    box-shadow: 0 36px 110px rgba(0, 0, 0, 0.58);
    transform: translateY(18px) scale(0.985);
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.team-modal.is-open .team-modal-panel {
    transform: translate(0) scale(1);
}

.team-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 4;
    display: grid;
    width: 36px;
    height: 36px;
    padding: 0;
    place-items: center;
    color: #a8b2c2;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(7, 12, 20, 0.76);
    cursor: pointer;
}

[dir="rtl"] .team-modal-close {
    right: auto;
    left: 16px;
}

.team-modal-close:hover,
.team-modal-close:focus-visible {
    color: #ffffff;
    border-color: rgba(126, 193, 255, 0.42);
}

.team-modal-intro {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    padding: 56px 38px 38px;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 20% 15%, rgba(74, 158, 255, 0.2), transparent 40%),
        linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
        #090f18;
    background-size: auto, 42px 42px, 42px 42px, auto;
}

.team-modal-intro::after {
    content: "</remote-collaboration>";
    position: absolute;
    right: 28px;
    bottom: 25px;
    color: rgba(96, 180, 255, 0.14);
    font-family: Consolas, "Courier New", monospace;
    font-size: 10px;
}

.team-modal-intro h2 {
    margin: 0;
    color: #ffffff;
    font-size: 28px;
    line-height: 1.18;
    letter-spacing: -0.3px;
}

.team-modal-intro > p {
    margin: 18px 0 0;
    color: #929eaf;
    font-size: 12px;
    line-height: 1.75;
}

.team-modal-code {
    display: grid;
    gap: 9px;
    margin-top: 42px;
    padding: 18px 20px;
    color: rgba(126, 193, 255, 0.48);
    border: 1px solid rgba(126, 193, 255, 0.11);
    border-radius: 12px;
    background: rgba(2, 8, 17, 0.36);
    font-family: Consolas, "Courier New", monospace;
    font-size: 9px;
}

.team-application-form {
    padding: 56px 38px 38px;
    background:
        radial-gradient(circle at 90% 0%, rgba(12, 186, 90, 0.04), transparent 35%),
        #0d141e;
}

.team-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(130px, 0.55fr);
    gap: 18px 16px;
}

.team-form-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.team-form-field.is-wide {
    grid-column: 1 / -1;
}

.team-form-field > span {
    color: #c4ccd8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.team-form-field input {
    width: 100%;
    height: 46px;
    padding: 0 13px;
    color: #f7f9fc;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 10px;
    outline: 0;
    background: rgba(255, 255, 255, 0.035);
    font: inherit;
    font-size: 12px;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.team-form-field input::placeholder {
    color: #687487;
}

.team-form-field input:focus {
    border-color: rgba(96, 180, 255, 0.68);
    background: rgba(74, 158, 255, 0.055);
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.09);
}

.team-form-field input[aria-invalid="true"] {
    border-color: rgba(239, 68, 68, 0.72);
}

.team-form-field small {
    color: #717e90;
    font-size: 9px;
    line-height: 1.5;
}

.team-form-status {
    min-height: 18px;
    margin: 17px 0 0;
    color: #ff8e8e;
    font-size: 10px;
    line-height: 1.5;
}

.team-form-submit {
    gap: 9px;
    min-width: 175px;
    margin-top: 8px;
}

@media (max-width: 1020px) {
    .team-intro {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
        gap: 40px;
    }

    .team-member-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-member {
        min-height: 180px;
    }

    .team-member:nth-child(3) {
        border-inline-start: 0;
    }

    .team-member:nth-child(n + 3) {
        border-top: 1px solid rgba(17, 24, 39, 0.1);
    }
}

@media (max-width: 760px) {
    .team-intro {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .team-remote-note {
        max-width: 620px;
    }

    .team-join-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .team-modal {
        padding: 14px;
    }

    .team-modal-panel {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 28px);
    }

    .team-modal-intro {
        min-height: auto;
        padding: 48px 24px 26px;
        border-inline-end: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .team-modal-intro > p {
        max-width: 580px;
    }

    .team-modal-code,
    .team-modal-intro::after {
        display: none;
    }

    .team-application-form {
        padding: 28px 24px 26px;
    }
}

@media (max-width: 560px) {
    .team-copy h2 {
        font-size: 26px;
    }

    .team-member-grid {
        grid-template-columns: 1fr;
    }

    .team-member,
    .team-member.is-founder {
        display: grid;
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 15px;
        min-height: 0;
        padding: 20px 10px;
    }

    .team-portrait-wrap,
    .team-member.is-founder .team-portrait-wrap {
        width: 64px;
        height: 64px;
    }

    .team-member + .team-member,
    .team-member:nth-child(3) {
        border-inline-start: 0;
        border-top: 1px solid rgba(17, 24, 39, 0.1);
    }

    .team-member-content {
        align-self: center;
        margin-top: 0;
    }

    .team-people-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .team-join-button {
        width: 100%;
        justify-content: center;
    }

    .team-form-grid {
        grid-template-columns: 1fr;
    }

    .team-form-field.is-wide {
        grid-column: auto;
    }

    .team-modal-intro h2 {
        padding-inline-end: 28px;
        font-size: 23px;
    }

    .team-application-form {
        padding: 25px 20px 24px;
    }

    .team-form-submit {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .team-global-mark,
    .team-modal,
    .team-modal-panel {
        transition: none;
    }
}

/* ==============================
   CURRENT PROJECT REALIZATIONS
   ============================== */

.work-showcase-section {
    position: relative;
    scroll-margin-top: 76px;
    overflow: hidden;
    color: #172033;
    border-top: 1px solid rgba(17, 24, 39, 0.1);
    border-bottom: 1px solid rgba(17, 24, 39, 0.12);
    background:
        radial-gradient(circle at 12% 18%, rgba(74, 158, 255, 0.1), transparent 29%),
        radial-gradient(circle at 90% 72%, rgba(46, 160, 111, 0.07), transparent 27%),
        #f7f9fc;
    isolation: isolate;
}

.work-showcase-section::before {
    content: "";
    position: absolute;
    inset: -80px;
    z-index: -2;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        repeating-linear-gradient(135deg, transparent 0 46px, rgba(14, 116, 144, 0.025) 46px 47px, transparent 47px 94px);
    background-size: 58px 58px, 58px 58px, 132px 132px;
    animation: workPatternDrift 26s linear infinite;
}

.work-showcase-section::after {
    content: "{ projects: live; }   booking.flow();   seo.structure = true;";
    position: absolute;
    top: 78px;
    right: max(30px, calc((100vw - var(--max)) / 2));
    z-index: -1;
    max-width: 520px;
    color: rgba(37, 99, 235, 0.08);
    font-family: Consolas, "Courier New", monospace;
    font-size: 10px;
    letter-spacing: 0.05em;
    white-space: nowrap;
    pointer-events: none;
}

@keyframes workPatternDrift {
    to { transform: translate3d(58px, 58px, 0); }
}

.work-showcase-section .shell {
    position: relative;
    z-index: 1;
}

.work-showcase-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(390px, 1.12fr);
    align-items: end;
    gap: 84px;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.12);
}

.work-showcase-heading h2 {
    max-width: 590px;
    margin: 0;
    color: #111827;
    font-size: clamp(30px, 3.3vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.work-showcase-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.work-showcase-stars {
    display: flex;
    gap: 3px;
}

.work-showcase-stars .star,
.work-project-score .star {
    font-size: 18px;
    font-style: normal;
    line-height: 1;
    color: #f5b342;
}

.work-project-score .star {
    font-size: 15px;
}

.work-project-score .star.is-empty {
    color: #d0d5dd;
}

.work-project-score .star.is-half {
    background: linear-gradient(90deg, #f5b342 50%, #d0d5dd 50%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.work-showcase-rating > span:last-child {
    color: #5d687a;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.work-showcase-summary {
    position: relative;
    padding-inline-start: 25px;
    border-inline-start: 2px solid #2563eb;
}

.work-showcase-summary > span {
    display: block;
    color: #2563eb;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.work-showcase-summary p {
    max-width: 620px;
    margin: 10px 0 0;
    color: #5d687a;
    font-size: 13px;
    line-height: 1.8;
}

.work-showcase-rail {
    margin-top: 38px;
    outline: none;
}

.work-showcase-rail:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.58);
    outline-offset: 8px;
    border-radius: 4px;
}

.work-showcase-toolbar {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.12);
}

.work-showcase-rail-label {
    padding-bottom: 15px;
    color: #58657a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.work-showcase-controls,
.work-showcase-arrows {
    display: flex;
    align-items: center;
}

.work-showcase-controls {
    gap: 20px;
    padding-bottom: 13px;
}

.work-showcase-counter {
    display: flex;
    align-items: baseline;
    gap: 5px;
    color: #8a94a5;
    font-family: Consolas, "Courier New", monospace;
    font-size: 10px;
}

.work-showcase-counter strong {
    color: #121a2a;
    font-size: 16px;
}

.work-showcase-arrows {
    gap: 7px;
}

.work-showcase-arrows button {
    display: grid;
    width: 32px;
    height: 32px;
    padding: 0;
    place-items: center;
    color: #344054;
    border: 1px solid rgba(17, 24, 39, 0.15);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.work-showcase-arrows button:hover {
    color: #ffffff;
    border-color: #172033;
    background: #172033;
    transform: translateY(-1px);
}

.work-showcase-arrows button:focus-visible {
    outline: 2px solid #4a9eff;
    outline-offset: 3px;
}

.work-showcase-viewport {
    overflow: hidden;
}

.work-showcase-track {
    display: flex;
    gap: 22px;
    direction: ltr;
    will-change: transform;
    transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.work-project-card {
    display: flex;
    flex: 0 0 calc((100% - 44px) / 3);
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #d8e0ea;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: none;
    transition: border-color 180ms ease, background-color 180ms ease;
}

.work-project-card:hover {
    border-color: rgba(37, 99, 235, 0.36);
    background: #ffffff;
}

.work-project-gallery {
    position: relative;
    direction: ltr;
    background: #111a27;
}

.work-project-viewport {
    position: relative;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.work-project-track {
    display: flex;
    width: 100%;
    height: 100%;
    transform: translate3d(0, 0, 0);
    transition: transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.work-project-slide {
    position: relative;
    display: grid;
    min-width: 100%;
    height: 100%;
    flex: 0 0 100%;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        #101927;
    background-size: 28px 28px;
}

.work-project-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: opacity 180ms ease;
}

.work-project-slide:hover img {
    opacity: 0.92;
}

.work-project-open {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    color: #eaf3ff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 9px;
    background: rgba(8, 16, 28, 0.78);
    box-shadow: none;
}

.work-project-open i {
    font-size: 15px;
}

.work-project-gallery-bar {
    display: flex;
    min-height: 43px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 9px 6px 15px;
    color: #a9b7c9;
    background: #111a27;
}

.work-project-counter {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 9px;
    letter-spacing: 0.08em;
}

.work-project-counter strong {
    color: #ffffff;
    font-size: 11px;
}

.work-project-gallery-controls {
    display: flex;
    gap: 5px;
}

.work-project-gallery-controls button {
    display: grid;
    width: 30px;
    height: 30px;
    padding: 0;
    place-items: center;
    color: #c8d5e5;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.work-project-gallery-controls button:hover {
    color: #ffffff;
    border-color: rgba(96, 180, 255, 0.55);
    background: rgba(74, 158, 255, 0.09);
}

.work-project-gallery-controls button:focus-visible,
.work-project-slide:focus-visible,
.work-project-footer a:focus-visible,
.work-project-action button:focus-visible,
.work-showcase-cta > a:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 3px;
}

.work-project-content {
    display: grid;
    min-height: 310px;
    flex: 1;
    grid-template-rows: auto auto auto 1fr auto;
    padding: 22px 22px 18px;
}

.work-project-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e3e8ef;
}

.work-project-category {
    padding-top: 3px;
    color: #2563eb;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.45;
    text-transform: uppercase;
}

.work-project-score {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}



.work-project-name {
    display: block;
    margin-top: 19px;
    color: #788497;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.work-project-content h3 {
    margin: 8px 0 0;
    color: #111827;
    font-size: 21px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.work-project-content > p {
    margin: 12px 0 20px;
    color: #657083;
    font-size: 11px;
    line-height: 1.75;
}

.work-project-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 15px;
    border-top: 1px solid #e3e8ef;
}

.work-project-footer > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #6c7788;
    font-size: 8px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.work-project-footer > span i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0cba69;
}

.work-project-footer > span.is-maintenance {
    color: #8a6520;
}

.work-project-footer > span.is-maintenance i {
    background: #d89a24;
}

.work-project-footer a,
.work-project-action button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    color: #1f5dcc;
    border: 0;
    background: transparent;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
}

.work-project-footer a i,
.work-project-action button i {
    font-size: 13px;
    transition: transform 160ms ease;
}

.work-project-footer a:hover i {
    transform: translate(2px, -2px);
}

[dir="rtl"] .work-project-footer a:hover i {
    transform: translate(-2px, -2px);
}

.work-project-action button:hover i {
    transform: rotate(12deg);
}

.work-project-action {
    position: relative;
    display: inline-flex;
}

.work-project-status-note {
    position: absolute;
    right: 0;
    bottom: calc(100% + 7px);
    z-index: 2;
    width: max-content;
    max-width: 120px;
    padding: 4px 7px;
    color: #6f5118;
    border: 1px solid #ead7ad;
    border-radius: 6px;
    background: #fff9e9;
    box-shadow: 0 7px 18px rgba(49, 37, 14, 0.12);
    font-size: 8px;
    font-weight: 750;
    line-height: 1.2;
    opacity: 0;
    pointer-events: none;
    transform: translateY(3px);
    transition: opacity 140ms ease, transform 140ms ease;
}

.work-project-action:hover .work-project-status-note,
.work-project-action:focus-within .work-project-status-note {
    opacity: 1;
    transform: translateY(0);
}

[dir="rtl"] .work-project-status-note {
    right: auto;
    left: 0;
}

.work-showcase-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 42px;
    margin-top: 24px;
    padding: 27px 30px;
    color: #dbe8f7;
    border: 1px solid #263a54;
    border-radius: 15px;
    background:
        linear-gradient(rgba(96, 180, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 180, 255, 0.04) 1px, transparent 1px),
        #101b2b;
    background-size: 32px 32px;
    box-shadow: none;
}

.work-showcase-cta h3 {
    margin: 0;
    color: #ffffff;
    font-size: 19px;
    line-height: 1.35;
}

.work-showcase-cta p {
    max-width: 770px;
    margin: 7px 0 0;
    color: #95a6ba;
    font-size: 11px;
    line-height: 1.7;
}

.work-showcase-cta > a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    color: #ffffff;
    border: 1px solid rgba(96, 180, 255, 0.5);
    border-radius: 10px;
    background: #2563eb;
    box-shadow: none;
    font-size: 10px;
    font-weight: 800;
}

.work-showcase-cta > a:hover {
    border-color: #60b4ff;
    background: #1e56ca;
}

@media (max-width: 900px) {
    .work-showcase-intro {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 25px;
    }

    .work-showcase-summary {
        max-width: 720px;
    }

    .work-project-card {
        flex: 0 0 calc((100% - 22px) / 2);
    }

    .work-project-content {
        min-height: 330px;
    }
}

@media (max-width: 720px) {
    .work-showcase-section::after {
        display: none;
    }

    .work-showcase-rail {
        margin-top: 28px;
    }

    .work-showcase-track {
        gap: 12px;
    }

    .work-project-card {
        flex: 0 0 82%;
    }

    .work-project-content {
        min-height: 0;
    }

    .work-showcase-cta {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 20px;
        padding: 24px 22px;
    }

    .work-showcase-cta > a {
        width: max-content;
    }
}

@media (max-width: 480px) {
    .work-showcase-intro {
        padding-bottom: 26px;
    }

    .work-showcase-heading h2 {
        font-size: 29px;
    }

    .work-showcase-summary {
        padding-inline-start: 17px;
    }

    .work-showcase-summary p {
        font-size: 11px;
    }

    .work-project-viewport {
        aspect-ratio: 1.75 / 1;
    }

    .work-project-content {
        padding: 19px 18px 16px;
    }

    .work-project-meta,
    .work-project-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .work-project-score {
        white-space: normal;
    }

    .work-project-content h3 {
        font-size: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .work-showcase-section::before {
        animation: none;
    }

    .work-project-track,
    .work-project-footer a i {
        transition: none;
    }
}

/* ==============================
   REVIEWS SECTION
   ============================== */

.reviews-section {
    position: relative;
    scroll-margin-top: 76px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background-color: #060a10;
    background-image:
        radial-gradient(circle at 12% 0%, rgba(74, 158, 255, 0.1), transparent 34%),
        linear-gradient(rgba(74, 158, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 158, 255, 0.035) 1px, transparent 1px);
    background-size: auto, 64px 64px, 64px 64px;
}

.reviews-section::before {
    content: "";
    position: absolute;
    top: -240px;
    right: -230px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(74, 158, 255, 0.1);
    border-radius: 50%;
    box-shadow:
        0 0 0 74px rgba(74, 158, 255, 0.022),
        0 0 0 148px rgba(74, 158, 255, 0.012);
    pointer-events: none;
}

.reviews-section .shell {
    position: relative;
    z-index: 1;
}

.reviews-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
}

@media (min-width: 901px) {
    .reviews-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
    }

    .reviews-header {
        flex: 0 0 240px;
        padding: 0;
        text-align: left;
    }

    .reviews-header h2 {
        margin: 6px 0 0;
    }

    .reviews-rail {
        flex: 1;
        min-width: 0;
        margin-top: 0;
    }
}

.reviews-header {
    text-align: left;
    padding-bottom: 0;
}

.reviews-header h2 {
    max-width: 400px;
    margin: 6px 0 0;
    color: #ffffff;
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.reviews-rating-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.reviews-rating-stars {
    display: flex;
    gap: 3px;
}

.reviews-rating-stars .star {
    font-size: 14px;
    font-style: normal;
    color: #f5b342;
}

.reviews-rating-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.reviews-smiley {
    font-size: 14px;
    line-height: 1;
}

.reviews-rail {
    margin-top: 20px;
    outline: none;
}

.reviews-rail:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.4);
    outline-offset: 8px;
}

.reviews-toolbar {
    display: flex;
    min-height: 36px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.reviews-rail-label {
    position: relative;
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.reviews-arrows {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reviews-arrows button {
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    cursor: pointer;
    transition: color 200ms ease, border-color 200ms ease, background 200ms ease, transform 200ms ease;
}

.reviews-arrows button:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.reviews-arrows button:active {
    transform: translateY(0);
}

.reviews-arrows button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 3px;
}

.reviews-viewport {
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 24px;
    direction: ltr;
    will-change: transform;
    transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.review-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 28px 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    transition: border-color 220ms ease, transform 220ms ease;
}

.review-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-3px);
}

.review-card-top {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.review-avatar {
    flex-shrink: 0;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
}

.review-card-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-author {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.review-role {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
}

.review-meta {
    color: rgba(255, 255, 255, 0.22);
    font-size: 10px;
    margin-top: 2px;
}

.review-stars {
    display: flex;
    gap: 3px;
    margin-top: 4px;
}

.review-stars .star {
    font-size: 13px;
    font-style: normal;
    color: #f5b342;
}

.review-text-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.review-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    line-height: 1.75;
}

.review-text-wrap.is-collapsed .review-text {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-readmore {
    display: none;
    align-self: flex-start;
    min-height: 24px;
    margin-top: 10px;
    padding: 0;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: color 180ms ease;
}

.review-text-wrap.is-collapsible .review-readmore {
    display: inline-flex;
    align-items: center;
}

.review-readmore:hover {
    color: #ffffff;
}

.review-readmore:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.4);
    outline-offset: 2px;
}

.reviews-footer {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.reviews-write-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}

.reviews-write-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
}

.reviews-write-btn i {
    font-size: 14px;
}

@media (max-width: 900px) {
    .reviews-track {
        gap: 18px;
    }

    .review-card {
        flex: 0 0 calc((100% - 18px) / 2);
    }
}

@media (max-width: 720px) {
    .reviews-section::before {
        display: none;
    }

    .reviews-header h2 {
        font-size: clamp(24px, 5.5vw, 32px);
    }

    .reviews-rating-bar {
        flex-wrap: wrap;
    }

    .reviews-rail {
        margin-top: 14px;
    }

    .review-card {
        flex: 0 0 82%;
        padding: 22px 20px 20px;
    }

    .reviews-track {
        gap: 14px;
    }

    .reviews-footer {
        margin-top: 16px;
        padding-top: 12px;
    }

    .reviews-write-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 900px) and (min-width: 721px) {
    .reviews-header h2 {
        max-width: 500px;
    }
}

/* ==============================
   BRANDS SCROLLER
   ============================== */

.brands-section {
    padding: 70px 0 54px;
    overflow: hidden;
    border-top: 1px solid rgba(17, 24, 39, 0.1);
    background: transparent;
    color: #172033;
}

.brands-header {
    text-align: center;
    margin-bottom: 38px;
}

.brands-header h2 {
    max-width: 600px;
    margin: 12px auto 0;
    color: #5d687a;
    font-size: clamp(24px, 2.6vw, 36px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.brands-scroller {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}

.brands-track {
    overflow: hidden;
}

.brands-track-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    animation: brandScroll 36s linear infinite;
}

.brands-section:hover .brands-track-inner,
.brands-section:focus-within .brands-track-inner {
    animation-play-state: paused;
}

.brand-slide {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 56px;
    padding: 0;
}

.brand-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(0.6);
    opacity: 0.65;
    transition: opacity 240ms ease, filter 300ms ease;
}

.brand-slide img:hover {
    filter: brightness(0) invert(0.78);
    opacity: 0.9;
}

@keyframes brandScroll {
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 720px) {
    .brands-section {
        padding: 50px 0 40px;
    }

    .brands-header {
        margin-bottom: 28px;
    }

    .brand-slide {
        width: 72px;
        height: 36px;
    }

    .brands-track-inner {
        gap: 6px;
        animation-duration: 24s;
    }

    .brands-scroller {
        mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    }
}

/* ==============================
   GREY SECTION BACKGROUNDS
   ============================== */

.section-grey {
    background:
        radial-gradient(ellipse 80% 50% at 20% 30%, rgba(74, 158, 255, 0.035), transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 70%, rgba(37, 99, 235, 0.025), transparent 50%),
        linear-gradient(180deg, rgba(12, 16, 22, 0.95), rgba(8, 12, 18, 0.98));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

/* ==============================
   FLOATING CHAT WIDGET
   ============================== */

.chat-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 60;
    display: grid;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #ffffff;
    border: 1px solid rgba(126, 193, 255, 0.44);
    border-radius: 16px;
    background:
        radial-gradient(circle at 32% 20%, rgba(96, 180, 255, 0.3), transparent 42%),
        linear-gradient(145deg, rgba(20, 43, 79, 0.97), rgba(7, 17, 34, 0.99));
    box-shadow:
        0 12px 32px rgba(3, 10, 24, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.13);
    cursor: pointer;
    font: inherit;
    isolation: isolate;
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.chat-widget-notification {
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 3;
    width: 9px;
    height: 9px;
    border: 2px solid #10223d;
    border-radius: 50%;
    background: #37c987;
    box-shadow: 0 0 0 4px rgba(55, 201, 135, 0.14);
}

.chat-widget::before,
.chat-widget::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 25px;
    pointer-events: none;
}

.chat-widget::before {
    inset: -6px;
    border: 1px solid rgba(74, 158, 255, 0.34);
    animation: chatSignal 3s ease-out infinite;
}

.chat-widget::after {
    inset: -12px;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.22), rgba(74, 158, 255, 0) 70%);
    animation: chatGlow 3s ease-in-out infinite;
}

.chat-widget:hover,
.chat-widget:focus-visible {
    border-color: rgba(126, 193, 255, 0.78);
    box-shadow:
        0 19px 48px rgba(3, 10, 24, 0.46),
        0 0 30px rgba(74, 158, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transform: translateY(-3px);
}

.chat-widget:focus-visible {
    outline: 2px solid #60b4ff;
    outline-offset: 5px;
}

.chat-widget-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 10, 28, 0.42));
    animation: chatFloat 3.2s ease-in-out infinite;
    transition: filter 200ms ease, transform 200ms ease;
}

.chat-widget:hover .chat-widget-img {
    filter: drop-shadow(0 5px 12px rgba(74, 158, 255, 0.36));
    transform: scale(1.04);
}

.chat-widget-text {
    position: absolute;
    right: calc(100% + 12px);
    bottom: 4px;
    display: block;
    width: max-content;
    max-width: min(240px, calc(100vw - 100px));
    padding: 10px 13px;
    color: #172033;
    border: 1px solid rgba(17, 24, 39, 0.11);
    border-radius: 12px 12px 4px 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.17);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.4;
    text-align: start;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px) translateY(3px);
    animation: chatPrompt 14s ease-in-out 1.2s infinite;
}

.chat-widget-text::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: 12px;
    width: 10px;
    height: 10px;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
    border-right: 1px solid rgba(17, 24, 39, 0.08);
    background: #ffffff;
    transform: rotate(45deg);
}

.chat-widget:hover .chat-widget-text,
.chat-widget:focus-visible .chat-widget-text {
    opacity: 1;
    transform: translate(0);
    animation: none;
}

@keyframes chatFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes chatSignal {
    0% { opacity: 0.8; transform: scale(0.9); }
    75%, 100% { opacity: 0; transform: scale(1.22); }
}

@keyframes chatGlow {
    0%, 100% { opacity: 0.52; transform: scale(0.9); }
    50% { opacity: 0.9; transform: scale(1.06); }
}

@keyframes chatPrompt {
    0%, 7% { opacity: 0; transform: translateX(8px) translateY(3px); }
    12%, 58% { opacity: 1; transform: translate(0); }
    66%, 100% { opacity: 0; transform: translateX(8px) translateY(3px); }
}

@keyframes chatPromptRtl {
    0%, 7% { opacity: 0; transform: translateX(-8px) translateY(3px); }
    12%, 58% { opacity: 1; transform: translate(0); }
    66%, 100% { opacity: 0; transform: translateX(-8px) translateY(3px); }
}

[dir="rtl"] .chat-widget {
    right: auto;
    left: 24px;
}

[dir="rtl"] .chat-widget-text {
    right: auto;
    left: calc(100% + 12px);
    border-radius: 12px 12px 12px 4px;
    transform: translateX(-8px) translateY(3px);
    animation-name: chatPromptRtl;
}

[dir="rtl"] .chat-widget-text::after {
    right: auto;
    left: -6px;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    border-left: 1px solid rgba(17, 24, 39, 0.08);
}

@media (max-width: 640px) {
    .chat-widget {
        right: 14px;
        bottom: 14px;
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    [dir="rtl"] .chat-widget {
        right: auto;
        left: 14px;
    }

    .chat-widget::before {
        inset: -5px;
        border-radius: 18px;
    }

    .chat-widget::after {
        inset: -10px;
    }

    .chat-widget-img {
        width: 40px;
        height: 40px;
    }

    .chat-widget-text {
        right: calc(100% + 10px);
        bottom: 4px;
        max-width: calc(100vw - 84px);
        padding: 8px 11px;
        font-size: 10px;
        border-radius: 10px 10px 4px 10px;
    }

    [dir="rtl"] .chat-widget-text {
        right: auto;
        left: calc(100% + 10px);
        border-radius: 10px 10px 10px 4px;
    }

    .chat-widget-text::after {
        right: -5px;
        bottom: 10px;
        width: 9px;
        height: 9px;
    }

    [dir="rtl"] .chat-widget-text::after {
        right: auto;
        left: -5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chat-widget::before,
    .chat-widget::after,
    .chat-widget-img,
    .chat-widget-text {
        animation: none;
    }

    .chat-widget-text {
        opacity: 1;
        transform: none;
    }
}

.chatbot-panel {
    position: fixed;
    right: 24px;
    bottom: 104px;
    z-index: 62;
    display: flex;
    width: min(350px, calc(100vw - 28px));
    height: min(540px, calc(100vh - 128px));
    min-height: 430px;
    flex-direction: column;
    overflow: hidden;
    color: #172033;
    border: 1px solid rgba(17, 32, 56, 0.14);
    border-radius: 20px;
    background: #f8fafc;
    box-shadow: 0 28px 80px rgba(4, 13, 28, 0.34);
    opacity: 0;
    transform: translateY(16px) scale(0.975);
    transform-origin: bottom right;
    transition: opacity 220ms ease, transform 220ms ease;
}

.chatbot-panel[hidden] {
    display: none;
}

.chatbot-panel.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.chatbot.is-open .chat-widget {
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px) scale(0.92);
}

.chatbot-header {
    position: relative;
    display: flex;
    min-height: 68px;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background-color: #111d30;
    background-image:
        linear-gradient(rgba(109, 155, 217, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(109, 155, 217, 0.055) 1px, transparent 1px);
    background-size: 24px 24px;
}

.chatbot-avatar {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(116, 188, 255, 0.34);
    border-radius: 13px;
    background: rgba(74, 158, 255, 0.1);
}

.chatbot-avatar img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.chatbot-identity {
    min-width: 0;
}

.chatbot-identity strong,
.chatbot-identity small {
    display: block;
}

.chatbot-identity strong {
    overflow: hidden;
    font-size: 14px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chatbot-identity small {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 4px;
    color: #a8b9cf;
    font-size: 10px;
}

.chatbot-identity small i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #37c987;
    box-shadow: 0 0 0 4px rgba(55, 201, 135, 0.11);
}

.chatbot-close {
    display: grid;
    width: 36px;
    height: 36px;
    margin-inline-start: auto;
    padding: 0;
    place-items: center;
    color: #c4d0df;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.035);
    cursor: pointer;
}

.chatbot-close:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.chatbot-close:focus-visible,
.chatbot-language-options button:focus-visible,
.chatbot-quick-replies button:focus-visible,
.chatbot-form textarea:focus-visible,
.chatbot-form button:focus-visible {
    outline: 2px solid #4a9eff;
    outline-offset: 2px;
}

.chatbot-language {
    position: relative;
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    padding: 18px 16px 14px;
    overflow-y: auto;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.032) 1px, transparent 1px);
    background-size: 30px 30px;
}

.chatbot-language[hidden] {
    display: none;
}

.chatbot-step {
    color: #4a9eff;
    font-family: Consolas, "Courier New", monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.chatbot-language-title {
    margin: 0;
    color: #172033;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    text-align: center;
}

.chatbot-language > p {
    margin: 6px 0 0;
    color: #687386;
    font-size: 11px;
    line-height: 1.5;
}

.chatbot-language-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.chatbot-language-options button {
    min-width: 56px;
    padding: 9px 14px;
    color: #172033;
    text-align: center;
    border: 1px solid #dfe5ed;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease, background 170ms ease;
}

.chatbot-language-options button:hover {
    border-color: rgba(37, 99, 235, 0.45);
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(26, 52, 86, 0.08);
    transform: translateY(-1px);
}

.chatbot-language-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 16px;
    color: #7c8796;
    font-size: 9px;
    line-height: 1.45;
    text-align: center;
}

.chatbot-language-note i {
    color: #2a9d68;
    font-size: 13px;
}

.chatbot-conversation {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    background: #f3f6fa;
}

.chatbot-conversation[hidden] {
    display: none;
}

.chatbot-messages {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 16px 14px 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #c9d3e1 transparent;
}

.chatbot-message {
    display: grid;
    max-width: 86%;
    gap: 5px;
    align-self: flex-start;
}

.chatbot-message.is-user {
    align-self: flex-end;
}

.chatbot-message-content {
    padding: 11px 13px;
    color: #263247;
    border: 1px solid #dfe5ed;
    border-radius: 5px 15px 15px 15px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(24, 45, 73, 0.045);
    font-size: 11px;
    line-height: 1.58;
    white-space: pre-wrap;
}

.chatbot-message.is-user .chatbot-message-content {
    color: #ffffff;
    border-color: #2563eb;
    border-radius: 15px 5px 15px 15px;
    background: #2563eb;
    box-shadow: 0 7px 20px rgba(37, 99, 235, 0.18);
}

.chatbot-message small {
    padding-inline: 4px;
    color: #919baa;
    font-size: 8px;
}

.chatbot-message.is-user small {
    text-align: end;
}

.chatbot-message.is-typing .chatbot-message-content {
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 5px;
    padding: 13px 15px;
}

.chatbot-typing-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #7790ac;
    animation: chatbotTyping 1.1s ease-in-out infinite;
}

.chatbot-typing-dot:nth-child(2) {
    animation-delay: 140ms;
}

.chatbot-typing-dot:nth-child(3) {
    animation-delay: 280ms;
}

@keyframes chatbotTyping {
    0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-3px); }
}

.chatbot-quick-replies {
    display: flex;
    gap: 7px;
    padding: 0 14px 9px;
    overflow-x: auto;
    scrollbar-width: none;
}

.chatbot-quick-replies::-webkit-scrollbar {
    display: none;
}

.chatbot-quick-replies button {
    flex: 0 0 auto;
    min-height: 31px;
    padding: 0 11px;
    color: #31527a;
    border: 1px solid #cbd8e8;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    font-size: 9px;
    font-weight: 750;
    cursor: pointer;
}

.chatbot-quick-replies button:hover {
    color: #1d4ed8;
    border-color: rgba(37, 99, 235, 0.4);
}

.chatbot-handoff {
    padding: 0 14px 9px;
}

.chatbot-handoff[hidden] {
    display: none;
}

.chatbot-handoff a {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #087f4f;
    border: 1px solid rgba(5, 150, 105, 0.28);
    border-radius: 12px;
    background: rgba(5, 150, 105, 0.075);
    font-size: 10px;
    font-weight: 850;
}

.chatbot-handoff i {
    font-size: 16px;
}

.chatbot-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px;
    align-items: end;
    gap: 8px;
    margin: 0 10px;
    padding: 8px 8px 8px 13px;
    border: 1px solid #d5deea;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(28, 48, 75, 0.065);
}

.chatbot-form textarea {
    width: 100%;
    min-height: 40px;
    max-height: 104px;
    padding: 10px 0 8px;
    resize: none;
    color: #253146;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 11px;
    line-height: 1.45;
}

.chatbot-form textarea:focus {
    border-color: transparent;
}

.chatbot-form textarea::placeholder {
    color: #9aa4b3;
}

.chatbot-form button {
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    color: #ffffff;
    border: 0;
    border-radius: 12px;
    background: #2563eb;
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease;
}

.chatbot-form button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.chatbot-form button:disabled {
    cursor: wait;
    opacity: 0.55;
    transform: none;
}

.chatbot-form button i {
    font-size: 18px;
}

.chatbot-panel.is-rtl .chatbot-form button i {
    transform: scaleX(-1);
}

.chatbot-disclaimer {
    display: flex;
    min-height: 33px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 14px 8px;
    color: #8c96a5;
    font-size: 8px;
    line-height: 1.35;
    text-align: center;
}

.chatbot-disclaimer i {
    font-size: 11px;
}

[dir="rtl"] .chatbot-panel {
    right: auto;
    left: 30px;
    transform-origin: bottom left;
}

.chatbot-panel.is-rtl {
    direction: rtl;
}

.chatbot-panel.is-rtl .chatbot-message-content {
    border-radius: 15px 5px 15px 15px;
}

.chatbot-panel.is-rtl .chatbot-message.is-user .chatbot-message-content {
    border-radius: 5px 15px 15px 15px;
}

@media (max-width: 640px) {
    .chatbot-panel {
        right: 10px;
        bottom: 10px;
        left: auto;
        width: min(348px, calc(100vw - 20px));
        height: min(540px, calc(100dvh - 20px));
        min-height: 0;
        border-radius: 18px;
        transform-origin: bottom center;
    }

    [dir="rtl"] .chatbot-panel {
        right: auto;
        left: 10px;
    }

    .chatbot-header {
        min-height: 64px;
    }

    .chatbot-language {
        padding: 16px 14px 12px;
    }

    .chatbot-language-title {
        font-size: 14px;
    }

    .chatbot-language-options {
        gap: 8px;
        margin-top: 12px;
    }

    .chatbot-language-options button {
        min-width: 50px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .chatbot-language-note {
        padding-top: 12px;
    }

    .chatbot.is-open .chat-widget {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chatbot-panel,
    .chatbot-language-options button,
    .chatbot-typing-dot {
        animation: none;
        transition: none;
    }
}

/* ==============================
   ADMIN PANEL STYLES
   ============================== */

.admin-body,
.admin-login-body {
    min-height: 100vh;
    background: var(--bg);
}

.admin-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 22px 16px;
    border-inline-end: 1px solid var(--line);
    background: rgba(5, 6, 6, 0.94);
    backdrop-filter: blur(18px);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 6px 22px;
    border-bottom: 1px solid var(--line);
}

.admin-brand strong,
.admin-brand small {
    display: block;
}

.admin-brand strong {
    font-size: 14px;
}

.admin-brand small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

.admin-nav {
    display: grid;
    gap: 8px;
    margin-top: 22px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px;
    color: var(--muted-strong);
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 700;
    font-size: 14px;
}

.admin-nav a i {
    color: var(--accent);
    font-size: 19px;
}

.admin-nav a:hover,
.admin-nav a.is-active {
    color: var(--text);
    border-color: rgba(74, 158, 255, 0.3);
    background: var(--accent-soft);
}

.admin-main {
    min-width: 0;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 74px;
    padding: 0 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 6, 6, 0.88);
    backdrop-filter: blur(18px);
}

.admin-topbar strong,
.admin-topbar small {
    display: block;
}

.admin-topbar strong {
    font-size: 15px;
}

.admin-topbar small {
    color: var(--muted);
    font-size: 12px;
}

.admin-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
}

.admin-top-actions a,
.admin-row-link,
.admin-panel-head > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 12px;
    color: var(--accent);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
}

.admin-top-actions a:hover,
.admin-row-link:hover,
.admin-panel-head > a:hover {
    border-color: rgba(74, 158, 255, 0.5);
}

.admin-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.admin-menu-btn i {
    font-size: 21px;
}

.admin-content {
    width: min(1220px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 54px;
}

.admin-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.admin-metrics article,
.admin-panel,
.admin-login-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.admin-metrics article {
    display: grid;
    gap: 8px;
    padding: 20px;
}

.admin-metrics i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--accent);
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: 14px;
    background: var(--accent-soft);
    font-size: 22px;
}

.admin-metrics span {
    color: var(--muted);
    font-weight: 700;
}

.admin-metrics strong {
    color: var(--text);
    font-size: 30px;
    line-height: 1;
}

.admin-grid {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.admin-grid.two-columns,
.admin-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-panel {
    padding: 22px;
}

.admin-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.admin-panel-head h1,
.admin-panel-head h2,
.admin-login-card h1 {
    margin: 0;
    color: var(--text);
    font-size: 24px;
    line-height: 1.18;
    letter-spacing: 0;
}

.admin-panel-head p,
.admin-login-card p {
    margin: 7px 0 0;
    color: var(--muted);
}

.admin-count {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 11px;
    color: var(--muted-strong);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.admin-list {
    display: grid;
    gap: 10px;
}

.admin-list-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 7px 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
}

.admin-list-item:hover {
    border-color: rgba(74, 158, 255, 0.35);
}

.admin-list-item strong,
.admin-list-item small {
    display: block;
    min-width: 0;
}

.admin-list-item small {
    grid-column: 2;
    color: var(--muted);
}

.admin-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 27px;
    padding: 0 9px;
    color: var(--muted-strong);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    text-transform: capitalize;
    white-space: nowrap;
}

.admin-status.is-good {
    color: #78b3ff;
    border-color: rgba(74, 158, 255, 0.36);
    background: rgba(74, 158, 255, 0.08);
}

.admin-status.is-hot {
    color: #ffd18a;
    border-color: rgba(255, 209, 138, 0.34);
    background: rgba(255, 209, 138, 0.08);
}

.admin-status.is-waiting {
    color: #b5c4ff;
    border-color: rgba(181, 196, 255, 0.3);
    background: rgba(181, 196, 255, 0.07);
}

.admin-empty {
    display: grid;
    place-items: center;
    gap: 12px;
    min-height: 180px;
    padding: 22px;
    color: var(--muted);
    text-align: center;
    border: 1px dashed var(--line-strong);
    border-radius: 16px;
}

.admin-empty.large {
    min-height: 300px;
}

.admin-empty i {
    color: var(--accent);
    font-size: 34px;
}

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

.admin-progress-list > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    color: var(--muted-strong);
}

.admin-progress-list strong {
    color: var(--muted);
    font-size: 12px;
}

.admin-progress {
    grid-column: 1 / -1;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.admin-progress i {
    display: block;
    height: 100%;
    background: var(--accent);
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 12px;
    text-align: start;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.admin-table th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.admin-table td {
    color: var(--muted-strong);
}

.admin-table td strong,
.admin-table td small {
    display: block;
}

.admin-table td small {
    margin-top: 3px;
    color: var(--muted);
}

.admin-message-row td {
    color: var(--muted);
    background: rgba(255, 255, 255, 0.018);
}

.admin-detail-grid {
    display: grid;
    gap: 18px;
}

.admin-detail-list {
    display: grid;
    gap: 12px;
}

.admin-detail-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.022);
}

.admin-detail-list span {
    color: var(--muted);
}

.admin-detail-list strong {
    color: var(--text);
    text-align: end;
}

.admin-note-text {
    color: var(--muted-strong);
}

.admin-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

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

.admin-service-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.022);
}

.admin-service-card > i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--accent);
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: 14px;
    background: var(--accent-soft);
    font-size: 22px;
}

.admin-service-card h2,
.admin-ticket h2 {
    margin: 16px 0 8px;
    font-size: 18px;
    line-height: 1.25;
}

.admin-service-card p,
.admin-ticket p {
    margin: 0;
    color: var(--muted);
}

.admin-service-card ul {
    display: grid;
    gap: 8px;
    margin: 16px 0 0;
    padding-inline-start: 18px;
    color: var(--muted-strong);
}

.admin-service-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--accent);
    font-weight: 800;
    font-size: 14px;
}

.admin-ticket-list {
    display: grid;
    gap: 12px;
}

.admin-ticket {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.022);
}

.admin-ticket > div:last-child {
    display: grid;
    gap: 5px;
    text-align: end;
}

.admin-ticket small {
    color: var(--muted);
}

.admin-checklist {
    display: grid;
    gap: 12px;
}

.admin-checklist div {
    display: flex;
    gap: 10px;
    padding: 14px;
    color: var(--muted-strong);
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.022);
}

.admin-checklist i {
    color: var(--accent);
    margin-top: 2px;
}

.admin-checklist code,
.admin-panel code {
    color: var(--accent);
}

.admin-checklist a {
    color: var(--accent);
    font-weight: 800;
}

.admin-login-wrap {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 30px 14px;
}

.admin-login-card {
    width: min(460px, 100%);
    padding: 28px;
}

.admin-login-card h1 {
    margin-top: 28px;
    font-size: 32px;
}

.admin-login-form {
    display: grid;
    gap: 15px;
    margin-top: 24px;
}

.admin-login-form .admin-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.admin-login-form .btn {
    width: 100%;
}

.admin-alert {
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--muted-strong);
}

.admin-alert.is-error {
    border-color: rgba(243, 107, 95, 0.55);
    color: #ffb6af;
}

.admin-alert.is-success {
    border-color: rgba(74, 158, 255, 0.45);
    color: #8ab4ff;
}

.admin-alert.is-info {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border-color: rgba(74, 255, 190, 0.35);
    color: #a3f5d6;
    background: rgba(74, 255, 190, 0.05);
}

.admin-alert.is-info i {
    flex-shrink: 0;
    margin-top: 1px;
}

label.is-readonly input[disabled],
label.is-readonly input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.04);
}

.admin-login-note {
    margin-top: 18px;
    padding: 12px 14px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.022);
    font-size: 13px;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    place-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.9);
}

.image-lightbox.is-open {
    display: grid;
}

.image-lightbox-panel {
    position: relative;
    width: min(1160px, 100%);
    max-height: calc(100vh - 48px);
    padding: 16px;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background: #070909;
}

.image-lightbox-panel img {
    display: block;
    width: 100%;
    max-height: calc(100vh - 140px);
    object-fit: contain;
    border-radius: 12px;
    background: #0b0f10;
}

.image-lightbox-title {
    margin-top: 12px;
    color: var(--muted-strong);
    font-weight: 800;
}

.image-lightbox-close {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--text);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(5, 6, 6, 0.86);
    cursor: pointer;
}

.image-lightbox-close i {
    font-size: 20px;
}

.admin-maintenance-form {
    display: grid;
    gap: 16px;
}

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

.admin-radio-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 92px;
    padding: 16px;
    color: var(--muted-strong);
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.022);
    cursor: pointer;
}

.admin-radio-card input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.admin-radio-card strong,
.admin-radio-card small {
    display: block;
}

.admin-radio-card strong {
    color: var(--text);
    font-size: 15px;
}

.admin-radio-card small {
    margin-top: 4px;
    color: var(--muted);
    font-weight: 600;
}

.admin-radio-card:has(input:checked) {
    border-color: rgba(74, 158, 255, 0.48);
    background: var(--accent-soft);
}

.admin-security-grid {
    align-items: start;
}

.admin-security-form {
    display: grid;
    gap: 16px;
}

.admin-security-form > label:not(.admin-inline-check) {
    display: grid;
    gap: 7px;
}

.admin-security-form > label:not(.admin-inline-check) > span {
    color: var(--muted-strong);
    font-size: 12px;
    font-weight: 800;
}

.admin-security-form > label:not(.admin-inline-check) > small {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

.admin-security-form input[type="text"],
.admin-security-form input[type="password"] {
    color: var(--text);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.025);
    box-shadow: none;
}

.admin-security-form > .btn {
    justify-self: start;
    gap: 8px;
}

.admin-security-guidance {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.admin-security-guidance h3 {
    margin: 0;
    color: var(--text);
    font-size: 16px;
}

.admin-security-guidance ol {
    display: grid;
    gap: 8px;
    margin: 13px 0 18px;
    padding-inline-start: 20px;
    color: var(--muted);
    font-size: 13px;
}

.admin-security-storage {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 20px 0 0;
    padding: 13px 0 0;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 11px;
}

.admin-security-storage i {
    margin-top: 2px;
    color: var(--accent);
}

.admin-chatbot-hero {
    position: relative;
    display: flex;
    min-height: 230px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 38px;
    padding: 32px;
    overflow: hidden;
    border: 1px solid rgba(74, 158, 255, 0.24);
    border-radius: 22px;
    background-color: #0d192a;
    background-image:
        linear-gradient(rgba(111, 165, 232, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(111, 165, 232, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 90% 10%, rgba(74, 158, 255, 0.18), transparent 38%);
    background-size: 32px 32px, 32px 32px, auto;
}

.admin-chatbot-hero::after {
    content: "knowledge.match();\A response.verify();\A human.handoff();";
    position: absolute;
    top: 26px;
    right: 31px;
    color: rgba(131, 180, 239, 0.18);
    font-family: Consolas, "Courier New", monospace;
    font-size: 10px;
    line-height: 1.9;
    white-space: pre;
}

.admin-chatbot-hero > * {
    position: relative;
    z-index: 1;
}

.admin-chatbot-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #75b7ff;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.admin-chatbot-hero h1 {
    max-width: 680px;
    margin: 15px 0 0;
    color: #ffffff;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.admin-chatbot-hero p {
    max-width: 710px;
    margin: 14px 0 0;
    color: #aabbd1;
    font-size: 13px;
    line-height: 1.7;
}

.admin-chatbot-hero > a {
    display: inline-flex;
    min-height: 42px;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.065);
    font-size: 12px;
    font-weight: 800;
}

.admin-chatbot-hero > a:hover {
    border-color: rgba(117, 183, 255, 0.55);
    background: rgba(74, 158, 255, 0.12);
}

.admin-chatbot-metrics {
    margin-top: 18px;
}

.admin-chatbot-metrics strong {
    font-size: 23px;
}

.admin-chatbot-settings-grid {
    align-items: start;
}

.admin-chatbot-form {
    display: grid;
    gap: 16px;
}

.admin-chatbot-form > .btn {
    justify-self: start;
    gap: 8px;
}

.admin-form-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.admin-form-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--line);
}

.admin-ai-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.022);
}

.admin-ai-status > i {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    color: #6eafff;
    border-radius: 12px;
    background: rgba(74, 158, 255, 0.1);
    font-size: 20px;
}

.admin-ai-status strong,
.admin-ai-status small {
    display: block;
}

.admin-ai-status strong {
    color: var(--text);
    font-size: 13px;
}

.admin-ai-status small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

.admin-inline-check {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 11px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
}

.admin-inline-check input {
    width: 17px;
    height: 17px;
    min-height: 0;
    margin-top: 2px;
    accent-color: var(--accent);
}

.admin-inline-check strong,
.admin-inline-check small {
    display: block;
}

.admin-inline-check strong {
    color: var(--text);
    font-size: 13px;
}

.admin-inline-check small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

.admin-inline-check.is-danger {
    border-color: rgba(243, 107, 95, 0.26);
}

.admin-inline-check.is-danger strong {
    color: #ffaca4;
}

.admin-field-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 12px 13px;
    color: var(--muted);
    border-inline-start: 2px solid rgba(74, 158, 255, 0.48);
    background: rgba(74, 158, 255, 0.045);
    font-size: 10px;
    line-height: 1.55;
}

.admin-field-note i {
    color: var(--accent);
    font-size: 15px;
}

.admin-chatbot-workflow ol {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.admin-chatbot-workflow li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.admin-chatbot-workflow li > span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #75b7ff;
    border: 1px solid rgba(74, 158, 255, 0.28);
    border-radius: 11px;
    background: rgba(74, 158, 255, 0.07);
    font-family: Consolas, "Courier New", monospace;
    font-size: 10px;
}

.admin-chatbot-workflow strong,
.admin-chatbot-workflow small {
    display: block;
}

.admin-chatbot-workflow strong {
    color: var(--text);
    font-size: 13px;
}

.admin-chatbot-workflow small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
}

.admin-chatbot-security {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(5, 150, 105, 0.075);
    border: 1px solid rgba(5, 150, 105, 0.22);
}

.admin-chatbot-security > i {
    color: #57d6a5;
    font-size: 23px;
}

.admin-chatbot-security strong {
    color: #a7f3d0;
    font-size: 13px;
}

.admin-chatbot-security p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
}

.admin-knowledge-panel,
.admin-unanswered-panel {
    margin-top: 18px;
}

.admin-knowledge-list {
    display: grid;
    gap: 10px;
}

.admin-knowledge-item,
.admin-knowledge-add {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.018);
}

.admin-knowledge-item > summary,
.admin-knowledge-add > summary {
    display: flex;
    min-height: 74px;
    align-items: center;
    gap: 13px;
    padding: 12px 15px;
    color: var(--text);
    cursor: pointer;
    list-style: none;
}

.admin-knowledge-item > summary::-webkit-details-marker,
.admin-knowledge-add > summary::-webkit-details-marker {
    display: none;
}

.admin-knowledge-item[open] > summary {
    border-bottom: 1px solid var(--line);
    background: rgba(74, 158, 255, 0.04);
}

.admin-knowledge-icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    color: #75b7ff;
    border-radius: 12px;
    background: rgba(74, 158, 255, 0.09);
    font-size: 19px;
}

.admin-knowledge-item summary > span:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.admin-knowledge-item summary strong,
.admin-knowledge-item summary small {
    display: block;
}

.admin-knowledge-item summary strong {
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-knowledge-item summary small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}

.admin-knowledge-chevron {
    color: var(--muted);
    transition: transform 180ms ease;
}

.admin-knowledge-item[open] .admin-knowledge-chevron {
    transform: rotate(180deg);
}

.admin-knowledge-editor {
    padding: 20px;
}

.admin-entry-options {
    display: grid;
    grid-template-columns: minmax(220px, 1.3fr) minmax(180px, 0.8fr) 110px;
    align-items: end;
    gap: 12px;
}

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

.admin-language-columns fieldset {
    display: grid;
    min-width: 0;
    gap: 13px;
    margin: 0;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.018);
}

.admin-language-columns legend {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 7px;
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
}

.admin-language-columns legend span {
    display: grid;
    width: 27px;
    height: 23px;
    place-items: center;
    color: #75b7ff;
    border-radius: 7px;
    background: rgba(74, 158, 255, 0.1);
    font-size: 8px;
}

.admin-language-columns textarea {
    min-height: 92px;
    font-size: 11px;
    line-height: 1.55;
}

.admin-language-columns label:last-child textarea {
    min-height: 168px;
}

.admin-delete-entry {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.admin-delete-entry button,
.admin-clear-button {
    display: inline-flex;
    min-height: 35px;
    align-items: center;
    gap: 7px;
    padding: 0 11px;
    color: #ffaaa2;
    border: 1px solid rgba(243, 107, 95, 0.28);
    border-radius: 999px;
    background: rgba(243, 107, 95, 0.06);
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.admin-knowledge-add {
    margin-top: 14px;
    border-style: dashed;
}

.admin-knowledge-add > summary {
    min-height: 58px;
    justify-content: center;
    color: #75b7ff;
    font-size: 12px;
    font-weight: 850;
}

.admin-knowledge-add > form {
    padding: 20px;
    border-top: 1px solid var(--line);
}

.admin-unanswered-panel .admin-panel-head form {
    flex: 0 0 auto;
}

.admin-unanswered-list {
    display: grid;
    gap: 9px;
}

.admin-unanswered-list article {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.018);
}

.admin-unanswered-list article > span {
    display: grid;
    width: 34px;
    height: 30px;
    place-items: center;
    color: #75b7ff;
    border-radius: 9px;
    background: rgba(74, 158, 255, 0.09);
    font-size: 9px;
    font-weight: 900;
}

.admin-unanswered-list p {
    margin: 0;
    color: var(--muted-strong);
    font-size: 12px;
    line-height: 1.55;
}

.admin-unanswered-list time {
    color: var(--muted);
    font-size: 9px;
    white-space: nowrap;
}

.maintenance-body {
    min-height: 100vh;
    background: var(--bg);
}

.maintenance-wrap {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 30px 14px;
}

.maintenance-card {
    width: min(680px, 100%);
    padding: 34px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--panel);
}

.maintenance-card .brand {
    justify-content: center;
}

.maintenance-icon {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    margin: 32px auto 18px;
    color: var(--accent);
    border: 1px solid rgba(74, 158, 255, 0.34);
    border-radius: 18px;
    background: var(--accent-soft);
}

.maintenance-icon i {
    font-size: 30px;
}

.maintenance-card h1 {
    margin: 0;
    color: var(--text);
    font-size: 38px;
    line-height: 1.12;
    letter-spacing: 0;
}

.maintenance-card p {
    max-width: 520px;
    margin: 16px auto 0;
    color: var(--muted-strong);
}

.maintenance-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}

@media (max-width: 1100px) {
    .admin-metrics,
    .admin-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-grid.two-columns,
    .admin-detail-grid {
        grid-template-columns: 1fr;
    }

    .admin-language-columns {
        grid-template-columns: 1fr;
    }
}

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

    .admin-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 80;
        width: min(300px, calc(100% - 42px));
        transform: translateX(-104%);
        transition: transform 180ms ease;
    }

    .admin-sidebar.is-open {
        transform: translateX(0);
    }

    .admin-menu-btn {
        display: grid;
    }

    .admin-content {
        width: min(1220px, calc(100% - 28px));
    }
}

@media (max-width: 620px) {
    .admin-topbar {
        padding: 0 14px;
    }

    .admin-top-actions {
        display: none;
    }

    .admin-metrics,
    .admin-service-grid,
    .admin-toggle-grid {
        grid-template-columns: 1fr;
    }

    .admin-panel {
        padding: 18px;
    }

    .admin-panel-head,
    .admin-ticket,
    .admin-detail-list div {
        display: grid;
    }

    .admin-chatbot-hero {
        min-height: 0;
        align-items: flex-start;
        flex-direction: column;
        padding: 24px 20px;
    }

    .admin-chatbot-hero::after {
        display: none;
    }

    .admin-chatbot-hero h1 {
        font-size: 29px;
    }

    .admin-chatbot-hero > a {
        width: 100%;
        justify-content: center;
    }

    .admin-entry-options {
        grid-template-columns: 1fr;
    }

    .admin-knowledge-item > summary {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr) auto;
    }

    .admin-knowledge-item > summary .admin-status {
        grid-column: 2;
        justify-self: start;
    }

    .admin-knowledge-chevron {
        grid-column: 3;
        grid-row: 1;
    }

    .admin-knowledge-editor,
    .admin-knowledge-add > form {
        padding: 15px;
    }

    .admin-unanswered-list article {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .admin-unanswered-list time {
        grid-column: 2;
    }

    .admin-detail-list strong,
    .admin-ticket > div:last-child {
        text-align: start;
    }

    .maintenance-card {
        padding: 24px;
    }

    .maintenance-card h1 {
        font-size: 30px;
    }
}

/* ==============================
   PRIVATE PROJECT PROGRESS
   ============================== */

.progress-page {
    --progress-ink: #17202b;
    --progress-muted: #5f6978;
    --progress-line: #d9dee5;
    --progress-line-strong: #aeb8c4;
    --progress-blue: #1558c0;
    --progress-blue-dark: #0e4ba9;
    color: var(--progress-ink);
    background: #ffffff;
}

.progress-page h1,
.progress-page h2,
.progress-page h3,
.progress-page p {
    color: inherit;
}

.progress-overline {
    margin: 0 0 15px;
    color: var(--progress-blue) !important;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.progress-hero {
    padding: 74px 0 70px;
    border-bottom: 1px solid var(--progress-line);
    background: #f3f5f8;
}

.progress-hero-inner {
    max-width: 900px;
    text-align: center;
}

.progress-hero h1 {
    margin: 0;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 600;
    letter-spacing: -1.8px;
    line-height: 1.04;
}

.progress-hero p:last-child {
    max-width: 720px;
    margin: 23px auto 0;
    color: var(--progress-muted) !important;
    font-size: 16px;
    line-height: 1.72;
}

.progress-access {
    padding: 94px 0;
}

.progress-access-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(400px, 0.9fr);
    gap: clamp(60px, 9vw, 130px);
    align-items: center;
}

.progress-access h2,
.progress-project-header h2,
.progress-section > header h2 {
    margin: 0;
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 600;
    letter-spacing: -0.9px;
    line-height: 1.1;
}

.progress-access-grid > div:first-child > p:last-child,
.progress-project-header > div > p:last-child,
.progress-section > header > p:last-child {
    margin: 18px 0 0;
    color: var(--progress-muted) !important;
    font-size: 14px;
    line-height: 1.75;
}

.progress-reference-panel {
    padding: 29px 0 0;
    border-top: 2px solid var(--progress-ink);
}

.progress-reference-form label {
    display: block;
    margin-bottom: 10px;
    color: #475261;
    font-size: 12px;
    font-weight: 700;
}

.progress-reference-form > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
}

.progress-reference-form input,
.progress-client-form input,
.progress-client-form textarea,
.progress-client-form select {
    width: 100%;
    color: var(--progress-ink);
    border: 1px solid var(--progress-line-strong);
    border-radius: 2px;
    outline: 0;
    background: #ffffff;
    box-shadow: none;
    font: inherit;
}

.progress-reference-form input {
    min-height: 52px;
    padding: 0 15px;
    border-inline-end: 0;
    font-family: Consolas, "Courier New", monospace;
    font-size: 15px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.progress-reference-form input:focus,
.progress-client-form input:focus,
.progress-client-form textarea:focus,
.progress-client-form select:focus {
    border-color: var(--progress-blue);
}

.progress-reference-form button,
.progress-client-form button {
    min-height: 48px;
    padding: 0 20px;
    color: #ffffff;
    border: 1px solid var(--progress-blue);
    border-radius: 2px;
    background: var(--progress-blue);
    box-shadow: none;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
}

.progress-reference-form button:hover,
.progress-client-form button:hover {
    border-color: var(--progress-blue-dark);
    background: var(--progress-blue-dark);
}

.progress-privacy-note {
    display: flex;
    gap: 9px;
    margin: 13px 0 0;
    color: var(--progress-muted) !important;
    font-size: 11px;
    line-height: 1.55;
}

.progress-privacy-note i {
    flex: 0 0 auto;
    color: var(--progress-blue);
    font-size: 15px;
}

.progress-explainer {
    padding-bottom: 92px;
}

.progress-explainer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--progress-line-strong);
    border-bottom: 1px solid var(--progress-line-strong);
}

.progress-explainer article {
    min-height: 230px;
    padding: 27px 28px 31px;
    border-inline-start: 1px solid var(--progress-line);
}

.progress-explainer article:first-child {
    border-inline-start: 0;
}

.progress-explainer article > span {
    color: var(--progress-blue);
    font-size: 10px;
    font-weight: 800;
}

.progress-explainer h2 {
    margin: 50px 0 10px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.progress-explainer p {
    margin: 0;
    color: var(--progress-muted) !important;
    font-size: 13px;
    line-height: 1.65;
}

.progress-dashboard {
    padding: 84px 0 96px;
}

.progress-project-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 50px;
    align-items: start;
}

.progress-project-header h2 {
    max-width: 790px;
}

.progress-project-header > form {
    margin-top: 4px;
}

.progress-track-another {
    padding: 8px 0;
    color: var(--progress-ink);
    border: 0;
    border-bottom: 1px solid var(--progress-ink);
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.progress-alert {
    margin: 22px 0;
    padding: 13px 15px;
    border: 1px solid var(--progress-line);
    font-size: 13px;
}

.progress-alert p {
    margin: 0;
}

.progress-alert p + p {
    margin-top: 6px;
}

.progress-alert.is-error {
    color: #8f241c;
    border-color: #dba7a2;
    background: #fff7f6;
}

.progress-alert.is-success {
    color: #14543c;
    border-color: #9cc8b5;
    background: #f4fbf7;
}

.progress-project-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 50px;
    border-top: 1px solid var(--progress-line-strong);
    border-bottom: 1px solid var(--progress-line-strong);
}

.progress-project-facts > div {
    min-height: 104px;
    padding: 20px 22px;
    border-inline-start: 1px solid var(--progress-line);
}

.progress-project-facts > div:first-child {
    border-inline-start: 0;
}

.progress-project-facts span,
.progress-project-facts strong {
    display: block;
}

.progress-project-facts span {
    color: var(--progress-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.progress-project-facts strong {
    margin-top: 19px;
    font-size: 13px;
    line-height: 1.45;
}

.progress-completion {
    margin-top: 42px;
}

.progress-completion > div:first-child {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
}

.progress-completion > div:first-child span {
    font-size: 13px;
    font-weight: 700;
}

.progress-completion > div:first-child strong {
    color: var(--progress-blue);
    font-size: 32px;
    line-height: 1;
}

.progress-completion-bar,
.admin-project-mini-progress,
.admin-project-detail-progress > div {
    height: 7px;
    margin-top: 12px;
    overflow: hidden;
    background: #e4e8ed;
}

.progress-completion-bar i,
.admin-project-mini-progress i,
.admin-project-detail-progress > div i {
    display: block;
    height: 100%;
    background: var(--progress-blue, var(--accent));
}

.progress-completion dl {
    display: flex;
    gap: 42px;
    margin: 17px 0 0;
}

.progress-completion dl div {
    display: flex;
    gap: 8px;
}

.progress-completion dt {
    color: var(--progress-muted);
    font-size: 11px;
}

.progress-completion dd {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
}

.progress-section {
    margin-top: 76px;
    padding-top: 38px;
    border-top: 1px solid var(--progress-line-strong);
}

.progress-section > header h2 {
    font-size: clamp(27px, 3vw, 36px);
}

.progress-milestones {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 38px 0 0;
    padding: 0;
    border-top: 1px solid var(--progress-line);
    border-bottom: 1px solid var(--progress-line);
    list-style: none;
}

.progress-milestones li {
    display: grid;
    min-height: 150px;
    align-content: space-between;
    gap: 16px;
    padding: 22px;
    border-inline-start: 1px solid var(--progress-line);
    border-top: 1px solid var(--progress-line);
}

.progress-milestones li:nth-child(-n + 3) {
    border-top: 0;
}

.progress-milestones li:nth-child(3n + 1) {
    border-inline-start: 0;
}

.progress-milestones li > span {
    color: var(--progress-blue);
    font-size: 10px;
    font-weight: 800;
}

.progress-milestones li > strong {
    font-size: 14px;
    line-height: 1.45;
}

.progress-milestones li > small {
    color: var(--progress-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.progress-milestones li.is-completed > small {
    color: #19734d;
}

.progress-milestones li.is-in_progress > small {
    color: var(--progress-blue);
}

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

.progress-empty {
    margin: 28px 0 0;
    padding: 19px 0;
    color: var(--progress-muted) !important;
    border-top: 1px solid var(--progress-line);
    border-bottom: 1px solid var(--progress-line);
    font-size: 13px;
}

.progress-activity-list,
.progress-ticket-list {
    margin-top: 28px;
    border-top: 1px solid var(--progress-line);
}

.progress-activity-list > article,
.progress-ticket-list > article {
    padding: 20px 0 22px;
    border-bottom: 1px solid var(--progress-line);
}

.progress-activity-list article > div:first-child,
.progress-ticket-list article > div:first-child {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
}

.progress-activity-list strong,
.progress-ticket-list span {
    color: var(--progress-blue);
    font-size: 11px;
    font-weight: 750;
}

.progress-activity-list small,
.progress-ticket-list small {
    color: var(--progress-muted);
    font-size: 10px;
}

.progress-activity-list p,
.progress-ticket-list > article > p,
.progress-ticket-reply p {
    margin: 11px 0 0;
    color: #4b5664 !important;
    font-size: 13px;
    line-height: 1.68;
}

.progress-ticket-list h3 {
    margin: 17px 0 0;
    font-size: 16px;
}

.progress-ticket-reply {
    margin-top: 18px;
    padding: 15px;
    border-inline-start: 2px solid var(--progress-blue);
    background: #f5f7fa;
}

.progress-ticket-reply strong {
    font-size: 11px;
}

.progress-client-form {
    display: grid;
    gap: 15px;
    margin-top: 32px;
    padding-top: 27px;
    border-top: 2px solid var(--progress-ink);
}

.progress-client-form h3 {
    margin: 0;
    font-size: 18px;
}

.progress-client-form > p {
    margin: -6px 0 2px;
    color: var(--progress-muted) !important;
    font-size: 12px;
    line-height: 1.6;
}

.progress-client-form label,
.progress-client-form label > span {
    display: grid;
    gap: 7px;
}

.progress-client-form label > span {
    color: #475261;
    font-size: 11px;
    font-weight: 700;
}

.progress-client-form input,
.progress-client-form select {
    min-height: 45px;
    padding: 0 12px;
}

.progress-client-form textarea {
    min-height: 120px;
    padding: 12px;
    resize: vertical;
}

.progress-client-form button {
    width: max-content;
}

@media (max-width: 900px) {
    .progress-access-grid,
    .progress-project-header,
    .progress-client-grid {
        grid-template-columns: 1fr;
    }

    .progress-access-grid {
        gap: 48px;
    }

    .progress-project-facts,
    .progress-explainer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .progress-explainer article:nth-child(3) {
        border-top: 1px solid var(--progress-line);
        border-inline-start: 0;
    }

    .progress-client-grid {
        gap: 0;
    }
}

@media (max-width: 620px) {
    .progress-hero {
        padding: 57px 0 54px;
    }

    .progress-hero h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .progress-access,
    .progress-dashboard {
        padding: 64px 0 72px;
    }

    .progress-reference-form > div,
    .progress-project-facts,
    .progress-explainer-grid,
    .progress-milestones {
        grid-template-columns: 1fr;
    }

    .progress-reference-form input {
        border-inline-end: 1px solid var(--progress-line-strong);
    }

    .progress-reference-form button {
        width: 100%;
        margin-top: 9px;
    }

    .progress-explainer article,
    .progress-explainer article:nth-child(3) {
        min-height: 0;
        border-top: 1px solid var(--progress-line);
        border-inline-start: 0;
    }

    .progress-explainer article:first-child {
        border-top: 0;
    }

    .progress-project-facts > div {
        min-height: 0;
        padding: 18px 0 20px;
        border-top: 1px solid var(--progress-line);
        border-inline-start: 0;
    }

    .progress-project-facts > div:first-child {
        border-top: 0;
    }

    .progress-milestones li,
    .progress-milestones li:nth-child(-n + 3) {
        min-height: 126px;
        border-top: 1px solid var(--progress-line);
        border-inline-start: 0;
    }

    .progress-milestones li:first-child {
        border-top: 0;
    }

    .progress-completion dl {
        display: grid;
        gap: 8px;
    }

    .progress-section {
        margin-top: 58px;
    }

    .progress-client-form button {
        width: 100%;
    }
}

/* ==============================
   ADMIN CLIENT PROJECTS
   ============================== */

.admin-project-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 50px;
    align-items: end;
    margin-bottom: 18px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.admin-project-hero > div:first-child > span,
.admin-project-detail-head > div:first-child > span {
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.admin-project-hero h1,
.admin-project-detail-head h1 {
    max-width: 760px;
    margin: 13px 0 0;
    color: var(--text);
    font-size: clamp(28px, 3.4vw, 43px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.admin-project-hero p,
.admin-project-detail-head p {
    max-width: 760px;
    margin: 13px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.admin-project-summary {
    display: grid;
    grid-template-columns: repeat(2, 110px);
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
}

.admin-project-summary div {
    padding: 17px;
    border-inline-start: 1px solid var(--line);
}

.admin-project-summary div:first-child {
    border-inline-start: 0;
}

.admin-project-summary span,
.admin-project-summary strong {
    display: block;
}

.admin-project-summary span {
    color: var(--muted);
    font-size: 10px;
}

.admin-project-summary strong {
    margin-top: 10px;
    color: var(--text);
    font-size: 25px;
}

.admin-client-create-layout {
    grid-template-columns: 1fr;
}

.admin-project-form,
.admin-add-milestone {
    display: grid;
    gap: 16px;
}

.admin-form-grid {
    display: grid;
    gap: 14px;
}

.admin-form-grid.two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-project-form label,
.admin-add-milestone label,
.admin-project-ticket-list form label {
    display: grid;
    gap: 7px;
}

.admin-project-form label > span,
.admin-add-milestone label > span,
.admin-project-ticket-list form label > span {
    color: var(--muted-strong);
    font-size: 12px;
    font-weight: 700;
}

.admin-project-form input,
.admin-project-form textarea,
.admin-project-form select,
.admin-add-milestone input,
.admin-milestone-list select,
.admin-project-ticket-list form select,
.admin-project-ticket-list form textarea {
    width: 100%;
    color: var(--text);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    outline: 0;
    background: rgba(255, 255, 255, 0.025);
    box-shadow: none;
    font: inherit;
}

.admin-project-form input,
.admin-project-form select,
.admin-add-milestone input,
.admin-milestone-list select,
.admin-project-ticket-list form select {
    min-height: 44px;
    padding: 0 12px;
}

.admin-project-form textarea,
.admin-project-ticket-list form textarea {
    padding: 12px;
    resize: vertical;
}

.admin-project-form input:focus,
.admin-project-form textarea:focus,
.admin-project-form select:focus,
.admin-add-milestone input:focus,
.admin-milestone-list select:focus,
.admin-project-ticket-list form select:focus,
.admin-project-ticket-list form textarea:focus {
    border-color: rgba(74, 158, 255, 0.7);
}

.admin-project-form input[type="range"] {
    min-height: 20px;
    padding: 0;
    accent-color: var(--accent);
}

.admin-inline-check {
    display: flex !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 9px !important;
}

.admin-inline-check input {
    width: 18px;
    min-height: 18px;
    accent-color: var(--accent);
}

.admin-client-list-panel,
.admin-project-section {
    margin-top: 18px;
}

.admin-client-table {
    min-width: 1050px;
}

.admin-project-mini-progress {
    width: 100px;
    margin-top: 7px;
    background: rgba(255, 255, 255, 0.08);
}

.admin-project-detail-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 50px;
    align-items: end;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.admin-project-detail-head > div:first-child > a {
    display: flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    margin-bottom: 26px;
    color: var(--muted-strong);
    font-size: 12px;
    font-weight: 700;
}

.admin-project-reference {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 8px;
}

.admin-project-detail-head code {
    display: block;
    width: max-content;
    padding: 7px 9px;
    color: #b9d8ff;
    border: 1px solid rgba(74, 158, 255, 0.3);
    background: rgba(74, 158, 255, 0.08);
    font-size: 13px;
}

.admin-project-reference button {
    min-height: 31px;
    padding: 0 10px;
    color: var(--muted-strong);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.admin-project-reference button:hover {
    color: var(--text);
    border-color: rgba(74, 158, 255, 0.4);
}

.admin-project-detail-progress > strong,
.admin-project-detail-progress > span {
    display: block;
}

.admin-project-detail-progress > strong {
    color: var(--text);
    font-size: 42px;
    line-height: 1;
}

.admin-project-detail-progress > span {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    text-transform: capitalize;
}

.admin-project-detail-progress > div {
    margin-top: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.admin-project-detail-progress > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
}

.admin-project-detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
}

.admin-project-private-details {
    align-self: start;
}

.admin-milestone-list {
    border-top: 1px solid var(--line-strong);
}

.admin-milestone-list form {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 180px auto;
    gap: 16px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.admin-milestone-list form > span {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
}

.admin-milestone-list form > strong {
    color: var(--muted-strong);
    font-size: 13px;
}

.admin-milestone-list button,
.admin-project-ticket-list form button {
    min-height: 38px;
    padding: 0 13px;
    color: var(--accent);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: transparent;
    font-weight: 700;
    cursor: pointer;
}

.admin-add-milestone {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    margin-top: 24px;
}

.admin-project-activity-list {
    max-height: 650px;
    overflow-y: auto;
    border-top: 1px solid var(--line-strong);
}

.admin-project-activity-list > article {
    padding: 17px 0 19px;
    border-bottom: 1px solid var(--line);
}

.admin-project-activity-list article > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.admin-project-activity-list article > div small {
    margin-inline-start: auto;
    color: var(--muted);
    font-size: 10px;
}

.admin-project-activity-list article > p,
.admin-project-ticket-list article > p,
.admin-ticket-reply p {
    margin: 12px 0 0;
    color: var(--muted-strong);
    font-size: 13px;
    line-height: 1.68;
}

.admin-project-ticket-list {
    display: grid;
    gap: 14px;
}

.admin-project-ticket-list > article {
    padding: 19px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.018);
}

.admin-project-ticket-list > article > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.admin-project-ticket-list header span {
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
}

.admin-project-ticket-list header h3 {
    margin: 8px 0 0;
    color: var(--text);
    font-size: 17px;
}

.admin-project-ticket-list header > strong {
    color: var(--muted);
    font-size: 11px;
    text-transform: capitalize;
}

.admin-ticket-reply {
    margin-top: 15px;
    padding: 13px;
    border-inline-start: 2px solid var(--accent);
    background: rgba(74, 158, 255, 0.06);
}

.admin-project-ticket-list form {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
}

@media (max-width: 1060px) {
    .admin-project-detail-layout,
    .admin-project-detail-head {
        grid-template-columns: 1fr;
    }

    .admin-project-detail-progress {
        max-width: 420px;
    }

    .admin-project-ticket-list form {
        grid-template-columns: 1fr 1fr;
    }

    .admin-project-ticket-list form button {
        grid-column: 1 / -1;
        width: max-content;
    }
}

@media (max-width: 760px) {
    .admin-project-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .admin-project-summary {
        width: max-content;
    }

    .admin-milestone-list form {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .admin-milestone-list select,
    .admin-milestone-list button {
        grid-column: 2;
    }
}

@media (max-width: 620px) {
    .admin-project-hero,
    .admin-project-detail-head {
        padding: 22px 18px;
    }

    .admin-form-grid.two-columns,
    .admin-add-milestone,
    .admin-project-ticket-list form {
        grid-template-columns: 1fr;
    }

    .admin-add-milestone .btn,
    .admin-project-ticket-list form button {
        grid-column: auto;
        width: 100%;
    }

    .admin-project-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }
}

/* Keep decorative work off the mobile critical rendering path. */
@media (max-width: 1024px) {
    .hero-section::before {
        display: none;
        content: none;
    }

    .hero-tech-tile {
        will-change: auto;
    }

    .chat-widget::before,
    .chat-widget::after {
        content: none;
    }

    .chat-widget-img,
    .chat-widget-text {
        animation: none;
    }

    .chat-widget-text {
        display: none;
        opacity: 0;
        transform: none;
    }
}

/* Skip layout and paint work for long sections until scrolling approaches them. */
@supports (content-visibility: auto) {
    .why-section {
        content-visibility: auto;
        contain-intrinsic-size: auto 900px;
    }

    .quality-section {
        content-visibility: auto;
        contain-intrinsic-size: auto 1500px;
    }

    .project-solutions-section {
        content-visibility: auto;
        contain-intrinsic-size: auto 880px;
    }

    .team-section {
        content-visibility: auto;
        contain-intrinsic-size: auto 900px;
    }

    .work-showcase-section {
        content-visibility: auto;
        contain-intrinsic-size: auto 1150px;
    }

    .reviews-section {
        content-visibility: auto;
        contain-intrinsic-size: auto 760px;
    }

    .brands-section,
    .footer-project-request,
    .footer-main {
        content-visibility: auto;
        contain-intrinsic-size: auto 520px;
    }
}
