:root {
    color-scheme: dark;
    --bg: #030303;
    --bg-soft: #0b0b0b;
    --paper: #f6f6f2;
    --paper-muted: rgba(246, 246, 242, 0.64);
    --ink: #030303;
    --line: rgba(246, 246, 242, 0.13);
    --line-strong: rgba(246, 246, 242, 0.34);
    --accent: #e62f3c;
    --accent-strong: #ff3445;
    --acid: #ff3445;
    --blue: #0a67dc;
    --hero-blue: #075bc4;
    --hero-blue-deep: #031d52;
    --hero-blue-night: #010816;
    --hero-blue-light: #78c7ff;
    --max: 1240px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 14% 0%, rgba(10, 103, 220, 0.22), transparent 420px),
        linear-gradient(180deg, rgba(230, 47, 60, 0.1), transparent 620px),
        var(--bg);
    color: var(--paper);
    margin: 0;
    overflow-x: hidden;
}

body::selection {
    background: var(--acid);
    color: var(--ink);
}

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

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

h1,
h2,
h3,
p {
    margin-top: 0;
}

.skip-link {
    background: var(--paper);
    color: var(--ink);
    left: 16px;
    padding: 10px 14px;
    position: fixed;
    top: 16px;
    transform: translateY(-160%);
    transition: transform 160ms ease;
    z-index: 20;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr auto 1fr;
    left: 0;
    padding: 28px 42px 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 12;
}

.site-header::before {
    backdrop-filter: blur(14px);
    background: linear-gradient(180deg, rgba(1, 10, 32, 0.98), rgba(3, 29, 82, 0.9) 68%, rgba(3, 29, 82, 0.72));
    content: "";
    inset: 0 0 -32px;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

#enfoque,
#servicios,
#metodo,
#contacto {
    scroll-margin-top: 138px;
}

.brand {
    display: inline-grid;
    gap: 2px;
    justify-self: start;
    line-height: 1;
}

.brand-name {
    font-size: 1.46rem;
    font-weight: 950;
}

.brand-line {
    color: var(--paper-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.site-nav {
    align-items: center;
    background: rgba(1, 14, 42, 0.88);
    border: 1px solid var(--line);
    display: flex;
    gap: 4px;
    justify-content: center;
    padding: 6px;
}

.site-nav a,
.header-mail {
    color: rgba(246, 246, 242, 0.78);
    font-size: 0.86rem;
    font-weight: 800;
    padding: 10px 12px;
    white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.header-mail:hover,
.header-mail:focus-visible {
    color: var(--paper);
}

.header-mail {
    justify-self: end;
}

.hero {
    background:
        radial-gradient(circle at 18% 22%, rgba(120, 199, 255, 0.28), transparent 31%),
        radial-gradient(circle at 84% 16%, rgba(255, 52, 69, 0.22), transparent 29%),
        linear-gradient(135deg, var(--hero-blue-deep) 0%, var(--hero-blue) 48%, var(--hero-blue-night) 100%);
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    min-height: 92svh;
    overflow: hidden;
    padding: 118px max(28px, calc((100vw - var(--max)) / 2)) 118px;
    position: relative;
}

.hero-field {
    background-image:
        linear-gradient(rgba(246, 246, 242, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(246, 246, 242, 0.12) 1px, transparent 1px),
        linear-gradient(135deg, rgba(120, 199, 255, 0.22), transparent 52%),
        linear-gradient(225deg, rgba(255, 52, 69, 0.14), transparent 42%);
    background-size: 74px 74px, 74px 74px, 100% 100%, 100% 100%;
    inset: 0;
    opacity: 0.8;
    overflow: hidden;
    position: absolute;
    z-index: 0;
}

.hero-field::before {
    animation: hero-sweep 12s ease-in-out infinite;
    background: linear-gradient(108deg, transparent 18%, rgba(246, 246, 242, 0.14) 46%, transparent 74%);
    content: "";
    inset: -30%;
    position: absolute;
    transform: translateX(-42%) rotate(8deg);
}

.hero-waves {
    bottom: -1px;
    display: block;
    height: 118px;
    left: 0;
    pointer-events: none;
    position: absolute;
    width: 100%;
    z-index: 1;
}

.hero-waves use {
    transform-origin: center;
}

.hero .wave1 use {
    animation: wave-move-1 10s linear infinite;
    animation-delay: -2s;
    fill: rgba(120, 199, 255, 0.3);
}

.hero .wave2 use {
    animation: wave-move-2 8s linear infinite;
    animation-delay: -2s;
    fill: rgba(1, 8, 22, 0.48);
}

.hero .wave3 use {
    animation: wave-move-3 6s linear infinite;
    animation-delay: -2s;
    fill: var(--bg);
}

.hero::after {
    border-bottom: 4px solid var(--paper);
    border-left: 4px solid var(--paper);
    bottom: 118px;
    content: "";
    height: 28px;
    position: absolute;
    right: max(34px, calc((100vw - var(--max)) / 2 + 22px));
    width: 28px;
    z-index: 3;
}

.hero-meta,
.hero-copy,
.hero-art,
.hero-bottom {
    position: relative;
    z-index: 3;
}

.hero-meta {
    animation: hero-rise 700ms cubic-bezier(0.2, 0.75, 0.18, 1) 40ms both;
    align-self: start;
    color: var(--paper-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.82rem;
    font-weight: 800;
    gap: 10px;
    grid-column: 1 / -1;
    justify-content: space-between;
    padding-top: 32px;
    text-transform: uppercase;
}

.hero-copy {
    animation: hero-rise 760ms cubic-bezier(0.2, 0.75, 0.18, 1) 140ms both;
    align-self: center;
    grid-column: 1;
}

.eyebrow,
.section-index {
    color: var(--acid);
    font-size: 0.82rem;
    font-weight: 950;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 9.4rem;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 0.88;
    margin: 0 0 18px;
}

.hero-title span {
    display: block;
}

.hero-lead {
    color: rgba(246, 246, 242, 0.76);
    font-size: 1.22rem;
    line-height: 1.54;
    margin: 0;
    max-width: 620px;
}

.hero-art {
    animation: hero-rise 820ms cubic-bezier(0.2, 0.75, 0.18, 1) 260ms both;
    align-self: center;
    background: rgba(1, 15, 43, 0.42);
    border: 1px solid rgba(246, 246, 242, 0.3);
    box-shadow: 0 24px 80px rgba(1, 8, 22, 0.32);
    grid-column: 2;
    margin: 0;
    overflow: hidden;
    padding: 8px;
}

.hero-art img {
    aspect-ratio: 4 / 5;
    filter: saturate(1.04) contrast(1.08);
    object-fit: cover;
    width: 100%;
}

.hero-art figcaption {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    font-size: 0.86rem;
    font-weight: 900;
    justify-content: space-between;
    padding: 12px 2px 4px;
    text-transform: uppercase;
}

.hero-art figcaption strong {
    color: var(--acid);
}

.hero-bottom {
    animation: hero-rise 780ms cubic-bezier(0.2, 0.75, 0.18, 1) 360ms both;
    align-self: end;
    display: grid;
    gap: 24px;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 0.74fr) auto;
}

.hero-bottom p {
    color: rgba(246, 246, 242, 0.82);
    font-size: 1.25rem;
    line-height: 1.48;
    margin-bottom: 0;
    max-width: 760px;
}

.hero-actions {
    align-items: end;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: end;
}

.button {
    align-items: center;
    border: 1px solid var(--line-strong);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 950;
    justify-content: center;
    min-height: 50px;
    padding: 0 18px;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
    white-space: nowrap;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--paper);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--paper);
    border-color: var(--paper);
    color: var(--ink);
}

.button-secondary {
    background: rgba(1, 18, 52, 0.54);
    color: var(--paper);
}

.ticker {
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    color: var(--paper);
    overflow: hidden;
}

.ticker-track {
    animation: ticker 28s linear infinite;
    display: flex;
    gap: 38px;
    padding: 18px 0;
    width: max-content;
}

.ticker-track span {
    color: var(--paper-muted);
    font-size: 1rem;
    font-weight: 950;
    text-transform: uppercase;
}

.ticker-track span:nth-child(odd) {
    color: var(--accent-strong);
}

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

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

@keyframes hero-sweep {
    0%,
    100% {
        transform: translateX(-42%) rotate(8deg);
    }

    50% {
        transform: translateX(42%) rotate(8deg);
    }
}

@keyframes wave-move-1 {
    0% {
        transform: translateX(85px);
    }

    100% {
        transform: translateX(-90px);
    }
}

@keyframes wave-move-2 {
    0% {
        transform: translateX(-90px);
    }

    100% {
        transform: translateX(85px);
    }
}

@keyframes wave-move-3 {
    0% {
        transform: translateX(-90px);
    }

    100% {
        transform: translateX(85px);
    }
}

@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

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

.manifesto,
.services,
.identity-section,
.method,
.contact {
    padding-left: max(28px, calc((100vw - var(--max)) / 2));
    padding-right: max(28px, calc((100vw - var(--max)) / 2));
}

.manifesto {
    display: grid;
    gap: 44px;
    grid-template-columns: 0.34fr 1fr;
    padding-bottom: 120px;
    padding-top: 118px;
}

.manifesto h2 {
    font-size: 4.9rem;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 0.96;
    margin-bottom: 0;
}

.manifesto h2 span {
    color: rgba(246, 246, 242, 0.36);
}

.manifesto-copy {
    display: grid;
    gap: 34px;
    grid-column: 2;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
}

.manifesto-copy p,
.identity-section p,
.contact-copy p {
    color: var(--paper-muted);
    font-size: 1.12rem;
    line-height: 1.72;
    margin-bottom: 0;
}

.manifesto-copy ul {
    border-top: 1px solid var(--line);
    list-style: none;
    margin: 0;
    padding: 0;
}

.manifesto-copy li {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    font-size: 1rem;
    font-weight: 900;
    gap: 18px;
    min-height: 56px;
}

.manifesto-copy li span {
    color: var(--accent-strong);
    font-size: 0.86rem;
}

.services {
    background: var(--paper);
    color: var(--ink);
    padding-bottom: 118px;
    padding-top: 112px;
}

.section-head {
    display: grid;
    gap: 36px;
    grid-template-columns: 0.34fr 1fr;
    margin-bottom: 28px;
}

.services .section-index,
.contact .section-index {
    color: var(--accent);
}

.section-head h2,
.contact-copy h2 {
    font-size: 4.6rem;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 0.96;
    margin-bottom: 0;
}

.service-list {
    border-top: 1px solid rgba(3, 3, 3, 0.18);
}

.service-row {
    align-items: start;
    border-bottom: 1px solid rgba(3, 3, 3, 0.18);
    display: grid;
    gap: 28px;
    grid-template-columns: 86px minmax(240px, 0.82fr) minmax(280px, 1fr);
    min-height: 170px;
    padding: 32px 0;
}

.service-number {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 950;
}

.service-row h3 {
    font-size: 2.45rem;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.service-row p {
    color: rgba(3, 3, 3, 0.64);
    font-size: 1.03rem;
    line-height: 1.64;
    margin-bottom: 0;
}

.identity-section {
    background:
        linear-gradient(90deg, rgba(230, 47, 60, 0.42), transparent 46%),
        var(--bg-soft);
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.44fr);
    padding-bottom: 112px;
    padding-top: 112px;
}

.identity-word {
    display: grid;
    font-size: 7.4rem;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 0.88;
    text-transform: uppercase;
}

.identity-word span {
    color: rgba(246, 246, 242, 0.38);
    font-size: 1.35rem;
    line-height: 1.18;
    margin-top: 18px;
    max-width: 480px;
    text-transform: none;
}

.identity-word strong {
    color: var(--acid);
}

.identity-section p {
    align-self: end;
}

.method {
    padding-bottom: 118px;
    padding-top: 112px;
}

.method-grid {
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.method-step {
    border-right: 1px solid var(--line);
    min-height: 320px;
    padding: 28px;
}

.method-step:last-child {
    border-right: 0;
}

.method-step span {
    color: var(--accent-strong);
    display: block;
    font-size: 0.88rem;
    font-weight: 950;
    margin-bottom: 118px;
    text-transform: uppercase;
}

.method-step h3 {
    font-size: 2.1rem;
    font-weight: 950;
    letter-spacing: 0;
    margin-bottom: 14px;
}

.method-step p {
    color: var(--paper-muted);
    line-height: 1.62;
    margin-bottom: 0;
}

.contact {
    background: var(--paper);
    color: var(--ink);
    display: grid;
    gap: 54px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    padding-bottom: 118px;
    padding-top: 112px;
}

.contact-copy p {
    color: rgba(3, 3, 3, 0.62);
    max-width: 640px;
}

.contact-form {
    background: var(--bg);
    color: var(--paper);
    display: grid;
    gap: 16px;
    padding: 24px;
}

.contact-form label {
    display: grid;
    font-size: 0.82rem;
    font-weight: 950;
    gap: 8px;
    text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--paper);
    font: inherit;
    min-height: 50px;
    outline: none;
    padding: 12px 14px;
    resize: vertical;
}

.contact-form textarea {
    min-height: 136px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--acid);
}

.contact-form .button {
    width: 100%;
}

.form-note {
    color: var(--paper-muted);
    font-size: 0.86rem;
    line-height: 1.5;
    margin: 0;
}

.site-footer {
    align-items: center;
    border-top: 1px solid var(--line);
    color: var(--paper-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    padding: 28px max(28px, calc((100vw - var(--max)) / 2));
}

.site-footer span:first-child,
.site-footer a {
    color: var(--paper);
    font-weight: 950;
}

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

.has-js .reveal {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    transition:
        opacity 760ms cubic-bezier(0.2, 0.75, 0.18, 1),
        transform 760ms cubic-bezier(0.2, 0.75, 0.18, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.has-js .reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (max-width: 1060px) {
    .site-header {
        grid-template-columns: 1fr auto;
        padding-inline: 24px;
    }

    .site-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: stretch;
        overflow-x: auto;
    }

    .site-nav a {
        flex: 1 0 auto;
        text-align: center;
    }

    .header-mail {
        grid-column: 2;
        grid-row: 1;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 138px;
    }

    .hero-copy,
    .hero-art,
    .hero-bottom {
        grid-column: 1;
    }

    .hero-title {
        font-size: 6.2rem;
    }

    .hero-art {
        max-width: 520px;
    }

    .hero-art img {
        aspect-ratio: 16 / 8;
    }

    .hero-bottom,
    .manifesto,
    .manifesto-copy,
    .section-head,
    .identity-section,
    .contact {
        grid-template-columns: 1fr;
    }

    .manifesto-copy {
        grid-column: 1;
    }

    .manifesto h2,
    .section-head h2,
    .contact-copy h2 {
        font-size: 3.7rem;
    }

    .service-row {
        grid-template-columns: 72px minmax(220px, 0.8fr) minmax(260px, 1fr);
    }

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

    .method-step {
        border-bottom: 1px solid var(--line);
        border-right: 0;
        min-height: auto;
    }

    .method-step span {
        margin-bottom: 58px;
    }
}

@media (max-width: 680px) {
    .site-header {
        gap: 12px;
        padding: 18px 18px 0;
    }

    .brand-name {
        font-size: 1.22rem;
    }

    .brand-line,
    .header-mail {
        font-size: 0.72rem;
    }

    .site-nav a {
        font-size: 0.78rem;
        padding: 9px 8px;
    }

    .hero {
        min-height: 92svh;
        gap: 18px;
        padding: 116px 20px 94px;
    }

    .hero-waves {
        height: 82px;
    }

    .hero-meta {
        display: grid;
        font-size: 0.74rem;
        gap: 8px;
        justify-content: start;
        padding-top: 8px;
    }

    .hero-title {
        font-size: 4.05rem;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero-art img {
        aspect-ratio: 16 / 7;
    }

    .hero-bottom {
        gap: 18px;
    }

    .hero-bottom p {
        font-size: 0.98rem;
    }

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

    .button {
        min-height: 44px;
        white-space: normal;
    }

    .hero::after {
        bottom: 44px;
        height: 18px;
        width: 18px;
    }

    .manifesto,
    .services,
    .identity-section,
    .method,
    .contact {
        padding: 78px 20px;
    }

    .manifesto h2,
    .section-head h2,
    .contact-copy h2 {
        font-size: 2.66rem;
    }

    .manifesto-copy p,
    .identity-section p,
    .contact-copy p {
        font-size: 1rem;
    }

    .service-row {
        gap: 16px;
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 28px 0;
    }

    .service-row h3 {
        font-size: 2rem;
    }

    .identity-word {
        font-size: 3.45rem;
    }

    .identity-word span {
        font-size: 1rem;
    }

    .contact-form {
        padding: 18px;
    }

    .site-footer {
        align-items: start;
        flex-direction: column;
        padding: 24px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .has-js .reveal,
    .reveal {
        opacity: 1;
        transform: none;
    }
}
