/* Reset y configuraciones generales */
body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Encabezado */
header {
    background-color: #0044cc;
    padding: 15px 0;
    text-align: center;
}

.branding .logo {
    width: 80px;
    height: auto;
}

.branding .site-title {
    font-size: 2.5em;
    color: white;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

/* Menú de navegación */
nav {
    background: white;
    padding: 10px 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    color: #0044cc;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
}

/* Banner Principal */
.hero {
    position: relative;
    text-align: center;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* Fondo negro detrás del texto del banner */
.hero-content {
    background: rgba(0, 0, 0, 0.4); /* Transparencia */
    padding: 20px;
    position: absolute;
    top: 25%; /* Ajustado para bajar un poco */
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 85%;
    border-radius: 10px;
    color: white;
}

.hero-content h1 {
    font-size: 1.8em;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2em;
}

.hero-content .btn {
    display: inline-block;
    background: #0044cc;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1em;
    border-radius: 5px;
    margin-top: 10px;
}

/* Sección de Servicios */
.servicios, .planes {
    text-align: center;
    padding: 50px 20px;
}

/* 📌 Sección de Planes - Ajustado para subir un poco */
#planes {
    margin-top: -30px; /* Lo sube sin afectar el diseño */
}

.planes-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.plan {
    background: white;
    padding: 20px;
    width: 300px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

/* Pie de Página */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 10px 0;
}

/* Responsividad para móviles */
@media (max-width: 768px) {
    .branding .logo {
        width: 70px;
    }

    .branding .site-title {
        font-size: 2em;
    }

    .hero-content {
        top: 30%; /* Bajado un poco más en móviles */
        width: 95%;
    }

    .hero-content h1 {
        font-size: 1.5em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .hero-content .btn {
        font-size: 0.9em;
    }

    .servicios-grid, .planes-grid {
        flex-direction: column;
        align-items: center;
    }

    /* Ajuste en móviles para subir planes */
    #planes {
        margin-top: -20px; /* Ajuste específico para móviles */
    }
}

.planes-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.plan {
    background: white;
    padding: 20px;
    width: 300px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.plan img {
    width: 100%;
    max-width: 100px; /* Ajusta según sea necesario */
    height: auto;
    margin-bottom: 10px;
    border-radius: 8px; /* Esquinas redondeadas */
}

.plan-image {
    width: 100%;
    max-width: 100px; /* Ajusta el tamaño de las imágenes */
    height: auto;
    display: block;
    margin: 10px auto;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0044cc;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    margin-top: 10px;
}

.btn:hover {
    background-color: #002a80;
}

.btn-secundario {
    background-color: #ffa500; /* Naranja para diferenciar */
}

.btn-secundario:hover {
    background-color: #cc8400;
}

.otros-packs {
    text-align: center;
    margin-top: 20px;
}

.support-section {
    background-color: #0052CC;
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

.support-section h2 {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.support-section p {
    font-size: 1em;
    margin-bottom: 15px;
}

.heart-icon {
    font-size: 2em;
    cursor: pointer;
    transition: transform 0.3s;
}

.heart-icon:hover {
    transform: scale(1.2);
}

#thank-you-message {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 10px;
    color: #FFD700;
}

.hidden {
    display: none;
}

.fade-in {
    display: block;
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.share-button {
    display: inline-block;
    background-color: white;
    color: #0052CC;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.share-button:hover {
    background-color: #f0f0f0;
}

.app-download {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
    margin-top: 20px;
}

.app-download h2 {
    color: #0044cc;
    font-size: 24px;
    margin-bottom: 10px;
}

.btn-download {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0044cc;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    margin-top: 10px;
    transition: background 0.3s;
}

.btn-download:hover {
    background-color: #002a80;
}
