#planes {
    margin-top: 80px;
}
/* Variables */
:root {
    --primary-color: #e63946;
    --primary-dark: #c1121f;
    --primary-light: #ffe9e4;
    --text-color: #111827;
    --muted: #4b5563;
    --bg: #f7f8fb;
    --bg-soft: #ffffff;
    --card: #ffffff;
    --border: rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --border-radius: 14px;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background: var(--bg);
    min-height: 100vh;
}

/* Navbar */
.glass-nav {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    padding: 0.8rem 0;
}

.navbar-brand {
    color: var(--text-color) !important;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.4px;
}

.nav-link {
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    transition: var(--transition);
    color: var(--text-color) !important;
    position: relative;
    margin: 0 0.2rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Estilos de títulos */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.5px;
    margin-bottom: 1.25rem;
    text-transform: none;
}

/* Hero Section */

#inicio.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 15%, rgba(230, 57, 70, 0.12), transparent 35%),
                radial-gradient(circle at 85% 10%, rgba(193, 18, 31, 0.1), transparent 32%),
                linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.05));
    pointer-events: none;
}

/* Estilos para botones en dispositivos móviles */
@media (max-width: 768px) {
    .hero .btn {
        width: 100%;
        margin: 10px 0;
    }
    .hero .btn + .btn {
        margin-top: 10px;
    }
    .hero .text-center {
        padding: 0 15px;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.6rem, 4vw, 3.8rem);
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 12px;
}

.hero-copy p {
    color: #374151;
    font-size: 1rem;
    margin-bottom: 10px;
}

.hero-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
    justify-content: center;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #cbd5e1;
    font-weight: 600;
}

.hero-highlights i {
    color: var(--primary-color);
    margin-right: 4px;
}

.hero-simple {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
}

.cta-btn {
    min-width: 190px;
    text-align: center;
}

/* Hero minimal */
.hero-copy h1,
.hero-copy p {
    display: none;
}

.hero-card {
    display: none;
}

.hero-card-header, .hero-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hero-foot {
    margin-top: 16px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.badge-soft {
    background: rgba(230, 57, 70, 0.15);
    color: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: #e2e8f0;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Secciones y servicios */
.section {
    padding: 120px 0;
    margin-top: 120px;
}

#planes {
    margin-top: 0;
}

.spacer-top {
    height: 140px;
}

.soft-bg {
    background: rgba(255,255,255,0.02);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.service-card {
    background: #ffffff;
    padding: 1.8rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    height: 100%;
    color: var(--text-color);
    text-align: center;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(230,57,70,0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    color: var(--muted);
    display: grid;
    gap: 8px;
}

.service-card li i {
    color: var(--primary-color);
    margin-right: 6px;
}

.service-title {
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text-color);
}

.service-text {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

/* CTA contacto */
.cta-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    color: var(--text-color);
}

.cta-card h2 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.cta-card p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

/* Eliminada la sección de acciones (no hay botones) */

/* Planes */
.plan-card {
    position: relative;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(230, 57, 70, 0.25);
}

.plan-header {
    padding: 1.8rem 1.6rem 1.2rem;
    background: linear-gradient(180deg, rgba(230, 57, 70, 0.08) 0%, rgba(11,18,32,0.9) 100%);
    border-bottom: 1px solid var(--border);
}

.plan-header h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    color: #fff;
    font-weight: 800;
}

.plan-price {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-top: 0.6rem;
}

.plan-speed {
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    color: var(--muted);
}

.plan-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #e2e8f0;
}

.plan-body ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.plan-body li i {
    color: var(--primary-color);
}

.plan-card .btn {
    font-weight: 700;
    border-radius: 10px;
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Precios adicionales */
.price-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.price-list {
    margin-top: 2rem;
}

.price-item {
    padding: 1rem;
    border-radius: 8px;
    background-color: var(--white);
    margin-bottom: 1rem;
}

.price-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.price-item p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0;
}

/* Botones */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    padding: 0.7rem 2rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Listas */
.list-unstyled li {
    margin-bottom: 1rem;
}

.list-unstyled li i {
    color: var(--primary-color);
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
}

footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 0.5rem;
}

footer a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* Badges y características */
.feature-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0.25rem;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3);
    transition: all 0.3s ease;
}

.feature-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(230, 57, 70, 0.4);
}

/* Estadísticas */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 4rem 0;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    display: block;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Características destacadas */
.feature-box {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.15);
}

.feature-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-box p {
    color: var(--text-color);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Call to action */
.cta-section {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.95), rgba(193, 18, 31, 0.95));
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-light-custom {
    background: white;
    color: var(--primary-color);
    padding: 1rem 3rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-light-custom:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .service-card {
        padding: 2rem;
    }

    .plan-card {
        margin-bottom: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}
