.s474-v04 {
    --s474-bg: #08090b;
    --s474-panel: rgba(18, 20, 24, 0.78);
    --s474-line: rgba(255, 255, 255, 0.14);
    --s474-text: #f6f6f3;
    --s474-muted: #c5c6c8;
    background: var(--s474-bg);
    color: var(--s474-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow: hidden;
}

.s474-v04 * {
    box-sizing: border-box;
}

.s474-v04 a {
    color: inherit;
    text-decoration: none;
}

.s474-header {
    align-items: center;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    left: 0;
    padding: 22px clamp(18px, 4vw, 56px);
    position: fixed;
    right: 0;
    top: 0;
    transition: background 180ms ease, border 180ms ease, padding 180ms ease;
    z-index: 20;
}

.s474-header.is-solid {
    background: rgba(7, 8, 10, 0.92);
    border-bottom: 1px solid var(--s474-line);
    padding-bottom: 14px;
    padding-top: 14px;
}

.s474-brand {
    align-items: center;
    display: inline-flex;
    gap: 12px;
    min-width: 0;
}

.s474-brand img {
    display: block;
    height: 42px;
    max-width: 160px;
    object-fit: contain;
}

.s474-logo-mark {
    align-items: center;
    background: var(--s474-accent);
    border-radius: 50%;
    color: #090909;
    display: inline-flex;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.s474-brand strong {
    font-size: 18px;
    letter-spacing: 0;
    white-space: nowrap;
}

.s474-nav {
    align-items: center;
    display: flex;
    gap: clamp(14px, 2vw, 28px);
    font-size: 14px;
}

.s474-nav a {
    color: rgba(255, 255, 255, 0.82);
}

.s474-nav a:hover,
.s474-whatsapp:hover {
    color: var(--s474-accent);
}

.s474-whatsapp,
.s474-button {
    align-items: center;
    border-radius: 6px;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
}

.s474-whatsapp {
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 14px;
}

.s474-mobile-menu {
    display: none;
}

.s474-hero {
    background-image: linear-gradient(90deg, rgba(3, 4, 6, 0.94) 0%, rgba(3, 4, 6, 0.76) 38%, rgba(3, 4, 6, 0.18) 74%), var(--s474-hero);
    background-position: center;
    background-size: cover;
    min-height: 92vh;
    position: relative;
}

.s474-hero-video,
.s474-hero-overlay {
    inset: 0;
    position: absolute;
}

.s474-hero-video {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.s474-hero-overlay {
    background: linear-gradient(90deg, rgba(3, 4, 6, 0.96), rgba(3, 4, 6, 0.68), rgba(3, 4, 6, 0.18));
}

.s474-hero-inner {
    align-items: center;
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) 340px;
    margin: 0 auto;
    min-height: 92vh;
    max-width: 1180px;
    padding: 120px 22px 86px;
    position: relative;
    z-index: 2;
}

.s474-hero-copy {
    max-width: 780px;
}

.s474-eyebrow {
    color: var(--s474-accent);
    display: inline-block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.s474-hero h1,
.s474-section h2,
.s474-cta h2 {
    letter-spacing: 0;
    line-height: 1;
    margin: 0;
}

.s474-hero h1 {
    font-size: clamp(42px, 7vw, 92px);
    max-width: 920px;
}

.s474-hero p,
.s474-section p,
.s474-cta p {
    color: var(--s474-muted);
    font-size: 17px;
    line-height: 1.75;
}

.s474-hero-copy p {
    max-width: 660px;
}

.s474-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.s474-button-primary {
    background: var(--s474-accent);
    color: #0a0a0a;
}

.s474-button-ghost {
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
}

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

.s474-hero-panel {
    align-self: end;
    background: var(--s474-panel);
    border: 1px solid var(--s474-line);
    border-radius: 8px;
    padding: 26px;
    backdrop-filter: blur(16px);
}

.s474-hero-panel span {
    color: var(--s474-muted);
    display: block;
    font-size: 13px;
}

.s474-hero-panel strong {
    color: var(--s474-accent);
    display: block;
    font-size: 64px;
    line-height: 1;
    margin: 8px 0;
}

.s474-scroll {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 22px;
    bottom: 26px;
    display: flex;
    height: 42px;
    justify-content: center;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 26px;
    z-index: 3;
}

.s474-scroll span {
    animation: s474Scroll 1.5s infinite;
    background: var(--s474-accent);
    border-radius: 999px;
    height: 8px;
    width: 4px;
}

.s474-stats {
    border-bottom: 1px solid var(--s474-line);
    border-top: 1px solid var(--s474-line);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.s474-stats article {
    padding: 30px clamp(16px, 4vw, 44px);
}

.s474-stats article + article {
    border-left: 1px solid var(--s474-line);
}

.s474-stats strong {
    color: var(--s474-accent);
    display: block;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1;
}

.s474-stats span {
    color: var(--s474-muted);
    display: block;
    margin-top: 8px;
}

.s474-section {
    margin: 0 auto;
    max-width: 1180px;
    padding: 92px 22px;
}

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

.s474-section h2,
.s474-cta h2 {
    font-size: clamp(32px, 5vw, 58px);
    max-width: 820px;
}

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

.s474-service {
    align-items: center;
    border-bottom: 1px solid var(--s474-line);
    display: grid;
    gap: 20px;
    grid-template-columns: 70px 220px minmax(0, 1fr) 110px;
    padding: 28px 0;
    transition: background 180ms ease, padding 180ms ease;
}

.s474-service:hover {
    background: rgba(255, 255, 255, 0.035);
    padding-left: 18px;
    padding-right: 18px;
}

.s474-service span {
    color: var(--s474-accent);
    font-weight: 900;
}

.s474-service h3,
.s474-project h3 {
    font-size: 24px;
    margin: 0;
}

.s474-service p {
    font-size: 15px;
    margin: 0;
}

.s474-service a {
    color: var(--s474-accent);
    font-weight: 800;
}

.s474-about {
    align-items: center;
    display: grid;
    gap: 50px;
    grid-template-columns: 0.92fr 1.08fr;
}

.s474-about-media {
    aspect-ratio: 4 / 5;
    background-image: linear-gradient(180deg, rgba(245, 196, 0, 0.12), rgba(0, 0, 0, 0.28)), var(--s474-hero);
    background-position: center;
    background-size: cover;
    border-radius: 8px;
}

.s474-about-copy ul {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}

.s474-about-copy li {
    border-left: 3px solid var(--s474-accent);
    color: var(--s474-muted);
    padding-left: 14px;
}

.s474-project-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, 1fr);
}

.s474-project {
    background: #121419;
    border: 1px solid var(--s474-line);
    border-radius: 8px;
    overflow: hidden;
}

.s474-project div {
    aspect-ratio: 16 / 10;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7)), var(--s474-hero);
    background-position: center;
    background-size: cover;
    filter: saturate(0.82);
}

.s474-project:nth-child(2) div {
    background-position: right center;
}

.s474-project:nth-child(3) div {
    background-position: left center;
}

.s474-project span,
.s474-project h3 {
    display: block;
    padding-left: 20px;
    padding-right: 20px;
}

.s474-project span {
    color: var(--s474-accent);
    font-size: 12px;
    font-weight: 900;
    padding-top: 18px;
    text-transform: uppercase;
}

.s474-project h3 {
    padding-bottom: 22px;
    padding-top: 8px;
}

.s474-clients {
    border-bottom: 1px solid var(--s474-line);
    border-top: 1px solid var(--s474-line);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    text-align: center;
}

.s474-clients span {
    color: rgba(255, 255, 255, 0.64);
    font-weight: 900;
    padding: 28px 12px;
    text-transform: uppercase;
}

.s474-clients span + span {
    border-left: 1px solid var(--s474-line);
}

.s474-cta {
    align-items: start;
    display: grid;
    gap: 42px;
    grid-template-columns: 1fr 430px;
    margin: 0 auto;
    max-width: 1180px;
    padding: 92px 22px;
}

.s474-form {
    background: #111318;
    border: 1px solid var(--s474-line);
    border-radius: 8px;
    display: grid;
    gap: 14px;
    padding: 22px;
}

.s474-form label {
    display: grid;
    gap: 8px;
}

.s474-form span {
    color: var(--s474-muted);
    font-size: 13px;
}

.s474-form input,
.s474-form textarea {
    background: #07080a;
    border: 1px solid var(--s474-line);
    border-radius: 6px;
    color: #fff;
    font: inherit;
    padding: 13px 14px;
    width: 100%;
}

.s474-footer {
    align-items: center;
    border-top: 1px solid var(--s474-line);
    color: var(--s474-muted);
    display: flex;
    justify-content: space-between;
    padding: 24px clamp(18px, 4vw, 56px);
}

.s474-footer strong {
    color: #fff;
}

.s474-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 520ms ease, transform 520ms ease;
}

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

@keyframes s474Scroll {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(-5px);
    }
    50% {
        opacity: 1;
        transform: translateY(5px);
    }
}

@media (max-width: 920px) {
    .s474-header {
        align-items: flex-start;
        background: rgba(7, 8, 10, 0.92);
        flex-wrap: wrap;
        gap: 12px;
        position: absolute;
    }

    .s474-nav {
        flex-basis: 100%;
        gap: 14px;
        order: 3;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .s474-hero-inner,
    .s474-about,
    .s474-cta {
        grid-template-columns: 1fr;
    }

    .s474-hero-panel {
        max-width: 360px;
    }

    .s474-stats,
    .s474-project-grid,
    .s474-clients {
        grid-template-columns: repeat(2, 1fr);
    }

    .s474-service {
        align-items: start;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 782px) {
    html:has(.s474-v04) {
        margin-top: 0 !important;
    }

    body.admin-bar:has(.s474-v04) #wpadminbar {
        display: none !important;
    }
}

@media (max-width: 700px) {
    .s474-header {
        align-items: center;
        background: rgba(7, 8, 10, 0.38);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 999px;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
        display: grid !important;
        gap: 4px;
        grid-template-columns: minmax(0, 1fr) auto;
        left: auto;
        margin: 6px 10px 18px;
        min-height: 28px;
        padding: 3px 5px 3px 11px;
        position: relative;
        right: auto;
        top: auto;
        transition: background 180ms ease, border-radius 180ms ease;
        z-index: 40;
        backdrop-filter: blur(10px);
    }

    .s474-header:has(.s474-mobile-menu[open]) {
        background: rgba(7, 8, 10, 0.92);
        border-radius: 14px;
    }

    .s474-header.is-solid {
        background: rgba(7, 8, 10, 0.38);
        padding: 3px 5px 3px 11px;
    }

    .s474-brand {
        gap: 7px;
        order: 1;
    }

    .s474-brand img {
        height: 26px;
        max-width: 88px;
    }

    .s474-brand strong {
        font-size: 12px;
        max-width: 92px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .s474-desktop-nav,
    .s474-whatsapp {
        display: none;
    }

    .s474-mobile-menu {
        display: block;
        order: 2;
        position: relative;
    }

    .s474-mobile-menu summary {
        align-items: center;
        background: var(--s474-accent);
        border-radius: 999px;
        color: #090909;
        cursor: pointer;
        display: inline-flex !important;
        font: inherit;
        font-size: 11px;
        font-weight: 900;
        min-height: 24px;
        justify-content: center;
        list-style: none;
        padding: 0 10px;
    }

    .s474-mobile-menu summary::-webkit-details-marker {
        display: none;
    }

    .s474-mobile-nav {
        background: rgba(7, 8, 10, 0.94);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 12px;
        display: grid;
        gap: 2px;
        grid-template-columns: 1fr;
        left: auto;
        min-width: 0;
        padding: 8px 8px 6px;
        position: absolute;
        right: 0;
        top: calc(100% + 8px);
        width: 152px;
        z-index: 50;
    }

    .s474-mobile-nav a {
        border-radius: 8px;
        color: #fff;
        font-size: 12px;
        padding: 9px 8px;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .s474-brand strong {
        max-width: 130px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .s474-whatsapp {
        min-height: 30px;
        padding: 0 9px;
    }

    .s474-hero {
        min-height: 100vh;
    }

    .s474-hero-inner {
        min-height: 100vh;
        padding-top: 154px;
    }

    .s474-actions,
    .s474-actions .s474-button {
        width: 100%;
    }

    .s474-stats,
    .s474-project-grid,
    .s474-clients {
        grid-template-columns: 1fr;
    }

    .s474-stats article + article,
    .s474-clients span + span {
        border-left: 0;
        border-top: 1px solid var(--s474-line);
    }

    .s474-section,
    .s474-cta {
        padding-bottom: 68px;
        padding-top: 68px;
    }

    .s474-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}
