/* Variables */
:root {
    --primary: #44406d;
    --primary-hover: #353255;
    --secondary: #6c757d;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --light: #f8f9fa;
    --dark: #343a40;
    --border: #e0e0e0;
    --text: #333;
    --text-light: #666;
}

/* Estilos generales */
.bonos-container {

    padding: 2rem 1rem;
    font-family: 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
}

.hero-bonos {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
}

.hero-bonos .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
    text-align: center;
}

.hero-bonos p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.form-group {
    margin: 10px 0px 25px;
}

.form-group input[type="email"] {
    width: 175px;
    height: 15px;
    padding: 12px;
    border-radius: 12px;
    border: 1.5px solid lightgrey;
    outline: none;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0px 0px 20px -18px;
}

.form-group input[type="email"]:hover {
    border: 2px solid lightgrey;
    box-shadow: 0px 0px 20px -17px;
}

.form-group input[type="email"]:active {
    transform: scale(0.95);
}

.form-group input[type="email"]:focus {
    border: 2px solid grey;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    margin-left: 4px;
}

/* Pestañas */
.bono-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
}

.tab-btn:hover:not(.active) {
    color: var(--primary);
    background: rgba(0, 123, 255, 0.05);
}

/* Contenido de los bonos */
.bono-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.bono-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bono 1: Tarjeta Regalo */
.bono-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.bono-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.bono-info {
    padding: 2rem;
}

.bono-info h2 {
    margin-top: 0;
    font-size: 1.8rem;
    color: var(--dark);
}

.bono-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.bono-form .form-group {
    margin-bottom: 1.5rem;
}

.bono-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.bono-form input,
.bono-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 1rem;
}

.bono-form textarea {
    resize: vertical;
    min-height: 100px;
}

.amount-selector {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.amount-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.amount-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Bono 2: Regalar Servicios */
.bono-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.bono-intro h2 {
    font-size: 1.8rem;
    color: var(--dark);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.servicio-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.servicio-image img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.servicio-info {
    padding: 1.5rem;
}

.servicio-info h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.servicio-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.servicio-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.servicio-price {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary);
}

.btn-add-servicio {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-add-servicio:hover {
    background: var(--primary-hover);
}

.btn-add-servicio.added {
    background: var(--success);
}

.bono-resumen {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.bono-resumen h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: var(--dark);
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.selected-items {
    margin: 1.5rem 0;
}

.selected-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.selected-item:last-child {
    border-bottom: none;
}

.remove-item {
    color: var(--danger);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
}

.empty-message {
    color: var(--text-light);
    text-align: center;
    font-style: italic;
}

.resumen-actions {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

/* Bono 3: Ofertas Especiales */
.ofertas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(410px, 1fr));
    gap: 2rem;
}

.oferta-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.oferta-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--danger);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 1;
}

.oferta-image img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.oferta-info {
    padding: 1.5rem;
}

.oferta-info h3 {
    margin-top: 0;
    font-size: 1.4rem;
    color: var(--dark);
}

.oferta-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.servicios-incluidos h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.servicios-incluidos ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.servicios-incluidos li {
    margin-bottom: 0.5rem;
}

.oferta-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.9rem;
}

.current-price {
    font-weight: bold;
    font-size: 1.3rem;
    color: var(--primary);
}

.discount {
    background: var(--success);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Botón de compra común */
.btn-comprar {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-comprar:hover {
    background: var(--primary-hover);
}

.btn-comprar:disabled {
    background: var(--secondary);
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 992px) {
    .bono-card {
        grid-template-columns: 1fr;
    }

    .bono-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .bono-tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1 0 auto;
        padding: 0.75rem;
        font-size: 1rem;
    }

    .servicios-grid,
    .ofertas-grid {
        grid-template-columns: 1fr;
    }

    .oferta-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}