:root {
    --page: #0e1014;
    --page-soft: #15181e;
    --panel: rgba(255, 255, 255, 0.055);
    --panel-strong: rgba(255, 255, 255, 0.085);
    --line: rgba(218, 222, 230, 0.17);
    --text: #f7f7f4;
    --silver: #d8dce4;
    --silver-muted: #aeb4bf;
    --gold: #d5ad42;
    --gold-bright: #f1d577;
    --gold-dark: #9c7620;
    --gold-soft: rgba(213, 173, 66, 0.11);
    --shadow: 0 26px 76px rgba(0, 0, 0, 0.42);
    --radius: 24px;
    --content: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 10% 9%, rgba(213, 173, 66, 0.14), transparent 32rem),
        radial-gradient(circle at 91% 15%, rgba(216, 220, 228, 0.09), transparent 29rem),
        linear-gradient(180deg, #0c0e12 0%, #15181e 48%, #0c0e12 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.site-shell {
    overflow: hidden;
}

.container {
    width: min(calc(100% - 40px), var(--content));
    margin: 0 auto;
}

.site-header {
    position: relative;
    z-index: 10;
    padding: 24px 0;
    border-top: 4px solid var(--gold);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 1.2rem;
    font-weight: 850;
    letter-spacing: -0.035em;
    text-decoration: none;
}

.brand-lock {
    position: relative;
    display: grid;
    width: 48px;
    height: 41px;
    flex: 0 0 48px;
    place-items: center;
    margin-top: 10px;
    border: 2px solid var(--gold);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(213, 173, 66, 0.21), rgba(216, 220, 228, 0.06));
    box-shadow: 0 10px 28px rgba(213, 173, 66, 0.18);
    color: var(--silver);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.brand-lock::before {
    position: absolute;
    top: -17px;
    left: 11px;
    width: 22px;
    height: 19px;
    border: 3px solid var(--gold);
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    content: "";
}

.brand-lock span {
    transform: translateY(1px);
}

.header-contact {
    color: var(--silver-muted);
    font-size: 0.95rem;
    text-decoration: none;
}

.header-contact:hover,
.header-contact:focus-visible {
    color: var(--gold-bright);
}

.hero {
    position: relative;
    display: grid;
    min-height: 76vh;
    align-items: center;
    padding: 88px 0 108px;
}

.hero::after {
    position: absolute;
    right: -10%;
    bottom: 0;
    left: -10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
    content: "";
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(310px, 0.82fr);
    gap: 68px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: var(--gold-bright);
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 30px;
    height: 1px;
    background: currentColor;
    content: "";
}

h1 {
    max-width: 850px;
    margin-bottom: 24px;
    font-size: clamp(3.2rem, 7.7vw, 6.5rem);
    line-height: 0.94;
    letter-spacing: -0.064em;
}

.hero-intro {
    max-width: 760px;
    margin-bottom: 34px;
    color: var(--silver-muted);
    font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 850;
    text-align: center;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease,
        border-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    box-shadow: 0 12px 30px rgba(213, 173, 66, 0.20);
    color: #17130a;
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--gold-bright);
}

.button-secondary {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.035);
    color: var(--silver);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: rgba(213, 173, 66, 0.48);
    background: var(--gold-soft);
    color: var(--gold-bright);
}

.diagnosis-card {
    position: relative;
    padding: 32px;
    border: 1px solid rgba(213, 173, 66, 0.27);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035));
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.diagnosis-card::before {
    position: absolute;
    top: 26px;
    right: 26px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold-bright);
    box-shadow: 0 0 20px rgba(241, 213, 119, 0.65);
    content: "";
}

.card-label {
    margin-bottom: 18px;
    color: var(--silver-muted);
    font-size: 0.77rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.diagnosis-card h2 {
    margin-bottom: 14px;
    font-size: 1.72rem;
    line-height: 1.16;
    letter-spacing: -0.035em;
}

.diagnosis-card p {
    color: var(--silver-muted);
}

.diagnosis-result {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.diagnosis-result span {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    background: var(--gold-soft);
    color: var(--gold-bright);
    font-weight: 900;
}

.section {
    padding: 92px 0;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(280px, 1.22fr);
    gap: 60px;
    align-items: end;
    margin-bottom: 40px;
}

.section-heading h2 {
    margin-bottom: 0;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.section-heading p {
    margin-bottom: 4px;
    color: var(--silver-muted);
    font-size: 1.08rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    min-height: 100%;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--panel);
}

.service-number {
    display: block;
    margin-bottom: 42px;
    color: var(--gold-bright);
    font-size: 0.77rem;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--silver);
    font-size: 1.34rem;
    letter-spacing: -0.03em;
}

.service-card p {
    margin-bottom: 0;
    color: var(--silver-muted);
}

.process-section {
    position: relative;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.process-step {
    padding: 26px;
    border-top: 1px solid rgba(213, 173, 66, 0.55);
    background: rgba(255, 255, 255, 0.025);
}

.process-step > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    margin-bottom: 28px;
    border: 1px solid rgba(213, 173, 66, 0.46);
    border-radius: 50%;
    color: var(--gold-bright);
    font-size: 0.82rem;
    font-weight: 900;
}

.process-step h3 {
    margin-bottom: 10px;
    font-size: 1.08rem;
}

.process-step p {
    margin-bottom: 0;
    color: var(--silver-muted);
    font-size: 0.95rem;
}

.security-note {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: start;
    margin-top: 38px;
    padding: 26px;
    border: 1px solid rgba(213, 173, 66, 0.24);
    border-radius: 18px;
    background: var(--gold-soft);
}

.security-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(241, 213, 119, 0.52);
    border-radius: 13px;
    color: var(--gold-bright);
    font-size: 0.78rem;
    font-weight: 900;
}

.security-note strong {
    display: block;
    margin-bottom: 4px;
    color: var(--silver);
}

.security-note p {
    margin-bottom: 0;
    color: var(--silver-muted);
}

.cta {
    padding: 30px 0 112px;
    text-align: center;
}

.cta-panel {
    padding: 64px 30px;
    border: 1px solid rgba(213, 173, 66, 0.25);
    border-radius: 32px;
    background:
        radial-gradient(circle at 50% 0%, rgba(213, 173, 66, 0.16), transparent 28rem),
        var(--panel-strong);
    box-shadow: var(--shadow);
}

.cta h2 {
    max-width: 820px;
    margin: 0 auto 18px;
    font-size: clamp(2.5rem, 6vw, 4.7rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--silver-muted);
    font-size: 1.08rem;
}

.site-footer {
    padding: 28px 0 38px;
    border-top: 1px solid var(--line);
    color: var(--silver-muted);
    font-size: 0.9rem;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

@media (max-width: 980px) {
    .hero-grid,
    .section-heading {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 44px;
    }

    .section-heading {
        gap: 20px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 28px), var(--content));
    }

    .header-contact {
        display: none;
    }

    .brand-lock {
        width: 44px;
        height: 38px;
        flex-basis: 44px;
    }

    .brand-lock::before {
        left: 10px;
        width: 20px;
    }

    .hero {
        min-height: auto;
        padding-top: 64px;
    }

    h1 {
        font-size: clamp(3.05rem, 15.8vw, 4.9rem);
    }

    .diagnosis-card,
    .service-card,
    .process-step {
        padding: 24px;
    }

    .process-grid,
    .security-note {
        grid-template-columns: 1fr;
    }

    .footer-row {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}