/* INICIO — extraido de inicio.php el 20-08-2026 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: linear-gradient(135deg, #15554A, #1f6b5f);
    min-height: 100vh;
    padding: 20px;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.left-section {
    padding: 40px 30px;
    text-align: center;
}

.logo {
    width: 250px;
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.main-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #15554A;
    margin-bottom: 20px;
    line-height: 1.3;
}

.subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.5;
}

.features-list {
    margin-bottom: 30px;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.4;
}

.feature-check {
    width: 18px;
    height: 18px;
    background: #16a34a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 3px;
    flex-shrink: 0;
    margin-top: 2px;
}

.cta-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    padding: 16px 25px;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #15554A;
    color: white;
}

.btn-primary:hover {
    background: #1f6b5f;
}

.btn-outline {
    background: transparent;
    color: #15554A;
    border: 2px solid #15554A;
}

.btn-outline:hover {
    background: #15554A;
    color: white;
}

.contact-info {
    font-size: 0.85rem;
    color: #6b7280;
    text-align: center;
    line-height: 1.5;
}

.contact-email {
    color: #15554A;
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-top: 8px;
}

.right-section {
    background: #f8f9fa;
    padding: 40px 30px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #15554A;
    margin-bottom: 10px;
}

.pricing-subtitle {
    color: #6b7280;
    font-size: 0.9rem;
}

.plans-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.plan {
    background: white;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-radius: 12px;
    position: relative;
}

.plan.featured {
    border: 3px solid #FFD700;
}

.plan-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: #FFD700;
    color: #92400e;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
}

.plan-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #15554A;
    margin-bottom: 5px;
}

.plan-period {
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.plan-features {
    text-align: left;
    margin-bottom: 25px;
}

.plan-feature {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

.plan-feature.included::before {
    content: '✓';
    color: #16a34a;
    font-weight: bold;
    margin-right: 10px;
    width: 15px;
}

.plan-feature.excluded {
    color: #dc2626;
    font-weight: bold;
    text-transform: uppercase;
}

.plan-feature.excluded::before {
    content: '✗';
    color: #dc2626;
    font-weight: bold;
    margin-right: 10px;
    width: 15px;
}

.plan-cta {
    width: 100%;
    padding: 12px;
    font-size: 0.85rem;
}

.footer-credit {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    padding: 15px 20px;
    background: linear-gradient(135deg, #15554A, #1f6b5f);
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    body {
        padding: 20px;
        min-height: 100vh;
        background: linear-gradient(135deg, #15554A, #1f6b5f);
    }
    
    .content-wrapper {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        min-height: auto;
    }
    
    .left-section {
        padding: 40px 30px;
        text-align: center;
    }
    
    .right-section {
        padding: 40px 30px;
    }
    
    .logo {
        width: 250px;
        margin: 0 auto 20px;
    }
    
    .main-title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .features-list {
        max-width: 600px;
        margin: 0 auto 20px;
    }
    
    .feature-item {
        font-size: 0.95rem;
    }
    
    .cta-section {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 14px 20px;
    }
    
    .pricing-header {
        text-align: center;
        margin-bottom: 25px;
    }
    
    .pricing-title {
        font-size: 1.6rem;
    }
    
    .plans-container {
        flex-direction: column;
        gap: 20px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .plan {
        padding: 25px 20px;
    }
    
    .plan.featured {
        transform: none;
    }
    
    .plan-name {
        font-size: 1.2rem;
    }
    
    .plan-price {
        font-size: 2.2rem;
    }
    
    .plan-feature {
        font-size: 0.85rem;
    }
    
    .footer-credit {
        margin-top: 30px;
        border-radius: 0 0 16px 16px;
    }
}

/* Portátiles pequeños */
@media (min-width: 1024px) and (max-width: 1399px) {
    body {
        padding: 20px;
        min-height: 100vh;
        background: linear-gradient(135deg, #15554A, #1f6b5f);
    }
    
    .content-wrapper {
        max-width: 100%;
        min-height: auto;
        display: flex;
        flex-direction: row;
        margin: 0;
    }
    
    .left-section {
        flex: 0.9;
        padding: 30px 25px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .right-section {
        flex: 1.1;
        padding: 30px 25px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow-y: auto;
    }
    
    .logo {
        width: 200px;
        margin-bottom: 15px;
    }
    
    .main-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    
    .subtitle {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .features-list {
        margin-bottom: 20px;
    }
    
    .feature-item {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .feature-check {
        width: 18px;
        height: 18px;
        font-size: 11px;
        margin-right: 10px;
    }
    
    .cta-section {
        flex-direction: column;
        gap: 10px;
        max-width: 300px;
    }
    
    .btn {
        font-size: 0.85rem;
        padding: 12px 20px;
        min-width: auto;
    }
    
    .pricing-header {
        margin-bottom: 20px;
    }
    
    .pricing-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .pricing-subtitle {
        font-size: 0.9rem;
    }
    
    .plans-container {
        flex-direction: row;
        gap: 15px;
    }
    
    .plan {
        padding: 20px 15px;
        flex: 1;
    }
    
    .plan.featured {
        transform: none;
        border-width: 2px;
    }
    
    .plan-badge {
        font-size: 0.65rem;
        padding: 3px 8px;
        top: -8px;
        right: 10px;
    }
    
    .plan-name {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .plan-price {
        font-size: 2rem;
        margin-bottom: 5px;
    }
    
    .plan-period {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
    
    .plan-features {
        margin-bottom: 15px;
    }
    
    .plan-feature {
        font-size: 0.75rem;
        padding: 5px 0;
    }
    
    .plan-cta {
        font-size: 0.8rem;
        padding: 10px;
    }
    
    .footer-credit {
        margin-top: 20px;
        border-radius: 0 0 16px 16px;
        font-size: 0.75rem;
        padding: 10px 15px;
    }
}

/* Desktop estándar */
@media (min-width: 1400px) {
    body {
        padding: 40px;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #15554A, #1f6b5f);
    }
    
    .content-wrapper {
        max-width: 1400px;
        min-height: 700px;
        display: flex;
        flex-direction: row;
        border-radius: 16px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.3);
        margin: 20px;
        background: white;
    }
    
    .left-section {
        flex: 1;
        padding: 50px 60px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: left;
    }
    
    .right-section {
        flex: 1;
        padding: 50px 60px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow-y: auto;
        background: #f8f9fa;
    }
    
    .logo {
        width: 350px;
        margin-bottom: 20px;
    }
    
    .main-title {
        font-size: 2.6rem;
        margin-bottom: 15px;
        line-height: 1.1;
    }
    
    .subtitle {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .features-list {
        margin-bottom: 25px;
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }
    
    .feature-item {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .feature-check {
        width: 22px;
        height: 22px;
        font-size: 13px;
        margin-right: 15px;
    }
    
    .cta-section {
        gap: 20px;
        max-width: none;
        flex-direction: row;
        margin-left: 0;
        margin-right: 0;
    }
    
    .btn {
        font-size: 1.1rem;
        padding: 18px 35px;
        min-width: 220px;
    }
    
    .pricing-header {
        margin-bottom: 25px;
    }
    
    .pricing-title {
        font-size: 2.0rem;
        margin-bottom: 10px;
    }
    
    .pricing-subtitle {
        font-size: 1.1rem;
    }
    
    .plans-container {
        gap: 20px;
        max-width: none;
        flex-direction: row;
    }
    
    .plan {
        padding: 30px 20px;
        flex: 1;
    }
    
    .plan.featured {
        transform: scale(1.05);
        border-width: 3px;
    }
    
    .plan-name {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .plan-price {
        font-size: 3.0rem;
        margin-bottom: 8px;
    }
    
    .plan-period {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .plan-features {
        margin-bottom: 20px;
    }
    
    .plan-feature {
        font-size: 0.95rem;
        padding: 6px 0;
    }
    
    .plan-cta {
        font-size: 1rem;
        padding: 15px;
    }
    
    .footer-credit {
        position: fixed;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.8rem;
        background: rgba(21, 85, 74, 0.95);
        padding: 12px 30px;
        border-radius: 8px;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        text-align: center;
        white-space: nowrap;
        max-width: 90%;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Extra Large Desktop */
@media (min-width: 1600px) {
    .content-wrapper {
        max-width: 1600px;
    }
    
    .logo {
        width: 400px;
    }
    
    .main-title {
        font-size: 3.0rem;
    }
}

/* =============================================================
   MOVIL — 20-08-2026
   El bloque de arriba era tan alto que "EMPEZAR GRATIS" caia por
   debajo del primer pantallazo: el visitante veia el titular y
   tenia que adivinar que habia un boton mas abajo. Se compacta
   todo y, sobre todo, el boton sube por delante de la lista de
   ventajas: primero la promesa y la accion, y el detalle despues.
   Va al final y en max-width para no tocar escritorio.
   ============================================================= */
@media (max-width: 767px) {
    body {
        padding: 10px;
    }

    .left-section {
        padding: 22px 18px 26px;
        display: flex;
        flex-direction: column;
    }
    .logo         { order: 1; }
    .main-title   { order: 2; }
    .subtitle     { order: 3; }
    .cta-section  { order: 4; }
    .features-list{ order: 5; }

    .logo {
        width: 165px;
        margin: 0 auto 14px;
    }

    .main-title {
        font-size: 1.42rem;
        line-height: 1.22;
        margin-bottom: 10px;
    }

    .subtitle {
        font-size: 0.9rem;
        line-height: 1.45;
        margin-bottom: 16px;
    }

    .cta-section {
        margin-bottom: 0;
        gap: 10px;
    }

    .btn {
        padding: 14px 20px;
    }

    .features-list {
        margin: 20px auto 0;
    }

    .feature-item {
        font-size: 0.88rem;
        margin-bottom: 9px;
    }

    .right-section {
        padding-top: 4px;
    }
}
