:root {
    --dark: #11130f;
    --dark-soft: #181a15;
    --charcoal: #2d2d2d;
    --yellow: #f0c800;
    --white: #ffffff;
    --muted: rgba(255, 255, 255, 0.72);
    --border: rgba(255, 255, 255, 0.12);
    --max-width: 1180px;
    --radius-xl: 34px;
    --radius-lg: 24px;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Montserrat", Arial, sans-serif;
    background: var(--dark);
    color: var(--white);
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

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

.section {
    padding: 120px 0;
    position: relative;
}

.page-glow {
    position: fixed;
    inset: auto -120px -120px auto;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(240, 200, 0, 0.18), transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.site-header {
    width: min(var(--max-width), calc(100% - 36px));
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(17, 19, 15, 0.78);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.brand img {
    width: 150px;
    height: auto;
}

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

.main-nav a {
    padding: 12px 14px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    font-weight: 800;
    transition: color 0.25s ease, background 0.25s ease;
    border-radius: 999px;
}

.main-nav a:hover {
    color: var(--yellow);
    background: rgba(255, 255, 255, 0.05);
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 12px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.language-switch a {
    min-width: 42px;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    transition: 0.25s ease;
}

.language-switch a:hover,
.language-switch a.active {
    background: var(--yellow);
    color: var(--dark);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    background: var(--yellow);
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--dark);
    display: block;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 160px;
    background:
        radial-gradient(circle at 78% 18%, rgba(240, 200, 0, 0.16), transparent 28%),
        radial-gradient(circle at 18% 80%, rgba(255, 255, 255, 0.05), transparent 28%),
        linear-gradient(135deg, #11130f, #1a1c16);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
    gap: 70px;
    align-items: center;
}

.eyebrow,
.section-kicker {
    margin: 0 0 20px;
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 900;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
}

.eyebrow span {
    width: 36px;
    height: 2px;
    background: var(--yellow);
}

.hero h1 {
    margin: 0;
    font-size: clamp(3.3rem, 8vw, 7.7rem);
    line-height: 0.9;
    letter-spacing: -0.08em;
    font-weight: 900;
}

.hero-text {
    max-width: 650px;
    margin: 30px 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
    line-height: 1.75;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 900;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

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

.btn-primary {
    background: var(--yellow);
    color: var(--dark);
}

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

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

.hero-panel {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup {
    width: min(360px, 78vw);
    padding: 18px;
    border-radius: 44px;
    background: linear-gradient(145deg, #2d2d2d, #0f100d);
    border: 1px solid rgba(240, 200, 0, 0.28);
    box-shadow: var(--shadow), 0 0 46px rgba(240, 200, 0, 0.12);
}

.phone-top {
    width: 90px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    margin: 0 auto 16px;
}

.phone-screen {
    overflow: hidden;
    border-radius: 32px;
    aspect-ratio: 9 / 16;
    background: #000;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    max-width: 250px;
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(45, 45, 45, 0.82);
    border: 1px solid rgba(240, 200, 0, 0.24);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.floating-card strong {
    display: block;
    color: var(--yellow);
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.floating-card span {
    display: block;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.86rem;
    line-height: 1.5;
}

.floating-card-one {
    left: 0;
    top: 18%;
}

.floating-card-two {
    right: 0;
    bottom: 16%;
}

.spark-line {
    position: absolute;
    border: 1px solid rgba(240, 200, 0, 0.16);
    border-radius: 999px;
    pointer-events: none;
}

.spark-line-one {
    width: 320px;
    height: 320px;
    right: -80px;
    top: 120px;
}

.spark-line-two {
    width: 170px;
    height: 170px;
    left: 8%;
    bottom: 70px;
}

.intro-band {
    background: var(--yellow);
    color: var(--dark);
}

.intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.intro-band .section-kicker {
    color: var(--dark);
}

.intro-band h2 {
    margin: 0;
    font-size: clamp(2.3rem, 4.5vw, 4.5rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.intro-band p {
    margin: 0;
    color: rgba(17, 19, 15, 0.76);
    font-size: 1.08rem;
    line-height: 1.8;
    font-weight: 600;
}

.services {
    background: #f3f3ef;
    color: var(--dark);
}

.section-heading {
    max-width: 790px;
    margin-bottom: 54px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2.7rem, 6vw, 5.7rem);
    line-height: 0.92;
    letter-spacing: -0.075em;
    font-weight: 900;
}

.section-heading p {
    margin: 22px 0 0;
    color: rgba(17, 19, 15, 0.66);
    font-size: 1.08rem;
    line-height: 1.7;
}

.services .section-kicker,
.portfolio .section-kicker {
    color: var(--charcoal);
}

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

.service-card {
    min-height: 260px;
    padding: 30px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid rgba(17, 19, 15, 0.08);
    box-shadow: 0 18px 44px rgba(17, 19, 15, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 55px rgba(17, 19, 15, 0.12);
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: var(--yellow);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 24px;
}

.service-card h3 {
    margin: 0 0 12px;
    font-size: 1.35rem;
}

.service-card p {
    margin: 0;
    color: rgba(17, 19, 15, 0.66);
    line-height: 1.7;
    font-weight: 500;
}

.portfolio {
    background:
        radial-gradient(circle at 82% 16%, rgba(240, 200, 0, 0.14), transparent 26%),
        #11130f;
}

.portfolio .section-heading h2 {
    color: var(--white);
}

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

.portfolio .section-kicker {
    color: var(--yellow);
}

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

.portfolio-card {
    min-height: 430px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.portfolio-card.large {
    grid-row: span 2;
    min-height: 884px;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.78;
    transition: transform 0.45s ease, opacity 0.45s ease;
}

.portfolio-card:hover img {
    transform: scale(1.04);
    opacity: 0.92;
}

.portfolio-content {
    position: absolute;
    inset: auto 24px 24px 24px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(17, 19, 15, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
}

.portfolio-content span {
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 900;
}

.portfolio-content h3 {
    margin: 8px 0 8px;
    font-size: 1.45rem;
}

.portfolio-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

.contact-cards {
    background:
        radial-gradient(circle at 85% 20%, rgba(240, 200, 0, 0.12), transparent 28%),
        radial-gradient(circle at 15% 85%, rgba(240, 200, 0, 0.08), transparent 26%),
        #11130f;
    position: relative;
    overflow: hidden;
}

.contact-cards::before {
    content: "";
    position: absolute;
    top: 80px;
    right: -160px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 2px solid rgba(240, 200, 0, 0.14);
    pointer-events: none;
}

.contact-cards::after {
    content: "✦";
    position: absolute;
    right: 10%;
    bottom: 10%;
    font-size: clamp(4rem, 10vw, 10rem);
    color: rgba(240, 200, 0, 0.12);
    pointer-events: none;
}

.contact-heading {
    max-width: 900px;
    margin-bottom: 42px;
    position: relative;
    z-index: 2;
}

.contact-heading .section-kicker {
    color: var(--yellow);
}

.contact-heading h2 {
    color: var(--white);
}

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

.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 28px;
    position: relative;
    z-index: 2;
}

.contact-card-item {
    background:
        linear-gradient(135deg, rgba(45, 45, 45, 0.96), rgba(18, 19, 15, 0.98)),
        radial-gradient(circle at top right, rgba(240, 200, 0, 0.16), transparent 38%);
    border: 1px solid rgba(240, 200, 0, 0.22);
    border-radius: 34px;
    padding: 34px 36px;
    display: flex;
    align-items: center;
    gap: 28px;
    text-decoration: none;
    color: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    min-height: 190px;
    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.contact-card-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(240, 200, 0, 0.12), transparent 38%),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 22%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.contact-card-item:hover {
    transform: translateY(-6px);
    border-color: rgba(240, 200, 0, 0.7);
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.35),
        0 0 32px rgba(240, 200, 0, 0.12);
}

.contact-card-item:hover::before {
    opacity: 1;
}

.contact-card-logo {
    width: 96px;
    height: 96px;
    min-width: 96px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
    position: relative;
    z-index: 2;
}

.contact-card-text {
    position: relative;
    z-index: 2;
}

.contact-card-text h3 {
    margin: 0 0 12px;
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    line-height: 1.1;
    font-weight: 900;
    color: var(--yellow);
}

.contact-card-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.1rem;
    line-height: 1.5;
    max-width: 420px;
}

.site-footer {
    padding: 40px 0;
    background: #0b0c09;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-grid img {
    width: 140px;
}

.footer-grid p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 600;
}

.footer-grid a {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 900;
}

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

@media (max-width: 980px) {
    .hero-grid,
    .intro-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        min-height: 520px;
    }

    .portfolio-card.large {
        grid-row: auto;
        min-height: 520px;
    }

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

    .main-nav {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        width: min(320px, calc(100vw - 36px));
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border-radius: 28px;
        background: rgba(17, 19, 15, 0.96);
        border: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        text-align: center;
    }

    .language-switch {
        margin-left: 0;
        margin-top: 8px;
        justify-content: center;
    }

    .menu-toggle {
        display: inline-flex;
    }
}

@media (max-width: 800px) {
    .contact-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .section {
        padding: 86px 0;
    }

    .hero {
        padding-top: 130px;
    }

    .hero h1 {
        font-size: clamp(3rem, 16vw, 5.2rem);
    }

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

    .floating-card {
        position: relative;
        inset: auto;
        margin-top: 16px;
    }

    .hero-panel {
        flex-direction: column;
        min-height: auto;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .site-header {
        top: 12px;
        width: calc(100% - 24px);
    }

    .brand img {
        width: 128px;
    }

    .contact-card-item {
        padding: 24px;
        border-radius: 24px;
        gap: 18px;
        align-items: center;
        min-height: auto;
    }

    .contact-card-logo {
        width: 74px;
        height: 74px;
        min-width: 74px;
    }

    .contact-card-text h3 {
        font-size: 1.5rem;
    }

    .contact-card-text p {
        font-size: 1rem;
    }
}
