:root {
    /* Paleta de colores principal */
    --color-primary-dark: #256C68;
    --color-primary: #349893;
    --color-primary-light: #49C1BB;
    --color-primary-lighter: #76D0CC;
    
    /* Color CTA */
    --color-cta: #f16440;
    
    /* Texto y fondos */
    --color-text: #1a1a1a;
    --color-background: #ffffff;
    --color-gray-100: #f7f7f7;
    --color-gray-200: #e9e9e9;
    
    /* Fuentes */
    --font-primary: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
}

/* Utilidades */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-cta);
    color: white;
}

.btn-outline {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline-white {
    border: 2px solid var(--color-gray-200);
    color: var(--color-gray-100);
}

/* Header y Navegación */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-background);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-container .logo img {
    height: 42px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
}

.nav-auth {
    display: flex;
    gap: 1rem;
}

/* Responsive */
.mobile-menu-btn {
    display: none;
}

@media (max-width: 768px) {
    .nav-links, .nav-auth {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    .mobile-menu-btn span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--color-text);
        margin: 5px 0;
        transition: all 0.3s ease;
    }
}

/* Estilos del Hero */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-lighter));
    color: white;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
}


/* Agregar al final del archivo CSS */

/* Sección Servicios */
.servicios {
    padding: 6rem 0;
    background-color: var(--color-gray-100);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--color-text);
    opacity: 0.8;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.servicio-card {
    background: var(--color-background);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.servicio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.servicio-card.featured {
    border: 2px solid var(--color-primary-light);
}

.servicio-icon {
    background: var(--color-gray-100);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.servicio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.servicio-card p {
    color: var(--color-text);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.btn-text {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.btn-text:hover {
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .servicios {
        padding: 4rem 0;
    }

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

    .servicios-grid {
        grid-template-columns: 1fr;
        padding: 0.5rem;
    }
}


/* Agregar al final del archivo CSS */

/* Sección Planes */
.planes {
    padding: 6rem 0;
    background: var(--color-background);
}

/* Tabs de categorías */
.planes-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: var(--color-gray-100);
    border-radius: 6px;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: var(--color-primary);
    color: white;
}

/* Contenedor de planes */
.planes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
    display: none;
}

.planes-container.active {
    display: grid;
}

/* Tarjetas de planes */
.plan-card {
    background: var(--color-background);
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.plan-card.popular {
    border: 2px solid var(--color-primary);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--color-cta);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-header h3 {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.plan-precio {
    margin-bottom: 1rem;
}

.plan-precio .precio {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
}

.plan-precio .periodo {
    font-size: 1rem;
    color: var(--color-text);
    opacity: 0.7;
}

.plan-features {
    margin-bottom: 2rem;
}

.plan-features ul {
    list-style: none;
    padding: 0;
}

.plan-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-gray-200);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-features li::before {
    content: "✓";
    color: var(--color-primary);
    font-weight: bold;
}

.plan-cta {
    text-align: center;
}

.plan-cta .btn {
    width: 100%;
}

.btn-cta {
    background: var(--color-cta);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(241, 100, 64, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .planes-tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        width: calc(50% - 0.5rem);
        text-align: center;
    }

    .plan-card {
        margin: 0 1rem;
    }
}

/* Agregar al final del archivo CSS */

/* Sección Nosotros */
/* Actualizar/Agregar al archivo CSS existente */

/* Agregar al final del archivo CSS */

/* Sección Nosotros */
.nosotros {
    padding: 6rem 0;
    background: linear-gradient(
            to bottom,
            var(--color-background) 0%,
            var(--color-gray-100) 100%
    );
}

.nosotros-grid {
    display: grid;
    gap: 4rem;
}

.text-left {
    text-align: left;
}

.mision-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.mision, .vision {
    padding: 2rem;
    background: var(--color-background);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.mision h3, .vision h3 {
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Valores */
.valores {
    margin-top: 3rem;
}

.valores h3 {
    margin-bottom: 2rem;
    font-size: 1.75rem;
    color: var(--color-primary-dark);
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.valor-card {
    padding: 1.5rem;
    background: var(--color-background);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.valor-card:hover {
    transform: translateY(-5px);
}

.valor-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.valor-card h4 {
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

/* Estadísticas */
.nosotros-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--color-background);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--color-text);
    font-size: 1.1rem;
}

/* Equipo */
.team-section {
    margin-top: 4rem;
}

.team-section h3 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.75rem;
    color: var(--color-primary-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

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

.team-member-image.placeholder {
    width: 150px;
    height: 150px;
    background: var(--color-gray-200);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.team-card h4 {
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.team-card p {
    color: var(--color-text);
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .mision-vision {
        grid-template-columns: 1fr;
    }

    .valores-grid {
        grid-template-columns: 1fr;
    }

    .nosotros-stats {
        grid-template-columns: 1fr 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Agregar al final del archivo CSS */

/* Sección Soporte */
.soporte {
    padding: 6rem 0;
    background: var(--color-gray-100);
}

.soporte-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.soporte-opciones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.soporte-card {
    background: var(--color-background);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.soporte-card:hover {
    transform: translateY(-5px);
}

.soporte-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.soporte-card h3 {
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

/* Formulario de contacto */
.contacto-form {
    background: var(--color-background);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contacto-form h3 {
    margin-bottom: 2rem;
    color: var(--color-primary-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-gray-200);
    border-radius: 6px;
    font-family: var(--font-primary);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* Footer */
.footer {
    background: var(--color-primary-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-brand p {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

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

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: white;
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy, .footer-location {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .soporte-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Estilos para páginas legales */
.legal-content {
    padding: 8rem 0 4rem;
}

.legal-header {
    text-align: center;
    margin-bottom: 4rem;
}

.legal-header h1 {
    color: var(--color-primary-dark);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.legal-header p {
    color: var(--color-text);
    opacity: 0.7;
}

.legal-body {
    max-width: 800px;
    margin: 0 auto;
}

.legal-body section {
    margin-bottom: 3rem;
}

.legal-body h2 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.legal-body h3 {
    color: var(--color-text);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem;
}

.legal-body p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-body ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-body li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 6rem 1rem 2rem;
    }

    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-body {
        padding: 0 1rem;
    }
}