/* =========================================================
   LA GRAN ESQUINA - PREMIUM DEMO
   Agency-quality design · Cinematic animations
========================================================= */

/* ============ RESET & BASE ============ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF6B35;
    --primary-dark: #E85826;
    --primary-light: #FFB088;
    --accent: #FFBA08;
    --accent-dark: #D49B00;
    --dark: #0F0A1A;
    --gray-dark: #1A1423;
    --gray: #6B6B6B;
    --gray-light: #A0A0A0;
    --light: #F8F5F0;
    --cream: #FAF6EF;
    --white: #FFFFFF;
    
    --shadow-sm: 0 2px 8px rgba(15, 10, 26, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 10, 26, 0.12);
    --shadow-lg: 0 20px 60px rgba(15, 10, 26, 0.18);
    --shadow-xl: 0 30px 80px rgba(15, 10, 26, 0.25);
    
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
    cursor: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul { list-style: none; }

/* ============ CUSTOM CURSOR ============ */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all 0.25s var(--ease-out);
    opacity: 0.4;
}

.cursor-follower.hover {
    width: 70px;
    height: 70px;
    background: rgba(255, 107, 53, 0.1);
    border-color: transparent;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .cursor, .cursor-follower { display: none; }
    body { cursor: auto; }
}

/* ============ PAGE LOADER ============ */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s var(--ease-out), visibility 0.8s var(--ease-out);
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: var(--white);
    position: relative;
}

.loader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.loader-icon {
    font-size: 72px;
    opacity: 0;
    animation: iconFadeIn 0.8s var(--ease-out) 0.2s forwards;
}

@keyframes iconFadeIn {
    from { opacity: 0; transform: translateY(20px) scale(0.8); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.loader-name {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.name-line {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 4px;
    opacity: 0;
    transform: translateY(100%);
    animation: lineReveal 0.8s var(--ease-out) forwards;
}

.name-1 {
    font-size: 18px;
    color: var(--gray-light);
    animation-delay: 0.5s;
}

.name-2 {
    font-size: 42px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation-delay: 0.7s;
}

@keyframes lineReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto 24px;
    position: relative;
    overflow: hidden;
}

.loader-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    animation: loaderProgress 2s var(--ease-in-out) forwards;
}

@keyframes loaderProgress {
    to { width: 100%; }
}

.loader-tagline {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gray-light);
    opacity: 0;
    animation: fadeIn 0.8s var(--ease-out) 1.2s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 28px 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.6s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    padding: 16px 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
    transition: color 0.4s var(--ease-out);
}

.navbar.scrolled .logo { color: var(--dark); }

.logo-icon {
    font-size: 30px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.4s var(--ease-spring);
}

.logo:hover .logo-icon { transform: rotate(-15deg) scale(1.1); }

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.logo-tag {
    font-size: 10px;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
    position: relative;
    transition: color 0.4s var(--ease-out);
    padding: 8px 0;
}

.navbar.scrolled .nav-link { color: var(--dark); }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.5s var(--ease-out);
}

.nav-link:hover::after { width: 100%; }

.nav-link:hover { color: var(--primary); }

.btn-nav {
    background: var(--white);
    color: var(--dark) !important;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.navbar.scrolled .btn-nav {
    background: var(--primary);
    color: var(--white) !important;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: none;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled .menu-toggle span { background: var(--dark); }

/* ============ HERO ============ */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1568901346375-23c9450c58cd?w=1920&q=80');
    background-size: cover;
    background-position: center;
    z-index: 1;
    will-change: transform;
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(15, 10, 26, 0.85) 0%, rgba(15, 10, 26, 0.5) 50%, rgba(255, 107, 53, 0.4) 100%);
    z-index: 2;
}

.hero-grain {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.15;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 1000px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0;
    animation: badgeFade 1s var(--ease-out) 2.8s forwards;
}

@keyframes badgeFade {
    to { opacity: 1; }
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 11vw, 9rem);
    line-height: 0.95;
    font-weight: 600;
    letter-spacing: -2px;
    margin-bottom: 32px;
}

.title-line {
    display: block;
    overflow: hidden;
    padding: 0 4px;
}

.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: wordReveal 1.2s var(--ease-out) forwards;
}

.hero-title .title-word:nth-child(1) { animation-delay: 3.2s; }
.hero-title .title-line:nth-child(1) .title-word { animation-delay: 3.2s; }
.hero-title .title-line:nth-child(2) .title-word { animation-delay: 3.4s; }
.hero-title .title-line:nth-child(3) .title-word { animation-delay: 3.6s; }

.title-word.highlight {
    font-style: italic;
    color: var(--accent);
    position: relative;
}

.title-word.accent {
    font-style: italic;
    color: var(--primary);
}

@keyframes wordReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeSlideUp 1s var(--ease-out) 3.8s forwards;
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 1rem;
    max-width: 550px;
    margin: 0 auto 48px;
    opacity: 0;
    animation: fadeSlideUp 1s var(--ease-out) 4s forwards;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeSlideUp 1s var(--ease-out) 4.2s forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.4s var(--ease-out);
    cursor: none;
    border: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-text { position: relative; z-index: 1; }

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-dark);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s var(--ease-out);
    z-index: 0;
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 40px;
    color: var(--white);
    opacity: 0;
    animation: fadeSlideUp 1s var(--ease-out) 4.5s forwards;
}

.stat-item { text-align: center; }

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-number::after {
    content: '+';
    font-size: 0.7em;
    color: var(--primary-light);
}

.stat-label {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
    z-index: 3;
    color: var(--white);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    animation: fadeIn 1s var(--ease-out) 4.7s forwards;
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: lineSlide 2.5s infinite;
}

@keyframes lineSlide {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}

/* ============ SECTION HEADERS ============ */
.platos, .galeria, .historia, .testimonios {
    padding: 140px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 48px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 32px;
    height: 1px;
    background: var(--primary);
    transform: translateY(-50%);
}

.section-tag-light { color: var(--accent); }
.section-tag-light::before { background: var(--accent); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--dark);
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -1px;
    font-weight: 600;
}

.text-left { text-align: left; }
.section-title-light { color: var(--white); }

.section-desc {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.section-desc-light { color: rgba(255, 255, 255, 0.75); }

/* ============ PLATOS ============ */
.platos { background: var(--cream); }

.platos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 36px;
}

.plato-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.7s var(--ease-out);
    position: relative;
    opacity: 0;
    transform: translateY(80px);
    box-shadow: var(--shadow-sm);
}

.plato-card.active {
    opacity: 1;
    transform: translateY(0);
}

.plato-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
}

.plato-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.plato-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}

.plato-card:hover .plato-image img { transform: scale(1.08); }

.plato-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    color: var(--dark);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.plato-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 10, 26, 0.9), transparent 70%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
}

.plato-card:hover .plato-overlay { opacity: 1; }

.plato-overlay-text {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: transform 0.5s var(--ease-out);
}

.plato-card:hover .plato-overlay-text { transform: translateY(0); }

.plato-content { padding: 32px; }

.plato-category {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.plato-content h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.plato-content p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.7;
    min-height: 60px;
}

.btn-plato {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.4s var(--ease-out);
    border-bottom: 1px solid var(--dark);
    padding-bottom: 4px;
}

.btn-arrow {
    display: inline-block;
    transition: transform 0.4s var(--ease-out);
}

.btn-plato:hover {
    color: var(--primary);
    border-color: var(--primary);
    gap: 14px;
}

.btn-plato:hover .btn-arrow { transform: translateX(4px); }

/* ============ GALERÍA ============ */
.galeria { background: var(--white); }

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.galeria-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 20px;
    cursor: none;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s var(--ease-out);
}

.galeria-item.active {
    opacity: 1;
    transform: translateY(0);
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}

.galeria-item:hover img { transform: scale(1.12); }

.galeria-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 10, 26, 0.95), transparent 70%);
    display: flex;
    align-items: flex-end;
    padding: 28px;
    color: var(--white);
    font-weight: 600;
    font-size: 1.05rem;
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
}

.galeria-item:hover .galeria-overlay { opacity: 1; }

/* ============ HISTORIA ============ */
.historia { background: var(--cream); }

.historia-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.historia-image {
    position: relative;
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1s var(--ease-out);
}

.historia-image.active {
    opacity: 1;
    transform: translateX(0);
}

.image-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-frame::before {
    content: '';
    position: absolute;
    inset: -20px;
    border: 2px solid var(--primary);
    border-radius: 32px;
    z-index: -1;
    opacity: 0.2;
    transform: translate(20px, 20px);
}

.image-frame img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}

.historia-image:hover .image-frame img { transform: scale(1.05); }

.image-badge-premium {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 140px;
    height: 140px;
    background: var(--dark);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    animation: slowRotate 30s linear infinite;
    border: 4px solid var(--cream);
}

@keyframes slowRotate {
    to { transform: rotate(360deg); }
}

.badge-year {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.7;
}

.badge-number {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
}

.historia-content {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1s var(--ease-out) 0.3s;
}

.historia-content.active {
    opacity: 1;
    transform: translateX(0);
}

.historia-text {
    font-size: 1.05rem;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.historia-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--white);
    border-radius: 16px;
    transition: all 0.5s var(--ease-out);
    opacity: 0;
    transform: translateY(30px);
}

.feature.active {
    opacity: 1;
    transform: translateY(0);
}

.feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 28px;
    flex-shrink: 0;
    transition: transform 0.5s var(--ease-spring);
}

.feature:hover .feature-icon { transform: scale(1.2) rotate(-10deg); }

.feature h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 4px;
    font-weight: 600;
}

.feature p {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.5;
}

/* ============ TESTIMONIOS ============ */
.testimonios {
    background: linear-gradient(135deg, var(--dark) 0%, #1a0f2e 100%);
    position: relative;
    overflow: hidden;
}

.testimonios::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent 70%);
    border-radius: 50%;
    animation: blobFloat 20s ease-in-out infinite;
}

.testimonios::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 186, 8, 0.1), transparent 70%);
    border-radius: 50%;
    animation: blobFloat 25s ease-in-out infinite reverse;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -40px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.95); }
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 1;
}

.testimonio-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 32px;
    border-radius: 24px;
    transition: all 0.7s var(--ease-out);
    position: relative;
    opacity: 0;
    transform: translateY(60px);
}

.testimonio-card.active {
    opacity: 1;
    transform: translateY(0);
}

.testimonio-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.quote-mark {
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: var(--font-display);
    font-size: 140px;
    color: var(--primary);
    opacity: 0.15;
    line-height: 0.8;
    font-style: italic;
}

.stars {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.testimonio-text {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.testimonio-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.testimonio-author h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--white);
}

.testimonio-author span {
    font-size: 0.85rem;
    opacity: 0.6;
    color: var(--white);
}

/* ============ CTA ============ */
.cta {
    padding: 140px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: ctaGlow 8s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.cta-content {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s var(--ease-out);
}

.cta-content.active {
    opacity: 1;
    transform: translateY(0);
}

.cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -1px;
    font-weight: 600;
}

.cta-title .title-word.accent { color: var(--cream); }

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 48px;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-whatsapp {
    background: var(--white);
    color: var(--primary);
    padding: 20px 48px;
    font-size: 1.05rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    border-radius: 100px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-whatsapp:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.btn-whatsapp svg { transition: transform 0.5s var(--ease-spring); }
.btn-whatsapp:hover svg { transform: rotate(-10deg) scale(1.2); }

/* ============ FOOTER ============ */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-logo .logo-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 320px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    position: relative;
}

.footer-col p, .footer-col li {
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: all 0.4s var(--ease-out);
}

.footer-col li {
    cursor: none;
    position: relative;
    padding-left: 0;
}

.footer-col li:hover {
    color: var(--primary);
    padding-left: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 32px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.5;
}

.footer-bottom p + p { margin-top: 8px; }

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 64px;
    height: 64px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.5s var(--ease-out);
    opacity: 0;
    transform: scale(0);
    animation: waAppear 0.8s var(--ease-spring) 5s forwards;
}

@keyframes waAppear {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    animation: waRipple 2s infinite;
    z-index: -1;
}

@keyframes waRipple {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.5);
}

.tooltip {
    position: absolute;
    right: 80px;
    background: var(--dark);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.4s var(--ease-out);
    pointer-events: none;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--dark);
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ============ REVEAL SYSTEM ============ */
.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s var(--ease-out);
}

.reveal-text.active {
    opacity: 1;
    transform: translateY(0);
}

.section-header .title-word {
    opacity: 0;
    transform: translateY(100%);
}

.section-header.active .title-word {
    animation: wordReveal 1s var(--ease-out) forwards;
}

.section-header.active .title-line:nth-child(1) .title-word { animation-delay: 0.1s; }
.section-header.active .title-line:nth-child(2) .title-word { animation-delay: 0.25s; }
.section-header.active .title-line:nth-child(3) .title-word { animation-delay: 0.4s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 968px) {
    .container { padding: 0 24px; }
    
    .historia-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .image-frame img { height: 420px; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .hero-stats { display: none; }
    .hero-scroll { display: none; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 36px;
        transition: right 0.5s var(--ease-out);
        box-shadow: var(--shadow-xl);
        padding: 40px;
    }
    
    .nav-menu.active { right: 0; }
    
    .nav-link { color: var(--dark) !important; font-size: 20px; }
    
    .menu-toggle { display: flex; }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
        background: var(--dark);
    }
    
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
        background: var(--dark);
    }
    
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .historia-features { grid-template-columns: 1fr; }
    
    .platos, .galeria, .historia, .testimonios, .cta { padding: 100px 0; }
    
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn { justify-content: center; width: 100%; max-width: 320px; }
    
    .whatsapp-float { bottom: 24px; right: 24px; width: 58px; height: 58px; }
    
    .image-badge-premium {
        width: 100px;
        height: 100px;
        bottom: -20px;
        right: -15px;
    }
    
    .badge-number { font-size: 32px; }
    .badge-year { font-size: 9px; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .galeria-grid { grid-template-columns: 1fr; }
    .platos-grid { grid-template-columns: 1fr; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}