/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #2C3E50;
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #2C3E50;
    text-align: center;
}

.section-divider {
    height: 3px;
    width: 80px;
    background: #3498DB;
    margin: 0 auto 2.5rem;
}

/* Botones y enlaces */
.cta-button {
    display: inline-block;
    background: #3498DB;
    color: #FFFFFF;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.cta-button:hover {
    background: #2980B9;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
}

.text-link {
    color: #3498DB;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.text-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.text-link:hover {
    color: #2980B9;
}

.text-link:hover i {
    transform: translateY(3px);
}

/* Header */
header {
    background: rgba(44, 62, 80, 0.95);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo-title {
    display: flex;
    align-items: center;
    margin-left: 2rem;
}

header .logo {
    width: 50px;
    height: auto;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

header .logo:hover {
    transform: scale(1.05);
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}

/* Navegación */
#main-nav {
    margin-right: 2rem;
}

#main-nav ul {
    display: flex;
    list-style: none;
}

#main-nav ul li {
    margin-left: 2rem;
}

#main-nav ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

#main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498DB;
    transition: width 0.3s ease;
}

#main-nav ul li a:hover {
    color: #3498DB;
}

#main-nav ul li a:hover::after {
    width: 100%;
}

#main-nav .login {
    background: #3498DB;
    color: #FFFFFF;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
}

#main-nav .login:hover {
    background: #2980B9;
}

#main-nav .login::after {
    display: none;
}

/* Menú hamburguesa */
.hamburger {
    display: none;
    cursor: pointer;
    margin-right: 2rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background: #FFFFFF;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    margin-top: 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.7);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 1.5rem;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Sección Introducción */
.intro-section {
    padding: 5rem 0;
    background: #F8F9FA;
}

.intro-card {
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 3rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-card h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #2C3E50;
}

.intro-card p {
    font-size: 1.1rem;
    color: #555555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Sección de Servicios */
.servicios-section {
    padding: 5rem 0;
    background: #FFFFFF;
}

.servicios-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #555555;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.servicios-card {
    background: #F8F9FA;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicios-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.servicios-icon {
    font-size: 2.5rem;
    color: #3498DB;
    margin-bottom: 1.5rem;
}

.servicios-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2C3E50;
}

.servicios-card p, .servicios-card ul {
    color: #555555;
    line-height: 1.8;
}

.servicios-card ul {
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.servicios-card li {
    margin-bottom: 0.8rem;
}

/* Sección de Beneficios */
.beneficios-section {
    padding: 5rem 0;
    background: #F8F9FA;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.icono {
    font-size: 2.5rem;
    color: #3498DB;
    margin-bottom: 1.5rem;
}

.benefit h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2C3E50;
}

.benefit p {
    color: #555555;
    line-height: 1.7;
}

/* Sección de Planes de Suscripción */
.suscripcion-section {
    padding: 5rem 0;
    background: #FFFFFF;
}

.planes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.plan-card {
    background: #F8F9FA;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.plan-header {
    padding: 2rem;
    background: #ECF0F1;
    text-align: center;
    border-bottom: 1px solid #DDD;
}

.plan-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2C3E50;
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3498DB;
    margin-bottom: 0.5rem;
}

.plan-price span {
    font-size: 1rem;
    color: #7F8C8D;
    font-weight: 400;
}

.plan-features {
    padding: 2rem;
}

.plan-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #EEEEEE;
    font-size: 1rem;
    color: #555555;
}

.plan-features li i {
    color: #3498DB;
    margin-right: 0.8rem;
}

.plan-card.featured {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.2);
    border: 2px solid #3498DB;
    z-index: 10;
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-tag {
    position: absolute;
    top: 0;
    right: 0;
    background: #3498DB;
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom-left-radius: 10px;
}

/* Sección de Testimonios */
.testimonios-section {
    padding: 5rem 0;
    background: #F8F9FA;
}

.testimonios-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonio {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: none;
}

.testimonio-content {
    font-style: italic;
    color: #555555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonio-content::before {
    content: '"';
    font-size: 4rem;
    color: #3498DB;
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -15px;
    font-family: 'Playfair Display', serif;
}

.testimonio-author {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.testimonio-author p {
    text-align: right;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.prev-btn, .next-btn {
    background: #3498DB;
    color: #FFFFFF;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background: #2980B9;
}

.slider-dots {
    display: flex;
    margin: 0 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    background: #D1D8E0;
    border-radius: 50%;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #3498DB;
    transform: scale(1.2);
}

/* Sección de Preguntas Frecuentes */
.faq-section {
    padding: 5rem 0;
    background: #FFFFFF;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    background: #F8F9FA;
    color: #2C3E50;
    padding: 1.5rem;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: #ECF0F1;
}

.accordion-header.active {
    background: #3498DB;
    color: #FFFFFF;
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background: #FFFFFF;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding: 1.5rem;
    color: #555555;
    line-height: 1.7;
}

/* Sección de Contacto */
.contacto-section {
    padding: 5rem 0;
    background: #F8F9FA;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contacto-info {
    padding: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: #3498DB;
    margin-right: 1rem;
    width: 30px;
}

.social-media {
    margin-top: 2rem;
    display: flex;
}

.social-media a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #3498DB;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-media a:hover {
    background: #2980B9;
    transform: translateY(-3px);
}

.contacto-form {
    background: #FFFFFF;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contacto-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #2C3E50;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555555;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #DDDDDD;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #3498DB;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Footer */
footer {
    background: #2C3E50;
    color: #FFFFFF;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 50px;
    height: auto;
    margin-right: 1rem;
}

.footer-logo h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-column p {
    color: #ECF0F1;
    opacity: 0.8;
    line-height: 1.7;
}

.footer-column h3 {
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: #ECF0F1;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: #3498DB;
    opacity: 1;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: #ECF0F1;
    opacity: 0.7;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Botón Volver Arriba */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #3498DB;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #2980B9;
    transform: translateY(-5px);
}

/* Media Queries */
@media (max-width: 992px) {
    .contacto-grid {
        grid-template-columns: 1fr;
    }
    
    .contacto-info {
        text-align: center;
    }
    
    .info-item {
        justify-content: center;
    }
    
    .social-media {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Header */
    header {
        padding: 1rem;
    }
    
    header .logo-title {
        margin-left: 1rem;
    }
    
    .hamburger {
        display: block;
    }
    
    #main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #2C3E50;
        padding: 5rem 1.5rem 2rem;
        transition: right 0.4s ease;
        margin-right: 0;
        z-index: 999;
    }
    
    #main-nav.active {
        right: 0;
    }
    
    #main-nav ul {
        flex-direction: column;
    }
    
    #main-nav ul li {
        margin: 1.2rem 0;
    }
    
    /* Hero */
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    /* Sections */
    .servicios-section,
    .beneficios-section,
    .suscripcion-section,
    .testimonios-section,
    .faq-section,
    .contacto-section {
        padding: 3rem 0;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    /* Plan cards */
    .plan-card.featured {
        transform: scale(1);
    }
    
    .plan-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .intro-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .footer-grid {
        gap: 2rem;
    }
}