.plans-section {
    background: var(--light-bg);
}

.plans-section .section-title {
    text-align: center;
    font-size: 3rem;
    max-width: 800px;
    margin: 0 auto 80px;
    line-height: 1.2;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.plan-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.07);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid transparent;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.12);
}

.plan-card.featured {
    border-color: var(--primary);
    box-shadow: 0 20px 56px rgba(244, 180, 0, 0.2);
}

.plan-card.featured:hover {
    box-shadow: 0 32px 72px rgba(244, 180, 0, 0.28);
}

.plan-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    background: var(--primary);
    color: var(--dark-green);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
}

.plan-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #eef4ea;
}

.plan-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.plan-card:hover .plan-card-image img {
    transform: scale(1.06);
}

.plan-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 32px 28px 24px;
}

.plan-card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--dark-green);
}

.plans-section .price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.plans-section .price .woocommerce-Price-amount {
    color: inherit;
}

.plan-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

.plan-description p {
    margin: 0;
}

.plan-features {
    margin-top: auto;
    margin-bottom: 0;
    padding: 0;
    list-style: none;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.4;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-feature-icon {
    flex-shrink: 0;
    color: var(--dark);
    margin-top: 2px;
}

.plan-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 28px 28px;
    text-align: center;
    background: var(--dark-green);
    color: white;
    padding: 16px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.plan-btn:hover {
    background: var(--dark);
    transform: translateY(-2px);
}

.plan-card.featured .plan-btn {
    background: var(--primary);
    color: var(--dark-green);
}

.plan-card.featured .plan-btn:hover {
    background: #e0a800;
}

.plans-why {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center;
    margin-top: 56px;
    padding: 40px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e6ece5;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.plans-why h3 {
    font-size: 1.8rem;
    line-height: 1.25;
    margin-bottom: 14px;
}

.plans-why p {
    color: #666;
    line-height: 1.7;
}

.plans-why ul {
    display: grid;
    gap: 14px;
}

.plans-why li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #444;
    line-height: 1.5;
}

.plans-why li span {
    flex: 0 0 auto;
    color: var(--primary);
    margin-top: 2px;
}

@media (max-width: 1024px) {
    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .plans-section .section-title {
        font-size: 2.4rem;
        margin-bottom: 50px;
    }

    .plans-why {
        grid-template-columns: 1fr;
        max-width: 680px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .plan-card-body {
        padding: 24px 20px 16px;
    }

    .plan-btn {
        margin: 0 20px 20px;
    }

    .plans-why {
        padding: 28px 22px;
    }

    .plans-why h3 {
        font-size: 1.45rem;
    }
}

/* Ajustes de consistencia visual */
.plans-grid {
    grid-auto-rows: 1fr;
}

.plan-card {
    min-height: 100%;
    cursor: pointer;
}

.plan-card:focus-visible {
    outline: 3px solid rgba(244, 180, 0, 0.55);
    outline-offset: 4px;
}

.plan-description {
    min-height: 76px;
}

@media (max-width: 480px) {
    .plans-section .section-title {
        font-size: 2rem;
    }

    .plan-description {
        min-height: auto;
    }
}
