/* Manjares Casa de Comida - CSS Completo Corregido */


@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;700&family=Patrick+Hand&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('images/fondoweb.png');
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: none;
    z-index: 1000;
    padding: 0.2rem 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

/* Contenedor de logos */
.logo-container {
    position: relative;
    height: 90px;
    display: flex;
    align-items: center;
}

.logo {
    height: 90px;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}

/* Logo blanco visible por defecto (hero) */
.logo-white {
    opacity: 1;
}

/* Logo negro oculto por defecto */
.logo-dark {
    opacity: 0;
}

/* Cuando se hace scroll, intercambiar logos */
.header.scrolled .logo-white {
    opacity: 0;
}

.header.scrolled .logo-dark {
    opacity: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.nav-menu a:hover {
    color: #FF8C00;
}

/* Cambiar color del texto cuando scrollea */
.header.scrolled .nav-menu a {
    color: #333;
    text-shadow: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.header.scrolled .mobile-menu-btn {
    color: #333;
    text-shadow: none;
}

/* Hero Section with Carousel */
.hero {
    height: 100vh;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(93, 55, 8, 0.26), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.5s both;
    font-family: 'Patrick Hand', cursive;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.7s both;
}

.cta-button {
    display: inline-block;
    background: #FF8C00;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.9s both;
}

.cta-button:hover {
    background: #e67d00;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    padding: 3.5rem 0;
    background: rgba(248, 249, 250, 0.3);
    position: relative;
    z-index: 2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2.5rem;
    font-family: 'Patrick Hand', cursive;
}

.section-title span {
    color: #FF8C00;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

.about-text h3 {
    color: #FF8C00;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    font-family: 'Patrick Hand', cursive;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.2rem;
}

.valores {
    margin-top: 1.5rem;
}

.valor-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: #333;
}

.valor-item i {
    color: #FF8C00;
    margin-right: 1rem;
    font-size: 1.2rem;
    width: 20px;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-container {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16 / 12;
    border-radius: 25px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}

/* Carrusel de la sección About */
.about-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-carousel .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.about-carousel .carousel-slide.active {
    opacity: 1;
}

.about-image-real {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 25px;
    content-visibility: auto;
}



/* Botones de navegación */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 140, 0, 0.8);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
    opacity: 0;
}

.about-image-container:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: rgba(255, 140, 0, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

/* Indicadores del carrusel */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid white;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #FF8C00;
    border-color: #FF8C00;
}

.indicator:hover {
    background: rgba(255, 140, 0, 0.7);
}

/* Simple Stats */
.simple-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #FF8C00;
    display: block;
    margin-bottom: 0.4rem;
    line-height: 1.1;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: white;
    position: relative;
    z-index: 3;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.service-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.service-card:hover .service-background {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 140, 0, 0.65) 0%, 
        rgba(230, 125, 0, 0.7) 100%);
    transition: all 0.3s ease;
}

.service-card.family .service-overlay {
    background: linear-gradient(135deg, 
        rgba(107, 155, 107, 0.65) 0%, 
        rgba(90, 138, 90, 0.7) 100%);
}

.service-card.foodtruck .service-overlay {
    background: linear-gradient(135deg, 
        rgba(60, 60, 60, 0.75) 0%, 
        rgba(40, 40, 40, 0.8) 100%);
}

.service-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 2rem;
    text-align: center;
    color: white;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: 'Patrick Hand', cursive;
}

.service-card p {
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
}

.service-features {
    list-style: none;
    width: 100%;
    text-align: left;
    margin: 0;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
    font-size: 0.95rem;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Empresas Section Final */
.empresas-section-final {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3.5rem 0;
}

.empresas-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.empresas-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0.8rem auto 0;
    line-height: 1.5;
}

.servicios-corporativos {
    margin-bottom: 3rem;
    text-align: center;
}

.servicios-corporativos h3 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 700;
}

.servicios-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.servicio-card-horizontal {
    background: white;
    padding: 1.8rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: left;
}

.servicio-card-horizontal:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.servicio-card-horizontal i {
    font-size: 2.2rem;
    color: #FF8C00;
    flex-shrink: 0;
}

.servicio-info h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.servicio-info p {
    color: #666;
    margin: 0;
    line-height: 1.4;
    font-size: 0.95rem;
}

.logos-section {
    margin: 2.5rem 0;
    text-align: center;
}

.logos-section h3 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 700;
}

.logos-carousel-container {
    overflow: hidden;
    position: relative;
    margin: 3rem 0;
}

.logos-carousel-container::before,
.logos-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logos-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(248,249,250,1), rgba(248,249,250,0));
}

.logos-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(248,249,250,1), rgba(248,249,250,0));
}

.logos-carousel {
    display: flex;
    animation: scroll 25s linear infinite;
    width: fit-content;
}

.logos-carousel:hover {
    animation-play-state: paused;
}

.logo-item {
    flex: 0 0 auto;
    margin: 0 2rem;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    min-width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.logo-item img {
    max-width: 140px;
    max-height: 60px;
    width: auto;
    height: auto;
    filter: grayscale(0.3);
    transition: filter 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.empresas-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding: 0 2rem;
}

.cta-content {
    max-width: 500px;
    margin: 0 auto;
}

.cta-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.8rem;
    font-weight: 700;
    max-width: 200px; /* ← Agregar esto */
    margin-left: auto;
    margin-right: auto;
}

.cta-content p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.btn-whatsapp-simple {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-simple:hover {
    background: #20b958;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-simple i {
    font-size: 1.1rem;
}
/* Viandas Section */
.viandas {
    padding: 5rem 0;
    background: rgba(248, 249, 250, 0.3);
    position: relative;
    z-index: 4;
}

.viandas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.vianda-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.vianda-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.vianda-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
}

.vianda-image.tradicional {
    background: linear-gradient(135deg, #FF8C00, #e67d00);
}

.vianda-image.veggie {
    background: linear-gradient(135deg, #6B9B6B, #5a8a5a);
}

.vianda-image.saludable {
    background: linear-gradient(135deg, #28a745, #20692e);
}

.vianda-image.express {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.vianda-content {
    padding: 2rem;
}

.vianda-content h3 {
    color: #FF8C00;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Patrick Hand', cursive;
}

.vianda-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.vianda-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vianda-features li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.vianda-features li::before {
    content: "•";
    color: #FF8C00;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Sección Sistema de Pedidos Optimizada */
.pedidos-section-improved {
    background: transparent;
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.pedidos-section-improved .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.pedidos-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.pedidos-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.pedidos-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Texto de pedidos optimizado */
.pedidos-text h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.pedidos-text > p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Features más compactas */
.pedidos-features {
    margin-bottom: 2rem;
    display: grid;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FF8C00, #e67d00);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.feature-icon i {
    color: white;
    font-size: 1rem;
}

.feature-text h4 {
    color: #333;
    font-size: 1rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.feature-text p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

/* Botón CTA compacto */
.cta-button-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #FF8C00, #e67d00);
    color: white;
    padding: 1rem 1.8rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.cta-button-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.4);
}

.cta-button-large i {
    font-size: 1rem;
}

/* Sección de imagen compacta */
.pedidos-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup {
    position: relative;
    max-width: 280px;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.15));
}

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.phone-mockup:hover .app-screenshot {
    transform: scale(1.03);
}
/* Contact Section */
.contact {
    padding: 5rem 0;
    background: white;
    position: relative;
    z-index: 5;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3,
.maps-container h3 {
    color: #FF8C00;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem 1.2rem;
    background: rgba(248, 249, 250, 0.5);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 140, 0, 0.05);
    transform: translateX(5px);
}

.contact-icon {
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.custom-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FF8C00;
    padding: 0;
    background: white;
}

.icon-circle {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, #FF8C00, #e67d00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.contact-text {
    flex: 1;
    min-width: 0;
}

.contact-text h4 {
    margin-bottom: 0.2rem;
    color: #333;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.2;
}

.contact-text p {
    color: #666;
    line-height: 1.3;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-text p.address {
    white-space: normal;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #20b958);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-weight: 700;
    margin: 2rem 0 0 0;
    width: fit-content;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn i {
    font-size: 1.3rem;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #20b958, #1da851);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

.embedded-map iframe {
    width: 100%;
    height: 500px;
    border: 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: linear-gradient(rgba(51, 51, 51, 0.8), rgba(51, 51, 51, 0.9)), url('images/imagenfoster.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 2rem 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-center {
    text-align: center;
}

.footer-center p {
    margin: 0.3rem 0;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-right {
    display: flex;
    justify-content: flex-end;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF8C00;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #FF8C00;
}
/* ===== RESPONSIVE DESIGN ===== */

/* Tablet y móvil grande (768px y menos) */
@media (max-width: 768px) {
    /* Header mobile */
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo {
        height: 70px;
    }
    
    .logo-container {
        height: 70px;
    }

    /* Hero mobile */
    .hero-content h1 {
        font-size: 2.5rem;
        font-family: 'Patrick Hand', cursive;
    }
    
    /* About mobile */
    .about {
        padding: 3rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .about-text h3 {
        font-family: 'Patrick Hand', cursive;
    }
    
    .about-image-container {
        height: 240px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
    
    .carousel-indicators {
        bottom: 10px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }

    .pedidos-section-improved .container {
        padding: 0; /* Mismo padding que .container */
    }
    
    /* Stats mobile */
    .simple-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        padding: 1.8rem 1.2rem;
    }
    
    .section-title {
        font-size: 2.4rem;
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Services mobile */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        height: 400px;
    }
    
    .service-content {
        padding: 2rem 1.5rem;
    }
    
    .service-features {
        text-align: center;
    }

    /* ===== EMPRESAS MOBILE - CORREGIDO ===== */
    .servicios-grid-horizontal {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .servicio-card-horizontal {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem 0.8rem;
        gap: 0.8rem;
    }
    
    .servicio-card-horizontal i {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .servicio-info h4 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
        line-height: 1.2;
    }
    
    .servicio-info p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    /* ===== CARRUSEL DE EMPRESAS - CORREGIDO ===== */
    .logo-item {
        margin: 0 1.2rem;
        min-width: 200px;
        height: 110px;
        padding: 1.5rem;
    }
    
    .logo-item img {
        max-width: 160px;
        max-height: 70px;
    }
    
    /* ===== BOTÓN WHATSAPP - CORREGIDO ===== */
    .btn-whatsapp-simple {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        gap: 0.6rem;
    }
    
    .btn-whatsapp-simple i {
        font-size: 1rem;
    }
    
    /* Viandas mobile */
    .viandas-grid {
        grid-template-columns: 1fr;
    }
    
    .vianda-image {
        height: 150px;
        font-size: 3rem;
    }
    
    .vianda-content {
        padding: 1.5rem;
    }
    
    /* ===== SISTEMA DE PEDIDOS MOBILE - CORREGIDO ===== */
    .pedidos-wrapper {
        padding: 2rem 1.2rem;
        margin: 0;
        border-radius: 15px;
    }
    
    .pedidos-content {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        text-align: center;
    }
    
    .pedidos-text h3 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }
    
    .pedidos-text > p {
        font-size: 1rem;
        margin-bottom: 1.8rem;
        max-width: 100%;
    }
    
    .pedidos-features {
        margin-bottom: 2rem;
        display: grid;
        gap: 0.8rem;
        max-width: 100%;
    }
    
    .feature-item {
        justify-content: flex-start;
        text-align: left;
        padding: 0.8rem 1rem;
        gap: 1rem;
        flex-direction: row;
    }
    
    .feature-icon {
        width: 35px;
        height: 35px;
        border-radius: 8px;
        flex-shrink: 0;
        margin-right: 0;
    }
    
    .feature-icon i {
        font-size: 0.9rem;
    }
    
    .feature-text h4 {
        font-size: 0.95rem;
        margin-bottom: 0.2rem;
        line-height: 1.2;
    }
    
    .feature-text p {
        font-size: 0.8rem;
        margin: 0;
        line-height: 1.3;
    }
    
    .cta-button-large {
        padding: 1rem 1.8rem;
        font-size: 1rem;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .phone-mockup {
        max-width: 200px;
        margin-top: 1rem;
    }
    
    /* Contact mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-item {
        flex-direction: row;
        text-align: left;
        padding: 1rem;
    }
    
    .contact-icon {
        margin-right: 1.2rem;
        margin-bottom: 0;
    }
    
    .custom-icon,
    .icon-circle {
        width: 75px;
        height: 75px;
    }
    
    .icon-circle {
        font-size: 1.8rem;
    }
    
    .contact-info h3,
    .maps-container h3 {
        font-size: 1.8rem;
    }

    .contact-text p {
        white-space: normal;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-left {
        align-items: center;
    }
    
    .footer-right {
        justify-content: center;
    }
    
    .footer-links {
        align-items: center;
    }
}

/* ===== PANTALLAS MUY PEQUEÑAS (480px y menos) ===== */
@media (max-width: 480px) {
    .logo {
        height: 60px;
    }
    
    .logo-container {
        height: 60px;
    }
    
    .simple-stats {
        padding: 1.5rem 1rem;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .service-card {
        height: 350px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.6rem;
        font-family: 'Patrick Hand', cursive;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    /* ===== EMPRESAS PANTALLAS MUY PEQUEÑAS ===== */
    .servicios-grid-horizontal {
        gap: 0.8rem;
    }
    
    .servicio-card-horizontal {
        padding: 1rem 0.6rem;
    }
    
    .servicio-card-horizontal i {
        font-size: 1.6rem;
    }
    
    .servicio-info h4 {
        font-size: 0.9rem;
    }
    
    .servicio-info p {
        font-size: 0.75rem;
    }
    
    /* ===== CARRUSEL EMPRESAS PANTALLAS MUY PEQUEÑAS ===== */
    .logo-item {
        min-width: 180px;
        height: 150px;
        padding: 1.6rem;
    }
    
    .logo-item img {
        max-width: 150px;
        max-height: 70px;
    }
    
    .vianda-content {
        padding: 1.2rem;
    }
    
    .vianda-content h3 {
        font-family: 'Patrick Hand', cursive;
    }
    
    .vianda-content p {
        font-size: 0.9rem;
    }
    
    /* ===== SISTEMA DE PEDIDOS PANTALLAS MUY PEQUEÑAS ===== */
    .pedidos-wrapper {
        padding: 1.5rem 1rem;
        margin: 0;
    }
    
    .pedidos-text h3 {
        font-size: 1.6rem;
    }
    
    .feature-item {
        padding: 0.7rem 0.8rem;
    }
    
    .feature-icon {
        width: 32px;
        height: 32px;
    }
    
    .feature-icon i {
        font-size: 0.8rem;
    }
    
    .feature-text h4 {
        font-size: 0.85rem;
    }
    
    .feature-text p {
        font-size: 0.75rem;
    }
    
    .contact-item {
        padding: 0.8rem 1rem;
    }
    
    .custom-icon,
    .icon-circle {
        width: 50px;
        height: 50px;
    }
    
    .icon-circle {
        font-size: 1.2rem;
    }
    
    .contact-text h4 {
        font-size: 1.1rem;
    }
    
    .contact-text p {
        font-size: 0.95rem;
    }

    .contact-icon {
        margin-right: 1rem;
    }

    .footer-logo {
        height: 60px;
    }
    
    .footer-center p {
        font-size: 0.8rem;
    }
    
    .footer-links a {
        font-size: 0.7rem;
    }
}