:root {
    color-scheme: light;
    --green: #1f5f1b;
    --green-deep: #123f17;
    --green-dark: #0c3012;
    --gold: #d5b36b;
    --cream: #f7f4ec;
    --ink: #1f2a20;
    --white: #ffffff;
}

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

html {
    min-width: 320px;
    background: var(--cream);
}

body {
    margin: 0;
    color: var(--white);
    font-family: Georgia, 'Times New Roman', serif;
    letter-spacing: 0;
}

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

.portal-shell {
    min-height: 100svh;
    background: var(--cream);
}

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: calc(100svh - 4.5rem);
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
    background-color: var(--green-deep);
    background-image: url('/assets/engorda-cows.webp?v=20261005-2');
    background-position: center;
    background-size: cover;
}

.hero__overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    border-left: 0.5rem solid var(--gold);
    background: rgba(17, 70, 23, 0.84);
}

.brand-header {
    display: flex;
    width: calc(100% - 3rem);
    max-width: 78rem;
    margin: 0 auto;
    padding-top: clamp(1.5rem, 4vw, 3.5rem);
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand-mark {
    width: clamp(9rem, 16vw, 13rem);
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1.25rem 3.5rem rgba(8, 36, 12, 0.28);
}

.brand-mark img {
    width: 100%;
    height: auto;
}

.unit-label {
    margin: 0.7rem 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hero__content {
    width: calc(100% - 3rem);
    max-width: 78rem;
    margin: auto;
    padding: clamp(3rem, 8vh, 6.5rem) 0;
}

.eyebrow {
    display: flex;
    margin: 0 0 1.4rem;
    align-items: center;
    gap: 0.9rem;
    color: var(--gold);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 3.5rem;
    height: 2px;
    background: var(--gold);
    content: '';
}

h1 {
    max-width: 13ch;
    margin: 0;
    font-size: clamp(2.45rem, 6vw, 5.7rem);
    font-weight: 600;
    line-height: 0.98;
    text-wrap: balance;
}

.lead {
    max-width: 46rem;
    margin: 1.75rem 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.22rem);
    line-height: 1.7;
    text-wrap: pretty;
}

.development-status {
    display: inline-flex;
    margin-top: 2rem;
    align-items: center;
    gap: 0.7rem;
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.development-status span {
    width: 0.65rem;
    height: 0.65rem;
    border: 2px solid rgba(255, 255, 255, 0.62);
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 0.35rem rgba(213, 179, 107, 0.15);
}

.hero__footer {
    display: flex;
    width: calc(100% - 3rem);
    max-width: 78rem;
    margin: 0 auto;
    padding: 1.2rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.78rem;
}

.hero__footer p {
    margin: 0;
}

.hero__footer p:first-child {
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
}

.hero__footer p:last-child {
    color: rgba(255, 255, 255, 0.72);
    text-align: right;
}

.purpose-strip {
    display: flex;
    min-height: 4.5rem;
    padding: 1rem 1.5rem;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 4vw, 3rem);
    background: var(--cream);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
}

.purpose-strip p {
    margin: 0;
    text-align: center;
}

.purpose-strip span {
    width: 0.25rem;
    height: 0.25rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--gold);
}

@media (max-width: 640px) {
    .hero__overlay {
        border-left-width: 0.35rem;
        background: rgba(17, 70, 23, 0.88);
    }

    .brand-header,
    .hero__content,
    .hero__footer {
        width: calc(100% - 2.25rem);
    }

    .brand-header {
        align-items: center;
    }

    .brand-mark {
        width: 8.25rem;
        padding: 0.65rem 0.75rem;
    }

    .unit-label {
        margin-top: 0;
        text-align: right;
    }

    .hero__content {
        padding: 2.5rem 0 3rem;
    }

    h1 {
        max-width: 12ch;
        font-size: clamp(2.3rem, 11vw, 3.35rem);
        line-height: 1.02;
    }

    .lead {
        margin-top: 1.35rem;
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .hero__footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .hero__footer p:last-child {
        text-align: left;
    }

    .purpose-strip {
        min-height: auto;
        padding-block: 1.15rem;
        align-items: stretch;
        flex-direction: column;
        gap: 0.5rem;
    }

    .purpose-strip span {
        display: none;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .brand-header,
    .hero__content,
    .hero__footer {
        animation: reveal 650ms ease-out both;
    }

    .hero__content {
        animation-delay: 90ms;
    }

    .hero__footer {
        animation-delay: 160ms;
    }
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(0.75rem);
    }

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