* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header superior con banner teal claro */
.top-header {
    background-color: #4ECDC4;
    padding: 20px 0;
    text-align: center;
    width: 100%;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-image {
    max-height: 80px;
    width: auto;
    height: auto;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1551717743-49959800b1f6?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-overlay {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 auto;
    padding: 0 10%;
}

.hero-content {
    color: white;
    z-index: 3;
    text-align: left;
    max-width: 500px;
}

.hero-content h1 {
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content h2 {
    font-size: 1.3em;
    font-weight: normal;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-decoration {
    position: absolute;
    left: 0;
    top: 0;
    width: 200px;
    height: 200px;
    border: 2px dashed white;
    border-radius: 50%;
    border-right: none;
    border-bottom: none;
    opacity: 0.6;
    transform: translate(-50%, -50%);
}

/* Formulario de contacto flotante */
.contact-form-container {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    background-color: #B8E6E1;
    padding: 40px;
    border-radius: 15px;
    width: 400px;
    max-width: 90%;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-form-container h3 {
    font-size: 1.5em;
    font-weight: bold;
    color: #2C5F5A;
    margin-bottom: 25px;
    text-align: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: #2C5F5A;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #1e423e;
}

.honeypot {
    display: none;
}

/* Sección de información */
.info-section {
    background-color: #B8E6E1;
    padding: 40px 20px;
    text-align: center;
}

.info-section p {
    font-size: 1.2em;
    color: #2C5F5A;
    max-width: 800px;
    margin: 0 auto;
}

/* Sección de categorías */
.categorias-section {
    background-color: white;
    padding: 60px 40px;
    text-align: center;
}

.categorias-section h2 {
    font-size: 2em;
    font-weight: bold;
    color: #2C5F5A;
    margin-bottom: 20px;
}

.title-divider {
    border: none;
    border-top: 2px solid #2C5F5A;
    width: 100px;
    margin: 0 auto 50px;
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.categoria-card {
    text-align: center;
}

.categoria-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #B8E6E1;
}

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

.categoria-card h3 {
    font-size: 2.5em;
    font-weight: bold;
    color: #2C5F5A;
    margin-bottom: 15px;
}

.categoria-card p {
    font-size: 1em;
    color: #555;
    line-height: 1.8;
}

/* Sección de entrega y contacto */
.delivery-section {
    background-color: #B8E6E1;
    padding: 60px 40px;
}

.delivery-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.delivery-logo {
    display: flex;
    flex-direction: column;
}

.logo-image-white {
    max-height: 120px;
    width: auto;
    height: auto;
}

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

.delivery-info p {
    font-size: 1.2em;
    color: #2C5F5A;
    margin-bottom: 20px;
    line-height: 1.6;
}

.delivery-divider {
    border: none;
    border-top: 2px solid #2C5F5A;
    width: 150px;
    margin: 20px auto;
}

.delivery-info h4 {
    font-size: 1.5em;
    color: #2C5F5A;
    margin-bottom: 20px;
}

.btn-info {
    padding: 15px 40px;
    background-color: #2C5F5A;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-info:hover {
    background-color: #1e423e;
}

/* Footer */
footer {
    background-color: #2C5F5A;
    padding: 30px 20px;
    text-align: center;
}

footer p {
    color: white;
    font-size: 0.9em;
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-overlay {
        padding: 0 5%;
        justify-content: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .contact-form-container {
        right: 50%;
        transform: translate(50%, -50%);
        width: 350px;
    }
    
    .delivery-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .delivery-info {
        text-align: center;
    }
    
    .delivery-divider {
        margin: 20px auto;
    }
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        min-height: auto;
    }
    
    .hero-background {
        position: relative;
        min-height: 400px;
    }
    
    .hero-overlay {
        padding: 40px 20px;
    }
    
    .hero-content h1 {
        font-size: 2.5em;
    }
    
    .contact-form-container {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        margin: -50px 20px 20px;
        max-width: 400px;
    }
    
    .categorias-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .logo-main {
        font-size: 2em;
    }
    
    .logo-main-white {
        font-size: 3em;
    }
}
