/* =====================================================
   ESTILOS GENERALES
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    color: #413D45;
    background: white;
}

/* =====================================================
   FONDOS DE SECCIONES
   ===================================================== */
.section-bg-image {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.section-bg-white {
    background: white;
}

.section-bg-pattern {
    background-color: #F5F2ED;
    position: relative;
    padding: 120px 20px;
}

/* Curva superior para secciones con patrón */
.section-bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: white;
    clip-path: ellipse(100% 100% at 50% 0%);
}

/* Curva inferior para secciones con patrón */
.section-bg-pattern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: white;
    clip-path: ellipse(100% 100% at 50% 100%);
}

/* Asegurar que el contenido esté por encima de las curvas */
.section-bg-pattern .container,
.section-bg-pattern .testimonials-grid {
    position: relative;
    z-index: 1;
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
    background: #F5F2ED;
    padding: 20px 0;
    text-align: center;
}

.header img {
    height: 55px;
    width: auto;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.hero-container {
    text-align: center;
    max-width: 900px;
    width: 100%;
}

.hero h1 {
    font-size: 50px;
    font-weight: 800;
    line-height: 1.2;
    color: #413D45;
    margin-bottom: 30px;
}

.hero .subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #28A4AD;
    margin-bottom: 30px;
}

.hero .description {
    font-size: 20px;
    line-height: 1.6;
    color: #413D45;
    margin-bottom: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.hero .btn {
    display: block;
    margin: 0 auto 40px auto;
    width: fit-content;
}

.feature-list {
    list-style: none;
    margin: 0 auto;
    display: block;
    text-align: left;
    font-size: 22px;
    width: fit-content;
}

.feature-list li {
    font-size: 22px;
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #413D45;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #FAB53A;
    font-weight: bold;
}

/* =====================================================
   BOTONES
   ===================================================== */
.btn {
    display: inline-block;
    padding: 12px 35px;
    background: #28A4AD;
    color: white;
    text-decoration: none;
    border-radius: 28px;
    font-size: 22px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 164, 173, 0.3);
}

.btn-outline {
    background: white;
    color: #28A4AD;
    border: 1px solid #28A4AD;
    padding: 12px 60px;
}

.btn-white {
    background: white;
    color: #28A4AD;
}

/* =====================================================
   SECCIONES GENERALES
   ===================================================== */
section {
    padding: 100px 20px;
}

.what-is-section {
    padding-top: 60px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

h2 {
    font-size: 30px;
    font-weight: 800;
    color: #413D45;
    margin-bottom: 40px;
}

.subtitle-section {
    font-size: 28px;
    font-weight: 600;
    color: #28A4AD;
    margin-bottom: 30px;
    line-height: 1.4;
}

.text-section {
    font-size: 20px;
    color: #413D45;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* =====================================================
   SECCIÓN AUTOR (Jesús Jarque)
   ===================================================== */
.author-section {
    display: grid;
    grid-template-columns: 31% 69%;
    gap: 40px;
    align-items: center;
    max-width: 900px;
    margin: 60px auto;
}

.author-image {
    text-align: center;
}

.author-image img {
    border-radius: 50%;
    width: 100%;
}

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

.author-content .text-section {
    margin-bottom: 20px;
}

.author-bio {
    font-style: italic;
    margin-top: 40px;
}

/* =====================================================
   CÓMO FUNCIONA
   ===================================================== */
.features-bg {
    padding: 80px 20px 100px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border: 1px solid #E4DBCE;
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
}

.feature-card img {
    width: 180px;
    margin-bottom: 30px;
}

.feature-card h3 {
    font-size: 28px;
    font-weight: 800;
    color: #413D45;
    margin-bottom: 20px;
}

.feature-card p {
    font-size: 18px;
    color: #413D45;
    line-height: 1.6;
}

/* =====================================================
   PARA QUIÉN ES
   ===================================================== */
.target-item {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 40px;
    align-items: center;
    margin-bottom: 15px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.target-icon {
    text-align: center;
}

.target-icon img {
    width: 60%;
}

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

.target-content h3 {
    font-size: 28px;
    font-weight: 600;
    color: #28A4AD;
    margin-bottom: 20px;
    line-height: 1.3;
}

.target-content p {
    font-size: 20px;
    color: #413D45;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* =====================================================
   DISPONIBILIDAD
   ===================================================== */
.availability-section {
    padding: 60px 20px;
}
.availability-section h3 {
    font-size: 28px;
    font-weight: 600;
    color: #28A4AD;
    margin-bottom: 30px;
    line-height: 1.3;
}

/* =====================================================
   PLANES Y PRECIOS
   ===================================================== */
.plans-section {
    background: #413D45;
    color: white;
    padding: 100px 20px 150px;
    position: relative;
}

.plans-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: white;
    clip-path: polygon(0 0, 100% 0, 100% 20%, 50% 100%, 0 20%);
}

.plans-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: white;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

.plans-section h2 {
    color: white;
}

/* Toggle de precios */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.pricing-toggle span {
    font-size: 20px;
    color: white;
    transition: all 0.3s;
}

.pricing-toggle .active {
    font-weight: 700;
    color: #FAB53A;
}

.toggle-switch {
    position: relative;
    width: 70px;
    height: 35px;
    background: #28A4AD;
    border-radius: 35px;
    cursor: pointer;
    transition: background 0.3s;
}

.toggle-switch input {
    display: none;
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 29px;
    height: 29px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.toggle-switch input:checked ~ .toggle-slider {
    transform: translateX(35px);
}

/* Grid de planes */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.plan-card {
    background: white;
    color: #413D45;
    border-radius: 30px;
    padding: 40px 35px;
    text-align: center;
    position: relative;
    min-height: 550px;
}

.plan-card.featured {
    border: 2px solid #FAB53A;
    box-shadow: 0 0 30px rgba(250, 181, 58, 0.4);
}

.plan-card h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
}

.plan-card .plan-desc {
    font-size: 15px;
    font-style: italic;
    margin-bottom: 25px;
    min-height: 60px;
    line-height: 1.5;
}

.plan-price {
    font-size: 52px;
    font-weight: 600;
    color: #28A4AD;
    margin: 20px 0;
}

.price-period {
    font-size: 20px;
}

.old-price {
    font-size: 24px;
    color: #999;
    text-decoration: line-through;
    display: block;
    margin-bottom: 10px;
}

.savings-badge {
    background: #FAB53A;
    color: #413D45;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

.plan-card hr {
    border: none;
    border-top: 1px solid #D1D1D1;
    margin: 25px 0;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin: 25px 0;
}

.plan-features li {
    padding: 5px 0;
    padding-left: 30px;
    position: relative;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #FAB53A;
    font-size: 18px;
    font-weight: bold;
}

.plan-features li.disabled {
    color: #999;
    opacity: 0.7;
}

.plan-features li.disabled::before {
    content: "✗";
    color: #C7C7C7;
}

.cta-container {
    margin-top: 50px;
}

/* Responsive para tablets */
@media (max-width: 1200px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Responsive para móviles */
@media (max-width: 640px) {
    .plans-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .plan-card {
        padding: 30px 25px;
        min-height: auto;
    }
}

.btn-contact-plan {
    display: inline-block;
    background: #28a4ad;
    color: white;
    padding: 14px 35px;
    margin:-3px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-contact-plan:hover {
    background: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
/* =====================================================
   TESTIMONIOS
   ===================================================== */
.testimonials-bg {
    padding: 80px 20px 100px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 60px auto 0;
}

.testimonial-card {
    background: white;
    border: 1px solid #E4DBCE;
    border-radius: 30px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
}

.testimonial-text {
    font-size: 18px;
    color: #413D45;
    margin-bottom: 25px;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 18px;
    font-weight: 500;
    color: #413D45;
    text-align: right;
    line-height: 1.4;
}

/* =====================================================
   LOGOS
   ===================================================== */
.logos-section {
    padding: 60px 20px;
}

.logos-intro {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 40px;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.logo-item {
    width: 150px;
}

.logo-item img {
    width: 100%;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: #413D45;
    color: #F5F2ED;
    padding: 60px 20px;
    text-align: center;
}

.footer img {
    width: 150px;
    margin-bottom: 20px;
}

/* =====================================================
   WHATSAPP BUTTON
   ===================================================== */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn svg {
    width: 35px;
    height: 35px;
    fill: white;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 38px;
    }
    
    .hero .subtitle {
        font-size: 16px;
    }
    
    .hero .description {
        font-size: 18px;
        text-align: left;
    }
    
    .feature-list li {
        font-size: 18px;
    }
    
    .btn {
        font-size: 18px;
        padding: 10px 25px;
    }
    
    section {
        padding: 60px 20px;
    }
    
    .features-grid,
    .plans-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .target-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .target-content {
        text-align: center;
    }
    
    .author-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .author-content {
        text-align: center;
    }
    
    .logos-grid {
        gap: 20px;
    }
    
    .logo-item {
        width: 100px;
    }
}
/* Formulario de Contacto */
.contact-form-section {
    padding: 80px 0;
}

.main-contact-form {
    max-width: 800px;
    margin: 40px auto 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: #413D45;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #E4DBCE;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #28A4AD;
    box-shadow: 0 0 0 3px rgba(40, 164, 173, 0.1);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 25px 0;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

.form-note {
    color: #666;
    font-size: 13px;
    margin-top: 15px;
}

.form-success-message {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
}

.form-success-message h3 {
    color: #2e7d32;
    margin-bottom: 10px;
}
#contactForm button[type="submit"] {
    cursor: pointer !important;
}

#contactForm button[type="submit"]:hover {
    cursor: pointer !important;
    opacity: 0.9;
    transform: translateY(-2px);
}

/* =====================================================
   FOOTER GEMIND (ESTILO ANTIGUO - NEGRO CON LOGO)
   ===================================================== */
.gm-footer { 
    background: #1f1f1f; 
    color: #fff; 
    padding: 32px 16px; 
    position: relative; 
    z-index: auto; 
}

.gm-footer a { 
    color: #fff; 
    text-decoration: none; 
}

.gm-footer a:hover, 
.gm-footer .gm-linklike:hover { 
    text-decoration: underline; 
}

.gm-footer__inner { 
    max-width: 1100px; 
    margin: 0 auto; 
    text-align: center; 
}

.gm-footer__brand img { 
    max-width: 160px; 
    height: auto; 
    margin: 0 auto 16px; 
    display: block; 
}

.gm-footer__list { 
    list-style: none; 
    margin: 8px 0 16px; 
    padding: 0; 
}

.gm-footer__list li { 
    display: inline; 
}

.gm-footer__list li + li::before { 
    content: "·"; 
    opacity: 0.6; 
    margin: 0 0.5rem; 
}

.gm-linklike { 
    background: none; 
    border: 0; 
    padding: 0; 
    cursor: pointer; 
    color: inherit; 
    font: inherit; 
}

.gm-footer__copy { 
    opacity: 0.9; 
    font-size: 0.95rem; 
}

/* Sobrescribir el footer antiguo */
.footer {
    display: none;
}
/* =====================================================
   FOOTER GEMIND (ESTILO ANTIGUO - NEGRO CON LOGO)
   ===================================================== */
.gm-footer { 
    background: #1f1f1f; 
    color: #fff; 
    padding: 32px 16px; 
    position: relative; 
    z-index: auto; 
}

.gm-footer a { 
    color: #fff; 
    text-decoration: none; 
}

.gm-footer a:hover, 
.gm-footer .gm-linklike:hover { 
    text-decoration: underline; 
}

.gm-footer__inner { 
    max-width: 1100px; 
    margin: 0 auto; 
    text-align: center; 
}

.gm-footer__brand img { 
    max-width: 160px; 
    height: auto; 
    margin: 0 auto 16px; 
    display: block; 
}

.gm-footer__list { 
    list-style: none; 
    margin: 8px 0 16px; 
    padding: 0; 
}

.gm-footer__list li { 
    display: inline; 
}

.gm-footer__list li + li::before { 
    content: "·"; 
    opacity: 0.6; 
    margin: 0 0.5rem; 
}

.gm-linklike { 
    background: none; 
    border: 0; 
    padding: 0; 
    cursor: pointer; 
    color: inherit; 
    font: inherit; 
}

.gm-footer__copy { 
    opacity: 0.9; 
    font-size: 0.95rem; 
}

/* Sobrescribir el footer antiguo si existe */
.footer {
    display: none;
}
/* Tabla de precios */
.pricing-table {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}
.pricing-table th {
    background: #00BBC3;
    color: white;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
}
.pricing-table td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    color: #333;
}
.pricing-table tr:last-child td {
    border-bottom: none;
}
.pricing-table .plan-name {
    font-weight: 700;
    color: #00BBC3;
    font-size: 18px;
}
.pricing-table .price {
    font-weight: 800;
    font-size: 18px;
    color: #1a1a1a;
}
.savings-badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}
@media (max-width: 600px) {
    .pricing-table {
        font-size: 13px;
    }
    .pricing-table th, .pricing-table td {
        padding: 10px 8px;
    }
}