/* ==========================================================================
   TOTU PIZZA - PREMIUM STYLESHEET
   Landing page ultra elegante con paleta verde/rojo del logo
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette — Extraída del logo de Totu Pizza */
    --green: #4CAF50;
    --green-dark: #2E7D32;
    --green-light: #81C784;
    --red: #E53935;
    --red-dark: #C62828;
    --red-light: #EF5350;
    --yellow: #FFC107;
    --yellow-light: #FFD54F;
    --sky-blue: #87CEEB;

    /* Backgrounds */
    --bg-dark: #0D0D0D;
    --bg-dark-2: #1A1A1A;
    --bg-dark-3: #252525;
    --bg-glass: rgba(37, 37, 37, 0.6);
    --bg-glass-hover: rgba(50, 50, 50, 0.8);

    /* Text */
    --text-light: #FFFFFF;
    --text-cream: #FFF8E1;
    --text-muted: #B0B0B0;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-glow-green: 0 0 20px rgba(76, 175, 80, 0.3);
    --shadow-glow-red: 0 0 20px rgba(229, 57, 53, 0.3);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-muted);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul { list-style: none; }

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -1px; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-muted);
    font-size: 1.05rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--green-light), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-yellow {
    background: linear-gradient(135deg, var(--yellow-light), var(--yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --------------------------------------------------------------------------
   4. LAYOUT & UTILITIES
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

.section-dark { background-color: var(--bg-dark); }
.section-dark-alt { background-color: var(--bg-dark-2); }

/* --------------------------------------------------------------------------
   5. PRELOADER
   -------------------------------------------------------------------------- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

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

.preloader-logo {
    width: 120px;
    height: auto;
    margin: 0 auto 2rem;
    animation: pulse-scale 1.5s ease-in-out infinite;
}

.preloader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--green);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 0.8s linear infinite;
}

/* --------------------------------------------------------------------------
   6. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-normal);
    background: transparent;
}

#header.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.nav-logo {
    z-index: 1001;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: height var(--transition-normal);
}

#header.scrolled .logo-img {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-light);
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--green), var(--green-light));
    transition: width var(--transition-normal);
    border-radius: 2px;
}

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

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white !important;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.nav-cta:hover {
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.hamburger .bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--text-light);
    border-radius: 3px;
    transition: all var(--transition-normal);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* --------------------------------------------------------------------------
   7. BUTTONS (Global)
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    gap: 0.6rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(229, 57, 53, 0.6);
    transform: translateY(-2px);
    color: white;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    transform: translateY(-2px);
    color: white;
}

.btn-whatsapp-large {
    padding: 1.2rem 3rem;
    font-size: 1.25rem;
}

/* --------------------------------------------------------------------------
   8. SECTION HEADERS (reusable)
   -------------------------------------------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.25);
    border-radius: var(--radius-full);
    color: var(--green-light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

.section-badge-light {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.section-title {
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--green), var(--red));
    border-radius: var(--radius-full);
    margin: 1rem auto 0;
}

.section-title-light {
    color: white;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   9. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 30%, rgba(46,125,50,0.08) 0%, var(--bg-dark) 70%);
    padding-top: 80px;
}

.hero-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(76, 175, 80, 0.08);
}

.hero-circle-1 {
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-circle 8s ease-in-out infinite;
}

.hero-circle-2 {
    width: 450px;
    height: 450px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: rgba(229, 57, 53, 0.06);
    animation: pulse-circle 8s ease-in-out infinite 2s;
}

.hero-circle-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: rgba(255, 193, 7, 0.05);
    animation: pulse-circle 8s ease-in-out infinite 4s;
}

.floating-pizza {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
    filter: blur(1px);
}

.floating-1 { top: 15%; left: 8%; animation-duration: 7s; }
.floating-2 { top: 25%; right: 10%; animation-duration: 5s; animation-delay: 1s; }
.floating-3 { bottom: 20%; left: 15%; animation-duration: 8s; animation-delay: 2s; font-size: 2rem; }
.floating-4 { bottom: 30%; right: 12%; animation-duration: 6s; animation-delay: 0.5s; font-size: 2rem; }
.floating-5 { top: 60%; left: 5%; animation-duration: 9s; animation-delay: 3s; font-size: 1.8rem; }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 var(--spacing-md);
}

.hero-logo {
    width: 180px;
    height: auto;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 10px 30px rgba(76, 175, 80, 0.3));
    animation: float 4s ease-in-out infinite;
}

.hero-title {
    margin-bottom: 1rem;
    text-shadow: 0 5px 30px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-cream);
    margin-bottom: 2.5rem;
    min-height: 2rem;
    font-family: var(--font-heading);
    font-weight: 300;
}

.cursor {
    animation: blink 1s step-end infinite;
    color: var(--green);
    font-weight: 100;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-icon {
    font-size: 1.3rem;
}

.stat-text {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stat-divider {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.15);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 1.5s both;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--green), transparent);
    margin: 0.5rem auto 0;
    animation: scroll-bounce 2s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   10. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-badge {
    margin-bottom: 1rem;
}

.about-text .section-title {
    text-align: left;
}

.about-text .section-title::after {
    margin: 1rem 0 0 0;
}

.about-description {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all var(--transition-normal);
}

.about-feature:hover {
    background: rgba(76, 175, 80, 0.05);
    border-color: rgba(76, 175, 80, 0.15);
    transform: translateX(5px);
}

.about-feature .feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.about-feature h4 {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-frame {
    position: relative;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(76, 175, 80, 0.2);
    box-shadow: 0 0 40px rgba(76, 175, 80, 0.15), 0 0 80px rgba(76, 175, 80, 0.05);
    animation: float 6s ease-in-out infinite;
}

.image-frame::before {
    content: '';
    position: absolute;
    inset: -15px;
    border: 2px dashed rgba(229, 57, 53, 0.2);
    border-radius: 50%;
    animation: spin 25s linear infinite;
    z-index: -1;
}

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

.image-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 60%, rgba(76, 175, 80, 0.1) 100%);
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   11. MENU SECTION
   -------------------------------------------------------------------------- */
.menu-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--green);
    color: white;
    border-color: var(--green);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.pizza-card {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: default;
}

.pizza-card:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(76, 175, 80, 0.25);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.15);
}

.card-image-wrapper {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.pizza-emoji {
    font-size: 3.5rem;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.3));
    transition: transform var(--transition-normal);
}

.pizza-card:hover .pizza-emoji {
    transform: scale(1.15) rotate(8deg);
}

.badge-popular {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.3rem 0.8rem;
    background: linear-gradient(135deg, var(--red-light), var(--red));
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(229, 57, 53, 0.4);
    animation: glow-red 2s ease-in-out infinite;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pizza-name {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    color: var(--text-light);
}

.pizza-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.2rem;
    flex: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.price-tag {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--yellow);
}

.price-tag small {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 2px;
}

.price-extra {
    color: var(--green-light);
}

.btn-order {
    padding: 0.5rem 1.2rem;
    background: rgba(229, 57, 53, 0.1);
    color: var(--red);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--transition-normal);
    border: 1px solid rgba(229, 57, 53, 0.2);
}

.btn-order:hover {
    background: var(--red);
    color: white;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   12. LOYALTY SECTION
   -------------------------------------------------------------------------- */
.section-loyalty {
    background: linear-gradient(135deg, var(--bg-dark-2) 0%, rgba(46, 125, 50, 0.08) 50%, var(--bg-dark-2) 100%);
    border-top: 1px solid rgba(76, 175, 80, 0.15);
    border-bottom: 1px solid rgba(76, 175, 80, 0.15);
}

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

.loyalty-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-cream);
    margin-bottom: 2rem;
}

.loyalty-counter {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.counter-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.4);
}

.counter-number span {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2.5rem;
    color: white;
}

.counter-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-light);
}

.stamp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    max-width: 300px;
    margin-bottom: 1.5rem;
}

.stamp-circle {
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all var(--transition-normal);
}

.stamp-circle.filled {
    background: rgba(76, 175, 80, 0.15);
    border: 2px solid rgba(76, 175, 80, 0.4);
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.2);
}

.loyalty-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.loyalty-image {
    display: flex;
    justify-content: center;
}

.loyalty-card-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: transform var(--transition-normal);
    max-width: 450px;
}

.loyalty-card-frame:hover {
    transform: translateY(-10px);
}

.loyalty-img {
    width: 100%;
    height: auto;
}

.loyalty-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   13. DELIVERY SECTION
   -------------------------------------------------------------------------- */
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.delivery-card {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.delivery-card:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-8px);
    border-color: rgba(76, 175, 80, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.delivery-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.delivery-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.delivery-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.delivery-cta {
    text-align: center;
}

.delivery-box-showcase {
    max-width: 400px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-normal);
}

.delivery-box-showcase:hover {
    transform: scale(1.03);
}

.delivery-box-img {
    width: 100%;
    height: auto;
}

/* --------------------------------------------------------------------------
   14. HOURS SECTION
   -------------------------------------------------------------------------- */
.hours-container {
    max-width: 600px;
    margin: 0 auto;
}

.hours-card {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-glass);
}

.hours-row {
    display: flex;
    align-items: center;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition-normal);
}

.hours-row:last-of-type {
    border-bottom: none;
}

.hours-row .day {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-light);
    min-width: 120px;
    font-size: 1rem;
}

.hours-dots {
    flex: 1;
    border-bottom: 2px dotted rgba(255, 255, 255, 0.1);
    margin: 0 1rem;
    height: 1px;
}

.hours-row .time {
    font-weight: 500;
    color: var(--green-light);
    font-size: 0.95rem;
}

.hours-row.highlight {
    background: rgba(76, 175, 80, 0.05);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
    margin: 2px 0;
}

.hours-row.highlight .time {
    color: var(--yellow);
}

.hours-note {
    margin-top: 1.5rem;
    text-align: center;
    padding: 1rem;
    background: rgba(255, 193, 7, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 193, 7, 0.1);
}

.hours-note p {
    font-size: 0.85rem;
    color: var(--yellow-light);
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   15. CTA / CONTACT SECTION
   -------------------------------------------------------------------------- */
.section-cta {
    background: linear-gradient(180deg, var(--bg-dark-2) 0%, var(--bg-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

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

.cta-title {
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.cta-phone {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--text-muted);
}

.phone-link {
    color: var(--yellow);
    font-weight: 600;
    font-family: var(--font-heading);
    transition: color var(--transition-normal);
}

.phone-link:hover {
    color: var(--yellow-light);
}

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.footer {
    background: #000;
    padding: 4rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    width: 80px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.footer-location {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--red);
}

.footer-links ul li {
    margin-bottom: 0.6rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all var(--transition-normal);
}

.footer-links ul li a:hover {
    color: var(--green-light);
    padding-left: 5px;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #25D366;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-normal);
    margin-bottom: 0.75rem;
}

.footer-whatsapp:hover {
    color: #4AE17D;
    transform: translateX(3px);
}

.footer-delivery-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.3rem;
}

.footer-credit a {
    color: var(--green);
    font-weight: 500;
    transition: color var(--transition-normal);
}

.footer-credit a:hover {
    color: var(--green-light);
}

/* --------------------------------------------------------------------------
   17. FLOATING WHATSAPP BUTTON
   -------------------------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all var(--transition-normal);
    animation: pulse-wa 2s infinite;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(-110%) translateY(-50%) scale(1);
}

.whatsapp-tooltip {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateX(-110%) translateY(-50%) scale(0.8);
    background: #25D366;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    transition: all var(--transition-normal);
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #25D366;
}

/* --------------------------------------------------------------------------
   18. ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulse-scale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes pulse-circle {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer {
    0% { opacity: 1; }
    50% { opacity: 0.6; filter: brightness(1.2); }
    100% { opacity: 1; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes glow-red {
    0%, 100% { box-shadow: 0 2px 10px rgba(229, 57, 53, 0.4); }
    50% { box-shadow: 0 2px 20px rgba(229, 57, 53, 0.7); }
}

@keyframes blink {
    50% { opacity: 0; }
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.3; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0); }
    to { opacity: 1; transform: scale(1); }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* --------------------------------------------------------------------------
   19. RESPONSIVE
   -------------------------------------------------------------------------- */
/* Tablet */
@media (max-width: 1024px) {
    .about-grid,
    .loyalty-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-text .section-title {
        text-align: center;
    }

    .about-text .section-title::after {
        margin: 1rem auto 0;
    }

    .image-frame {
        width: 300px;
        height: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

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

/* Mobile */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 2.5rem;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(13, 13, 13, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .hero-logo {
        width: 130px;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .stat-divider {
        display: none;
    }

    .about-grid,
    .loyalty-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .image-frame {
        width: 250px;
        height: 250px;
    }

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

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

    .stamp-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .loyalty-counter {
        flex-direction: column;
        text-align: center;
    }

    .hours-row .day {
        min-width: 80px;
        font-size: 0.9rem;
    }

    .hours-row .time {
        font-size: 0.85rem;
    }

    .hours-dots {
        display: none;
    }

    .hours-row {
        justify-content: space-between;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 1rem;
    }

    .footer-links h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-whatsapp {
        justify-content: center;
    }

    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 55px;
        height: 55px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .btn-whatsapp-large {
        padding: 1rem 2rem;
        font-size: 1.05rem;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hours-card {
        padding: 1.5rem;
    }

    .loyalty-card-frame {
        max-width: 100%;
    }
}
