/* RB Seguros - Seguro de Vida Plugin */

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

.rb-seguro-vida-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a1a;
    background: #fff;
}

/* Header */
.rb-seguro-vida-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: white;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rb-seguro-vida-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    font-size: 1.125rem;
}

.rb-seguro-vida-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #FF9500;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.rb-seguro-vida-back-link {
    color: #FF9500;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.rb-seguro-vida-back-link:hover {
    color: #e68a00;
}

/* Hero Section */
.rb-seguro-vida-hero {
    background: linear-gradient(to bottom, #fff, #f9f9f9);
    padding: 4rem 2rem;
}

.rb-seguro-vida-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.rb-seguro-vida-label {
    color: #FF9500;
    font-weight: bold;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rb-seguro-vida-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0.75rem 0;
    line-height: 1.2;
}

.rb-seguro-vida-description {
    font-size: 1.125rem;
    color: #666;
    margin: 1.5rem 0;
    line-height: 1.6;
}

.rb-seguro-vida-benefits {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.rb-seguro-vida-benefits li {
    padding: 0.75rem 0;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.rb-seguro-vida-hero-image {
    position: relative;
    height: 400px;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.rb-seguro-vida-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Benefits Section */
.rb-seguro-vida-benefits-section {
    background: white;
    padding: 4rem 2rem;
}

.rb-seguro-vida-benefits-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.rb-seguro-vida-benefits-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.rb-seguro-vida-benefits-content > p {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.rb-seguro-vida-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.rb-seguro-vida-benefit-card {
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.rb-seguro-vida-benefit-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.rb-seguro-vida-benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.rb-seguro-vida-benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.rb-seguro-vida-benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Form Section */
.rb-seguro-vida-form-section {
    background: white;
    padding: 4rem 2rem;
}

.rb-seguro-vida-form-content {
    max-width: 700px;
    margin: 0 auto;
}

.rb-seguro-vida-form-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.rb-seguro-vida-form-content > p {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 2rem;
}

.rb-seguro-vida-form {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

.rb-seguro-vida-form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.rb-seguro-vida-form-group input[type="text"],
.rb-seguro-vida-form-group input[type="email"],
.rb-seguro-vida-form-group input[type="tel"],
.rb-seguro-vida-form-group input[type="number"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.rb-seguro-vida-form-group input:focus {
    outline: none;
    border-color: #FF9500;
    box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.1);
}

.rb-seguro-vida-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.rb-seguro-vida-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.rb-seguro-vida-checkbox:hover {
    border-color: #FF9500;
    background: rgba(255, 149, 0, 0.08);
}

.rb-seguro-vida-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
    width: 20px;
    height: 20px;
    accent-color: #FF9500;
}

.rb-seguro-vida-checkbox input[type="checkbox"]:checked {
    accent-color: #FF9500;
}

.rb-seguro-vida-checkbox input[type="checkbox"]:checked + span {
    font-weight: 600;
    color: #FF9500;
}

.rb-seguro-vida-checkbox:has(input[type="checkbox"]:checked) {
    background: rgba(255, 149, 0, 0.25);
    border-color: #FF9500;
    box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.1);
}


.rb-seguro-vida-checkbox span {
    font-size: 0.95rem;
    color: #1a1a1a;
    transition: all 0.2s;
}


.rb-seguro-vida-submit-btn {
    width: 100%;
    padding: 0.75rem;
    background: #FF9500;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 1rem;
}

.rb-seguro-vida-submit-btn:hover {
    background: #e68a00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 149, 0, 0.3);
}

.rb-seguro-vida-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.rb-seguro-vida-form-note {
    font-size: 0.875rem;
    color: #999;
    text-align: center;
    margin-top: 1rem;
}

/* CTA Section */
.rb-seguro-vida-cta-section {
    background: linear-gradient(135deg, #FF9500 0%, #ff8c00 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.rb-seguro-vida-cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.rb-seguro-vida-cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.rb-seguro-vida-whatsapp-btn {
    display: inline-block;
    background: white;
    color: #FF9500;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.125rem;
    transition: all 0.2s;
}

.rb-seguro-vida-whatsapp-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.rb-seguro-vida-footer {
    background: #1a1a1a;
    color: #999;
    padding: 3rem 2rem;
}

.rb-seguro-vida-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.rb-seguro-vida-footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.rb-seguro-vida-footer-section p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.rb-seguro-vida-footer-section a {
    color: #FF9500;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.rb-seguro-vida-footer-section a:hover {
    color: #ffb84d;
}

.rb-seguro-vida-footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .rb-seguro-vida-hero-content {
        grid-template-columns: 1fr;
    }

    .rb-seguro-vida-hero-image {
        height: 300px;
    }

    .rb-seguro-vida-title {
        font-size: 1.75rem;
    }

    .rb-seguro-vida-header {
        flex-direction: column;
        gap: 1rem;
    }

    .rb-seguro-vida-checkboxes {
        grid-template-columns: 1fr;
    }

    .rb-seguro-vida-form {
        padding: 1.5rem;
    }
}

/* Loading state */
.rb-seguro-vida-form.loading .rb-seguro-vida-submit-btn {
    opacity: 0.7;
    pointer-events: none;
}
