:root {
    --bg: #111113;
    --bg-soft: #1a1a1e;
    --bg-elevated: rgba(255, 255, 255, 0.04);
    --card: rgba(255, 255, 255, 0.06);
    --card-strong: rgba(255, 255, 255, 0.1);
    --text: #f5f7fb;
    --muted: #9ca3af;
    --line: rgba(255, 255, 255, 0.12);
    --accent: #bcf119;
    --accent-2: #6b7280;
    --accent-3: #a0c914;
    --success: #4ade80;
    --danger: #ff7a7a;
    --shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
    --radius: 24px;
    --radius-sm: 16px;
    --radius-pill: 999px;
    --container: 1180px;
    --transition: 0.25s ease;
    --section-spacing: 42px;
    --content-spacing: 18px;
    --surface-border: 1px solid var(--line);
    --surface-bg: rgba(255, 255, 255, 0.04);
    --surface-bg-hover: rgba(255, 255, 255, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(188, 241, 25, 0.09), transparent 28%),
        radial-gradient(circle at top right, rgba(107, 114, 128, 0.07), transparent 24%),
        linear-gradient(180deg, #0c0c0e 0%, #111113 40%, #0e0e10 100%);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

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

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

button {
    color: inherit;
}

:focus-visible {
    outline: 2px solid rgba(188, 241, 25, 0.8);
    outline-offset: 2px;
}

.container,
.flash {
    width: min(calc(100% - 32px), var(--container));
    margin-inline: auto;
}

.container {
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(18px);
    background: rgba(10, 10, 12, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    box-shadow: 0 12px 26px rgba(188, 241, 25, 0.28);
    color: #fff;
    font-weight: 800;
}

.nav-links,
.nav-actions {
    display: flex;
    align-items: center;
}

.nav-links {
    gap: 26px;
    color: var(--muted);
    font-weight: 500;
}

.nav-actions {
    gap: 12px;
}

.nav-links a:hover,
.footer-nav a:hover {
    color: var(--text);
}

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

.icon-external {
    flex-shrink: 0;
    opacity: 0.6;
}

.mobile-menu-toggle {
    display: none;
    place-items: center;
    width: 48px;
    height: 48px;
    border: var(--surface-border);
    border-radius: 14px;
    background: var(--surface-bg);
    color: var(--text);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.mobile-menu-toggle:hover {
    background: var(--surface-bg-hover);
}

.mobile-menu {
    display: none;
    padding-bottom: 18px;
}

.mobile-menu.open {
    display: grid;
    gap: 12px;
}

.mobile-menu a:not(.btn) {
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--surface-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding-inline: 22px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #111113;
    background: linear-gradient(135deg, #bcf119, #a0c914);
    box-shadow: 0 14px 34px rgba(188, 241, 25, 0.28);
}

.btn-ghost {
    color: var(--text);
    background: var(--surface-bg);
    border-color: var(--line);
}

.btn-ghost:hover {
    background: var(--surface-bg-hover);
}

.hero,
.page-hero {
    padding: 72px 0 44px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--surface-bg);
    color: #d9e0f0;
    font-size: 0.92rem;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    line-height: 1.06;
    letter-spacing: -0.04em;
}

h1 {
    max-width: 12ch;
    margin-bottom: 18px;
    font-size: clamp(2.7rem, 6vw, 5.6rem);
}

.page-hero h1 {
    max-width: 16ch;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

p {
    margin-top: 0;
}

.meta,
.project-content p,
.section-head p,
.service-card p,
.service-content-body,
label,
.footer-copy,
.stat-card span,
.hero p,
.page-hero p {
    color: var(--muted);
}

.hero p,
.page-hero p {
    max-width: 62ch;
    margin: 0 0 28px;
    font-size: 1.08rem;
}

.hero-actions,
.service-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-actions {
    margin-bottom: 34px;
}

section {
    padding: var(--section-spacing) 0;
}

.hero-stats,
.projects-grid,
.testimonial-grid,
.footer-grid,
.form-grid,
.contact,
.services-grid,
.faq-list {
    display: grid;
    gap: var(--content-spacing);
}

.hero-stats > *,
.projects-grid > *,
.testimonial-grid > *,
.services-grid > *,
.team-grid > *,
.form-grid > *,
.contact > * {
    min-width: 0;
}

.hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.projects-grid,
.testimonial-grid,
.services-grid {
    grid-template-columns: repeat(3, 1fr);
}

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

.contact {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: stretch;
}

.footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.9fr;
    padding: 26px 0 12px;
    margin-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.section-head p {
    max-width: 56ch;
    margin: 0;
}

.card,
.stat-card,
.project-card,
.testimonial-card,
.contact-panel,
.contact-form,
.service-card,
.service-detail-card {
    background: var(--card);
    border: var(--surface-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-card,
.contact-panel,
.contact-form,
.service-card {
    padding: 28px;
}

.stat-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.75rem;
}

.hero-visual .card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 360px;
}

.project-card {
    overflow: hidden;
    position: relative;
}

.stretched-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

.project-media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(188, 241, 25, 0.80), rgba(107, 114, 128, 0.65)),
        linear-gradient(180deg, #1a1a1e, #111113);
}

.project-media::before,
.project-media::after {
    content: "";
    position: absolute;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
}

.project-media::before {
    top: 18%;
    left: 12%;
    width: 58%;
    height: 64%;
}

.project-media::after {
    right: 12%;
    bottom: 14%;
    width: 26%;
    height: 42%;
}

.project-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-media img {
    transform: scale(1.05);
}

.project-cover {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 28px;
    aspect-ratio: 16 / 7;
    background: var(--card);
    border: var(--surface-border);
}

.project-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-cover:hover img {
    transform: scale(1.04);
}

.project-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: var(--surface-border);
}

.project-detail-meta-item {
    display: grid;
    gap: 6px;
}

.project-detail-meta-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.project-content {
    padding: 22px;
}

.project-content h3,
.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.35rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.88rem;
    color: var(--muted);
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding-inline: 10px;
    border-radius: var(--radius-pill);
    background: var(--surface-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-card {
    padding: 28px;
}

.stars {
    margin-bottom: 14px;
    letter-spacing: 0.2em;
    color: #ffd66b;
}

.author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.avatar,
.icon {
    display: grid;
    place-items: center;
    color: #fff;
}

.avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b7280, #bcf119);
    font-weight: 800;
}

.icon {
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(188, 241, 25, 0.18), rgba(107, 114, 128, 0.14));
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.35rem;
}

.field {
    display: grid;
    gap: 8px;
}

.field.full {
    grid-column: 1 / -1;
}

input,
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: var(--surface-bg);
    color: var(--text);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(188, 241, 25, 0.75);
    box-shadow: 0 0 0 4px rgba(188, 241, 25, 0.14);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.faq-item {
    overflow: hidden;
    border: var(--surface-border);
    border-radius: 22px;
    background: var(--surface-bg);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 22px;
    border: 0;
    background: transparent;
    color: var(--text);
    text-align: left;
    font-weight: 700;
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 22px;
    color: var(--muted);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 220px;
    padding-bottom: 22px;
}

.flash {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 16px;
    border: var(--surface-border);
}

.flash-success {
    background: rgba(74, 222, 128, 0.12);
    border-color: rgba(74, 222, 128, 0.4);
}

.flash-error,
.flash-danger {
    background: rgba(255, 122, 122, 0.12);
    border-color: rgba(255, 122, 122, 0.4);
}

.alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
}

.alert-danger {
    background: rgba(255, 122, 122, 0.12);
    border: 1px solid rgba(255, 122, 122, 0.35);
    color: #ffd6d6;
}

.footer-nav {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.auth-section {
    min-height: calc(100vh - 180px);
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: auto -40px -60px auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(188, 241, 25, 0.14), transparent 70%);
    pointer-events: none;
}

.service-link {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    font-weight: 700;
    color: var(--text);
}

.service-link:hover {
    color: var(--accent);
}

.service-detail-card {
    padding: 32px;
}

.service-detail-actions {
    margin-top: 28px;
}

.service-content-body {
    line-height: 1.8;
}

.service-content-body::after {
    content: "";
    display: block;
    clear: both;
}

.service-content-body h2,
.service-content-body h3,
.service-content-body h4 {
    margin-top: 32px;
    margin-bottom: 14px;
    color: var(--text);
}

.service-content-body p,
.service-content-body ul,
.service-content-body ol,
.service-content-body figure,
.service-content-body blockquote {
    margin-bottom: 18px;
}

.service-content-body ul,
.service-content-body ol {
    margin-left: 22px;
    padding-left: 0;
}

.service-content-body li {
    margin-bottom: 8px;
}

.service-content-body a {
    color: var(--accent);
    text-decoration: underline;
}

.service-content-body img {
    width: 100%;
    border-radius: 18px;
    float: right;
    max-width: 400px;
    margin-left: 15px;
    margin-bottom: 15px;
}

.service-content-body figure {
    margin-top: 24px;
    margin-bottom: 32px;
}

.service-content-body blockquote {
    margin-top: 24px;
    padding: 18px 20px;
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    background: var(--surface-bg);
    color: var(--text);
}

.service-content-body .content-image-right {
    float: right;
    width: min(38%, 360px);
    margin: 0 0 20px 28px;
}

.service-content-body .content-image-right img {
    width: 100%;
}

.service-content-body .content-image-right figcaption {
    margin-top: 10px;
    font-size: 0.92rem;
    color: var(--muted);
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(10, 10, 12, 0.72);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-image {
    width: 42px;
    height: 42px;
    border-radius: 10px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
    color: var(--text);
}

.site-footer {
    margin-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 40px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.footer-title {
    font-weight: 700;
    font-size: 1.05rem;
}

.footer-sub {
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {
    margin-top: 32px;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--muted);
    font-size: 0.9rem;
}

.legal-card {
    padding: 32px;
}

.legal-content {
    color: var(--muted);
    line-height: 1.8;
}

.legal-content h2,
.legal-content h3,
.legal-content h4 {
    color: var(--text);
    margin-top: 32px;
    margin-bottom: 14px;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
    margin-bottom: 18px;
}

.legal-content ul,
.legal-content ol {
    padding-left: 22px;
}

/* ── Team Section ──────────────────────────────────────────── */

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

.team-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: var(--surface-border);
    box-shadow: var(--shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(188, 241, 25, 0.22);
}

.team-photo {
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.team-card:hover .team-photo img {
    transform: scale(1.07);
}

.team-static {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 80px 28px 28px;
    background: linear-gradient(to top, rgba(10, 10, 12, 0.96) 0%, rgba(10, 10, 12, 0.55) 55%, transparent 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-static {
    opacity: 0;
}

.team-person-name {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text);
}

.team-person-role {
    color: var(--accent);
    font-size: 0.88rem;
    font-weight: 700;
    margin-top: 5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.team-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 28px 32px;
    background: rgba(11, 11, 13, 0.95);
    backdrop-filter: blur(18px);
    border-top: 2px solid var(--accent);
    transform: translateY(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover .team-panel {
    transform: translateY(0);
}

.team-panel .team-person-name {
    margin-bottom: 4px;
}

.team-panel .team-person-role {
    margin-bottom: 20px;
}

.team-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.team-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    background: var(--surface-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 600;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.team-social-link:hover {
    background: rgba(188, 241, 25, 0.1);
    border-color: rgba(188, 241, 25, 0.4);
    color: var(--accent);
}

.team-social-link svg {
    flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
    .projects-grid,
    .testimonial-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

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

@media (max-width: 900px) {

    .logo-text {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        gap: 28px;
        align-items: flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 780px) {
    /* ── Navigation ── */
    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-grid;
    }

    /* ── Spacing ── */
    .hero,
    .page-hero,
    section {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    /* ── Typography ── */
    h1 {
        max-width: none;
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    h2 {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    /* ── Grids → single column ── */
    .hero-grid,
    .hero-stats,
    .projects-grid,
    .testimonial-grid,
    .form-grid,
    .footer-grid,
    .contact,
    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    /* ── Hero ── */
    .hero-visual {
        display: none;
    }

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

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

    /* ── Section head ── */
    .section-head {
        display: grid;
        gap: 12px;
        align-items: start;
        margin-bottom: 20px;
    }

    .section-head p {
        max-width: none;
    }

    /* ── Buttons general ── */
    .service-detail-actions {
        flex-direction: column;
    }

    .service-detail-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* ── Team cards ── */
    .team-photo {
        aspect-ratio: 4 / 3;
    }

    .team-static {
        display: none;
    }

    .team-panel {
        position: static;
        transform: none;
        backdrop-filter: none;
        border-top: 2px solid var(--accent);
        border-radius: 0 0 var(--radius) var(--radius);
    }

    .team-card:hover {
        transform: none;
        box-shadow: var(--shadow);
    }

    /* ── Contact ── */
    .contact-panel,
    .contact-form {
        padding: 22px 18px;
    }

    /* ── Cards & padding ── */
    .stat-card,
    .service-card {
        padding: 22px 18px;
    }

    .service-detail-card {
        padding: 22px 18px;
    }

    .testimonial-card {
        padding: 22px 18px;
    }

    /* ── Service content ── */
    .service-content-body .content-image-right {
        float: none;
        width: 100%;
        margin: 0 0 20px;
    }

    /* ── Legal ── */
    .legal-card {
        padding: 22px 18px;
    }

    /* ── Footer ── */
    .site-footer {
        margin-top: 48px;
    }

    .service-content-body img {
        max-width: 100%;
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

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