/* Estilos para el header y navegación principal */
.main-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: 60%;
    max-width: 900px;
    margin: 16px auto 0 auto;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    backdrop-filter: blur(4px);
}

.main-header img {
    height: 120px;
}

.main-nav .nav-list {
    list-style: none;
    display: flex;
    gap: 24px;
    padding: 0;
    margin: 0;
}

.main-nav .nav-list li a {
    text-decoration: none;
    color: #222; /* Texto negro */
    font-weight: 600;
    font-size: 1.08em;
    padding: 10px 22px;
    border-radius: 8px;
    background: linear-gradient(90deg, rgb(255, 230, 0) 0%, rgb(255, 105, 180) 50%, rgb(0, 200, 83) 100%);
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: 
        background 0.4s cubic-bezier(.4,0,.2,1),
        color 0.3s cubic-bezier(.4,0,.2,1),
        box-shadow 0.3s cubic-bezier(.4,0,.2,1),
        transform 0.3s cubic-bezier(.4,0,.2,1);
    display: inline-block;
}

.main-nav .nav-list li a:hover {
    background: linear-gradient(90deg, rgb(0, 200, 83) 0%, rgb(255, 230, 0) 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    transform: translateY(-3px) scale(1.07);
}

body {
    margin: 0;
    padding-top: 80px; /* espacio para el header flotante */
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    background: url('/assets/fondo.png') no-repeat center center;
    background-size: cover;
    opacity: 0.7;
    pointer-events: none;
}

.main-content {
    text-align: center;
    background: #22222268;
    padding-bottom: 32px;
    margin: 400px auto 0 auto;
    width: 95%;
    border-radius: 16px;
}

.main-content h1 {
    font-size: 3.5em; /* Texto más grande */
    color: #ff3baa; /* Amarillo brillante */
    margin-bottom: 24px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8); /* Trazo negro más fuerte */
    font-weight: bold; /* Texto más grueso */
}

.escribenos-btn {
    background: #25d366;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 24px;
    font-size: 1.1em;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s;
}

.escribenos-btn:hover {
    background: #128c7e;
}

.whatsapp-btn-nav {
    background: #25d366;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 24px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s;
    border: none;
    text-decoration: none;
}

.whatsapp-btn-nav:hover {
    background: #128c7e;
    color: #fff;
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2000;
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.whatsapp-float img {
    width: 40px;
    height: 40px;
}

.whatsapp-float:hover {
    background: #128c7e;
}
.promo-section {
    margin: 0 auto 32px auto; /* Solo margen inferior */
    max-width: 1100px;
    text-align: center;
    background: rgba(33, 150, 243, 0.85); /* Azul agradable con transparencia */
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 32px 16px;
}

.promo-section h2 {
    font-size: 2em;
    color: #ffffff;
    margin-bottom: 32px;
    letter-spacing: 1px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.promo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas en desktop */
    gap: 32px;
    align-items: stretch;
    justify-items: center;
}

.promo-item {
    background: rgba(255,255,255,0.92);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    padding: 18px 10px 10px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: promoFadeIn 0.8s ease;
}

.promo-item:hover {
    transform: translateY(-10px) scale(1.07) rotate(-2deg);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.promo-item img {
    width: 100%;
    max-width: 220px; /* Imagen más grande */
    border-radius: 14px;
    margin-bottom: 16px;
    transition: box-shadow 0.2s;
}

.promo-desc {
    font-size: 1em;
    color: #222;
    font-weight: 500;
    text-align: center;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

@keyframes promoFadeIn {
    from { opacity: 0; transform: scale(0.8);}
    to { opacity: 1; transform: scale(1); }
}

.benefits-section {
    max-width: 1100px;
    margin: 0 auto 0 auto; /* Solo margen superior */
    padding: 32px 16px;
    background: rgba(33, 150, 243, 0.85);
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    user-select: none;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 28px;
}

.benefit-item {
    /* background: rgba(255, 255, 255, 0.673); */
    border-radius: 14px;
    /* box-shadow: 0 2px 12px rgba(0,0,0,0.10); */
    padding: 18px 14px 14px 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.benefit-item h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    color: #ffffff;
    font-weight: bold;
    letter-spacing: 0.5px;
    user-select: none;
}

.benefit-item p {
    margin: 0;
    color: #222;
    font-size: 1em;
    user-select: none;
}

.contact-section {
    max-width: 700px;
    margin: 48px auto 32px auto;
    padding: 32px 16px;
    background: rgba(255,255,255,0.92);
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    text-align: center;
}

.contact-section h2 {
    font-size: 2em;
    color: #1565c0;
    margin-bottom: 18px;
}

.contact-section p {
    font-size: 1.1em;
    color: #222;
    margin-bottom: 24px;
}

.contact-btn {
    display: inline-block;
    background: #2196f3;
    color: #fff;
    padding: 12px 32px;
    border-radius: 24px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s;
}

.contact-btn:hover {
    background: #1565c0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: rgba(33,150,243,0.08);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(33,150,243,0.20);
    margin-top: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #2196f3;
    font-size: 1em;
    font-family: Arial, Helvetica, sans-serif;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #1565c0;
    box-shadow: 0 0 8px rgba(21,101,192,0.20);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
    font-family: Arial, Helvetica, sans-serif;
}

.form-submit-btn {
    background: #2196f3;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 24px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, transform 0.2s;
}

.form-submit-btn:hover {
    background: #1565c0;
    transform: translateY(-2px);
}

.main-footer {
    background: rgba(33,150,243,0.95);
    color: #fff;
    padding: 32px 16px 16px 16px;
    text-align: center;
    border-radius: 18px 18px 0 0;
    margin-top: 48px;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
}

.footer-info p {
    margin: 6px 0;
    font-size: 1em;
}

.footer-form {
    margin: 24px auto 0 auto;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: rgba(255,255,255,0.92);
    padding: 24px 18px;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.footer-form h3 {
    color: #1565c0;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.footer-form input {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #2196f3;
    font-size: 1em;
    outline: none;
}

.footer-form input:focus {
    border-color: #1565c0;
}

.footer-form button {
    background: #2196f3;
    color: #fff;
    border: none;
    padding: 12px 0;
    border-radius: 24px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s;
}

.footer-form button:hover {
    background: #1565c0;
}

/* Menú hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: #1565c0;
    border-radius: 2px;
    transition: 0.4s;
}

/* Animación hamburguesa activa */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Scroll Animation */
.scroll-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}

.scroll-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .main-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 10px;
        min-width: 90%;
        max-width: 100vw;
    }
    .main-header img {
        height: 80px;
        margin-bottom: 8px;
    }
    .main-nav {
        width: 100%;
    }
    .main-nav .nav-list {
        flex-direction: column;
        gap: 0;
        position: fixed;
        top: 0;
        right: -100vw;
        width: 70vw;
        height: 100vh;
        background: rgba(255,255,255,0.97);
        box-shadow: -2px 0 12px rgba(33,150,243,0.10);
        padding-top: 80px;
        transition: right 0.4s;
        z-index: 1001;
    }
    .main-nav .nav-list.open {
        right: 0;
    }
    .main-nav .nav-list li {
        margin: 0 0 18px 0;
        text-align: left;
    }
    .main-nav .nav-list li a {
        font-size: 1.15em;
        padding: 14px 24px;
        border-radius: 0 16px 16px 0;
        background: none;
        border: none;
        box-shadow: none;
        color: #1565c0;
    }
    .menu-toggle {
        display: flex;
        position: absolute;
        top: 24px;
        right: 24px;
    }
}

@media (max-width: 600px) {
    .main-content h1 {
        font-size: 2.2em;
    }
    .main-content {
        margin-top: 180px;
        padding: 0 10px;
        background: rgba(255, 255, 255, 0.686);
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    }
    .benefits-section,
    .promo-section,
    .contact-section {
        padding: 18px 6px;
        border-radius: 12px;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 16px;
    }
    .promo-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .main-footer {
        padding: 18px 6px 10px 6px;
        border-radius: 12px 12px 0 0;
    }
    .footer-form {
        padding: 12px 6px;
        border-radius: 8px;
    }

    body::before {
        background: url('assets/fondo.png') no-repeat center center;
        background-size: cover;
        opacity: 0.45; /* Menor intensidad/brillo */
        filter: brightness(0.7) blur(2px); /* Reduce brillo y agrega desenfoque suave */
    }
}

.promo-btn {
    background: #25d366;
    color: #fff;
    border: none;
    padding: 10px 26px;
    border-radius: 18px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, transform 0.2s;
}

.promo-btn:hover {
    background: #128c7e;
    transform: scale(1.07);
}

.footer-toggle-btn {
    background: rgba(255,255,255,0.92);
    color: #1565c0;
    border: none;
    padding: 12px 32px;
    border-radius: 24px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, transform 0.2s;
    margin: 0 auto;
    display: block;
}

.footer-toggle-btn:hover {
    background: rgba(255,255,255,1);
    transform: translateY(-2px);
}

.footer-form {
    display: none;
    animation: slideDown 0.3s ease;
}

.footer-form.open {
    display: flex;
}

