:root {
    --bg: #f7ece9;
    --bg-soft: #fff5f2;
    --surface: rgba(255, 246, 244, 0.78);
    --surface-strong: #fff8f6;
    --text: #221918;
    --muted: #6e5855;
    --line: rgba(96, 38, 36, 0.14);
    --brand: #e21c21;
    --brand-dark: #a50d13;
    --accent: #371515;
    --shadow: 0 24px 60px rgba(108, 20, 24, 0.14);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 34%),
        radial-gradient(circle at 85% 15%, rgba(223, 223, 223, 0.3), transparent 24%),
        linear-gradient(180deg, #fcfcfc 0%, #f3f3f3 100%);
}

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

img {
    max-width: 100%;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(14px);
    background: #aeaeae;
    border-bottom: 1px solid var(--line);
}

.header-row,
.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 84px;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-height: 58px;
}

.brand-logo {
    display: block;
    width: 210px;
    max-width: 100%;
}

.mobile-nav {
    display: none;
    position: relative;
    margin-left: auto;
}

.mobile-nav summary {
    list-style: none;
    cursor: pointer;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.96rem;
    font-weight: 800;
}

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

.mobile-nav-menu {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 0;
    width: min(82vw, 280px);
    display: grid;
    gap: 0.45rem;
    padding: 0.7rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 10, 0.96);
    box-shadow: var(--shadow);
    z-index: 25;
}

.mobile-nav-menu a {
    display: block;
    padding: 0.8rem 0.95rem;
    border-radius: 12px;
    color: #fff;
}

.site-nav {
    display: flex;
    gap: 1.4rem;
    color: var(--muted);
    font-size: 0.96rem;
    font-weight: 700;
}

.site-nav-dropdown {
    position: relative;
}

.site-nav-dropdown summary {
    list-style: none;
    cursor: pointer;
}

.site-nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.site-nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 0;
    width: 240px;
    display: grid !important;
    grid-template-columns: 1fr !important;
    row-gap: 0.55rem;
    padding: 0.55rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 10, 0.94);
    box-shadow: var(--shadow);
    z-index: 15;
}

.site-nav-dropdown-menu a {
    width: 100%;
    padding: 0.7rem 1.25rem;
    border-radius: 12px;
    white-space: nowrap;
    display: block !important;
}

.site-nav-dropdown-menu a.is-active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.hero {
    padding: 5.5rem 0 3rem;
}

.hero-copy > * {
    animation: hero-fade-up 720ms ease both;
}

.hero-copy > *:nth-child(2) {
    animation-delay: 90ms;
}

.hero-copy > *:nth-child(3) {
    animation-delay: 180ms;
}

.hero-copy > *:nth-child(4) {
    animation-delay: 270ms;
}

.hero-visual {
    animation: hero-fade-in 900ms ease both 160ms;
}

.hero-grid,
.contact-grid,
.process-layout,
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: center;
}

.eyebrow,
.section-kicker,
.panel-label,
.project-tag,
.card-index {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    font-weight: 800;
}

.eyebrow,
.section-kicker,
.panel-label,
.project-tag {
    color: var(--brand-dark);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    margin: 0 0 1.25rem;
    padding: 0.8rem 1.15rem;
    border-radius: 999px;
    background: rgba(226, 28, 33, 0.1);
    border: 1px solid rgba(165, 13, 19, 0.16);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.12em;
    box-shadow: 0 10px 24px rgba(165, 13, 19, 0.08);
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: -0.04em;
}

h1 {
    margin-top: 0.8rem;
    font-size: clamp(2.38rem, 5.1vw, 4.76rem);
    line-height: 0.95;
    max-width: 10ch;
}

h2 {
    font-size: clamp(2.35rem, 4.8vw, 4rem);
    line-height: 0.98;
    max-width: 13ch;
}

h3 {
    font-size: 1.4rem;
}

p {
    line-height: 1.65;
}

.hero-text,
.section-heading p:last-child,
.contact-copy p:last-child {
    max-width: 62ch;
    color: var(--muted);
    font-size: 1.06rem;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
}

.button-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    box-shadow: 0 16px 30px rgba(165, 13, 19, 0.28);
}

.button-secondary {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.52);
}

.hero-points {
    display: grid;
    gap: 0.8rem;
    padding: 0;
    margin: 2rem 0 0;
    list-style: none;
}

.hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--muted);
}

.hero-points li::before {
    content: "";
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 6px rgba(226, 28, 33, 0.12);
}

.hero-visual {
    position: relative;
    height: 560px;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(17, 11, 11, 0.08), rgba(17, 11, 11, 0.62)),
        linear-gradient(135deg, rgba(226, 28, 33, 0.24), transparent 45%);
}

.hero-visual img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: opacity 1000ms ease;
}

.hero-visual img.hero-is-animating {
    animation: hero-ken-burns 7200ms linear forwards;
}

.hero-visual img.hero-is-swapping {
    opacity: 0;
    transform: scale(1.015);
}

@keyframes hero-ken-burns {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.075);
    }
}

.hero-badge {
    position: absolute;
    z-index: 1;
    padding: 1.2rem 1.3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(33, 15, 16, 0.65);
    color: #fff;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    animation: hero-float-up 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-badge strong {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.35rem;
    line-height: 1.1;
    max-width: 12ch;
}

.hero-badge-top {
    top: 1.4rem;
    left: 1.4rem;
    width: min(100% - 2.8rem, 290px);
}

.hero-badge-bottom {
    right: 1.4rem;
    bottom: 1.4rem;
    width: min(100% - 2.8rem, 310px);
    animation-delay: 220ms;
}

.clients {
    padding: 0 0 2rem;
}

.client-marquee {
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    padding: 1rem 0;
    border-radius: 26px;
    background: linear-gradient(135deg, #4b1719, #18090a);
}

.client-marquee::before,
.client-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70px;
    z-index: 1;
}

.client-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #2a0c0d, transparent);
}

.client-marquee::after {
    right: 0;
    background: linear-gradient(270deg, #2a0c0d, transparent);
}

.client-track {
    display: flex;
    width: max-content;
    animation: marquee 34s linear infinite;
}

.client-logo {
    display: grid;
    place-items: center;
    width: 180px;
    min-width: 180px;
    height: 92px;
    margin: 0 0.55rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.client-logo img {
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
}

.section {
    padding: 5rem 0;
}

.section-heading {
    margin-bottom: 2rem;
}

.section-heading h2,
.contact-copy h2 {
    max-width: 15ch;
    margin-bottom: 0.8rem;
}

.card-grid,
.advantage-grid,
.project-grid {
    display: grid;
    gap: 1.5rem;
}

.card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.advantage-grid {
    margin-top: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.advantage-grid article,
.project-card,
.contact-form {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.service-card {
    padding: 1.7rem;
}

.service-image {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 1.2rem;
}

.card-index {
    color: var(--brand-dark);
    margin: 0 0 1rem;
}

.service-card p,
.service-card li,
.advantage-grid p,
.project-copy p {
    color: var(--muted);
}

.advantage-grid h3,
.advantage-grid p {
    margin-bottom: 0;
}

.service-card ul {
    padding-left: 1.1rem;
    margin: 1rem 0 0;
}

.project-card {
    overflow: hidden;
}

.project-art {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.project-copy {
    padding: 1.5rem;
}

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

.timeline li {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1rem;
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.5);
}

.timeline span {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: var(--brand-dark);
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.timeline p {
    margin-bottom: 0;
    color: var(--muted);
}

.advantage-grid article {
    padding: 1.6rem;
}

.about-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.about-visual-stack {
    display: grid;
    gap: 1.2rem;
    align-self: end;
    transform: translateY(-32px);
}

.about-grid {
    align-items: end;
}

.about-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: opacity 1000ms ease;
}

.contact {
    padding-bottom: 6rem;
}

.contact-form {
    display: grid;
    gap: 0.75rem;
    padding: 1.7rem;
}

.form-status {
    display: none;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    font-weight: 700;
}

.form-status.is-visible {
    display: block;
}

.form-status.is-sent {
    background: rgba(34, 143, 84, 0.12);
    color: #1e6e45;
}

.form-status.is-invalid,
.form-status.is-error,
.form-status.is-config {
    background: rgba(226, 28, 33, 0.1);
    color: var(--brand-dark);
}

.contact-direct {
    margin-top: 1.2rem;
    font-weight: 800;
}

.contact-direct a {
    color: var(--brand-dark);
}

.contact-form label {
    font-size: 0.94rem;
    font-weight: 700;
}

.contact-form input,
.contact-form select {
    min-height: 52px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(31, 29, 26, 0.14);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.72);
    font: inherit;
}

.contact-hp {
    position: absolute;
    left: -9999px;
}

.contact-form button {
    margin-top: 0.75rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: rgba(255, 248, 246, 0.62);
}

.site-footer p,
.site-footer a {
    color: var(--muted);
}

.whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    min-height: 52px;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    box-shadow: 0 18px 30px rgba(165, 13, 19, 0.3);
    font-weight: 800;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes hero-fade-up {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-fade-in {
    from {
        opacity: 0;
        transform: translateY(34px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes hero-float-up {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .contact-grid,
    .process-layout,
    .card-grid,
    .project-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        height: 460px;
    }
}

@media (max-width: 720px) {
    .header-row,
    .footer-row,
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-row {
        flex-direction: row;
        align-items: center;
    }

    .site-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .site-nav {
        gap: 0.8rem;
        padding-bottom: 1rem;
    }

    .hero {
        padding-top: 3rem;
    }

    .brand-logo {
        width: 172px;
    }

    h1 {
        max-width: 12ch;
    }

    .hero-grid {
        position: relative;
        display: block;
        min-height: 540px;
    }

    .hero-copy {
        position: relative;
        z-index: 1;
        min-height: 540px;
        padding: 1.6rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        border-radius: 34px;
        background: transparent;
        border: 0;
    }

    .hero-visual {
        position: absolute;
        inset: 0;
        height: 540px;
        margin-top: 0;
        border-radius: 34px;
    }

    .hero-visual img {
        filter: brightness(0.5);
    }

    .hero-visual::after {
        background:
            linear-gradient(180deg, rgba(8, 8, 8, 0), rgba(8, 8, 8, 0)),
            linear-gradient(135deg, rgba(226, 28, 33, 0.08), transparent 45%);
    }

    .hero-badge {
        display: none;
    }

    .hero-copy h1,
    .hero-copy p,
    .hero-copy li {
        color: #fff;
    }

    .hero-copy .hero-text,
    .hero-copy .hero-points li {
        color: rgba(255, 255, 255, 0.86);
    }

    .hero-actions .button-secondary[data-config-link="whatsapp"] {
        display: none;
    }

    .timeline li,
    .advantage-grid {
        grid-template-columns: 1fr;
    }

    .client-logo {
        width: 150px;
        min-width: 150px;
    }
}

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

    .hero-copy > *,
    .hero-visual,
    .hero-badge {
        animation: none;
    }
}

:root {
    --surface: rgba(22, 22, 22, 0.84);
    --surface-strong: #1f1f1f;
    --text: #f3f3f3;
    --muted: #c4c4c4;
    --line: rgba(255, 255, 255, 0.12);
    --shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

body {
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.07), transparent 26%),
        linear-gradient(180deg, #111111 0%, #272727 100%);
}

.site-header {
    background: rgba(17, 17, 17, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-nav {
    color: #e7e7e7;
}

.site-nav a.is-active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.hero {
    padding: 4.5rem 0 3.5rem;
}

.hero-copy {
    padding: 2.5rem;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

h1,
h2,
h3 {
    color: #fff;
}

.hero-text,
.section-heading p:last-child,
.contact-copy p:last-child,
.service-card p,
.service-card li,
.advantage-grid p,
.project-copy p,
.timeline p,
.site-footer p,
.site-footer a,
.hero-points li {
    color: #d3d3d3;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.hero-visual {
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-visual::after {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.72)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 55%);
}

.hero-badge {
    background: rgba(10, 10, 10, 0.72);
    border-color: rgba(255, 255, 255, 0.16);
}

.clients {
    padding: 1rem 0 3rem;
}

.client-marquee {
    background: linear-gradient(135deg, #202020, #111111);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.client-logo {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.section-kicker {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: none;
}

.service-card,
.advantage-grid article,
.project-card,
.contact-form,
.timeline li {
    background: linear-gradient(180deg, rgba(32, 32, 32, 0.88), rgba(18, 18, 18, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

.project-card {
    position: relative;
}

.project-copy {
    padding: 1.65rem;
}

.timeline span {
    background: #f1f1f1;
    color: #101010;
}

.contact-form input,
.contact-form select {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.contact-form input::placeholder {
    color: #cfcfcf;
}

.contact-direct a,
.panel-label,
.project-tag,
.card-index {
    color: #fff;
}

.about-visual img {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-visual img.about-is-animating {
    animation: about-ken-burns 7200ms linear forwards;
}

.about-visual img.about-is-swapping {
    opacity: 0;
    transform: scale(1.015);
}

@keyframes about-ken-burns {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.06);
    }
}

.site-footer {
    background: rgba(10, 10, 10, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
