:root {
    --avora-noche: #1c1208;
    --avora-dorado: #c49a5a;
    --avora-terracota: #c4512a;
    --avora-arena: #faf6ee;
    --avora-palido: #f0d9a8;
    --avora-oliva: #4a6741;
    --avora-blanco: #ffffff;
    --avora-nav-height: 125px;
    --avora-nav-height-scrolled: 76px;
    --avora-flash-offset: 16px;
}

html {
    scroll-behavior: smooth;
}

body.avora-site {
    background: var(--avora-arena);
    color: var(--avora-noche);
    font-family: "Poppins", sans-serif;
}

.avora-site main {
    overflow: hidden;
}

.avora-flash {
    position: fixed;
    top: calc(var(--avora-nav-height) + var(--avora-flash-offset) + env(safe-area-inset-top, 0px));
    right: 0;
    left: 0;
    z-index: 1045;
    max-width: min(100% - 32px, 960px);
    padding: 0;
    pointer-events: none;
    transition: top .25s ease;
}

.avora-nav-is-scrolled .avora-flash {
    top: calc(var(--avora-nav-height-scrolled) + var(--avora-flash-offset) + env(safe-area-inset-top, 0px));
}

.avora-flash .alert {
    margin: 0;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(28, 18, 8, .22);
    font-family: "Poppins", sans-serif;
    font-size: .95rem;
    line-height: 1.55;
    pointer-events: auto;
}

.avora-legal-page main {
    padding-top: 125px;
}

.avora-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    height: 125px;
    min-height: 125px;
    border-bottom: 1px solid rgba(196, 154, 90, .2);
    background: rgba(250, 246, 238, .94);
    backdrop-filter: blur(12px);
    transition: background .25s ease, border-color .25s ease, height .25s ease, min-height .25s ease;
}

.avora-nav.is-scrolled {
    height: 76px;
    min-height: 76px;
    border-color: rgba(196, 154, 90, .22);
    background: rgba(28, 18, 8, .95);
}

.avora-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 clamp(20px, 5vw, 58px);
}

.avora-nav__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.avora-nav__logo {
    display: block;
    width: auto;
    height: 125px;
    transition: height .25s ease;
}

.avora-nav__logo--light {
    display: none;
}

.avora-nav.is-scrolled .avora-nav__logo--dark {
    display: none;
}

.avora-nav.is-scrolled .avora-nav__logo--light {
    display: block;
}

.avora-nav.is-scrolled .avora-nav__logo {
    height: 76px;
}

.avora-nav__links {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 38px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.avora-nav__links a,
.avora-footer__links a {
    color: var(--avora-noche);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s ease;
}

.avora-nav.is-scrolled .avora-nav__links a {
    color: var(--avora-palido);
}

.avora-nav__links a:hover,
.avora-footer__links a:hover {
    color: var(--avora-dorado);
}

.avora-hero {
    position: relative;
    display: flex;
    min-height: 100svh;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 88px;
    overflow: hidden;
    background: var(--avora-noche);
    text-align: center;
}

.avora-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/imagenes/avora/professional-chef-preparing-food-kitchen.jpg");
    background-position: 50% 50%;
    background-size: cover;
    filter: saturate(.78) contrast(1.08);
    opacity: .34;
    pointer-events: none;
}

.avora-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    /*background:
        radial-gradient(circle at 50% 38%, rgba(196, 154, 90, .22), transparent 32%),
        linear-gradient(90deg, rgba(28, 18, 8, .92) 0%, rgba(28, 18, 8, .62) 48%, rgba(28, 18, 8, .88) 100%),
        linear-gradient(180deg, rgba(28, 18, 8, .72) 0%, rgba(28, 18, 8, .32) 45%, rgba(28, 18, 8, .92) 100%);*/
    pointer-events: none;
}

.avora-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avora-hero__brand {
    width: min(60vw, 520px);
    max-height: min(48svh, 520px);
    height: auto;
    /*border-radius: 50%;*/
    /*box-shadow: 0 26px 68px rgba(0, 0, 0, .34);*/
    object-fit: contain;
    animation: avoraFadeUp .8s ease both .1s;
}

.avora-hero__claim {
    max-width: 660px;
    margin: 32px 0 0;
    color: rgba(240, 217, 168, .74);
    font-family: "Lora", serif;
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    font-style: italic;
    line-height: 1.65;
    animation: avoraFadeUp .8s ease both .25s;
}

.avora-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 44px;
    animation: avoraFadeUp .8s ease both .4s;
}

.avora-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    border: 1px solid transparent;
    color: var(--avora-noche);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.avora-btn:hover {
    transform: translateY(-2px);
}

.avora-btn--primary {
    background: var(--avora-dorado);
}

.avora-btn--primary:hover {
    background: var(--avora-palido);
    color: var(--avora-noche);
}

.avora-btn--outline {
    border-color: rgba(196, 154, 90, .52);
    color: var(--avora-palido);
}

.avora-btn--outline:hover {
    border-color: var(--avora-dorado);
    color: var(--avora-dorado);
}

.avora-section {
    padding: clamp(84px, 10vw, 128px) clamp(24px, 8vw, 120px);
}

.avora-section--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    gap: clamp(48px, 7vw, 92px);
    align-items: center;
}

.avora-section--dark {
    background: var(--avora-noche);
    color: var(--avora-palido);
}

.avora-section--terracota {
    background: var(--avora-terracota);
    color: var(--avora-blanco);
    text-align: center;
}

.avora-kicker {
    margin-bottom: 18px;
    color: var(--avora-dorado);
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
}

.avora-title {
    max-width: 720px;
    margin: 0 0 28px;
    font-family: "Lora", serif;
    font-size: clamp(2.05rem, 4vw, 3.35rem);
    font-weight: 700;
    line-height: 1.14;
}

.avora-copy {
    max-width: 620px;
    margin: 0;
    color: rgba(28, 18, 8, .72);
    font-size: .96rem;
    font-weight: 300;
    line-height: 1.9;
}

.avora-section--dark .avora-copy,
.avora-section--dark .avora-intro {
    color: rgba(240, 217, 168, .68);
}

.avora-values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.avora-value {
    min-height: 154px;
    padding: 24px 24px 22px;
    border-left: 3px solid var(--avora-dorado);
    background: var(--avora-blanco);
    transition: border-color .2s ease, transform .2s ease;
}

.avora-value:hover {
    border-color: var(--avora-terracota);
    transform: translateX(4px);
}

.avora-value h3 {
    margin: 0 0 9px;
    font-family: "Lora", serif;
    font-size: 1rem;
    font-weight: 700;
}

.avora-value p {
    margin: 0;
    color: rgba(28, 18, 8, .64);
    font-size: .8rem;
    font-weight: 300;
    line-height: 1.65;
}

.avora-centered {
    max-width: 780px;
    margin: 0 auto 64px;
    text-align: center;
}

.avora-centered .avora-title {
    margin-right: auto;
    margin-left: auto;
}

.avora-intro {
    max-width: 580px;
    margin: 0 auto;
    font-size: .92rem;
    font-weight: 300;
    line-height: 1.8;
}

.avora-brands {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    max-width: 940px;
    margin: 0 auto;
}

.avora-brand-card {
    position: relative;
    display: flex;
    min-height: 265px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    padding: 38px;
    border: 1px solid rgba(196, 154, 90, .24);
    background: rgba(196, 154, 90, .07);
    color: var(--avora-palido);
    text-decoration: none;
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.avora-brand-card::after {
    content: "";
    position: absolute;
    right: -56px;
    bottom: -84px;
    width: 240px;
    aspect-ratio: 1;
    border: 1px solid rgba(196, 154, 90, .24);
    border-radius: 50%;
}

.avora-brand-card:hover {
    border-color: var(--avora-dorado);
    background: rgba(196, 154, 90, .12);
    color: var(--avora-palido);
    transform: translateY(-6px);
}

.avora-brand-card > span:not(.participada-link) {
    margin-bottom: 18px;
    color: rgba(196, 154, 90, .72);
    font-family: "Lora", serif;
    font-size: .72rem;
    letter-spacing: .2em;
}

.avora-brand-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 14px;
    font-family: "Lora", serif;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    line-height: 1.05;
}

.avora-brand-card p {
    position: relative;
    z-index: 1;
    max-width: 330px;
    flex-grow: 1;
    margin: 0 0 24px;
    color: rgba(240, 217, 168, .64);
    font-size: .82rem;
    font-weight: 300;
    line-height: 1.7;
}

.avora-quote {
    max-width: 760px;
    margin: 0 auto;
    color: var(--avora-blanco);
    font-family: "Lora", serif;
    font-size: clamp(1.5rem, 3.5vw, 2.6rem);
    font-style: italic;
    line-height: 1.42;
}

.avora-quote-source {
    display: block;
    margin-top: 26px;
    color: rgba(255, 255, 255, .68);
    font-size: .7rem;
    font-style: normal;
    font-weight: 500;
    letter-spacing: .25em;
    text-transform: uppercase;
}

.avora-contact {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
    gap: clamp(48px, 7vw, 92px);
    align-items: start;
}

.avora-contact > .avora-reveal:first-child {
    padding-top: calc(clamp(2rem, 3.2vw, 2.75rem) * 1.1 + 22px);
}

.avora-contact__tagline {
    margin: 0 0 36px;
    color: rgba(28, 18, 8, .56);
    font-family: "Lora", serif;
    font-size: 1.04rem;
    font-style: italic;
}

.avora-contact__item {
    margin-bottom: 24px;
}

.avora-contact__item span {
    display: block;
    margin-bottom: 6px;
    color: var(--avora-dorado);
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.avora-contact__item a,
.avora-contact__item p {
    margin: 0;
    color: var(--avora-noche);
    font-size: .92rem;
    font-weight: 300;
    line-height: 1.7;
    text-decoration: none;
}

.avora-contact__item a:hover {
    color: var(--avora-terracota);
}

.avora-contact__form-column {
    width: 100%;
}

.avora-contact__heading {
    margin: 0 0 22px;
    color: var(--avora-noche);
    font-family: "Lora", serif;
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
}

.avora-form-alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-left: 3px solid var(--avora-dorado);
    background: var(--avora-blanco);
    color: rgba(28, 18, 8, .78);
    font-size: .86rem;
    font-weight: 300;
    line-height: 1.55;
}

.avora-form-alert--danger {
    border-left-color: var(--avora-terracota);
}

.avora-map {
    display: flex;
    min-height: 430px;
    align-items: center;
    justify-content: center;
    padding: 42px;
    background: var(--avora-noche);
}

.avora-contact-form {
    width: 100%;
    max-width: 560px;
    text-align: left;
}

.avora-contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.avora-field {
    margin-bottom: 18px;
}

.avora-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--avora-dorado);
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.avora-field input,
.avora-field textarea {
    width: 100%;
    border: 1px solid rgba(196, 154, 90, .32);
    border-radius: 0;
    background: rgba(250, 246, 238, .08);
    color: var(--avora-palido);
    font-family: "Poppins", sans-serif;
    font-size: .9rem;
    font-weight: 300;
    outline: none;
    padding: 13px 14px;
    transition: border-color .2s ease, background .2s ease;
}

.avora-field textarea {
    min-height: 138px;
    resize: vertical;
}

.avora-field input:focus,
.avora-field textarea:focus {
    border-color: var(--avora-dorado);
    background: rgba(250, 246, 238, .12);
}

.avora-field span {
    display: block;
    margin-top: 7px;
    color: var(--avora-palido);
    font-size: .74rem;
    line-height: 1.45;
}

.avora-privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 2px 0 18px;
    color: rgba(240, 217, 168, .74);
    font-size: .78rem;
    font-weight: 300;
    line-height: 1.6;
}

.avora-privacy-check input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--avora-dorado);
}

.avora-privacy-check a {
    color: var(--avora-dorado);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.avora-field-error {
    display: block;
    margin: -10px 0 16px;
    color: var(--avora-palido);
    font-size: .74rem;
    line-height: 1.45;
}

.avora-contact-form__submit {
    margin-top: 6px;
}

.avora-footer {
    padding: 38px clamp(24px, 8vw, 120px);
    border-top: 1px solid rgba(196, 154, 90, .16);
    background: var(--avora-noche);
}

.avora-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.avora-footer img {
    width: 156px;
    height: auto;
}

.avora-footer p {
    margin: 0;
    color: rgba(240, 217, 168, .45);
    font-size: .72rem;
}

.avora-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px 26px;
}

.avora-footer__links a {
    color: rgba(196, 154, 90, .72);
    font-size: .65rem;
}

.avora-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}

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

.avora-brand-card .participada-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--avora-dorado);
    font-family: "Poppins", sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.avora-brand-card .participada-link::after {
    content: '→';
    transition: transform 0.2s;
}

@keyframes avoraFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

@media (max-width: 900px) {
    .avora-nav__links {
        gap: 18px;
    }

    .avora-section--split,
    .avora-contact {
        grid-template-columns: 1fr;
    }

    .avora-contact > .avora-reveal:first-child {
        padding-top: 0;
    }
}

@media (max-width: 760px) {
    :root {
        --avora-nav-height-scrolled: 76px;
        --avora-flash-offset: 10px;
    }

    .avora-nav {
        height: 125px;
        min-height: 125px;
    }

    .avora-nav.is-scrolled {
        height: 76px;
        min-height: 76px;
    }

    .avora-nav__inner {
        padding: 0 20px;
    }

    .avora-nav__logo {
        height: 125px;
    }

    .avora-nav.is-scrolled .avora-nav__logo {
        height: 76px;
    }

    .avora-nav__links {
        display: none;
    }

    .avora-hero {
        padding-top: 110px;
    }

    .avora-hero__brand {
        width: min(82vw, 390px);
        max-height: 42svh;
    }

    .avora-hero__actions {
        width: 100%;
    }

    .avora-btn {
        width: min(100%, 320px);
    }

    .avora-values,
    .avora-brands {
        grid-template-columns: 1fr;
    }

    .avora-brand-card {
        min-height: 230px;
        padding: 30px;
    }

    .avora-map {
        min-height: 360px;
        padding: 32px 24px;
    }

    .avora-contact-form__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .avora-footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .avora-footer__links {
        justify-content: center;
    }
}
