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

body {
    font-family: 'Poppins', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #2c3e50;
    color: white;
}

header nav a {
    color: white;
    text-decoration: none;
    margin-left: 1.5rem;
}

section {
    padding: 3rem 2rem;
}

#hero {
    background-color: #e74c3c;
    color: white;
    text-align: center;
}

footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #2c3e50;
    color: white;
}
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}
footer p {
    padding-right: 0;
}

@media (max-width: 600px) {
    footer {
        text-align: left;
        padding-right: 90px;
    }
}
.logo {
    height: 40px;
    width: auto;
}

header h1 {
    display: flex;
    align-items: center;
}
.galeria {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.galeria img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 600px) {
    .galeria {
        grid-template-columns: 1fr;
    }
}
.plan-ejemplo {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background-color: #fff;
    border: 2px solid #e74c3c;
    border-radius: 8px;
    max-width: 400px;
}

.plan-ejemplo h3 {
    margin-bottom: 0.5rem;
}

.precio {
    font-size: 2rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 0.75rem;
}

.precio span {
    font-size: 1rem;
    font-weight: normal;
    color: #333;
}
header nav a {
    transition: opacity 0.2s ease;
}

header nav a:hover {
    opacity: 0.7;
}

.whatsapp-float {
    transition: transform 0.2s ease;
}

.html {
    scroll-behavior: smooth;
}

/* --- Formas flotantes animadas en el hero --- */
#hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e74c3c, #c0392b, #e74c3c);
    background-size: 200% 200%;
    animation: gradientMove 8s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#hero h2, #hero p {
    position: relative;
    z-index: 2;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    z-index: 1;
}

.shape1 {
    width: 180px;
    height: 180px;
    top: -60px;
    left: -60px;
    animation: floatShape 7s ease-in-out infinite;
}

.shape2 {
    width: 100px;
    height: 100px;
    bottom: -30px;
    right: 10%;
    animation: floatShape 5s ease-in-out infinite reverse;
}

.shape3 {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 20%;
    animation: floatShape 6s ease-in-out infinite;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-25px); }
}

/* --- Elementos que aparecen al hacer scroll --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Galería con hover más rico --- */
.galeria {
    grid-template-columns: repeat(3, 1fr);
}

.galeria img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* --- Botones flotantes (WhatsApp + Instagram apilados) --- */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.float-btn:hover {
    transform: scale(1.12);
}

.whatsapp-float {
    background-color: #25d366;
}

.instagram-float {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-footer {
    margin-top: 0.5rem;
}

.social-footer a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.social-footer a:hover {
    opacity: 1;
}

@media (max-width: 600px) {
    .galeria {
        grid-template-columns: 1fr;
    }
    .floating-buttons {
        bottom: 15px;
        right: 15px;
    }
}

.plan-ejemplo {
    transition: box-shadow 0.2s ease;
}

.plan-ejemplo:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.btn-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.9rem 2rem;
    background-color: #25d366;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: background-color 0.2s ease;
}

.btn-cta:hover {
    background-color: #1ebe57;
}
.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

#beneficios,
#ubicacion {
    background-color: #f5f5f5;
}

/* --- Tarjetas (beneficios, pasos, ubicación) --- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card h3 {
    margin: 0.5rem 0;
}

.card-icon {
    font-size: 2.2rem;
}

.paso {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #e74c3c;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
}

/* --- Flyers --- */
.flyers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.flyers img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: opacity 0.6s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.flyers img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.mapa {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mapa iframe {
    display: block;
    width: 100%;
    height: 350px;
    border: 0;
}

.btn-mapa {
    display: block;
    width: fit-content;
    margin: 1.5rem auto 0;
    background-color: #e74c3c;
}

.btn-mapa:hover {
    background-color: #c0392b;
}
/* --- Íconos SVG --- */
.icon {
    width: 1.3em;
    height: 1.3em;
    flex-shrink: 0;
}

.float-btn {
    color: white;
}

.float-btn .icon {
    width: 28px;
    height: 28px;
}

/* --- Botones con ícono --- */
.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    transition: filter 0.2s ease;
}

.btn-instagram:hover {
    filter: brightness(1.1);
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cta-group .btn-cta {
    margin-top: 0;
}

.cta-group.centrado {
    justify-content: center;
}

#hero .cta-group {
    position: relative;
    z-index: 2;
}

/* --- Grillas con columnas fijas (adiós al cuadro suelto) --- */
.cards {
    grid-template-columns: repeat(4, 1fr);
}

.cards.cards-3 {
    grid-template-columns: repeat(3, 1fr);
}

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

@media (max-width: 900px) {
    .cards,
    .flyers,
    .galeria {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .cards.cards-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .cards,
    .flyers,
    .galeria {
        grid-template-columns: 1fr;
    }
}