:root {
    --black: #0a0a0a;
    --ink: #141414;
    --muted: #6b6b6b;
    --line: #e6e6e6;
    --paper: #fafafa;
    --yellow: #ffd000;
    --yellow-hover: #ebbe00;
    --white: #ffffff;
    --max: 1120px;
    --font: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
    width: min(100% - 40px, var(--max));
    margin-inline: auto;
}

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px clamp(20px, 4vw, 48px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    line-height: 0;
}

.site-header .brand {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 14px;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
}

.brand img {
    width: auto;
    height: 52px;
    max-width: none;
}

.nav {
    display: flex;
    gap: 28px;
    font-size: .9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .82);
}

.nav a {
    transition: color .2s ease;
}

.nav a:hover {
    color: var(--yellow);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    padding:
        calc(100px + env(safe-area-inset-top, 0px))
        clamp(20px, 5vw, 64px)
        clamp(64px, 10vh, 100px);
    color: var(--white);
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.03);
    animation: slow-pan 24s ease-in-out infinite alternate;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .45) 48%, rgba(0, 0, 0, .2) 72%, rgba(0, 0, 0, .35) 100%),
        linear-gradient(to top, rgba(0, 0, 0, .55) 0%, transparent 42%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(100%, 561px);
    padding-bottom: 200px;
}

.hero h1 {
    font-size: clamp(1.75rem, 4.2vw, 2.75rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.03em;
    max-width: 14ch;
    opacity: 0;
    transform: translateY(16px);
    animation: enter .8s ease .1s forwards;
}

.hero p {
    margin-top: 18px;
    max-width: 36ch;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .78);
    opacity: 0;
    transform: translateY(14px);
    animation: enter .8s ease .22s forwards;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
    opacity: 0;
    transform: translateY(12px);
    animation: enter .8s ease .34s forwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    font-family: var(--font);
    font-size: .95rem;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

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

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

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, .35);
    color: var(--white);
}

.btn-outline:hover {
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: clamp(72px, 12vh, 120px) 0;
}

.section-head {
    max-width: 560px;
}

.label {
    margin-bottom: 12px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #9a8200;
}

.label-yellow {
    color: var(--yellow);
}

.section h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.15;
}

.lead {
    margin-top: 14px;
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 42ch;
}

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 56px;
    border-top: 1px solid var(--line);
}

.services article {
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
}

.services article:not(:last-child) {
    padding-right: 32px;
    margin-right: 32px;
    border-right: 1px solid var(--line);
}

.num {
    display: block;
    margin-bottom: 18px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    color: #b89600;
}

.services h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -.02em;
}

.services p {
    color: var(--muted);
    font-size: .98rem;
}

/* Dark band */
.section-dark {
    background: var(--black);
    color: var(--white);
}

.section-dark .lead {
    color: rgba(255, 255, 255, .65);
}

.points {
    list-style: none;
    margin-top: 48px;
    max-width: 720px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.points li {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    font-size: 1.05rem;
    font-weight: 500;
}

.points li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 14px;
    border-radius: 50%;
    background: var(--yellow);
    vertical-align: middle;
}

/* Contact */
.contact .btn {
    margin-top: 28px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 28px 0 40px;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: .9rem;
}

.brand-footer img {
    width: auto;
    height: 36px;
    max-width: none;
    filter: grayscale(1) brightness(.95) contrast(.9);
    opacity: .55;
}

.brand-footer span {
    font-size: .95rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.2;
}

.footer-meta {
    text-align: right;
}

.footer-meta .credito {
    margin-top: 4px;
    font-size: .8rem;
    color: #9a9a9a;
}

/* Motion */
@keyframes enter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slow-pan {
    from { transform: scale(1.03) translate(0, 0); }
    to { transform: scale(1.08) translate(-1.2%, 1%); }
}

/* Responsive */
@media (max-width: 900px) {
    .services {
        grid-template-columns: 1fr;
    }

    .services article:not(:last-child) {
        padding-right: 0;
        margin-right: 0;
        border-right: none;
    }

    .hero-media {
        background-position: 70% center;
    }

    .hero-shade {
        background:
            linear-gradient(to top, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .4) 100%);
    }
}

@media (max-width: 560px) {
    .nav {
        gap: 16px;
        font-size: .82rem;
    }

    .brand img {
        height: 44px;
    }

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

    .footer-meta {
        text-align: left;
    }

    .hero {
        min-height: 92vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero h1,
    .hero p,
    .hero-actions,
    .hero-media {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .hero-media {
        transform: scale(1.03);
    }

    html {
        scroll-behavior: auto;
    }
}
