/* ===================================
   SEGUNDO PATIO - Restaurant Website
   PREMIUM Design System & Styles
   =================================== */

/* === CSS Custom Properties === */
:root {
    /* Colors - Premium Palette Refined */
    --color-black: #0a0a0a;
    --color-black-pure: #000000;
    --color-black-rich: #111111;
    --color-white: #FFFFFF;
    --color-cream: #faf8f5;

    /* Gold Gradients & Accents */
    --color-gold: #c9a962;
    --color-gold-light: #dfc489;
    --color-gold-dark: #a68a3f;
    --gradient-gold: linear-gradient(135deg, #dfc489 0%, #c9a962 50%, #a68a3f 100%);
    --gradient-gold-hover: linear-gradient(135deg, #ebd6a3 0%, #dcc07e 50%, #b89b4e 100%);

    --color-gray-100: #f4f4f4;
    --color-gray-200: #e5e5e5;
    --color-gray-300: #d4d4d4;
    --color-gray-400: #a3a3a3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-gray-800: #262626;
    --color-gray-900: #171717;

    /* Typography - Luxurious Hierarchy */
    --font-heading: 'Playfair Display', serif;
    --font-number: 'Playfair Display', serif;
    /* For elegant numbers */
    --font-body: 'Montserrat', sans-serif;

    /* Font Sizes */
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 1.875rem;
    --fs-4xl: 2.25rem;
    --fs-5xl: 3rem;
    --fs-6xl: 4rem;
    --fs-7xl: 5rem;

    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    --spacing-5xl: 8rem;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-elegant: 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Shadows - More dramatic */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 8px 32px rgba(201, 169, 98, 0.3);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.1);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Header Height */
    --header-height: 90px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: 300;
    /* Lighter weight for elegance */
    line-height: 1.8;
    /* More airy */
    color: var(--color-gray-800);
    background-color: var(--color-cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-black);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-md);
}

/* === Performance Optimizations === */
.hero,
.hero::before {
    will-change: transform;
    contain: layout style;
}

.section {
    contain: layout style;
}

/* GPU acceleration for animated elements */
.hero__content-wrapper,
.nav-fullscreen__link,
.cocina__card,
.gallery__item,
.testimonio {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero::before {
        animation: none;
    }
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

/* === Container === */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

/* === Section === */
.section {
    padding: var(--spacing-5xl) 0;
    position: relative;
}

.section__subtitle {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-left: 60px;
}

.section__subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 1px;
    background: linear-gradient(90deg, var(--color-gold), transparent);
}

.section__title {
    font-family: var(--font-heading);
    font-size: var(--fs-5xl);
    font-weight: 500;
    color: var(--color-black);
    line-height: 1.15;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
}

.section__description {
    font-size: var(--fs-lg);
    color: var(--color-gray-600);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

.section__header {
    text-align: center;
    margin-bottom: var(--spacing-4xl);
}

.section__header .section__subtitle {
    padding-left: 0;
}

.section__header .section__subtitle::before {
    display: none;
}

/* Utility: Text Gold Gradient (Pan de Oro) */
.text-gold-gradient {
    background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: shineText 5s linear infinite;
}

@keyframes shineText {
    to {
        background-position: 200% center;
    }
}

/* === Premium Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-elegant);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-base);
}

.btn:hover::before {
    opacity: 1;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-black);
    box-shadow: 0 10px 20px -5px rgba(201, 169, 98, 0.4);
    position: relative;
    overflow: hidden;
    /* Needed for shine effect */
}

/* Efecto Destello (Shine) */
.btn--primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: btnShine 4s infinite;
    /* Destello automático cada 4s */
    pointer-events: none;
}

@keyframes btnShine {

    0%,
    80% {
        left: -100%;
        opacity: 0;
    }

    85% {
        opacity: 1;
    }

    100% {
        left: 200%;
        opacity: 0;
    }
}

.btn--primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -5px rgba(201, 169, 98, 0.6);
}

.btn--outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn--outline:hover {
    background: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
    transform: translateY(-4px);
}

.btn--dark {
    background: var(--color-black);
    color: var(--color-white);
}

.btn--dark:hover {
    background: var(--color-gray-800);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   STICKY HEADER (Navbar Background)
   ======================================== */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 900;
    /* Behind burger (z-9999) but above content */
    background: transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.sticky-header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: auto;
}

.sticky-header__logo {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: var(--fs-lg);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    text-decoration: none;
}

.sticky-header.scrolled .sticky-header__logo {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 768px) {
    .sticky-header {
        height: 70px;
    }

    .sticky-header__logo {
        font-size: var(--fs-md);
    }
}

/* ========================================
   GOOD MEAT STYLE - FIXED CORNER NAVIGATION
   ======================================== */

/* Burger Menu - Fixed Top-Left */
.nav-burger {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px;
    transition: var(--transition-base);
}

.nav-burger::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition-base);
}

.nav-burger:hover::before {
    opacity: 1;
}

.nav-burger__line {
    width: 30px;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition-elegant);
    transform-origin: center;
}

/* Burger animation when menu is open */
.nav-burger.active .nav-burger__line:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

.nav-burger.active .nav-burger__line:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Fixed Logo - Bottom-Left */
.nav-logo-fixed {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9998;
    transition: var(--transition-elegant);
}

.nav-logo-fixed__img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(1);
    transition: var(--transition-base);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.nav-logo-fixed:hover .nav-logo-fixed__img {
    filter: brightness(1.1);
    border-color: var(--color-gold);
}

/* Hide fixed elements when menu is open */
.nav-logo-fixed.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ========================================
   FULLSCREEN NAVIGATION OVERLAY
   ======================================== */
.nav-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 9990;
    background: var(--color-black-pure);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-fullscreen.show-menu {
    opacity: 1;
    visibility: visible;
}

.nav-fullscreen__content {
    text-align: left;
    padding: var(--spacing-4xl);
    max-width: 1000px;
    width: 100%;
}

.nav-fullscreen__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-fullscreen__item {
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.nav-fullscreen__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-body);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    color: var(--color-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    padding: var(--spacing-sm) 0;
    position: relative;
    transform: translateY(100%);
    opacity: 0;
    transition: color 0.3s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-fullscreen.show-menu .nav-fullscreen__link {
    transform: translateY(0);
    opacity: 1;
}

/* Stagger animation for menu items */
.nav-fullscreen.show-menu .nav-fullscreen__item:nth-child(1) .nav-fullscreen__link {
    transition-delay: 0.1s;
}

.nav-fullscreen.show-menu .nav-fullscreen__item:nth-child(2) .nav-fullscreen__link {
    transition-delay: 0.15s;
}

.nav-fullscreen.show-menu .nav-fullscreen__item:nth-child(3) .nav-fullscreen__link {
    transition-delay: 0.2s;
}

.nav-fullscreen.show-menu .nav-fullscreen__item:nth-child(4) .nav-fullscreen__link {
    transition-delay: 0.25s;
}

.nav-fullscreen.show-menu .nav-fullscreen__item:nth-child(5) .nav-fullscreen__link {
    transition-delay: 0.3s;
}

.nav-fullscreen__link:hover {
    color: var(--color-gold);
}

.nav-fullscreen__link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--color-gold);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-fullscreen__link:hover::before {
    width: 100%;
}

.nav-fullscreen__arrow {
    font-size: 2rem;
    opacity: 0.5;
    transition: var(--transition-base);
}

.nav-fullscreen__link:hover .nav-fullscreen__arrow {
    opacity: 1;
    transform: translateY(5px);
}

/* Social links in fullscreen menu */
.nav-fullscreen__footer {
    display: flex;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-4xl);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s;
}

.nav-fullscreen.show-menu .nav-fullscreen__footer {
    opacity: 1;
    transform: translateY(0);
}

.nav-fullscreen__social {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.2rem;
    transition: var(--transition-base);
}

.nav-fullscreen__social:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-black);
    transform: scale(1.1);
}

/* ========================================
   HERO SECTION - PREMIUM LAYOUT
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: var(--color-black);
    overflow: hidden;
}

/* Background Video Styles (Mobile Only by default hidden) */
.hero__video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: none;
    /* Hidden on Desktop */
}

/* Full-bleed Background Image (Shown on Desktop) */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('Galeria4.webp') center/cover no-repeat;
    transform: scale(1.05);
    animation: heroSlowZoom 25s ease-in-out infinite alternate;
    display: block;
}

@keyframes heroSlowZoom {
    0% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Subtle vignette overlay for legibility */
.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.2) 100%),
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.1) 50%,
            rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

/* No gradient fade to cream - clean edge */
.hero::after {
    display: none;
}

/* Hero Content - Grid Layout Container */
.hero__content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    /* Wider for grid */
    padding: var(--spacing-4xl);
    margin: 0 auto;
    /* Centered */
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Text larger than logo area */
    gap: var(--spacing-4xl);
    align-items: center;
}

.hero__text-content {
    max-width: 650px;
}

.hero__logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeUp 1s ease-out 0.6s backwards;
}

.hero__main-logo {
    width: 100%;
    max-width: 450px;
    /* Desktop size */
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

/* Decorative line accent */
.hero__content-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg,
            transparent 0%,
            var(--color-gold) 20%,
            var(--color-gold) 80%,
            transparent 100%);
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.2s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero__tagline {
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--spacing-lg);
    padding-left: var(--spacing-xl);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.hero__title-large {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-lg);
    padding-left: var(--spacing-xl);
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.hero__title-accent {
    color: var(--color-gold);
    font-style: italic;
    font-weight: 400;
}

.hero__description-minimal {
    font-size: var(--fs-xl);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-2xl);
    padding-left: var(--spacing-xl);
    letter-spacing: 0.02em;
    line-height: 1.7;
    max-width: 500px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.7s;
}

.hero__cta-wrapper {
    display: flex;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    padding-left: var(--spacing-xl);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.9s;
}

.hero__cta-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-md);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-white);
    text-decoration: none;
    padding: 16px 28px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.hero__cta-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.hero__cta-link:hover::before {
    transform: scaleX(1);
}

.hero__cta-link:hover {
    color: var(--color-black);
    border-color: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 169, 98, 0.3);
}

.hero__cta-link i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.hero__cta-link:hover i {
    transform: translateX(4px);
}

.hero__cta-link--secondary {
    border-color: rgba(255, 255, 255, 0.25);
    background: transparent;
}

.hero__cta-link--secondary::before {
    background: var(--color-white);
}

.hero__cta-link--secondary:hover {
    color: var(--color-black);
    border-color: var(--color-white);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Scroll Indicator - Right Side */
.hero__scroll-indicator {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    z-index: 10;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1.1s;
}

.hero__scroll-indicator span {
    writing-mode: vertical-lr;
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.hero__scroll-indicator:hover span {
    color: var(--color-gold);
}

.hero__scroll-line {
    width: 1px;
    height: 100px;
    background: linear-gradient(180deg,
            var(--color-gold) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 100%);
    position: relative;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: var(--color-gold);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(70px);
        opacity: 0;
    }
}

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

/* ========================================
   EXPERIENCIA SECTION - Premium
   ======================================== */
.experiencia {
    background: var(--color-cream);
    position: relative;
    overflow: hidden;
}

.experiencia::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(201, 169, 98, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 169, 98, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.experiencia__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-5xl);
    align-items: center;
    position: relative;
}

.experiencia__text {
    padding-right: var(--spacing-2xl);
}

.experiencia__description {
    font-size: var(--fs-lg);
    color: var(--color-gray-600);
    line-height: 2;
    margin-bottom: var(--spacing-2xl);
}

.experiencia__features {
    display: flex;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.experiencia__feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--color-gray-700);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--color-white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.cocina__card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Smooth interaction */
}

.cocina__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.experiencia__feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.experiencia__feature i {
    color: var(--color-gold);
    font-size: var(--fs-lg);
}

.experiencia__image {
    position: relative;
}

.experiencia__image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.experiencia__image-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-gold);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.experiencia__image-badge {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: var(--color-black);
    color: var(--color-white);
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.experiencia__image-badge span {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--fs-4xl);
    font-weight: 600;
    color: var(--color-gold);
    line-height: 1;
}

.experiencia__image-badge p {
    font-size: var(--fs-xs);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: var(--spacing-xs);
    opacity: 0.8;
}

/* ========================================
   NOSOTROS SECTION - Premium
   ======================================== */
.nosotros {
    background: var(--color-cream);
    position: relative;
    overflow: hidden;
}

/* Imagen de fondo premium para nosotros */
.nosotros::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('nosotros_bg.webp') center/cover no-repeat;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

/* Overlay suave para legibilidad */
.nosotros::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(250, 248, 245, 0.7) 0%,
            rgba(250, 248, 245, 0.65) 50%,
            rgba(250, 248, 245, 0.7) 100%);
    pointer-events: none;
    z-index: 0;
}

.nosotros>.container {
    position: relative;
    z-index: 1;
}

.nosotros__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-5xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.nosotros__image {
    position: relative;
}

.nosotros__image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.nosotros__badge {
    position: absolute;
    top: 40px;
    right: -30px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-black);
    padding: var(--spacing-xl) var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-gold);
    text-align: center;
}

.nosotros__counter {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--fs-6xl);
    font-weight: 700;
    line-height: 1;
}

.nosotros__badge p {
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: var(--spacing-xs);
    line-height: 1.3;
}

.nosotros__text {
    padding-left: var(--spacing-xl);
}

.nosotros__description {
    font-size: var(--fs-lg);
    color: var(--color-gray-600);
    line-height: 1.9;
    margin-bottom: var(--spacing-lg);
}

.nosotros__description strong {
    color: var(--color-black);
}

.nosotros__description em {
    color: var(--color-gold-dark);
    font-style: normal;
    font-weight: 600;
}

.nosotros__values {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.nosotros__value {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.nosotros__value:hover {
    background: var(--color-cream);
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.nosotros__value-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    color: var(--color-black);
    border-radius: var(--radius-md);
    font-size: var(--fs-lg);
    flex-shrink: 0;
}

.nosotros__value h4 {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    color: var(--color-black);
    margin-bottom: 2px;
}

.nosotros__value p {
    font-size: var(--fs-sm);
    color: var(--color-gray-600);
}

/* ========================================
   COCINA SECTION - Premium
   ======================================== */
.cocina {
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-gray-900) 100%);
    position: relative;
    overflow: hidden;
}

.cocina::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(201, 169, 98, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(201, 169, 98, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.cocina .section__subtitle,
.cocina .section__title,
.cocina .section__description {
    color: var(--color-white);
}

.cocina .section__subtitle::before {
    background: linear-gradient(90deg, var(--color-gold), transparent);
}

.cocina .section__description {
    color: var(--color-gray-400);
}

.cocina__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.cocina__card {
    position: relative;
    background: linear-gradient(180deg, var(--color-gray-800) 0%, var(--color-gray-900) 100%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-elegant);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.cocina__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-base);
    z-index: 1;
    pointer-events: none;
}

.cocina__card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(201, 169, 98, 0.3);
}

.cocina__card:hover::before {
    opacity: 1;
}

.cocina__card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.cocina__card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transition: var(--transition-elegant);
}

.cocina__card:hover .cocina__card-image {
    filter: brightness(1);
    transform: scale(1.08);
}

.cocina__card-icon {
    position: absolute;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    color: var(--color-black);
    border-radius: var(--radius-lg);
    font-size: var(--fs-xl);
    z-index: 2;
    box-shadow: var(--shadow-gold);
    transition: var(--transition-base);
}

.cocina__card:hover .cocina__card-icon {
    transform: scale(1.1) rotate(5deg);
}

.cocina__card-content {
    padding: var(--spacing-xl);
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cocina__card-title {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.cocina__card-description {
    font-size: var(--fs-sm);
    color: var(--color-gray-400);
    line-height: 1.8;
    flex: 1;
}

.cocina__card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-elegant);
}

.cocina__card:hover .cocina__card-accent {
    transform: scaleX(1);
}

.cocina__cta {
    text-align: center;
    margin-top: var(--spacing-3xl);
}

/* ========================================
   GALLERY SECTION - Premium
   ======================================== */
.gallery {
    background: var(--color-white);
    position: relative;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
}

/* Texture Background for Gallery */
.gallery::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('nosotros_bg.webp') center/cover no-repeat;
    opacity: 0.9;
    /* Opacidad aumentada para visibilidad */
    mix-blend-mode: multiply;
    /* Mejor integración con fondo blanco */
    pointer-events: none;
    z-index: 0;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.gallery__item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
    opacity: 0;
    transition: var(--transition-base);
}

.gallery__item:hover::before {
    opacity: 1;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-elegant);
}

.gallery__item:hover img {
    transform: scale(1.08);
    /* More subtle zoom */
}

.gallery__item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery__item--wide {
    grid-column: span 2;
}

.gallery__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: var(--transition-base);
    cursor: pointer;
}

.gallery__overlay i {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-black);
    border-radius: var(--radius-full);
    font-size: var(--fs-xl);
    transform: scale(0.8);
    transition: var(--transition-base);
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

.gallery__item:hover .gallery__overlay i {
    transform: scale(1);
}

/* ========================================
   LIGHTBOX MODAL
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox__content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox__image {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: var(--transition-elegant);
}

.lightbox.active .lightbox__image {
    transform: scale(1);
}

.lightbox__caption {
    margin-top: var(--spacing-lg);
    font-size: var(--fs-base);
    color: var(--color-white);
    text-align: center;
    max-width: 600px;
}

.lightbox__close {
    position: absolute;
    top: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: var(--fs-xl);
    cursor: pointer;
    transition: var(--transition-base);
}

.lightbox__close:hover {
    background: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: var(--fs-lg);
    cursor: pointer;
    transition: var(--transition-base);
}

.lightbox__nav:hover {
    background: var(--color-gold);
    color: var(--color-black);
    border-color: var(--color-gold);
}

.lightbox__nav--prev {
    left: var(--spacing-xl);
}

.lightbox__nav--next {
    right: var(--spacing-xl);
}

.lightbox__counter {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--fs-sm);
    color: var(--color-gray-400);
    letter-spacing: 2px;
}

/* ========================================
   TESTIMONIOS SECTION - Black & White Premium
   ======================================== */
.testimonios {
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

/* Imagen de fondo premium para testimonios */
.testimonios::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('testimonios_bg.webp') center/cover no-repeat;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

/* Overlay oscuro para legibilidad */
.testimonios::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.7) 50%,
            rgba(0, 0, 0, 0.85) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Cita decorativa grande */
.testimonios .section__header::before {
    content: '"';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 300px;
    color: rgba(201, 169, 98, 0.05);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.testimonios .section__header {
    position: relative;
    z-index: 1;
}

/* Override section header colors for dark background */
.testimonios .section__subtitle {
    color: var(--color-gold);
}

.testimonios .section__title {
    color: var(--color-white);
}

/* Google Verification Badge */
.testimonios__google-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-xl);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    margin-top: var(--spacing-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.testimonios__google-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.testimonios__google-badge i.fa-google {
    color: #4285F4;
    font-size: var(--fs-xl);
}

.testimonios__google-badge-rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.testimonios__google-badge-rating .rating-number {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 600;
    color: var(--color-white);
}

.testimonios__google-badge-rating .stars {
    display: flex;
    gap: 2px;
}

.testimonios__google-badge-rating .stars i {
    color: #FBBC05;
    font-size: var(--fs-sm);
}

.testimonios__google-badge-text {
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: var(--spacing-md);
    margin-left: var(--spacing-sm);
}

.testimonios__google-badge-text span {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

.testimonios__google-badge-text small {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonios__verified-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #34A853;
    border-radius: 50%;
    color: white;
    font-size: 10px;
}

/* Legacy rating - hide if google badge is used */
.testimonios__rating {
    display: none;
}

.testimonios__stars i {
    color: var(--color-gold);
    font-size: var(--fs-xl);
}

.testimonios__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

/* Testimonio Card - Black & White Style */
.testimonio {
    background: #111111;
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(30px);
}

.testimonio.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.testimonio:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.testimonio.animate-in:hover {
    transform: translateY(-8px);
}

.testimonio__header {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

/* Avatar with Initials - Dark Gray Background */
.testimonio__avatar {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2a2a2a;
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-size: var(--fs-lg);
    font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
}

.testimonio__info {
    flex: 1;
}

.testimonio__name {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
}

.testimonio__stars {
    display: flex;
    gap: 3px;
}

.testimonio__stars i {
    color: var(--color-gold);
    font-size: var(--fs-sm);
}

.testimonio__quote {
    position: relative;
    padding-left: var(--spacing-2xl);
}

.testimonio__quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 0;
    font-family: var(--font-heading);
    font-size: var(--fs-5xl);
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
}

.testimonio__quote i {
    display: none;
}

/* Quote Text - Italic and Light Weight */
.testimonio__quote p {
    font-size: var(--fs-base);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* ========================================
   UBICACIÓN SECTION - Premium
   ======================================== */
.ubicacion {
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

/* Imagen de fondo premium para ubicación (Textura Unificada) */
.ubicacion::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('nosotros_bg.webp') center/cover no-repeat;
    opacity: 0.4;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
}

/* Overlay suave para legibilidad */
.ubicacion::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(250, 248, 245, 0.85) 50%,
            rgba(255, 255, 255, 0.9) 100%);
    pointer-events: none;
    z-index: 0;
}

.ubicacion>.container {
    position: relative;
    z-index: 1;
}

.ubicacion__content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-4xl);
    align-items: start;
}

.ubicacion__info {
    padding-right: var(--spacing-xl);
}

.ubicacion__description {
    font-size: var(--fs-lg);
    color: var(--color-gray-600);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.9;
}

.ubicacion__details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.ubicacion__detail {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.ubicacion__detail:hover {
    background: var(--color-cream);
    transform: translateX(5px);
}

.ubicacion__detail i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    color: var(--color-black);
    border-radius: var(--radius-md);
    font-size: var(--fs-lg);
    flex-shrink: 0;
}

.ubicacion__detail h4 {
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: var(--spacing-xs);
}

.ubicacion__detail p {
    font-size: var(--fs-sm);
    color: var(--color-gray-600);
}

.ubicacion__btn {
    width: 100%;
}

.ubicacion__map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--color-white);
}

.ubicacion__map iframe {
    display: block;
}

/* ========================================
   PREMIUM FOOTER
   ======================================== */
.footer {
    background: linear-gradient(180deg, var(--color-black) 0%, #050505 100%);
    color: var(--color-white);
    padding: var(--spacing-5xl) 0 var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-4xl);
    margin-bottom: var(--spacing-4xl);
}

.footer__brand {
    padding-right: var(--spacing-2xl);
}

.footer__logo {
    height: 100px;
    margin-bottom: var(--spacing-lg);
}

.footer__tagline {
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--spacing-lg);
}

.footer__description {
    font-size: var(--fs-sm);
    color: var(--color-gray-500);
    line-height: 1.9;
}

.footer__title {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    margin-bottom: var(--spacing-xl);
    color: var(--color-white);
}

.footer__links ul,
.footer__contact ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer__links a,
.footer__contact li {
    font-size: var(--fs-sm);
    color: var(--color-gray-400);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: var(--transition-base);
}

.footer__links a:hover {
    color: var(--color-gold);
    transform: translateX(5px);
}

.footer__contact i {
    color: var(--color-gold);
    width: 20px;
}

.footer__social-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer__social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-800);
    color: var(--color-white);
    border-radius: var(--radius-md);
    font-size: var(--fs-lg);
    transition: var(--transition-elegant);
    border: 1px solid transparent;
}

.footer__social-link:hover {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    color: var(--color-black);
    transform: translateY(-5px);
    border-color: var(--color-gold);
}

.footer__bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--color-gray-800);
    text-align: center;
}

.footer__bottom p {
    font-size: var(--fs-sm);
    color: var(--color-gray-500);
    letter-spacing: 1px;
}

/* ========================================
   PREMIUM WHATSAPP BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--color-white);
    border-radius: var(--radius-xl);
    font-size: var(--fs-2xl);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-elegant);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    z-index: -1;
    opacity: 0;
    animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {

    0%,
    100% {
        opacity: 0;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.15);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

/* ========================================
   PRELOADER
   ======================================== */
#preloader {
    position: fixed;
    inset: 0;
    background: #050505;
    /* Casi negro absoluto */
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

.preloader__content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.preloader__logo {
    width: 220px;
    /* Mucho más grande para PC */
    max-width: 80vw;
    /* Seguro en móviles muy pequeños */
    height: auto;
    filter: drop-shadow(0 0 10px rgba(201, 169, 98, 0.3));
    animation: logoPulse 2s infinite ease-in-out;
}

.preloader__line {
    width: 0;
    height: 3px;
    /* Un poco más gruesa */
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    animation: lineGrow 2s ease-in-out infinite;
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes lineGrow {
    0% {
        width: 0;
        opacity: 0;
    }

    50% {
        width: 300px;
        opacity: 1;
    }

    /* Línea más larga */

    100% {
        width: 0;
        opacity: 0;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-up:nth-child(1) {
    animation-delay: 0.2s;
}

.animate-fade-up:nth-child(2) {
    animation-delay: 0.4s;
}

.animate-fade-up:nth-child(3) {
    animation-delay: 0.6s;
}

.animate-fade-up:nth-child(4) {
    animation-delay: 0.8s;
}

.animate-fade-up:nth-child(5) {
    animation-delay: 1s;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media screen and (max-width: 1200px) {
    .cocina__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cocina__card:last-child {
        grid-column: span 2;
    }

    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 220px);
    }

    .gallery__item--large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .footer__content {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__corner {
        display: none;
    }
}

@media screen and (max-width: 992px) {
    :root {
        --header-height: 80px;
    }

    .section {
        padding: var(--spacing-4xl) 0;
    }

    .section__title {
        font-size: var(--fs-4xl);
    }

    .hero__title {
        font-size: var(--fs-5xl);
    }

    .experiencia__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
    }

    .experiencia__text {
        padding-right: 0;
        order: 2;
    }

    .experiencia__image {
        order: 1;
    }

    .experiencia__image img {
        height: 450px;
    }

    .experiencia__image-accent {
        display: none;
    }

    .experiencia__image-badge {
        left: 20px;
        bottom: 20px;
    }

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

    .ubicacion__info {
        padding-right: 0;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .container {
        padding: 0 var(--spacing-lg);
    }

    .section {
        padding: var(--spacing-3xl) 0;
    }

    .section__title {
        font-size: var(--fs-3xl);
    }

    .section__subtitle {
        padding-left: 0;
    }

    .section__subtitle::before {
        display: none;
    }

    /* Good Meat Navigation - Mobile Adjustments */
    .nav-burger {
        top: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }

    .nav-burger__line {
        width: 25px;
    }

    .nav-logo-fixed {
        bottom: 20px;
        left: 20px;
    }

    .nav-logo-fixed__img {
        height: 50px;
        padding: 6px;
    }

    .nav-fullscreen__content {
        padding: var(--spacing-2xl);
    }

    .nav-fullscreen__link {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .nav-fullscreen__arrow {
        font-size: 1.5rem;
    }

    .nav-fullscreen__footer {
        margin-top: var(--spacing-2xl);
        gap: var(--spacing-lg);
    }

    .nav-fullscreen__social {
        width: 45px;
        height: 45px;
    }

    /* Hero - Premium Layout Mobile */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        align-items: center;
        /* Center vertically */
    }

    /* SHOW VIDEO ON MOBILE */
    .hero__video-bg {
        display: block;
    }

    /* HIDE IMAGE ON MOBILE */
    .hero::before {
        display: none;
    }

    .hero__content-wrapper {
        margin-left: 0;
        padding: 100px var(--spacing-md) 40px;
        /* Menos padding vertical para dejar espacio al contenido */
        max-width: 100%;
        height: 100%;
        /* Ocupar toda la altura */
        display: flex;
        flex-direction: column;
    }

    .hero__grid {
        display: flex;
        flex-direction: column;
        flex: 1;
        /* Crecer para ocupar espacio */
        justify-content: space-evenly;
        /* Distribuir logo y texto equitativamente */
        gap: var(--spacing-lg);
        text-align: center;
    }

    /* Contenedor de Textos y Botones */
    .hero__text-content {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-xl);
        /* Espacio entre titulo, desc y botones */
        align-items: center;
        justify-content: center;
        flex: 1;
    }

    .hero__logo-container {
        order: -1;
        justify-content: center;
        margin-bottom: 0;
        flex: 0 0 auto;
        /* No estirar el logo, solo ocupar su espacio */
        animation: fadeUp 0.8s ease-out 0.2s backwards;
    }

    .hero__main-logo {
        max-width: 200px;
        /* Smaller mobile logo */
    }

    .hero__content-wrapper::before {
        display: none;
    }

    .hero__tagline {
        font-size: var(--fs-sm);
        letter-spacing: 5px;
        padding-left: 0;
        margin-bottom: var(--spacing-sm);
    }

    .hero__title-large {
        font-size: clamp(3.2rem, 15vw, 5.5rem);
        line-height: 1;
        padding-left: 0;
        margin-bottom: 0;
    }

    .hero__description-minimal {
        font-size: var(--fs-xl);
        padding-left: 0;
        margin-bottom: 0;
        max-width: 90%;
        line-height: 1.5;
    }

    .hero__cta-wrapper {
        flex-direction: column;
        gap: var(--spacing-lg);
        padding-left: 0;
        align-items: center;
        width: 100%;
        padding: 0 var(--spacing-lg);
    }

    .hero__cta-link {
        padding: 18px 36px;
        font-size: var(--fs-sm);
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero__scroll-indicator {
        display: none;
    }

    /* Cocina */
    .cocina__grid {
        grid-template-columns: 1fr;
    }

    .cocina__card:last-child {
        grid-column: span 1;
    }

    /* Gallery */
    .gallery__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(2, 200px);
    }

    .gallery__item--large,
    .gallery__item--wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* Nosotros */
    .nosotros__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .nosotros__image img {
        height: 400px;
    }

    .nosotros__badge {
        right: 20px;
        top: 20px;
        padding: var(--spacing-md) var(--spacing-lg);
    }

    .nosotros__counter {
        font-size: var(--fs-4xl);
    }

    .nosotros__text {
        padding-left: 0;
    }

    /* Testimonios */
    .testimonios__grid {
        grid-template-columns: 1fr;
    }

    .testimonios::before {
        font-size: 200px;
        top: 50px;
    }

    .testimonios__google-badge {
        flex-wrap: wrap;
        justify-content: center;
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
    }

    .testimonios__google-badge-text {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        text-align: center;
        margin-top: var(--spacing-xs);
    }

    /* Lightbox Mobile */
    .lightbox__nav {
        width: 40px;
        height: 40px;
    }

    .lightbox__nav--prev {
        left: var(--spacing-md);
    }

    .lightbox__nav--next {
        right: var(--spacing-md);
    }

    .lightbox__close {
        top: var(--spacing-md);
        right: var(--spacing-md);
        width: 40px;
        height: 40px;
    }

    /* Footer */
    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-2xl);
    }

    .footer__brand {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer__social-links {
        justify-content: center;
    }

    .footer__links ul,
    .footer__contact ul {
        align-items: center;
    }

    .footer__links a:hover {
        transform: none;
    }

    /* WhatsApp */
    .whatsapp-float {
        bottom: var(--spacing-lg);
        right: var(--spacing-lg);
        width: 58px;
        height: 58px;
    }
}

@media screen and (max-width: 480px) {
    .hero__content-wrapper {
        padding: 90px var(--spacing-md) 110px;
        gap: var(--spacing-lg);
    }

    .hero__title-large {
        font-size: clamp(2.8rem, 14vw, 4.5rem);
    }

    .hero__tagline {
        font-size: var(--fs-xs);
        letter-spacing: 4px;
    }

    .hero__description-minimal {
        font-size: var(--fs-lg);
    }

    .hero__cta-link {
        max-width: 100%;
        padding: 16px 32px;
        font-size: var(--fs-xs);
    }

    .experiencia__features {
        justify-content: center;
    }

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

    .nosotros__values {
        gap: var(--spacing-md);
    }

    .nosotros__value {
        padding: var(--spacing-md);
    }

    .gallery__grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 220px);
    }

    .ubicacion__map iframe {
        height: 300px;
    }
}