/* ═══════════════════════════════════════════
   LA CERILLA — Restaurant Website
   Color Palette: Emerald Green + Cream
   Typography: Playfair Display + Inter
   ═══════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --emerald-deep: #0B3D2E;
    --emerald: #1A5F4A;
    --emerald-light: #2D8B6E;
    --emerald-muted: #3D9B7E;
    --cream: #F5F0E8;
    --cream-light: #FAF7F2;
    --cream-dark: #E8E0D0;
    --cream-accent: #D4CBB8;
    --text-dark: #1A1A1A;
    --text-body: #2C2C2C;
    --text-muted: #6B6B6B;
    --text-light: #9A9A9A;
    --white: #FFFFFF;
    --black: #0A0A0A;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background-color: var(--cream-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Preloader ── */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--emerald-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-flame {
    font-size: 3rem;
    display: block;
    animation: flameFlicker 0.8s ease-in-out infinite alternate;
}

.preloader-text {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--cream);
    letter-spacing: 0.15em;
    margin-top: 1rem;
    display: block;
}

@keyframes flameFlicker {
    from { transform: scale(1) rotate(-3deg); opacity: 0.9; }
    to { transform: scale(1.1) rotate(3deg); opacity: 1; }
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(11, 61, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--cream);
    letter-spacing: 0.02em;
}

.nav-logo-icon {
    font-size: 1.4rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(245, 240, 232, 0.8);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--cream);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--cream);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta-btn {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--emerald-deep);
    background: var(--cream);
    padding: 10px 24px;
    border-radius: 100px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all 0.3s var(--ease-out);
}

.nav-cta-btn:hover {
    background: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-line {
    width: 24px;
    height: 2px;
    background: var(--cream);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero ── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 8s ease-out;
}

.hero.loaded .hero-bg img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 61, 46, 0.55) 0%,
        rgba(11, 61, 46, 0.4) 40%,
        rgba(11, 61, 46, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.8);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--cream);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero-title em {
    font-style: italic;
    font-weight: 400;
}

.text-accent {
    color: var(--emerald-light);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: rgba(245, 240, 232, 0.85);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.8s var(--ease-out) 0.9s forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.8s var(--ease-out) 1.1s forwards;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(245, 240, 232, 0.6);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: heroFadeUp 0.8s var(--ease-out) 1.4s forwards;
    opacity: 0;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(245, 240, 232, 0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.btn-primary {
    background: var(--emerald);
    color: var(--cream);
}

.btn-primary:hover {
    background: var(--emerald-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 95, 74, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--cream);
    border: 1.5px solid rgba(245, 240, 232, 0.5);
}

.btn-secondary:hover {
    background: rgba(245, 240, 232, 0.1);
    border-color: var(--cream);
}

.btn-outline-light {
    background: transparent;
    color: var(--cream);
    border: 1.5px solid rgba(245, 240, 232, 0.5);
}

.btn-outline-light:hover {
    background: var(--cream);
    color: var(--emerald-deep);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ── Marquee ── */
.marquee-section {
    background: var(--emerald-deep);
    padding: 18px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 24px;
    align-items: center;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.marquee-item {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-style: italic;
    color: rgba(245, 240, 232, 0.7);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.marquee-diamond {
    color: var(--emerald-muted);
    font-size: 0.6rem;
    flex-shrink: 0;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ── Section Tags ── */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 16px;
    position: relative;
    padding-left: 40px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 1.5px;
    background: var(--emerald);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.section-lead {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 600px;
}

/* ── Historia ── */
.historia {
    padding: 140px 0;
    background: var(--cream-light);
}

.historia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.historia-image {
    position: relative;
}

.historia-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 4px;
}

.historia-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--emerald);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.15;
}

.historia-content {
    padding: 20px 0;
}

.historia-content .section-lead {
    margin-bottom: 24px;
}

.historia-content .section-body {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.historia-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--cream-dark);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--emerald);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    background: var(--cream-dark);
    align-self: stretch;
}

/* ── Carta ── */
.carta {
    padding: 140px 0;
    background: var(--white);
}

.carta-header {
    text-align: center;
    margin-bottom: 80px;
}

.carta-header .section-lead {
    margin: 0 auto;
}

.carta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.carta-category {
    background: var(--cream-light);
    border-radius: 4px;
    padding: 40px 32px;
    transition: all 0.4s var(--ease-out);
}

.carta-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(11, 61, 46, 0.1);
}

.carta-category-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--cream-dark);
}

.carta-category-icon {
    width: 44px;
    height: 44px;
    background: var(--emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    flex-shrink: 0;
}

.carta-category-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
}

.carta-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.carta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.carta-item-name {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
}

.carta-item-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.carta-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
    padding: 24px;
    border-top: 1px solid var(--cream-dark);
}

/* ── Showcase ── */
.showcase {
    padding: 0 24px 140px;
    background: var(--cream-light);
}

.showcase-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.showcase-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.showcase-item:hover img {
    transform: scale(1.05);
}

.showcase-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 61, 46, 0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.showcase-item:hover .showcase-item-overlay {
    opacity: 1;
}

.showcase-item-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald-light);
    margin-bottom: 8px;
}

.showcase-item h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cream);
    line-height: 1.2;
}

.showcase-item--large {
    grid-column: 1 / 6;
    grid-row: 1 / 3;
    min-height: 600px;
}

.showcase-item--wide {
    grid-column: 1 / 13;
    grid-row: 3 / 4;
    min-height: 350px;
}

.showcase-item:not(.showcase-item--large):not(.showcase-item--wide) {
    min-height: 290px;
}

/* ── Filosofía ── */
.filosofia {
    padding: 140px 0;
    background: var(--emerald-deep);
}

.filosofia-content {
    max-width: 900px;
}

.filosofia-content .section-tag {
    color: var(--emerald-light);
}

.filosofia-content .section-tag::before {
    background: var(--emerald-light);
}

.filosofia-title {
    color: var(--cream);
    margin-bottom: 64px;
}

.filosofia-title em {
    color: var(--emerald-muted);
}

.filosofia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.filosofia-card {
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    transition: all 0.4s var(--ease-out);
}

.filosofia-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.filosofia-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(45, 139, 110, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-light);
    margin-bottom: 24px;
}

.filosofia-card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 12px;
}

.filosofia-card-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(245, 240, 232, 0.6);
}

/* ── CTA Strip ── */
.cta-strip {
    position: relative;
    padding: 120px 24px;
    overflow: hidden;
}

.cta-strip-bg {
    position: absolute;
    inset: 0;
}

.cta-strip-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-strip-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 61, 46, 0.85);
}

.cta-strip-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-strip-content .section-tag {
    color: var(--emerald-light);
}

.cta-strip-content .section-tag::before {
    background: var(--emerald-light);
}

.cta-strip-title {
    color: var(--cream);
    margin-bottom: 20px;
}

.cta-strip-text {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(245, 240, 232, 0.75);
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-strip-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Visita ── */
.visita {
    padding: 140px 0;
    background: var(--cream-light);
}

.visita-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.visita-detail {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.visita-detail-icon {
    width: 48px;
    height: 48px;
    background: var(--emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    flex-shrink: 0;
}

.visita-detail strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 4px;
}

.visita-detail p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.6;
}

.visita-detail a {
    color: var(--text-body);
    transition: color 0.3s;
}

.visita-detail a:hover {
    color: var(--emerald);
}

.visita-map {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.visita-map-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.visita-map-link img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.visita-map-link:hover img {
    transform: scale(1.03);
}

.visita-map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 61, 46, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--cream);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.3s;
}

.visita-map-link:hover .visita-map-overlay {
    background: rgba(11, 61, 46, 0.75);
}

/* ── Reservar ── */
.reservar {
    padding: 140px 0;
    background: var(--white);
}

.reservar-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.reservar-title {
    margin-bottom: 16px;
}

.reservar-text {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 48px;
}

.reservar-form {
    text-align: left;
    margin-bottom: 32px;
}

.reservar-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group--full {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: 14px 16px;
    border: 1.5px solid var(--cream-dark);
    border-radius: 4px;
    background: var(--cream-light);
    color: var(--text-dark);
    transition: all 0.3s;
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26, 95, 74, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.reservar-success {
    text-align: center;
    padding: 48px 32px;
    background: var(--cream-light);
    border-radius: 4px;
    margin-bottom: 32px;
}

.reservar-success-icon {
    width: 64px;
    height: 64px;
    background: var(--emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--cream);
    font-weight: 300;
}

.reservar-success h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.reservar-success p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.reservar-alternative {
    font-size: 0.9rem;
    color: var(--text-light);
}

.reservar-alternative a {
    color: var(--emerald);
    font-weight: 500;
    transition: color 0.3s;
}

.reservar-alternative a:hover {
    color: var(--emerald-light);
}

/* ── Footer ── */
.footer {
    background: var(--emerald-deep);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(245, 240, 232, 0.5);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.5);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--cream);
}

.footer-contact li {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.5);
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(245, 240, 232, 0.5);
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--cream);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8rem;
    color: rgba(245, 240, 232, 0.3);
}

/* ── Back to top ── */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--emerald);
    color: var(--cream);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 4px 15px rgba(11, 61, 46, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--emerald-light);
    transform: translateY(-2px);
}

/* ── Scroll animations ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .carta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filosofia-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .showcase-item--large {
        grid-column: 1 / 7;
        min-height: 450px;
    }

    .showcase-item--wide {
        grid-column: 1 / 13;
    }
}

@media (max-width: 900px) {
    .historia-grid,
    .visita-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .historia-image img {
        height: 400px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(11, 61, 46, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.2rem;
        color: var(--cream);
    }

    .nav-cta-btn {
        font-size: 1rem;
        padding: 14px 32px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .carta-grid {
        grid-template-columns: 1fr;
    }

    .filosofia-grid {
        grid-template-columns: 1fr;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .showcase-item--large,
    .showcase-item--wide {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .showcase-item--large {
        min-height: 350px;
    }

    .showcase-item:not(.showcase-item--large):not(.showcase-item--wide) {
        min-height: 250px;
    }

    .showcase-item-overlay {
        opacity: 1;
    }

    .reservar-row {
        grid-template-columns: 1fr;
    }

    .historia-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
        align-self: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .cta-strip-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        min-height: 600px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .historia,
    .carta,
    .filosofia,
    .visita,
    .reservar {
        padding: 80px 0;
    }

    .showcase {
        padding: 0 16px 80px;
    }
}
