:root {
    --ink: #0d1718;
    --ink-soft: #172425;
    --surface: #111c1d;
    --surface-2: #162223;
    --surface-3: #1b292a;
    --paper: #f3f4ef;
    --paper-deep: #e9ebe4;
    --white: #ffffff;
    --text: #142021;
    --muted: #5f6c6c;
    --muted-light: #aab6b4;
    --line: rgba(13, 23, 24, 0.12);
    --line-light: rgba(255, 255, 255, 0.12);
    --cyan: #65dce0;
    --cyan-deep: #2db9bd;
    --amber: #f2ae52;
    --green: #a8d887;
    --shadow: 0 24px 70px rgba(13, 23, 24, 0.1);
    --radius-lg: 28px;
    --radius-md: 20px;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--ink);
    color: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

button {
    border: 0;
    font: inherit;
}

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

.container {
    width: min(100% - 48px, var(--max-width));
    margin-inline: auto;
}

.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    color: var(--white);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.header.scrolled,
.header.menu-active {
    border-bottom: 1px solid var(--line-light);
    background: rgba(13, 23, 24, 0.88);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px);
}

.nav {
    display: flex;
    min-height: 80px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 11px;
    line-height: 1;
}

.logo-symbol {
    position: relative;
    display: inline-flex;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

.logo-symbol::before,
.logo-symbol::after {
    position: absolute;
    content: "";
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.logo-symbol::before {
    width: 27px;
    height: 25px;
    background: linear-gradient(135deg, var(--cyan), var(--amber));
    filter: drop-shadow(0 0 18px rgba(101, 220, 224, 0.2));
}

.logo-symbol::after {
    width: 21px;
    height: 19px;
    background: var(--ink);
    transform: translateY(1px);
}

.logo-text {
    color: currentColor;
    font-size: 19px;
    font-weight: 650;
    letter-spacing: 0.24em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 550;
    transition: color 0.2s ease;
}

.nav-links a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: var(--cyan);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s ease;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-cta {
    min-height: 44px;
    padding: 0 18px;
    background: var(--white);
    color: var(--ink);
    font-size: 13px;
}

.nav-cta:hover {
    background: var(--cyan);
    transform: translateY(-2px);
}

.menu-button {
    position: relative;
    display: none;
    width: 44px;
    height: 44px;
    cursor: pointer;
    border: 1px solid var(--line-light);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.menu-line {
    position: absolute;
    left: 12px;
    width: 18px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.25s ease, top 0.25s ease;
}

.menu-line:first-child {
    top: 17px;
}

.menu-line:last-child {
    top: 24px;
}

.menu-button.active .menu-line:first-child {
    top: 21px;
    transform: rotate(45deg);
}

.menu-button.active .menu-line:last-child {
    top: 21px;
    transform: rotate(-45deg);
}

.mobile-menu {
    display: none;
    padding: 4px 24px 24px;
    border-bottom: 1px solid var(--line-light);
    background: rgba(13, 23, 24, 0.98);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 15px 4px;
    border-bottom: 1px solid var(--line-light);
    color: rgba(255, 255, 255, 0.76);
}

.mobile-menu .mobile-cta {
    margin-top: 16px;
    padding: 15px 18px;
    border: 0;
    border-radius: 999px;
    background: var(--cyan);
    color: var(--ink);
    text-align: center;
    font-weight: 750;
}

section {
    scroll-margin-top: 92px;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 96px;
    background: var(--ink);
    color: var(--white);
}

.hero::before {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 7% 10%, rgba(101, 220, 224, 0.08), transparent 28%),
        linear-gradient(135deg, transparent 0 62%, rgba(255, 255, 255, 0.025) 62% 100%);
    content: "";
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    right: -140px;
    bottom: -260px;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: rgba(242, 174, 82, 0.1);
    filter: blur(100px);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(440px, 0.92fr);
    gap: clamp(56px, 7vw, 100px);
    align-items: center;
}

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

.eyebrow,
.section-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 10px;
    color: var(--cyan-deep);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow {
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.72);
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 16px rgba(168, 216, 135, 0.48);
}

h1,
h2,
h3 {
    text-wrap: balance;
}

h1 {
    max-width: 720px;
    font-size: clamp(46px, 5.5vw, 76px);
    font-weight: 650;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.hero-lead {
    max-width: 650px;
    margin-top: 28px;
    color: var(--muted-light);
    font-size: clamp(17px, 1.65vw, 20px);
    line-height: 1.7;
}

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

.btn {
    min-height: 54px;
    padding: 0 24px;
    font-size: 14px;
}

.btn-primary {
    background: var(--cyan);
    color: var(--ink);
}

.btn-primary:hover {
    background: #a5f2f4;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--line-light);
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.hero-principles {
    display: flex;
    flex-wrap: wrap;
    margin-top: 42px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-principles span {
    display: inline-flex;
    align-items: center;
}

.hero-principles span:not(:last-child)::after {
    width: 3px;
    height: 3px;
    margin: 0 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    content: "";
}

.hero-visual {
    position: relative;
    min-width: 0;
}

.visual-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.18;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius-lg);
    background: #101b1d;
    box-shadow: 0 38px 90px rgba(0, 0, 0, 0.32);
}

.visual-frame::after {
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: calc(var(--radius-lg) - 10px);
    content: "";
    pointer-events: none;
}

.visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 64% center;
}

.visual-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 50%, rgba(7, 13, 14, 0.9) 100%),
        linear-gradient(90deg, rgba(13, 23, 24, 0.12), transparent 50%);
}

.visual-caption {
    position: absolute;
    right: 32px;
    bottom: 30px;
    left: 32px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    color: var(--white);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.45;
}

.visual-caption small {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.caption-status {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    margin-top: 5px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 16px rgba(101, 220, 224, 0.6);
}

.value-strip {
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
    background: var(--surface);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.value-item {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;
    min-height: 132px;
    align-items: center;
    padding: 26px 32px 26px 0;
    border-right: 1px solid var(--line-light);
}

.value-item + .value-item {
    padding-left: 32px;
}

.value-item:last-child {
    border-right: 0;
}

.value-item span {
    color: var(--cyan-deep);
    font-size: 12px;
    font-weight: 800;
}

.value-item p {
    max-width: 290px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
}

.section {
    padding: 120px 0;
}

.solutions-section {
    border-bottom: 1px solid var(--line-light);
    background: var(--surface-2);
    color: var(--white);
}

.solutions-section .section-intro {
    color: var(--muted-light);
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
    gap: 80px;
    align-items: end;
    margin-bottom: 58px;
}

.section-label {
    margin-bottom: 20px;
}

.section-label::before {
    width: 24px;
    height: 1px;
    background: currentColor;
    content: "";
}

h2 {
    max-width: 760px;
    font-size: clamp(38px, 4.8vw, 62px);
    font-weight: 650;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.section-intro {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

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

.service-card {
    display: flex;
    min-height: 390px;
    flex-direction: column;
    padding: 32px;
    border: 1px solid var(--line-light);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.035);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    border-color: rgba(101, 220, 224, 0.42);
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
    transform: translateY(-5px);
}

.service-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 54px;
}

.service-number {
    color: var(--cyan-deep);
    font-size: 13px;
    font-weight: 850;
}

.service-tag {
    padding: 7px 11px;
    border: 1px solid var(--line-light);
    border-radius: 999px;
    color: var(--muted-light);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 680;
    letter-spacing: -0.035em;
}

.service-card > p {
    max-width: 510px;
    color: var(--muted-light);
    font-size: 16px;
    line-height: 1.7;
}

.service-outcome {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    font-weight: 700;
}

.service-outcome span {
    color: var(--amber);
    font-size: 18px;
}

.card-link,
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
}

.card-link {
    margin-top: auto;
    padding-top: 34px;
}

.card-link span,
.text-link span {
    color: var(--cyan-deep);
    transition: transform 0.2s ease;
}

.card-link:hover span {
    transform: translateX(4px);
}

.quality-section {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line-light);
    background: var(--ink);
    color: var(--white);
}

.quality-section::after {
    position: absolute;
    right: -200px;
    bottom: -340px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: rgba(101, 220, 224, 0.07);
    content: "";
    filter: blur(100px);
}

.quality-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1fr);
    gap: clamp(70px, 10vw, 140px);
    align-items: start;
}

.quality-copy {
    position: sticky;
    top: 130px;
}

.section-label-dark {
    color: var(--cyan);
}

.quality-copy .section-intro {
    max-width: 570px;
    margin-top: 28px;
    color: var(--muted-light);
}

.text-link {
    margin-top: 38px;
    color: var(--white);
}

.text-link:hover span {
    transform: translateY(4px);
}

.quality-list {
    border-top: 1px solid var(--line-light);
}

.quality-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 20px;
    padding: 34px 0;
    border-bottom: 1px solid var(--line-light);
}

.quality-number {
    color: var(--amber);
    font-size: 12px;
    font-weight: 850;
}

.quality-item h3 {
    margin-bottom: 10px;
    font-size: 23px;
    font-weight: 650;
    letter-spacing: -0.025em;
}

.quality-item p {
    color: var(--muted-light);
    font-size: 15px;
    line-height: 1.7;
}

.process-section {
    border-bottom: 1px solid var(--line-light);
    background: var(--surface);
    color: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(520px, 1fr);
    gap: clamp(60px, 9vw, 120px);
}

.process-copy {
    position: sticky;
    top: 130px;
    height: fit-content;
}

.process-copy .section-intro {
    max-width: 520px;
    margin-top: 28px;
    color: var(--muted-light);
}

.steps {
    list-style: none;
}

.step {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 22px;
    align-items: start;
    padding: 30px 0;
    border-top: 1px solid var(--line-light);
}

.step:last-child {
    border-bottom: 1px solid var(--line-light);
}

.step-number {
    color: var(--cyan-deep);
    font-size: 12px;
    font-weight: 850;
}

.step h3 {
    margin-bottom: 9px;
    font-size: 25px;
    font-weight: 680;
    letter-spacing: -0.03em;
}

.step p {
    max-width: 470px;
    color: var(--muted-light);
    font-size: 15px;
    line-height: 1.7;
}

.step-detail {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contact-section {
    padding: 0 0 80px;
    background: var(--surface);
}

.contact-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 70px;
    overflow: hidden;
    align-items: center;
    padding: clamp(42px, 6vw, 76px);
    border: 1px solid rgba(101, 220, 224, 0.22);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(101, 220, 224, 0.09), transparent 48%),
        var(--surface-3);
    color: var(--white);
}

.contact-panel::after {
    position: absolute;
    right: -100px;
    bottom: -190px;
    width: 420px;
    height: 420px;
    border: 80px solid rgba(101, 220, 224, 0.06);
    border-radius: 50%;
    content: "";
}

.contact-copy,
.contact-actions {
    position: relative;
    z-index: 1;
}

.contact-copy h2 {
    max-width: 720px;
}

.contact-copy .section-intro {
    max-width: 660px;
    margin-top: 24px;
    color: var(--muted-light);
}

.contact-panel .section-label {
    color: var(--cyan);
}

.contact-actions {
    display: grid;
    gap: 12px;
}

.btn-contact-primary {
    background: var(--cyan);
    color: var(--ink);
}

.btn-contact-primary:hover {
    background: #a5f2f4;
    transform: translateY(-2px);
}

.btn-contact-secondary {
    border: 1px solid var(--line-light);
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
}

.btn-contact-secondary:hover {
    background: rgba(255, 255, 255, 0.09);
}

.social-link {
    display: flex;
    justify-content: space-between;
    padding: 14px 6px 0;
    color: var(--muted-light);
    font-size: 13px;
    font-weight: 650;
}

.social-link span {
    color: var(--white);
}

.footer {
    padding: 34px 0;
    border-top: 1px solid var(--line-light);
    background: var(--ink);
    color: var(--muted-light);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    font-size: 13px;
}

.footer-content > :last-child {
    justify-self: end;
}

.logo-dark {
    color: var(--white);
}

.logo-dark .logo-symbol::after {
    background: var(--ink);
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.08s;
}

.delay-2 {
    transition-delay: 0.16s;
}

.delay-3 {
    transition-delay: 0.24s;
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1060px) {
    .nav-links {
        gap: 20px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
        gap: 48px;
    }

    .section-head,
    .quality-grid,
    .process-grid,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .quality-grid,
    .process-grid {
        gap: 54px;
    }

    .quality-copy,
    .process-copy {
        position: static;
    }

    .quality-copy .section-intro,
    .process-copy .section-intro {
        max-width: 720px;
    }

    .contact-panel {
        gap: 40px;
    }

    .contact-actions {
        max-width: 420px;
    }
}

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

    .nav {
        min-height: 72px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .hero {
        padding: 120px 0 66px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }

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

    .hero-visual {
        max-width: 620px;
    }

    .visual-frame {
        aspect-ratio: 1.25;
    }

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

    .value-item,
    .value-item + .value-item {
        min-height: auto;
        padding: 22px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line-light);
    }

    .value-item:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 88px 0;
    }

    .section-head {
        gap: 26px;
        margin-bottom: 38px;
    }

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

    .service-card {
        min-height: 360px;
    }

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

    .footer-content > :last-child {
        justify-self: start;
    }
}

@media (max-width: 560px) {
    h1 {
        font-size: clamp(40px, 12.5vw, 54px);
    }

    h2 {
        font-size: clamp(34px, 10vw, 46px);
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-principles {
        gap: 8px 0;
    }

    .visual-frame {
        aspect-ratio: 0.98;
        border-radius: 22px;
    }

    .visual-caption {
        right: 24px;
        bottom: 24px;
        left: 24px;
    }

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

    .service-top {
        margin-bottom: 40px;
    }

    .quality-item {
        grid-template-columns: 38px 1fr;
        gap: 12px;
    }

    .step {
        grid-template-columns: 34px 1fr;
        gap: 14px;
    }

    .step-detail {
        display: none;
    }

    .contact-section {
        padding-bottom: 32px;
    }

    .contact-panel {
        gap: 34px;
        padding: 36px 24px;
        border-radius: 22px;
    }

    .social-link {
        flex-direction: column;
        gap: 4px;
    }
}
