/* ============================================
   VARIABLES - Colores y Tipografía
   ============================================ */
:root {
    --primary: #0040ff;
    --secondary: #001a66;
    --cyan: #06b6d4;
    --accent: #f0f9ff;
    --white: #ffffff;
    --slate-50: #f8fafc;
    --slate-900: #0f172a;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-100: #f1f5f9;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --nav-height: clamp(60px, 12vw, 80px);
}


/* ============================================
   RESET Y ESTILOS GLOBALES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--slate-900);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html {
    scroll-behavior: smooth;
}

/* Solo suaviza scroll; mantiene hovers y animaciones de marca */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .badge-bounce {
        animation: none !important;
    }
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(0.75rem, 3vw, 2rem);
}


/* ============================================
   NAVBAR - Barra de Navegación (fija al scrollear)
   ============================================ */
header {
    height: var(--nav-height);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: #1300ce;
    border-bottom: none;
    height: var(--nav-height);
}

/* Franja bandera Perú bajo el navbar */
.navbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(
        to right,
        #ff0000 0%, #ff0000 33.33%,
        #ffffff 33.33%, #ffffff 66.66%,
        #ff0000 66.66%, #ff0000 100%
    );
    pointer-events: none;
    z-index: 51;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    position: relative;
    font-size: clamp(1.15rem, 2.8vw, 1.8rem);
    font-weight: 900;
    color: white;
    font-style: italic;
    letter-spacing: -2px;
    line-height: 1.1;
}

.logo-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(
        to right,
        #ff0000 0%, #ff0000 33%,
        #ffffff 33%, #ffffff 66%,
        #ff0000 66%, #ff0000 100%
    );
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: white;
}

.nav-links a {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: 0.4s ease;
}

.nav-links a:hover {
    color: var(--cyan);
}

.btn-nav {
    background: white;
    color: #1300ce;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 900 !important;
    font-size: 0.8rem;
}

.mobile-icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: background 0.35s ease;
    flex-shrink: 0;
    padding: 0;
}

.mobile-icon:hover {
    background: rgba(255, 255, 255, 0.28);
}

.mobile-icon svg {
    width: 22px;
    height: 22px;
    fill: white;
    stroke: none;
}

.mobile-icon .icon-close {
    display: none;
}

.mobile-icon.open {
    background: rgba(255, 255, 255, 0.28);
}

.mobile-icon.open .icon-menu {
    display: none;
}

.mobile-icon.open .icon-close {
    display: block;
}

/* Social Links in Navbar */
.nav-tools {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    color: white;
    text-decoration: none;
    transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.social-link:hover::before {
    left: 100%;
}

.social-link .material-symbols-outlined {
    font-size: 1.3rem;
    z-index: 1;
}

.social-link img {
    filter: brightness(0) invert(1);
    opacity: 1;
    transition: filter 0.3s ease;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-btn {
    padding: 0.6rem 0.9rem;
    border: none;
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
    white-space: nowrap;
    min-height: auto;
}

.language-btn img {
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
}

.language-btn:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: linear-gradient(135deg, #1300ce 0%, #0a0080 100%);
    border: none;
    border-radius: 1rem;
    padding: 0.85rem 0;
    margin-top: 0.85rem;
    box-shadow: none;
    display: none;
    flex-direction: column;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: slideDown 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.language-dropdown.active {
    display: flex;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    border-left: 3px solid transparent;
}

.language-option img {
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    transform: translateX(4px);
}

.language-option.active {
    background: rgba(255, 255, 255, 0.18);
    color: white;
    font-weight: 700;
    border-left-color: rgba(255, 255, 255, 0.8);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1060px) {
    .nav-links {
        display: none !important;
    }

    .nav-tools {
        display: none !important;
    }

    .mobile-icon {
        display: flex;
    }

    /* Mobile Navigation */
    .nav-mobile {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #1300ce 0%, #0a0080 100%);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding: 0.5rem 1.5rem;
        flex-direction: column;
        z-index: 40;
        animation: slideDown 0.22s ease;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    }

    .nav-mobile.open {
        display: flex;
    }

    .nav-mobile-link {
        padding: clamp(0.75rem, 2vw, 1rem) 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: clamp(0.9rem, 2vw, 1rem);
        font-weight: 700;
        color: white;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        text-decoration: none;
        transition: 0.35s ease;
        min-height: 44px;
    }

    .nav-mobile-link::after {
        content: '\203A';
        margin-left: auto;
        font-size: clamp(1.2rem, 3vw, 1.4rem);
        line-height: 1;
        opacity: 0.35;
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .nav-mobile-link:hover {
        color: rgba(255, 255, 255, 0.85);
        background: rgba(255, 255, 255, 0.08);
        border-radius: 0.5rem;
    }

    .nav-mobile-link:hover::after {
        opacity: 0.9;
        transform: translateX(4px);
    }

    .nav-mobile-tools {
        display: flex;
        flex-direction: column;
        gap: clamp(0.75rem, 2vw, 1rem);
        padding: clamp(0.75rem, 2vw, 1rem) 0.5rem 0;
        margin-top: clamp(0.75rem, 2vw, 1rem);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .nav-mobile-tools .social-links {
        display: flex;
        gap: clamp(0.5rem, 1vw, 0.8rem);
        justify-content: flex-start;
    }

    .nav-mobile-tools .social-link {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }

    .nav-mobile-tools .language-selector {
        display: flex;
        justify-content: flex-start;
    }

    .nav-mobile-tools .language-btn {
        font-size: clamp(0.8rem, 1.5vw, 0.9rem);
        padding: clamp(0.5rem, 1vw, 0.6rem) clamp(0.7rem, 1.5vw, 0.9rem);
        min-height: 44px;
    }

    .nav-mobile-tools .language-dropdown {
        min-width: 180px;
        right: 0;
    }
    /* Asegurar que el dropdown se muestre correctamente en móviles */
     .nav-mobile-tools .language-dropdown.active {
        display: flex;
    }
}

/* Desktop Navigation - Restaurar elementos */
@media (min-width: 1061px) {
    .nav-links {
        display: flex !important;
    }

    .nav-tools {
        display: flex !important;
    }

    .mobile-icon {
        display: none !important;
    }

    .nav-mobile {
        display: none !important;
    }
}


/* ============================================
   HERO - Sección Principal
   ============================================ */
.hero {
    position: relative;
    min-height: clamp(560px, 92dvh, 100vh);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: white;
    padding: clamp(1.5rem, 4vw, 3rem) 0;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Promueve a capa propia y evita repaint del contenido al scrollear */
    transform: translateZ(0);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.speed-lines {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 40px,
        rgba(0, 64, 255, 0.03) 40px,
        rgba(0, 64, 255, 0.03) 41px
    );
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

.hero-logo-img {
    height: 200px;
    margin-bottom: 2rem;
}

/* --- Logo dual (cuando ambas marcas se presentan juntas) --- */
.hero-dual-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
    margin-bottom: 1.6rem;
}

.hero-dual-logos .hero-logo-img {
    height: 200px;
    margin-bottom: 0;
}

.hero-logo-perushi {
    height: 200px;
}

.hero-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    /* Sombra en el wrapper; la animación solo usa transform (GPU-friendly) */
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}

.hero-logo-wrap img {
    animation: floatPerushi 5.5s ease-in-out infinite;
    backface-visibility: hidden;
}

.hero-logo-wrap:nth-child(3) img {
    animation-delay: 0.4s;
}

.hero-logo-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.hero-logos-sep {
    color: rgba(255, 255, 255, 0.28);
    font-size: 1.2rem;
    flex-shrink: 0;
    line-height: 1;
    user-select: none;
}

.hero-subtitle {
    color: var(--cyan);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.hero-title-container {
    position: relative;
    display: inline-block;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    font-style: italic;
    text-transform: uppercase;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    animation: slideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.badge-bounce {
    position: absolute;
    top: -70px;
    right: -40px;
    background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
    color: var(--secondary);
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 0.8rem;
    transform: rotate(12deg);
    animation: bounce 2s ease-in-out infinite;
    border: 3px solid white;
    box-shadow: 0 10px 30px rgba(250, 204, 21, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.hero-description {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: slideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s backwards;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s backwards;
}

/* Botones - Hero */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0033cc 100%);
    padding: 1.3rem 3rem;
    border-radius: 50px;
    font-weight: 900;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
    border: none;
    transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 64, 255, 0.3);
    justify-content: center;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(0, 64, 255, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover .arrow-icon {
    transform: translateX(4px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.14);
    padding: 1.3rem 3rem;
    border-radius: 50px;
    font-weight: 900;
    text-transform: uppercase;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.btn-outline:hover::before {
    left: 100%;
}

.arrow-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
    transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}


/* ============================================
   ABOUT SECTION - Sobre la Empresa
   ============================================ */
.about-section {
    padding: 5.5rem 0;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.about-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    align-items: stretch;
    margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
}

.about-text {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 248, 248, 0.92) 100%);
    padding: 2.5rem;
    border-radius: 24px;
    border: 2px solid rgba(217, 16, 35, 0.2);
    border-left: 6px solid #d91023;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-text:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
    border-color: rgba(217, 16, 35, 0.4);
}

.about-kicker {
    color: #d91023;
    font-weight: 900;
    letter-spacing: 0.18em;
    margin-bottom: 0.75rem;
}

.about-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    font-style: italic;
    line-height: 1.05;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #d91023 0%, #0f2f8f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.peru-red {
    color: #d91023;
}

.peru-blue {
    color: #0f2f8f;
}

.about-lead {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f2f8f !important;
}

.about-text p {
    color: var(--slate-600);
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.about-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.about-highlights span {
    background: linear-gradient(135deg, rgba(217, 16, 35, 0.1) 0%, rgba(15, 47, 143, 0.08) 100%);
    color: #0f2f8f;
    border: 1px solid rgba(217, 16, 35, 0.12);
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 800;
}

.about-image-frame {
    position: relative;
    min-height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    background: #dbeafe;
    aspect-ratio: 4 / 3;
}

.about-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: rgba(19, 0, 206, 0.92);
    color: white;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(0.75rem, 2vw, 1.5rem);
}

.about-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 255, 0.92) 100%);
    padding: 1.8rem;
    border-radius: 18px;
    border: 2px solid rgba(0, 64, 255, 0.1);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    height: 100%;
    transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 64, 255, 0.3);
    box-shadow: 0 25px 50px rgba(0, 64, 255, 0.15);
}

.about-card h3 {
    background: linear-gradient(135deg, var(--secondary) 0%, #0033cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 0.4rem;
}

.about-card p {
    color: var(--slate-600);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .about-top,
    .about-cards {
        grid-template-columns: 1fr;
    }

    .about-text {
        padding: 1.5rem;
    }

    .perushi-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Tablet optimization (600px-900px) */
@media (max-width: 840px) and (min-width: 600px) {
    .hero-dual-logos {
        gap: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .hero-logo-img,
    .hero-dual-logos .hero-logo-img,
    .hero-logo-perushi {
        height: 140px;
    }

    .hero-description {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }

    .badge-bounce {
        top: -55px;
        right: -20px;
        font-size: 0.7rem;
        padding: 8px 14px;
    }

    .perushi-title {
        font-size: 3.5rem;
    }

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

    .btn-primary,
    .btn-outline {
        font-size: clamp(0.8rem, 1.5vw, 0.95rem);
        padding: clamp(0.9rem, 1.5vw, 1.3rem) clamp(1.2rem, 3vw, 3rem);
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 4rem 0;
    }

    .about-image-frame {
        aspect-ratio: 16 / 11;
    }
}

/* ============================================
   PERUSHI SECTION - Submarca Nikkei
   ============================================ */
.perushi-section {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 0, 0, 0.1);
}

.perushi-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.perushi-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.perushi-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(0.75rem, 3vw, 2rem);
}

.perushi-header {
    margin-bottom: 2rem;
}

.perushi-accent-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff1744 0%, #ff5252 100%);
    border-radius: 2px;
    margin-bottom: 1.5rem;
    animation: expandWidth 0.8s ease-out;
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

.perushi-title {
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    font-style: italic;
    line-height: 0.95;
    margin-bottom: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: inline-block;
}

.perushi-peru {
    color: white;
    text-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
    animation: wavePerush 4s ease-in-out infinite;
    display: inline-block;
    backface-visibility: hidden;
}

.perushi-shi {
    color: #ff1744;
    text-shadow: 0 4px 16px rgba(255, 23, 68, 0.4);
    animation: wavePerush 4s ease-in-out infinite 0.3s;
    display: inline-block;
    backface-visibility: hidden;
}

@keyframes wavePerush {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -8px, 0);
    }
}

.perushi-subtitle {
    font-size: clamp(1.3rem, 3.5vw, 2rem);
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.perushi-tagline {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.perushi-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 500;
}

.perushi-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 45vw, 250px), 1fr));
    gap: clamp(0.75rem, 2vw, 1.2rem);
    margin-bottom: 3rem;
}

.perushi-highlight {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.15) 0%, rgba(255, 23, 68, 0.05) 100%);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 23, 68, 0.3);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.perushi-highlight:hover {
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.25) 0%, rgba(255, 23, 68, 0.12) 100%);
    border-color: rgba(255, 23, 68, 0.6);
    transform: translateY(-4px);
}

.highlight-icon {
    font-size: 2rem;
    display: block;
}

.highlight-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.highlight-content strong {
    font-size: 0.95rem;
    font-weight: 800;
}

.highlight-content p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.btn-perushi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #ff1744 0%, #ff5252 100%);
    color: white;
    padding: 1.3rem 3rem;
    border-radius: 50px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 23, 68, 0.3);
    max-width: 100%;
}

.btn-perushi::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-perushi:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(255, 23, 68, 0.5);
}

.btn-perushi:hover::before {
    left: 100%;
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-perushi:hover .btn-arrow {
    transform: translateX(4px);
}

.perushi-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.perushi-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    animation: floatPerushi 6s ease-in-out infinite;
    backface-visibility: hidden;
}

@keyframes floatPerushi {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    25% {
        transform: translate3d(0, -14px, 0) rotate(-1.2deg);
    }
    50% {
        transform: translate3d(0, -24px, 0) rotate(0deg);
    }
    75% {
        transform: translate3d(0, -14px, 0) rotate(1.2deg);
    }
}

/* Pausar animaciones costosas fuera de viewport (vía JS) */
.is-anim-paused,
.is-anim-paused * {
    animation-play-state: paused !important;
}

.perushi-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 23, 68, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

.perushi-badge {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateFloat 6s ease-in-out infinite;
}

@keyframes rotateFloat {
    0%, 100% { 
        transform: translateY(0px) rotateZ(0deg);
    }
    50% { 
        transform: translateY(-30px) rotateZ(5deg);
    }
}

.badge-flag {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        #ff1744 0%,
        #ff1744 33%,
        white 33%,
        white 66%,
        #1a1a1a 66%,
        #1a1a1a 100%
    );
    box-shadow: 
        0 40px 80px rgba(255, 23, 68, 0.5),
        inset 0 2px 10px rgba(255, 255, 255, 0.3),
        inset 0 -2px 10px rgba(0, 0, 0, 0.8);
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg);
    transition: 0.4s ease;
}

.perushi-badge:hover .badge-flag {
    transform: perspective(1000px) rotateX(-5deg) rotateY(5deg);
    box-shadow: 
        0 50px 100px rgba(255, 23, 68, 0.6),
        inset 0 2px 10px rgba(255, 255, 255, 0.3),
        inset 0 -2px 10px rgba(0, 0, 0, 0.8);
}

.badge-text {
    position: relative;
    z-index: 10;
    font-size: 3rem;
    font-weight: 900;
    color: white;
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(255, 23, 68, 0.6);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Responsive PERUSHI */
@media (max-width: 1200px) {
    .perushi-container {
        gap: 3rem;
    }

    .perushi-badge {
        width: 300px;
        height: 300px;
    }

    .badge-text {
        font-size: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .perushi-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .perushi-visual {
        order: -1;
    }

    .perushi-badge {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .perushi-section {
        padding: 4rem 0;
    }

    .perushi-title {
        font-size: 2.5rem;
    }

    .perushi-subtitle {
        font-size: 1.1rem;
    }

    .perushi-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .perushi-highlight {
        padding: 1.2rem;
    }

    .highlight-icon {
        font-size: 1.8rem;
    }

    .btn-perushi {
        padding: 1rem 1.5rem;
        font-size: 0.85rem;
        width: 100%;
        letter-spacing: 0.08em;
    }

    .perushi-badge {
        width: 240px;
        height: 240px;
    }

    .badge-text {
        font-size: 2rem;
    }
}

/* ============================================
   GALLERY SECTION - Galería de Fotos
   ============================================ */
.about-section,
.owner-section,
.perushi-section,
.gallery-section,
.menu-section,
.location-section,
.footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

.gallery-section {
    padding: 6rem 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1/1;
    cursor: pointer;
    background: var(--slate-100);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Touch devices: show a light label without hover */
@media (hover: none) {
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(transparent 55%, rgba(0, 0, 0, 0.72) 100%);
        align-items: flex-end;
        padding-bottom: 0.85rem;
        backdrop-filter: none;
    }

    .gallery-overlay p {
        font-size: 0.85rem;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    }
}

.gallery-overlay p {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.05em;
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }

    .gallery-overlay p {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .gallery-section {
        padding: 3rem 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .gallery-overlay p {
        font-size: 0.8rem;
    }
}

/* ============================================
   MENU SECTION - Menú de Productos
   ============================================ */
.menu-section {
    padding: 6rem 0;
}

/* Encabezado de Sección */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: -2px;
    background: linear-gradient(135deg, var(--secondary) 0%, #0033cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-weight: 800;
    color: var(--slate-500);
    letter-spacing: 2px;
}

/* Grid de Menú */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 50vw, 280px), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
}

/* Tarjetas de Menú */
.menu-card {
    border-radius: 20px;
    border: 2px solid rgba(0, 64, 255, 0.1);
    overflow: hidden;
    transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 255, 0.92) 100%);
}

.menu-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 25px 55px rgba(0, 64, 255, 0.2);
}

.card-img-container {
    aspect-ratio: 1/1;
    overflow: hidden;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.7s;
}

.menu-card:hover img {
    transform: scale(1.1);
}

/* Contenido de Tarjeta */
.card-body {
    padding: 1.5rem;
}

.card-body h3 {
    font-size: 1.5rem;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.card-tag {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--slate-500);
    margin-bottom: 1.5rem;
}

/* Pie de Tarjeta */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.price {
    font-weight: 900;
    color: var(--primary);
    font-size: 1.2rem;
}

.btn-sm {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0.1) 100%);
    color: var(--cyan);
    border: 2px solid rgba(6, 182, 212, 0.3);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
}

.btn-sm::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.3), transparent);
    transition: left 0.4s ease;
}

.btn-sm:hover {
    background: linear-gradient(135deg, var(--cyan) 0%, #04b5cc 100%);
    color: white;
    border-color: var(--cyan);
    transform: translateY(-2px);
}

.btn-sm:hover::before {
    left: 100%;
}


/* ============================================
   COMBOS SECTION - Sección de Combos
   ============================================ */
.slant-bg {
    background: var(--slate-50);
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
    padding: 8rem 0;
}

/* Grid de Combos */
.combos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

/* Tarjetas de Combo */
.combo-card {
    display: flex;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 255, 0.92) 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 64, 255, 0.1);
    transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    border: 2px solid rgba(0, 64, 255, 0.1);
}

.combo-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 35px 70px rgba(0, 64, 255, 0.2);
}

/* Imagen del Combo */
.combo-img {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.combo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.combo-badge {
    position: absolute;
    top: 0;
    left: 0;
    padding: 8px 20px;
    font-weight: 900;
    font-size: 0.7rem;
    border-bottom-right-radius: 16px;
    color: white;
}

.combo-badge.orange {
    background: #f97316;
}

.combo-badge.blue {
    background: var(--primary);
}

/* Información del Combo */
.combo-info {
    width: 50%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.combo-info h3 {
    font-size: 1.8rem;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--secondary) 0%, #0033cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.combo-price {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, #0033cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    margin: 1rem 0;
}

.btn-combo {
    background: linear-gradient(135deg, var(--primary) 0%, #0033cc 100%);
    color: white;
    border: none;
    padding: 1.3rem 1.8rem;
    border-radius: 50px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    font-size: 0.95rem;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 64, 255, 0.3);
}

.btn-combo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-combo:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 64, 255, 0.4);
}

.btn-combo:hover::before {
    left: 100%;
}

@media (max-width: 600px) {
    .combos-grid {
        grid-template-columns: 1fr;
    }

    .combo-card {
        flex-direction: column;
    }

    .combo-img,
    .combo-info {
        width: 100%;
    }
}


/* ============================================
   CTA SECTION - Llamada a la Acción
   ============================================ */
.cta-section {
    background: #1300ce;
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('/img/galeria/galeria\ \(8\).webp');
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: white;
    /* Evita repaints caros al scrollear */
    contain: layout paint;
    transform: translateZ(0);
}

/* Efecto de Burbujas Desenfocadas — sin filter:blur (muy caro en scroll) */
.blur-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.28;
    pointer-events: none;
}

.top-left {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
    top: -150px;
    left: -150px;
}

.bottom-right {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    bottom: -200px;
    right: -200px;
}

/* Contenido CTA */
.cta-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    font-style: italic;
    line-height: 0.9;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: clamp(1.05rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 3rem;
    letter-spacing: 0.08em;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

/* Botones CTA */
.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #20a856 100%);
    width: 100%;
    max-width: 500px;
    padding: 1.5rem;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 25px 50px rgba(37, 211, 102, 0.4);
    transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 35px 70px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp:hover::before {
    left: 100%;
}

.btn-whatsapp svg {
    width: 40px;
    fill: white;
    transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-whatsapp:hover svg {
    transform: scale(1.2);
}

.btn-maps {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 900;
    transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.btn-maps::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 64, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-maps:hover {
    background: white;
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 64, 255, 0.2);
}

.btn-maps:hover::before {
    left: 100%;
}


/* ============================================
   LOCATION SECTION - Ubicación
   ============================================ */
.location-section {
    padding: 6rem 0;
}

/* Contenedor Flex */
.location-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

/* Texto de Ubicación */
.location-text {
    flex: 1;
    min-width: 300px;
}

.location-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    font-style: italic;
    margin-bottom: 3rem;
    line-height: 1.05;
    background: linear-gradient(135deg, var(--secondary) 0%, #0033cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.location-title .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, #0033cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Información de Contacto */
.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 64, 255, 0.08) 0%, rgba(0, 64, 255, 0.04) 100%);
    border-radius: 16px;
    border: 2px solid rgba(0, 64, 255, 0.1);
    transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.info-item:hover {
    transform: translateX(8px);
    border-color: rgba(0, 64, 255, 0.3);
    background: linear-gradient(135deg, rgba(0, 64, 255, 0.12) 0%, rgba(0, 64, 255, 0.08) 100%);
}

.info-icon {
    background: linear-gradient(135deg, rgba(0, 64, 255, 0.15) 0%, rgba(0, 64, 255, 0.08) 100%);
    padding: 1.2rem;
    border-radius: 16px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-label {
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
}

/* Mapa */
.location-map {
    flex: 1;
    min-width: 300px;
    height: 500px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 64, 255, 0.2);
    transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    border: 8px solid white;
}

.location-map:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0, 64, 255, 0.3);
}

.location-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: 1s;
}

.location-map:hover img {
    filter: grayscale(0);
    transform: scale(1.05);
}

.map-overlay-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    color: white;
    padding: clamp(0.85rem, 2vw, 1.5rem) clamp(1.25rem, 3vw, 2rem);
    border-radius: 50px;
    font-weight: 900;
    font-size: clamp(0.8rem, 2vw, 1rem);
    text-transform: uppercase;
    border: 4px solid white;
    white-space: nowrap;
    z-index: 2;
}

iframe {
    width: 100%;    /* O el ancho que desees */
    height: 100%;   /* O una altura fija como 450px */
    border: 0;      /* Quita el borde por defecto */
    display: block; /* Evita espacios en blanco residuales */
}

/* ============================================
   FOOTER - Pie de Página
   ============================================ */
.footer {
    background: linear-gradient(135deg, var(--secondary) 0%, #001a4d 100%);
    color: white;
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 64, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Grid del Footer */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 4rem;
    position: relative;
    z-index: 1;
}

/* Marca en Footer */
.footer-brand h3 {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 1.5rem;
}

/* Navegación y Redes */
.footer-nav h4,
.footer-social h4 {
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    font-size: 0.95rem;
}

.footer-nav ul li {
    margin-bottom: 1rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 700;
    transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.footer-nav a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--cyan) 100%);
    transition: width 0.3s ease;
}

.footer-nav a:hover {
    color: white;
}

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

/* Social Icons in Footer */
.social-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.social-icon-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.social-icon-svg {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.social-icon-link:hover .social-icon-svg {
    opacity: 1;
}

/* Copyright */
.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    font-size: 0.8rem;
    position: relative;
    z-index: 1;
    letter-spacing: 0.05em;
}


/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes bounce {
    0%,
    100% {
        transform: translateY(0) rotate(12deg);
    }

    50% {
        transform: translateY(-10px) rotate(12deg);
    }
}

/* ============================================
   OWNER SECTION - Sección del Dueño
   ============================================ */
.owner-section {
    padding: 6rem 0;
    background: white;
}

.owner-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.owner-photo-container {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.owner-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.owner-info-container {
    padding: 1rem;
}

.owner-name {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-style: italic;
    letter-spacing: -1px;
}

.owner-role {
    font-size: 1rem;
    color: #d91023;
    margin-bottom: 2rem;
    font-weight: 600;
}

.owner-bio {
    color: #475569;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.owner-bio strong {
    color: #1a1a1a;
    font-weight: 700;
}

.owner-quote {
    font-size: 1.05rem;
    font-style: italic;
    color: #1a1a1a;
    padding-left: 1.5rem;
    border-left: 3px solid #d91023;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.owner-motto-simple {
    font-size: 1.3rem;
    font-weight: 900;
    color: #d91023;
    letter-spacing: 0.05em;
}

@media (max-width: 900px) {
    .owner-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .owner-info-container {
        padding: 0;
    }
}

@media (max-width: 600px) {
    .owner-section {
        padding: 3rem 0;
    }

    .owner-name {
        font-size: 1.8rem;
    }

    .owner-bio {
        font-size: 0.95rem;
    }

    .owner-quote {
        font-size: 0.95rem;
        padding-left: 1rem;
    }
}
/* ============================================
   TABLET - Ajustes para pantallas medianas
   ============================================ */
@media (max-width: 768px) {
    /* Fix: background-attachment: fixed no funciona en iOS Safari */
    .cta-section {
        background-attachment: scroll;
    }

    .cta-subtitle {
        font-size: 1.1rem;
    }

    .btn-whatsapp {
        font-size: 1.1rem;
        padding: 1.1rem 1.5rem;
    }

    .btn-whatsapp svg {
        width: 32px;
    }

    .location-flex {
        flex-direction: column;
        gap: 2rem;
    }

    .location-map {
        min-width: 100%;
        height: 350px;
    }

    .location-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .menu-section {
        padding: 3.5rem 0;
    }

    .footer-grid {
        gap: 2.5rem;
    }
}

/* ============================================
   MÓVIL - Teléfonos (≤ 600px)
   ============================================ */
@media (max-width: 600px) {
    .hero {
        min-height: auto;
        height: auto;
        padding: 2rem 0 2.5rem;
        align-items: flex-start;
        padding-top: clamp(1.5rem, 5vw, 2.5rem);
    }

    .hero-content {
        padding: 0 0.8rem;
    }

    .hero-logo-img {
        height: 110px;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
        letter-spacing: 0.16em;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 2.6rem);
        margin-bottom: 0.5rem;
        line-height: 0.95;
    }

    .hero-title-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 0.6rem;
    }

    .badge-bounce {
        position: static;
        transform: rotate(-4deg);
        font-size: 0.58rem;
        padding: 5px 12px;
        border-radius: 20px;
        margin-top: 0.45rem;
        box-shadow: 0 4px 14px rgba(250, 204, 21, 0.35);
        animation: bounceMobile 2s ease-in-out infinite;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        line-height: 1.45;
    }

    .hero-actions {
        gap: 0.75rem;
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    .btn-primary,
    .btn-outline {
        padding: 0.95rem 1.25rem;
        font-size: 0.85rem;
        width: 100%;
        min-height: 48px;
    }

    /* --- Clase utilitaria: ocultar en móvil --- */
    .hide-mobile {
        display: none;
    }

    /* --- Reducir padding de secciones --- */
    .section-header {
        margin-bottom: 1.5rem;
    }

    .about-section {
        padding: 2.5rem 0;
    }

    .menu-section {
        padding: 2.5rem 0;
    }

    .menu-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.85rem;
    }

    .card-body {
        padding: 1rem;
    }

    .card-body h3 {
        font-size: 1.15rem;
    }

    .card-tag {
        font-size: 0.7rem;
        margin-bottom: 1rem;
    }

    .price {
        font-size: 1rem;
    }

    .btn-sm {
        padding: 8px 12px;
        font-size: 0.72rem;
    }

    /* --- CTA en móvil --- */
    .cta-section {
        padding: 3rem 0;
        background-attachment: scroll;
        background-position: center;
    }

    .cta-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
        line-height: 1;
        margin-bottom: 1rem;
    }

    .cta-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        letter-spacing: 0.02em;
        padding: 0 0.5rem;
    }

    .cta-buttons {
        gap: 0.75rem;
        width: 100%;
        padding: 0 0.5rem;
    }

    .btn-whatsapp {
        font-size: 0.9rem;
        padding: 0.95rem 1rem;
        gap: 8px;
        max-width: 100%;
        min-height: 52px;
    }

    .btn-whatsapp svg {
        width: 24px;
        flex-shrink: 0;
    }

    .btn-maps {
        padding: 0.85rem 1.5rem;
        font-size: 0.85rem;
        width: 100%;
        max-width: 500px;
        text-align: center;
    }

    /* --- Ubicación en móvil --- */
    .location-section {
        padding: 2.5rem 0;
    }

    .location-text {
        min-width: 0;
        width: 100%;
    }

    .location-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .location-map {
        min-width: 0;
        width: 100%;
        height: 280px;
        border-radius: 16px;
        border-width: 4px;
    }

    .info-item {
        gap: 1rem;
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .info-item:hover {
        transform: none;
    }

    .info-icon {
        padding: 0.8rem;
        font-size: 1.2rem;
        border-radius: 12px;
    }

    .info-desc {
        font-size: 0.92rem;
        line-height: 1.45;
        word-break: break-word;
    }

    /* --- Footer en móvil --- */
    .footer {
        padding: 3rem 0 1.5rem;
        padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    }

    .footer-grid {
        gap: 1.5rem;
        padding-bottom: 2rem;
        grid-template-columns: 1fr;
    }

    .footer-brand h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.7rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        line-height: 1.5;
    }

    /* --- Logo navbar en pantallas pequeñas --- */
    .logo-text {
        font-size: 1.25rem;
        letter-spacing: -1.5px;
    }

    .logo-img {
        height: 36px;
    }

    .navbar {
        height: calc(60px + env(safe-area-inset-top, 0px));
        padding-top: env(safe-area-inset-top, 0px);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    header {
        height: calc(60px + env(safe-area-inset-top, 0px));
    }

    .nav-mobile {
        top: calc(60px + env(safe-area-inset-top, 0px));
    }

    @keyframes bounceMobile {
        0%,
        100% {
            transform: translateY(0) rotate(-4deg);
        }

        50% {
            transform: translateY(-5px) rotate(-4deg);
        }
    }
}

/* ============================================
   EXTRA PEQUEÑO - Pantallas < 380px
   ============================================ */
@media (max-width: 380px) {
    .logo-text {
        font-size: 1.05rem;
        letter-spacing: -1px;
    }

    .hero-logo-img,
    .hero-dual-logos .hero-logo-img,
    .hero-logo-perushi {
        height: 88px;
    }

    .badge-bounce {
        display: none;
    }

    .hero-title {
        font-size: clamp(1.7rem, 8vw, 2rem);
    }

    .hero-brands {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-brand-card:first-child,
    .hero-brand-card--perushi {
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.15);
    }

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

/* ============================================
   HERO BRANDS - Presentación dual de marcas
   ============================================ */
.hero-brands {
    display: flex;
    align-items: stretch;
    justify-content: center;
    margin-top: 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    animation: slideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s backwards;
}

.hero-brand-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    padding: 1.1rem 1.4rem;
    color: white;
    text-decoration: none;
    transition: background 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-brand-card:first-child {
    border-radius: 16px 0 0 16px;
    border-right-color: rgba(255, 255, 255, 0.08);
}

.hero-brand-card--perushi {
    border-radius: 0 16px 16px 0;
    background: rgba(255, 23, 68, 0.09);
    border-color: rgba(255, 23, 68, 0.28);
    border-left-color: rgba(255, 255, 255, 0.08);
}

/* Línea de acento superior (azul / rojo) */
.hero-brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 0 0 0;
}

.hero-brand-card--perushi::before {
    background: #FF1744;
    border-radius: 0 3px 0 0;
}

.hero-brand-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    z-index: 1;
}

.hero-brand-card--perushi:hover {
    background: rgba(255, 23, 68, 0.2);
    box-shadow: 0 12px 30px rgba(255, 23, 68, 0.3);
}

.brand-card-type {
    display: block;
    font-size: 0.57rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #64b5f6;
    opacity: 0.85;
    margin-bottom: 0.15rem;
}

.hero-brand-card--perushi .brand-card-type {
    color: #ff6b8a;
}

.brand-card-name {
    display: block;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.brand-card-items {
    display: block;
    font-size: 0.6rem;
    opacity: 0.5;
    font-weight: 500;
    letter-spacing: 0.04em;
}

@media (max-width: 600px) {
    .hero-brands {
        max-width: 100%;
        margin-top: 1.1rem;
        gap: 0;
    }

    .hero-brand-card {
        padding: 0.85rem 0.9rem;
        min-width: 0;
    }

    .brand-card-name {
        font-size: 0.88rem;
    }

    .brand-card-type {
        font-size: 0.5rem;
        letter-spacing: 0.12em;
    }

    .brand-card-items {
        font-size: 0.54rem;
        line-height: 1.35;
    }

    .hero-dual-logos {
        gap: 0.85rem;
        margin-bottom: 0.85rem;
    }

    .hero-dual-logos .hero-logo-img,
    .hero-logo-perushi {
        height: 100px;
    }

    .hero-logo-label {
        font-size: 0.62rem;
        letter-spacing: 0.1em;
    }

    .hero-logos-sep {
        font-size: 0.9rem;
    }
}

@media (max-width: 380px) {
    .hero-dual-logos .hero-logo-img {
        height: 120px;
    }

    .hero-logo-perushi {
        height: 120px;
    }

    .brand-card-name {
        font-size: 0.78rem;
    }

    .hero-brands {
        margin-top: 0.8rem;
    }
}

/* Ocultar brands en landscape muy corto (iPhone SE landscape) */
@media (max-height: 580px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 1.25rem 0;
    }

    .hero-brands {
        display: none;
    }

    .hero-dual-logos {
        gap: 0.8rem;
        margin-bottom: 0.6rem;
    }

    .hero-dual-logos .hero-logo-img,
    .hero-logo-perushi {
        height: 52px;
    }

    .hero-logo-label {
        display: none;
    }

    .hero-description {
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }

    .hero-title {
        margin-bottom: 0.75rem;
    }
}