@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&display=swap');

.eje {
    --paper: #f0efea; --ink: #222522; --accent: #d7ab55; --on-accent: #151816; --line: #c7c8bf;
    --display: 'Barlow Condensed', 'Outfit', Impact, sans-serif;
}
.eje-header { background: #151816; color: #f3f1e9; border-bottom: 1px solid #4b4b41; }
.eje-nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.eje-brand { display: flex; gap: 5px; align-items: center; font: 800 clamp(1.3rem, 3vw, 1.75rem)/1 var(--display); white-space: nowrap; letter-spacing: .04em; }
.eje-brand svg { width: 31px; height: 31px; color: var(--accent); margin-inline-end: 4px; }
.eje-brand span { color: var(--accent); }
.eje-links, .eje-languages, .eje-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 22px; }
.eje-links { font-size: .85rem; font-weight: 700; }
.eje-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.eje-links a:last-child { border-bottom: 2px solid var(--accent); }
.eje-languages { gap: 0; font-size: .8rem; }
.eje-languages a { padding: 4px 7px; border: 1px solid #777666; }
.eje-languages a + a { border-inline-start: 0; }
.eje-languages a[aria-current] { background: var(--accent); color: #151816; font-weight: 700; }
.eje-hero { position: relative; isolation: isolate; overflow: hidden; color: #f6f4ed; background: #1b1d19 url('../assets/eje-taller.webp') center/cover; }
.eje-hero video { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: center; z-index: -2; }
.eje-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #151816ed 0%, #151816bd 35%, #15181628 79%), linear-gradient(0deg, #15181680, transparent 42%); z-index: -1; }
.eje-hero-inner { position: relative; min-height: clamp(510px, 76svh, 780px); display: flex; align-items: center; padding-block: 55px 85px; }
.eje-hero-copy { max-width: 670px; }
.eje-hero .eyebrow { color: #f4cd83; }
.eje h1 { font-size: clamp(4.2rem, 9vw, 9rem); font-weight: 700; line-height: .85; letter-spacing: -.023em; max-width: 12ch; text-wrap: pretty; }
.eje-hero-copy > p:not(.eyebrow) { color: #f1eee3; max-width: 45ch; margin: 20px 0 24px; }
.eje-button, .eje-outline {
    display: inline-flex; align-items: center; gap: 14px; padding: 10px 14px; border: 1px solid transparent;
    font-weight: 700; transition: background .2s, color .2s;
}
.eje-button { background: var(--accent); color: #1c1b16; }
.eje-button:not(:disabled):hover { background: #f1c979; }
.eje-outline { border-color: #eee9dba0; color: #fffdf4; }
.eje-outline:hover { background: #f6f4e9; color: #191c18; }
.eje-video-control { position: absolute; bottom: 19px; right: 0; color: #fffdf5; border: 1px solid #eee9dba0; background: #191c18a8; padding: 6px 9px; font-size: .8rem; cursor: pointer; }

.eje-section, .eje-offer, .eje-booking { padding-block: clamp(40px, 7vw, 92px); }
.eje-heading { margin-bottom: 27px; }
.eje-heading .eyebrow, .eje-shop .eyebrow { color: #7a5416; }
.eje h2 { font-size: clamp(2.85rem, 6vw, 5.5rem); text-wrap: pretty; letter-spacing: -.02em; }
.eje-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2.3vw, 25px); }
.eje-services article { background: #fbfaf6; border: 1px solid #cfd0c7; display: flex; flex-direction: column; }
.eje-services figure { overflow: hidden; }
.eje-services img { width: 100%; aspect-ratio: 1.4; object-fit: cover; transition: transform .55s; }
.eje-services article:hover img { transform: scale(1.055); }
.eje-services article > div { padding: 14px; flex: 1; display: flex; align-items: start; flex-direction: column; }
.eje-services p { margin: 8px 0 11px; font-size: .9rem; }
.eje-services a { border-bottom: 1px solid #9c721f; font-weight: 700; font-size: .83rem; margin-top: auto; }

.eje-offer { background: #232823; color: #f4f0e7; }
.eje-offer-grid, .eje-booking-grid, .eje-shop { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(23px, 6vw, 76px); }
.eje-offer-grid > img { width: 100%; aspect-ratio: 1.24; object-fit: cover; }
.eje-offer .eyebrow, .eje-booking .eyebrow { color: #f4cd83; }
.eje-price { margin: 13px 0 7px; font-weight: 700; }
.eje-price strong { font: 800 clamp(3.4rem, 7vw, 6.5rem)/.9 var(--display); color: #f4cd83; }
.eje-note { max-width: 48ch; font-size: .82rem; color: #dfd9ca; margin: 10px 0 16px; }
.eje-shop { align-items: start; }
.eje-shop ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.eje-shop li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.eje-shop li p { margin-top: 4px; }
.eje-booking { background: #151816; color: #f4f0e7; }
.eje-booking-grid { align-items: start; }
.eje-booking-grid > div p:not(.eyebrow) { margin-top: 12px; }
.eje-form { border: 1px solid #63675b; padding: clamp(13px, 3vw, 28px); background: #262b25; }
.eje-form fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border: 0; padding: 0; margin: 0; min-width: 0; }
.eje-form label { display: grid; gap: 5px; font-size: .87rem; font-weight: 700; }
.eje-form :is(input,select,textarea) { width: 100%; min-width: 0; background: #f4f0e7; color: #25291f; opacity: 1; border: 1px solid #c7c8bf; padding: 8px; font: inherit; }
.eje-form .eje-wide { grid-column: 1 / -1; }
.eje-form button { justify-self: start; grid-column: 1 / -1; }
@media (prefers-reduced-motion: no-preference) {
    .eje-hero-copy { animation: eje-in .7s ease both; }
    @keyframes eje-in { from { opacity: 0; transform: translateY(14px); } }
}
@media (max-width: 760px) {
    .eje-nav { flex-wrap: wrap; padding-block: 9px; }
    .eje-links { order: 1; width: 100%; gap: 5px 14px; }
    .eje-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .eje-offer-grid, .eje-booking-grid, .eje-shop { grid-template-columns: 1fr; }
    .eje-offer-grid > img { aspect-ratio: 1.7; }
}
@media (max-width: 480px) {
    .eje-hero-inner { align-items: end; min-height: 520px; padding-bottom: 66px; }
    .eje-hero::after { background: linear-gradient(0deg, #151816fa 15%, #151816a0 67%, #15181645); }
    .eje-form fieldset { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
    .eje-hero video { transform: translateY(var(--eje-depth, 0px)); }
    .eje-services article:nth-child(2) { transition-delay: .08s; }
    .eje-services article:nth-child(3) { transition-delay: .16s; }
    .eje-services article:nth-child(4) { transition-delay: .24s; }
    .eje-offer-grid[data-reveal] { transition-duration: .8s; }
    .eje-offer-grid[data-reveal].pending { transform: translateY(25px); }
    .eje-shop li { transition: transform .24s ease; }
    .eje-shop li:hover { transform: translateX(4px); }
}
