:root {
    --bg: #07111f;
    --bg-soft: #0b1c34;
    --surface: rgba(255, 255, 255, 0.08);
    --surface-strong: rgba(255, 255, 255, 0.12);
    --text: #f3f7fb;
    --text-dark: #132238;
    --muted: #bdd0e4;
    --muted-dark: #57708d;
    --line: rgba(255, 255, 255, 0.12);
    --line-dark: rgba(13, 39, 69, 0.12);
    --primary: #2ea3f2;
    --primary-light: #5bb8ff;
    --primary-dark: #1f7fcc;
    --white: #ffffff;
    --panel: #ffffff;
    --page-light: linear-gradient(180deg, #f8fbff 0%, #eef4fa 100%);
    --shadow: 0 20px 60px rgba(2, 14, 29, 0.25);
    --radius: 24px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
}

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

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

button,
input,
textarea {
    font: inherit;
}

.site-shell {
    min-height: 100vh;
}

.page {
    overflow-x: hidden;
}

.topbar,
.hero,
.section,
.footer {
    width: 100%;
    padding-inline: max(2rem, calc((100% - var(--container)) / 2));
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1rem;
    backdrop-filter: blur(16px);
    background: linear-gradient(180deg, rgba(7, 17, 31, 0.92), rgba(7, 17, 31, 0.78));
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-weight: 800;
}

.brand-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.brand-text-wrap {
    display: inline-flex;
    align-items: flex-end;
    gap: 0.35rem;
}

.brand-text {
    font-size: 2rem;
    letter-spacing: -0.04em;
    color: var(--primary);
}

.brand-suffix {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.25rem;
}

.nav {
    display: flex;
    gap: 1.5rem;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

.nav a.active,
.nav a:hover,
.nav a:focus-visible,
.text-link:hover {
    color: var(--primary-light);
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.95rem 1.35rem;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(17, 128, 210, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(17, 128, 210, 0.32);
}

.button-secondary {
    background: transparent;
    border: 1px solid rgba(46, 163, 242, 0.4);
    color: var(--text);
    box-shadow: none;
}

.button-nav {
    padding-inline: 1.1rem;
}

.section-dark {
    position: relative;
    background:
        radial-gradient(circle at 70% 20%, rgba(91, 184, 255, 0.18), transparent 24%),
        radial-gradient(circle at 85% 10%, rgba(46, 163, 242, 0.35), transparent 18%),
        linear-gradient(180deg, #091426 0%, #08111f 100%);
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: center;
    padding-block: 4.5rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    width: min(800px, 80%);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(168, 222, 255, 0.60) 0%, rgba(46, 163, 242, 0.28) 28%, rgba(46, 163, 242, 0.06) 55%, transparent 70%),
        radial-gradient(circle at 50% 50%, rgba(91, 184, 255, 0.38), transparent 72%);
    box-shadow: 0 0 140px rgba(46, 163, 242, 0.30);
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}

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

.eyebrow {
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    color: var(--primary-light);
    font-weight: 700;
}

.eyebrow-dark {
    color: var(--primary-dark);
}

h1,
h2,
h3,
strong {
    letter-spacing: -0.04em;
}

h1 {
    margin: 0;
    font-size: clamp(2.7rem, 6vw, 4.9rem);
    line-height: 1.02;
    max-width: 12ch;
}

h2 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    color: inherit;
}

h3 {
    margin: 0 0 0.8rem;
    font-size: 1.4rem;
}

p {
    margin: 0;
    line-height: 1.7;
}

.lead,
.lead-secondary {
    max-width: 62ch;
    color: var(--muted);
    font-size: 1.08rem;
}

.lead {
    margin-top: 1.5rem;
}

.lead-secondary {
    margin-top: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-profile {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 520px;
}

.profile-orb {
    display: none;
}

.profile-orb::before {
    display: none;
}

.hero-photo {
    width: min(480px, 90%);
    border-radius: 50%;
    border: none;
    box-shadow: none;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 40%, transparent 72%);
    mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 40%, transparent 72%);
    object-fit: cover;
    aspect-ratio: 1;
}

.section {
    padding-block: 4.5rem;
}

.section-light {
    color: var(--text-dark);
    background: var(--page-light);
}

.split-section,
.contact-layout,
.two-column-page,
.credibility,
.section-cta {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: start;
}

.check-list {
    padding: 0;
    margin: 2rem 0 0;
    list-style: none;
    display: grid;
    gap: 1rem;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    font-size: 1.05rem;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-dark);
    font-weight: 800;
}

.check-list.compact {
    margin-top: 1rem;
}

.profile-panel,
.about-side-card,
.form-panel,
.contact-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(19, 34, 56, 0.08);
    border-radius: var(--radius);
    padding: 1.35rem;
    box-shadow: 0 18px 40px rgba(12, 29, 52, 0.08);
}

.profile-panel-photo {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 1rem;
    -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 45%, #000 50%, transparent 78%);
    mask-image: radial-gradient(ellipse 85% 80% at 50% 45%, #000 50%, transparent 78%);
}

.contact-mini,
.direct-contact {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-weight: 600;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 2rem;
}

.section-heading p {
    color: var(--muted);
}

.section-heading.narrow {
    max-width: 720px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}

.service-card {
    padding: 1.5rem;
    border-radius: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 14px 34px rgba(5, 15, 29, 0.16);
}

.service-title {
    font-size: 1.45rem;
}

.credibility-points {
    display: grid;
    gap: 1rem;
}

.credibility-points > div {
    display: grid;
    gap: 0.35rem;
    padding: 1.3rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(19, 34, 56, 0.07);
}

.section-cta {
    align-items: center;
    color: var(--text);
    background:
        radial-gradient(circle at 80% 20%, rgba(91, 184, 255, 0.16), transparent 25%),
        linear-gradient(180deg, #0a1426 0%, #08111f 100%);
}

.contact-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    display: grid;
    gap: 1rem;
}

.text-link {
    color: var(--primary-light);
    font-weight: 700;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.5rem 2.5rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer div {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.simple-page .content-page {
    min-height: calc(100vh - 120px);
}

.page-title {
    max-width: 14ch;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.page-title-light {
    color: var(--text);
}

.contact-form {
    display: grid;
    gap: 1rem;
}

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

.form-field {
    display: grid;
    gap: 0.45rem;
}

.form-field label {
    font-weight: 700;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(19, 34, 56, 0.12);
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.92);
}

.form-actions {
    display: grid;
    gap: 0.75rem;
}

.form-note,
.validation-message {
    color: var(--muted-dark);
    font-size: 0.95rem;
}

@media (max-width: 980px) {
    .hero,
    .split-section,
    .contact-layout,
    .two-column-page,
    .credibility,
    .section-cta,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .topbar {
        flex-wrap: wrap;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-profile {
        min-height: auto;
    }

    .hero::after {
        width: min(500px, 90%);
        right: -10%;
    }

    .page-title {
        max-width: 100%;
    }
}

@media (max-width: 720px) {
    .topbar,
    .hero,
    .section,
    .footer {
        padding-inline: 1.25rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .brand-text {
        font-size: 1.6rem;
    }

    .button,
    .button-nav {
        width: 100%;
    }

    .hero-actions,
    .footer,
    .footer div,
    .form-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}
