
/* =========================================
   VIÑA — VINOS DE ALTURA
   Identidad visual: bodega premium mendocina
========================================= */

/* 1. VARIABLES GENERALES */

:root {
    --burgundy: #642D38;
    --burgundy-dark: #421D27;
    --burgundy-light: #854653;

    --cream: #F4EFE5;
    --cream-light: #FAF7F0;
    --sand: #E6DCCB;

    --gold: #B79A64;
    --gold-light: #D5C39A;

    --text: #302923;
    --muted: #6B6156;
    --white: #FFFFFF;

    --border: rgba(48, 41, 35, 0.15);

    --font-body: "Commissioner", Arial, sans-serif;
    --font-display: "Bodoni Moda", Georgia, serif;

    --container: 1240px;
    --transition: 300ms ease;
}


/* 2. RESET Y BASE */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream-light);
    line-height: 1.6;
    overflow-x: hidden;
}

body,
button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

button,
a {
    outline-offset: 5px;
}

/* Anillo de foco doble (oro + burdeos profundo): visible
   sobre fondos claros y oscuros. */
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--burgundy-dark);
}

::selection {
    color: var(--white);
    background: var(--burgundy);
}

.container {
    width: min(var(--container), calc(100% - 100px));
    margin-inline: auto;
}

.section-pad {
    padding: 120px 0;
}

.eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.12;
}

h1 em,
h2 em {
    font-weight: 400;
    color: var(--gold);
}


/* 3. BARRA SUPERIOR */

.announcement {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 20px;
    color: var(--cream-light);
    background: var(--burgundy-dark);
    text-align: center;
}

.announcement p {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.1px;
}

.announcement span {
    color: var(--gold-light);
}


/* 4. NAVEGACIÓN */

.header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: var(--cream-light);
    border-bottom: 1px solid rgba(48, 41, 35, 0.08);
}

.navbar {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* display:block en vez de flex: con flex-column el glifoÑ de
   Bodoni no se renderizaba en el logotipo (bug de shaping). */
.logo {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: 2px;
}

.logo-dot {
    display: inline;
    color: var(--burgundy);
}

.logo small {
    display: block;
    margin-top: 9px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 38px;
}

.nav-links > a {
    position: relative;
    font-size: 11px;
    font-weight: 600;
    transition: color var(--transition);
}

.nav-links > a:not(.nav-cta)::after {
    position: absolute;
    right: 0;
    bottom: -6px;
    left: 0;
    height: 1px;
    background: var(--burgundy);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}

.nav-links > a:not(.nav-cta):hover {
    color: var(--burgundy);
}

.nav-links > a:not(.nav-cta):hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 13px 17px;
    color: var(--cream-light);
    background: var(--burgundy);
    transition:
        background var(--transition),
        transform var(--transition);
}

.nav-cta:hover {
    background: var(--burgundy-dark);
    transform: translateY(-2px);
}

.nav-cta span {
    font-size: 15px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
}


/* 5. PORTADA CINEMATOGRÁFICA */

.hero {
    position: relative;
    min-height: min(780px, calc(100svh - 122px));
    min-height: max(650px, min(780px, calc(100svh - 122px)));
    display: flex;
    align-items: center;
    color: var(--white);
    background: var(--burgundy-dark);
    isolation: isolate;
}

.hero-background,
.hero-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
}

.hero-background {
    overflow: hidden;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 53%;
    animation: heroImage 1.5s ease both;
}

.hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(22, 30, 23, 0.83) 0%,
            rgba(22, 30, 23, 0.57) 48%,
            rgba(22, 30, 23, 0.12) 100%
        ),
        linear-gradient(
            0deg,
            rgba(20, 25, 20, 0.48) 0%,
            transparent 32%
        );
}

.hero-content {
    padding-top: 30px;
    padding-bottom: 90px;
    animation: heroText 1s 0.15s ease both;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    color: var(--gold-light);
}

.hero-eyebrow span {
    width: 28px;
    height: 1px;
    background: var(--gold);
}

.hero h1 {
    max-width: 780px;
    font-size: clamp(62px, 8vw, 112px);
    letter-spacing: -1.8px;
    line-height: 1.02;
}

.hero h1 em {
    color: var(--gold-light);
}

.hero-description {
    max-width: 450px;
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.95;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 36px;
}

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 0 23px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    transition:
        color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.button span {
    font-size: 16px;
    transition: transform var(--transition);
}

.button:hover span {
    transform: translate(3px, -3px);
}

.button-light {
    color: var(--burgundy-dark);
    background: var(--cream-light);
}

.button-light:hover {
    color: var(--white);
    background: var(--burgundy);
    transform: translateY(-2px);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
}

.text-link span {
    color: var(--gold-light);
    transition: transform var(--transition);
}

.text-link:hover span {
    transform: translateY(4px);
}

.hero-bottom {
    position: absolute;
    right: 0;
    bottom: 25px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, 0.75);
}

.hero-bottom p {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.7px;
}

.hero-bottom a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    font-size: 17px;
    transition:
        background var(--transition),
        transform var(--transition);
}

.hero-bottom a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(3px);
}


/* 6. INTRODUCCIÓN */

.intro {
    overflow: hidden;
    background: var(--cream-light);
}

.intro-grid {
    position: relative;
    display: grid;
    grid-template-columns: 0.7fr 2fr 0.6fr;
    align-items: start;
    gap: 55px;
}

.intro-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-top: 9px;
}

.section-number {
    color: var(--burgundy);
    font-family: var(--font-display);
    font-size: 24px;
}

.intro-label p {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
    line-height: 1.8;
}

.intro-content .eyebrow {
    margin-bottom: 22px;
    color: var(--burgundy);
}

.intro h2,
.section-heading h2,
.origin h2,
.contact h2 {
    font-size: clamp(38px, 4.6vw, 62px);
    letter-spacing: -0.6px;
}

.intro h2 em,
.section-heading h2 em {
    color: var(--burgundy);
}

.intro-description {
    max-width: 540px;
    margin-top: 27px;
    color: var(--muted);
    font-size: 12px;
    line-height: 2;
}

.underlined-link {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    margin-top: 27px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--burgundy);
    color: var(--burgundy);
    font-size: 10px;
    font-weight: 700;
}

.underlined-link span {
    transition: transform var(--transition);
}

.underlined-link:hover span {
    transform: translate(3px, -3px);
}

.intro-decoration {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 25px;
    color: rgba(100, 45, 56, 0.15);
}

.intro-decoration > span {
    font-family: var(--font-display);
    font-size: 130px;
    line-height: 1;
}

.intro-decoration small {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1.6px;
    text-align: center;
    writing-mode: vertical-rl;
}


/* 7. COLECCIÓN DE VINOS */

.collection {
    background: var(--cream);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 45px;
    margin-bottom: 48px;
}

.section-heading .eyebrow {
    margin-bottom: 17px;
    color: var(--burgundy);
}

.section-description {
    max-width: 310px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.wine-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-button {
    min-height: 37px;
    padding: 0 17px;
    border: 1px solid rgba(48, 41, 35, 0.2);
    border-radius: 0;
    color: var(--muted);
    background: transparent;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition:
        color var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.filter-button:hover,
.filter-button.active {
    border-color: var(--burgundy);
    color: var(--white);
    background: var(--burgundy);
}

.wine-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.wine-card {
    min-width: 0;
    animation: cardEnter 0.55s ease both;
}

.wine-image {
    position: relative;
    height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #DED4C3;
    isolation: isolate;
}

.wine-image::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(25, 22, 19, 0.08),
        transparent 45%,
        rgba(25, 22, 19, 0.28)
    );
    content: "";
    pointer-events: none;
}

.wine-image img {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 800ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.wine-image:hover img {
    transform: scale(1.07);
}

.wine-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    padding: 7px 9px;
    color: var(--cream-light);
    background: var(--burgundy);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.wine-discover {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    color: var(--burgundy-dark);
    background: var(--cream-light);
    font-size: 10px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity var(--transition),
        transform var(--transition);
}

.wine-image:hover .wine-discover,
.wine-image:focus-visible .wine-discover {
    opacity: 1;
    transform: translateY(0);
}

.wine-info {
    padding: 21px 0 0;
}

.wine-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--burgundy);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.wine-meta span:last-child {
    color: var(--muted);
    text-align: right;
}

.wine-info h3 {
    margin-top: 12px;
    font-size: clamp(20px, 2vw, 25px);
}

.wine-info > p {
    min-height: 24px;
    margin-top: 7px;
    color: var(--muted);
    font-size: 10px;
}

.wine-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 17px;
    padding-top: 13px;
    border-top: 1px solid var(--border);
}

.wine-price {
    font-size: 10px;
    font-weight: 600;
}

.wine-bottom > a {
    width: 31px;
    height: 31px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid var(--border);
    color: var(--burgundy);
    transition:
        color var(--transition),
        background var(--transition);
}

.wine-bottom > a:hover {
    color: var(--white);
    background: var(--burgundy);
}

.demo-note {
    margin-top: 35px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.8;
}


/* 8. ORIGEN */

.origin {
    color: var(--cream-light);
    background: var(--burgundy);
}

.origin-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(50px, 8vw, 110px);
}

.origin-image {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background: var(--burgundy-dark);
}

.origin-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.origin-image:hover img {
    transform: scale(1.035);
}

.origin-image-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 18px;
    color: var(--white);
    background: rgba(25, 43, 35, 0.76);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
}

.origin-content .eyebrow {
    margin-bottom: 22px;
    color: var(--gold-light);
}

.origin h2 {
    font-size: clamp(38px, 4.2vw, 57px);
}

.origin h2 em {
    color: var(--gold-light);
}

.origin-content > p:not(.eyebrow) {
    margin-top: 22px;
    color: rgba(250, 247, 240, 0.73);
    font-size: 12px;
    line-height: 2;
}

.button-dark {
    margin-top: 30px;
    color: var(--white);
    background: var(--burgundy);
}

.button-dark:hover {
    background: var(--burgundy-light);
    transform: translateY(-2px);
}

.origin-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 45px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.origin-stats > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.origin-stats strong {
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: 29px;
    font-weight: 400;
}

.origin-stats span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
}


/* 9. EXPERIENCIAS */

.experience {
    background: var(--cream-light);
}

.experience-heading {
    margin-bottom: 48px;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 18px;
}

.experience-card {
    position: relative;
    min-width: 0;
    min-height: 380px;
    overflow: hidden;
    background: var(--burgundy-dark);
    isolation: isolate;
}

.experience-card::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(18, 25, 20, 0.84) 0%,
        rgba(18, 25, 20, 0.05) 70%
    );
    content: "";
}

.experience-card img {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 850ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.experience-card:hover img {
    transform: scale(1.06);
}

.experience-overlay {
    position: absolute;
    right: 23px;
    bottom: 25px;
    left: 23px;
    color: var(--white);
}

.experience-overlay span {
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.experience-overlay h3 {
    margin-top: 12px;
    font-size: clamp(21px, 2.2vw, 30px);
}


/* 10. CONTACTO */

.contact {
    position: relative;
    overflow: hidden;
    color: var(--cream-light);
    background: var(--burgundy-dark);
    text-align: center;
    isolation: isolate;
}

.contact::before,
.contact::after {
    position: absolute;
    z-index: -1;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(213, 195, 154, 0.13);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.contact::before {
    top: -230px;
    left: -180px;
    box-shadow:
        0 0 0 35px rgba(213, 195, 154, 0.025),
        0 0 0 75px rgba(213, 195, 154, 0.025);
}

.contact::after {
    right: -180px;
    bottom: -270px;
    box-shadow:
        0 0 0 35px rgba(213, 195, 154, 0.025),
        0 0 0 75px rgba(213, 195, 154, 0.025);
}

.contact-inner {
    max-width: 800px;
}

.contact .eyebrow {
    margin-bottom: 22px;
    color: var(--gold-light);
}

.contact h2 {
    font-size: clamp(45px, 6vw, 76px);
}

.contact h2 em {
    color: var(--gold-light);
}

.contact-inner > p:not(.eyebrow) {
    max-width: 470px;
    margin: 24px auto 0;
    color: rgba(250, 247, 240, 0.75);
    font-size: 12px;
    line-height: 2;
}

.contact-button {
    margin-top: 32px;
}

.contact-note {
    display: block;
    margin-top: 26px;
    color: rgba(250, 247, 240, 0.56);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.6px;
}


/* 11. PIE DE PÁGINA */

.footer {
    padding: 40px 0 0;
    color: var(--cream-light);
    background: var(--burgundy-dark);
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding-bottom: 35px;
}

.footer-logo {
    font-size: 32px;
}

.footer-logo .logo-dot {
    color: var(--gold-light);
}

.footer-logo small {
    color: rgba(250, 247, 240, 0.65);
}

.footer-main > p {
    color: rgba(250, 247, 240, 0.7);
    font-family: var(--font-display);
    font-size: 18px;
    font-style: italic;
}

.back-to-top {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
    transition: color var(--transition);
}

.back-to-top:hover {
    color: var(--gold-light);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    padding-bottom: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    color: rgba(250, 247, 240, 0.52);
    font-size: 10px;
    letter-spacing: 0.8px;
}


/* 12. ANIMACIONES */

@keyframes heroImage {
    from {
        opacity: 0.5;
        transform: scale(1.06);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes heroText {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* 13. TABLET */

@media (max-width: 1050px) {
    .container {
        width: calc(100% - 60px);
    }

    .section-pad {
        padding: 95px 0;
    }

    .nav-links {
        gap: 22px;
    }

    .intro-grid {
        grid-template-columns: 0.5fr 2fr;
        gap: 35px;
    }

    .intro-decoration {
        display: none;
    }

    .wine-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 25px;
        row-gap: 40px;
    }

    .wine-image {
        height: 390px;
    }

    .origin-grid {
        gap: 45px;
    }

    .origin-image {
        min-height: 520px;
    }

    .experience-grid {
        grid-template-columns: 1fr 1fr;
    }

    .experience-card {
        min-height: 360px;
    }

    .experience-card-large {
        grid-column: 1 / -1;
        min-height: 420px;
    }
}


/* 14. MÓVILES */

@media (max-width: 700px) {
    html {
        scroll-padding-top: 80px;
    }

    .container {
        width: calc(100% - 38px);
    }

    .section-pad {
        padding: 75px 0;
    }

    .announcement {
        min-height: 32px;
        padding-inline: 10px;
    }

    .announcement p {
        font-size: 10px;
        letter-spacing: 0.4px;
    }

    .navbar {
        min-height: 76px;
    }

    .logo {
        font-size: 31px;
    }

    .logo small {
        font-size: 10px;
    }

    .menu-toggle {
        position: relative;
        z-index: 102;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }

    .menu-toggle span {
        width: 18px;
        height: 1px;
        background: var(--burgundy-dark);
        transition:
            transform var(--transition),
            width var(--transition);
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 19px 22px;
        background: var(--cream-light);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 18px 30px rgba(35, 27, 23, 0.08);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition:
            opacity var(--transition),
            transform var(--transition),
            visibility var(--transition);
    }

    .nav-links.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links > a:not(.nav-cta) {
        padding: 15px 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-links .nav-cta {
        justify-content: space-between;
        margin-top: 16px;
        padding: 15px;
    }

    .hero {
        min-height: 690px;
        min-height: max(620px, calc(100svh - 108px));
    }

    .hero-background img {
        object-position: 57% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(22, 30, 23, 0.75),
                rgba(22, 30, 23, 0.24)
            ),
            linear-gradient(
                0deg,
                rgba(20, 25, 20, 0.58),
                transparent 65%
            );
    }

    .hero-content {
        padding-top: 0;
        padding-bottom: 55px;
    }

    .hero-eyebrow {
        margin-bottom: 23px;
        font-size: 10px;
    }

    .hero h1 {
        font-size: clamp(55px, 13vw, 78px);
        letter-spacing: -1px;
    }

    .hero-description {
        max-width: 360px;
        margin-top: 24px;
        font-size: 12px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
        margin-top: 30px;
    }

    .hero-bottom {
        bottom: 17px;
    }

    .hero-bottom p {
        font-size: 10px;
        letter-spacing: 0.9px;
    }

    .hero-bottom p:nth-child(2) {
        display: none;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .intro-label {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .intro-label p {
        font-size: 10px;
    }

    .intro h2,
    .section-heading h2,
    .origin h2 {
        font-size: clamp(38px, 10vw, 53px);
        letter-spacing: -0.5px;
    }

    .intro-description {
        margin-top: 21px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
        margin-bottom: 32px;
    }

    .section-heading .eyebrow {
        margin-bottom: 14px;
    }

    .section-description {
        max-width: 380px;
    }

    .wine-filters {
        gap: 7px;
        margin-bottom: 25px;
    }

    .filter-button {
        min-height: 35px;
        padding: 0 12px;
        font-size: 10px;
    }

    .wine-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 14px;
        row-gap: 32px;
    }

    .wine-image {
        height: clamp(195px, 58vw, 300px);
    }

    .wine-badge {
        top: 8px;
        left: 8px;
        padding: 6px;
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    .wine-discover {
        right: 7px;
        bottom: 7px;
        left: 7px;
        min-height: 36px;
        font-size: 10px;
        opacity: 1;
        transform: none;
    }

    .wine-info {
        padding-top: 14px;
    }

    .wine-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
        font-size: 10px;
    }

    .wine-meta span:last-child {
        text-align: left;
    }

    .wine-info h3 {
        margin-top: 10px;
        font-size: clamp(17px, 4.6vw, 23px);
        line-height: 1.2;
    }

    .wine-info > p {
        min-height: 35px;
        font-size: 10px;
        line-height: 1.7;
    }

    .wine-bottom {
        align-items: flex-start;
        gap: 6px;
        margin-top: 12px;
        padding-top: 10px;
    }

    .wine-price {
        font-size: 10px;
        line-height: 1.5;
    }

    .wine-bottom > a {
        width: 27px;
        height: 27px;
    }

    .demo-note {
        margin-top: 28px;
        font-size: 10px;
    }

    .origin-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .origin-image {
        min-height: 390px;
    }

    .origin-image-caption {
        padding: 13px;
        font-size: 10px;
    }

    .origin-content > p:not(.eyebrow) {
        margin-top: 18px;
    }

    .origin-stats {
        margin-top: 32px;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .experience-card,
    .experience-card-large {
        grid-column: auto;
        min-height: 360px;
    }

    .experience-overlay {
        right: 20px;
        bottom: 22px;
        left: 20px;
    }

    .contact h2 {
        font-size: clamp(45px, 11vw, 64px);
        letter-spacing: -0.6px;
    }

    .contact-inner > p:not(.eyebrow) {
        font-size: 11px;
    }

    .footer {
        padding-top: 32px;
    }

    .footer-main {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        padding-bottom: 27px;
    }

    .footer-main > p {
        font-size: 16px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }
}


/* 15. MÓVILES PEQUEÑOS */

@media (max-width: 380px) {
    .container {
        width: calc(100% - 30px);
    }

    .hero h1 {
        font-size: 51px;
    }

    .wine-grid {
        column-gap: 11px;
    }

    .wine-image {
        height: 190px;
    }

    .wine-info h3 {
        font-size: 17px;
    }

    .wine-discover {
        font-size: 10px;
    }

    .origin-image {
        min-height: 330px;
    }
}


/* 16. ACCESIBILIDAD: REDUCIR MOVIMIENTO */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ANIMACIONES AL DESPLAZARSE */

.reveal {
    opacity: 1;
    transform: none;
}

.reveal-ready .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 750ms ease,
        transform 750ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Evitar que las tarjetas filtradas sigan ocupando espacio */
.wine-card[hidden] {
    display: none !important;
}

/* Mantener visible el contenido si el usuario reduce movimiento */
@media (prefers-reduced-motion: reduce) {
    .reveal-ready .reveal {
        opacity: 1;
        transform: none;
    }
}