/* Estilos para mostrar descuentos en precios VPS */

/* Estilos para la tabla principal */
.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
    margin-right: 8px;
    opacity: 0.7;
}

.discounted-price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.1em;
}

.discount-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
    margin-left: 8px;
    box-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
    animation: pulse 2s infinite;
}

/* Estilos para tarjetas móviles */
.mobile-price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* Estilos para tarjetas móviles COMPACTAS */
.mobile-price-container-compact {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.original-price-mobile {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85em;
    opacity: 0.7;
}

.discounted-price-mobile {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.2em;
}

.discount-badge-mobile {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 3px 6px;
    border-radius: 10px;
    font-size: 0.75em;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
    animation: pulse 2s infinite;
}

/* Animación de pulso para los badges de descuento */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(231, 76, 60, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
    }
}

/* Hover effects */
.discount-badge:hover,
.discount-badge-mobile:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(231, 76, 60, 0.5);
    transition: all 0.3s ease;
}

/* Estilos para cuando no hay descuento */
.price:not(:has(.discount-badge)) {
    color: #2c3e50;
    font-weight: bold;
}

/* Asegurar que la columna de precios mantenga un ancho fijo */
.price {
    max-width: 300px;
    min-width: 280px;
    overflow: visible;
}

/* Contenedor de precios con descuento más compacto */
.price-with-discount-compact {
    width: 100%;
    justify-content: flex-start;
    padding: 2px 0;
    gap: 6px;
}

/* Estilos para destacar el ahorro */
.savings-info {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: bold;
    margin-top: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

/* Estilos para mostrar el porcentaje de ahorro */
.savings-percentage {
    background: #f39c12;
    color: white;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.8em;
    font-weight: bold;
    margin-left: 4px;
}

/* Estilos para precios con descuento */
.price-with-discount {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* Estilos para precios con descuento COMPACTOS (sin expandir la tabla) */
.price-with-discount-compact {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
}

/* Estilos para precios compactos */
.price-with-discount-compact .original-price {
    font-size: 0.75em;
    margin: 0;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    max-width: none;
}

.price-with-discount-compact .discounted-price {
    font-size: 0.95em;
    margin: 0;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    max-width: none;
}

.price-with-discount-compact .discount-badge {
    margin: 0;
    font-size: 0.7em;
    padding: 2px 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Estilos para tarjetas móviles compactas */
.mobile-price-container-compact .original-price-mobile {
    font-size: 0.75em;
    margin: 0;
}

.mobile-price-container-compact .discounted-price-mobile {
    font-size: 1.0em;
    margin: 0;
}

.mobile-price-container-compact .discount-badge-mobile {
    margin: 0;
    font-size: 0.7em;
    padding: 2px 4px;
}

/* Estilos para tarjetas VPS móviles */
.vps-card {
    background: white;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.vps-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.vps-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.vps-card-title h5 {
    margin: 0;
    font-size: 1.3em;
    color: #2c3e50;
    font-weight: 600;
}

.vps-card-subtitle {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-top: 5px;
    display: block;
}

.vps-card-price {
    text-align: right;
    min-width: 120px;
}

.price-amount {
    font-size: 1.4em;
    font-weight: bold;
    color: #2c3e50;
    display: block;
}

.price-period {
    color: #7f8c8d;
    font-size: 0.9em;
}

.vps-card-specs {
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
}

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

.spec-item i {
    color: #3498db;
    font-size: 1.1em;
    width: 20px;
    text-align: center;
}

.spec-item span {
    color: #2c3e50;
    font-size: 0.95em;
}

.vps-card-actions {
    text-align: center;
}

.btn-vps-acquire-mobile {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

.btn-vps-acquire-mobile:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .discount-badge {
        font-size: 0.7em;
        padding: 3px 6px;
        margin-left: 4px;
    }
    
    .original-price {
        font-size: 0.8em;
        margin-right: 4px;
    }
    
    /* Ajustes para precios compactos en móvil */
    .price-with-discount-compact {
        gap: 4px;
    }
    
    .price-with-discount-compact .original-price {
        font-size: 0.7em;
        max-width: none;
    }
    
    .price-with-discount-compact .discounted-price {
        font-size: 0.85em;
        max-width: none;
    }
    
    .price-with-discount-compact .discount-badge {
        font-size: 0.65em;
        padding: 2px 4px;
    }
    
    /* Ajustes para tarjetas móviles - CENTRADO COMPLETO */
    .vps-card {
        margin-bottom: 20px;
        padding: 15px;
        text-align: center;
    }
    
    .vps-card-header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }
    
    .vps-card-title {
        text-align: center;
    }
    
    .vps-card-title h5 {
        text-align: center;
    }
    
    .vps-card-subtitle {
        text-align: center;
    }
    
    .vps-card-price {
        width: 100%;
        text-align: center;
        min-width: auto;
    }
    
    .price-amount {
        text-align: center;
    }
    
    .price-period {
        text-align: center;
    }
    
    .vps-card-specs {
        text-align: center;
    }
    
    .spec-item {
        justify-content: center;
        text-align: center;
    }
    
    .spec-item i {
        text-align: center;
    }
    
    .spec-item span {
        text-align: center;
    }
    
    .mobile-price-container-compact {
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .original-price-mobile {
        font-size: 0.8em;
    }
    
    .discounted-price-mobile {
        font-size: 1.0em;
    }
    
    .discount-badge-mobile {
        font-size: 0.7em;
        padding: 3px 6px;
    }
    
    /* Ajustes para la tabla en móvil */
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    /* Ajustes para la información de ahorro */
    .savings-info {
        margin: 20px 0;
        padding: 12px;
        font-size: 0.85em;
    }
    
    .savings-percentage {
        font-size: 0.75em;
        padding: 3px 8px;
    }
}

/* Mejoras para responsive general */
@media (max-width: 1024px) {
    .price {
        max-width: 280px;
        min-width: 250px;
    }
    
    .price-with-discount-compact {
        gap: 5px;
    }
    
    .price-with-discount-compact .original-price {
        font-size: 0.7em;
    }
    
    .price-with-discount-compact .discounted-price {
        font-size: 0.9em;
    }
    
    .price-with-discount-compact .discount-badge {
        font-size: 0.65em;
        padding: 2px 5px;
    }
}

/* Estilos para pantallas muy pequeñas */
@media (max-width: 480px) {
    .vps-card {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .vps-card-title h5 {
        font-size: 1.1em;
    }
    
    .vps-card-subtitle {
        font-size: 0.9em;
    }
    
    .spec-item {
        padding: 8px 0;
    }
    
    .spec-item span {
        font-size: 0.9em;
    }
    
    .btn-vps-acquire-mobile {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    
    .savings-info {
        padding: 10px;
        font-size: 0.8em;
        margin: 15px 0;
    }
    
    /* Responsive para servicios incluidos en móviles muy pequeños */
    .vps-service-includes-professional {
        margin: 20px 0;
        border-radius: 8px;
    }
    
    .service-includes-container {
        padding: 16px 12px;
        gap: 16px;
    }
    
    .service-includes-header {
        gap: 8px;
    }
    
    .service-title {
        font-size: 1.1em;
        line-height: 1.2;
    }
    
    .service-subtitle {
        font-size: 0.8em;
        line-height: 1.3;
    }
    
    .service-badge {
        font-size: 0.7em;
        padding: 4px 8px;
    }
    
    .service-features-container {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .feature-item-professional {
        padding: 14px;
        gap: 10px;
    }
    
    .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9em;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }
    
    .feature-content h4 {
        font-size: 0.85em;
        margin-bottom: 4px;
        text-align: center;
    }
    
    .feature-content p {
        font-size: 0.75em;
        line-height: 1.3;
        margin-bottom: 4px;
        text-align: center;
    }
    
    .feature-badge {
        font-size: 0.6em;
        padding: 2px 4px;
    }
    
    .btn-service-professional {
        padding: 8px 16px;
        font-size: 0.8em;
    }
    
    .price-amount {
        font-size: 1.2em;
    }
    
    .mobile-price-container-compact {
        gap: 4px;
    }
    
    .original-price-mobile {
        font-size: 0.7em;
    }
    
    .discounted-price-mobile {
        font-size: 0.9em;
    }
    
    .discount-badge-mobile {
        font-size: 0.6em;
        padding: 2px 4px;
    }
}

/* ===== ESTILOS PARA ACORDEÓN FAQ ===== */
.vps-faq {
    margin: 40px 0;
}

.vps-section-title {
    font-size: 2em;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}

.vps-section-subtitle {
    font-size: 1.1em;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 30px;
}

#faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    transition: background-color 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question span {
    font-size: 1.1em;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-question .fa-question-circle {
    color: #3498db;
    font-size: 1.2em;
}

.faq-toggle {
    color: #7f8c8d;
    font-size: 1.1em;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #ffffff;
    padding: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.faq-answer p {
    padding: 0 20px 20px;
    margin: 0;
    line-height: 1.6;
    color: #2c3e50;
    font-size: 1em;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item.active .faq-question {
    background: #e3f2fd;
    border-bottom: 1px solid #e1e8ed;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
    padding: 0 20px 20px 20px;
}

.faq-item.active .faq-answer p {
    opacity: 1;
}

/* ===== ESTILOS PARA SERVICIOS INCLUIDOS PROFESIONAL ===== */
.vps-service-includes-professional {
    margin: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.vps-service-includes-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
    border-radius: 2px;
}

.service-includes-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px 32px;
}

.service-includes-header {
    text-align: center;
    margin-bottom: 48px;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.service-badge i {
    font-size: 0.9em;
    color: #fbbf24;
}

.service-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.service-subtitle {
    font-size: 1.1em;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.service-features-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    padding: 0;
    overflow: visible;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item-professional {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.feature-item-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item-professional:hover::before {
    opacity: 1;
}

.feature-item-professional:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #3b82f6;
    background: linear-gradient(145deg, #ffffff, #f1f5f9);
}

.feature-icon {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #2563eb;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 6px;
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.feature-icon:hover::before {
    opacity: 1;
}

.feature-icon i {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.feature-icon:hover i {
    color: white;
}

.feature-item-professional:hover .feature-icon {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1d4ed8;
    transform: scale(1.05);
}

.feature-content h4 {
    margin: 0 0 12px 0;
    font-size: 1.1em;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    text-align: center;
    width: 100%;
    letter-spacing: -0.025em;
}

.feature-content p {
    margin: 0 0 12px 0;
    font-size: 0.95em;
    color: #475569;
    line-height: 1.5;
    text-align: center;
    width: 100%;
    font-weight: 400;
}

/* Scroll suave para navegación interna */
html {
    scroll-behavior: smooth;
}

/* Offset para navegación interna */
#vps-configurator {
    scroll-margin-top: 20px;
}

/* Estilos para las etiquetas de características */
.feature-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-badge.popular {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    animation: pulse-green 2s infinite;
}

.feature-badge.hot {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    animation: pulse-orange 2s infinite;
}

/* Animaciones para las etiquetas */
@keyframes pulse-green {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(16, 185, 129, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
    }
}

@keyframes pulse-orange {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(245, 158, 11, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
    }
}

.service-cta-container {
    text-align: center;
}

.btn-service-professional {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
    width: auto;
    max-width: 300px;
}

.btn-service-professional:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
    color: white;
    text-decoration: none;
}

.btn-service-professional i {
    font-size: 1.1em;
}

/* Responsive para FAQ */
@media (max-width: 768px) {
    .vps-section-title {
        font-size: 1.6em;
    }
    
    .vps-section-subtitle {
        font-size: 1em;
    }
    
    .faq-question {
        padding: 16px;
    }
    
    .faq-question span {
        font-size: 1em;
    }
    
    .faq-answer p {
        padding: 0 16px 16px;
        font-size: 0.95em;
    }
    
    .faq-toggle {
        font-size: 1em;
    }
    
         /* Responsive para servicios incluidos profesional */
     .vps-service-includes-professional {
         margin: 40px 0;
         border-radius: 20px;
     }
     
     .service-includes-container {
         padding: 32px 24px;
     }
     
     .service-title {
         font-size: 1.8em;
     }
     
     .service-subtitle {
         font-size: 1em;
     }
     
     .service-features-container {
         grid-template-columns: 1fr;
         gap: 20px;
         margin-bottom: 32px;
     }
     
     .feature-item-professional {
         padding: 24px;
         border: 2px solid #e2e8f0;
         box-sizing: border-box;
     }
     
     .btn-service-professional {
         padding: 14px 28px;
         font-size: 0.95em;
         width: auto;
         max-width: 280px;
     }
}

@media (max-width: 480px) {
    .vps-section-title {
        font-size: 1.4em;
    }
    
    .faq-question {
        padding: 14px;
    }
    
    .faq-question span {
        font-size: 0.95em;
    }
    
    .faq-answer p {
        padding: 0 14px 14px;
        font-size: 0.9em;
    }
    
         /* Responsive para servicios incluidos profesional en móvil */
     .vps-service-includes-professional {
         margin: 25px 0;
         border-radius: 12px;
     }
     
     .service-includes-container {
         padding: 20px 16px;
         gap: 18px;
     }
     
     .service-includes-header {
         gap: 10px;
     }
     
     .service-title {
         font-size: 1.3em;
         line-height: 1.2;
     }
     
     .service-subtitle {
         font-size: 0.9em;
         line-height: 1.3;
     }
     
     .service-badge {
         font-size: 0.75em;
         padding: 5px 10px;
     }
     
     .service-features-container {
         gap: 14px;
         margin-bottom: 24px;
     }
     
     .feature-item-professional {
         padding: 16px;
         flex-direction: column;
         text-align: center;
         gap: 12px;
         border: 2px solid #e2e8f0;
         box-sizing: border-box;
     }
     
     .feature-icon {
         width: 40px;
         height: 40px;
         font-size: 1em;
         display: flex;
         align-items: center;
         justify-content: center;
         margin: 0 auto;
     }
     
     .feature-content h4 {
         font-size: 0.95em;
         margin-bottom: 5px;
         text-align: center;
     }
     
     .feature-content p {
         font-size: 0.8em;
         line-height: 1.3;
         margin-bottom: 5px;
         text-align: center;
     }
     
     .feature-badge {
         font-size: 0.65em;
         padding: 2px 5px;
     }
     
         .btn-service-professional {
        padding: 10px 20px;
        font-size: 0.85em;
        width: auto;
        max-width: 240px;
        justify-content: center;
    }
    
    /* Línea azul ajustada para móviles */
    .vps-service-includes-professional::before {
        width: 120px;
    }
}

/* Layout selección de procesador/moneda (coherente con el sitio) */
.selection-controls {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.selection-controls .processor-selection,
.selection-controls .currency-selection {
    background: #ffffff;
    border: 1px solid #e6e9ef;
    border-radius: 10px;
    padding: 12px 16px;
}

.selection-controls h4 {
    margin: 0 0 8px 0;
    font-weight: 600;
    color: #2c3e50;
}

.processor-buttons,
.currency-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.processor-btn,
.currency-btn {
    background: #f7f9fc;
    color: #2c3e50;
    border: 1px solid #e6e9ef;
    border-radius: 8px;
    padding: 8px 14px;
    font-weight: 600;
}

.processor-btn.active,
.currency-btn.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* Estilos optimizados para banderas WebP */
.location-flag {
    width: 40px;
    height: 30px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #e1e8ed;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #ffffff;
}

.location-flag:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Centrado de tarjetas móviles */
.vps-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.vps-card {
    width: 100%;
    max-width: 520px;
}

@media (max-width: 768px) {
    .selection-controls {
        background: transparent !important;
        padding: 0 8px;
    }
    .selection-controls .processor-selection,
    .selection-controls .currency-selection {
        background: #ffffff;
    }
    .vps-cards { padding: 0 8px; }
    
    /* Banderas optimizadas para móvil */
    .location-flag {
        width: 48px;
        height: 36px;
        border-radius: 8px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
    }
    
    /* Iconos centrados en tablets */
    .feature-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }
    
    /* Textos centrados en tablets */
    .feature-content h4,
    .feature-content p {
        text-align: center;
    }
    
    /* Responsive para servicios incluidos profesional en tablets */
    .service-features-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 32px;
        max-width: 100%;
    }
    
    .feature-item-professional {
        padding: 24px;
        border: 2px solid #e2e8f0;
        box-sizing: border-box;
        background: white;
        border-radius: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
    }
    
    .feature-item-professional::before {
        display: none;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5em;
        border-radius: 16px;
        background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    }
    
    .feature-icon::before {
        display: none;
    }
    
    .feature-content h4 {
        font-size: 1.1em;
        font-weight: 600;
        margin-bottom: 12px;
    }
    
    .feature-content p {
        font-size: 0.95em;
        margin-bottom: 12px;
    }
    
    /* Línea azul ajustada para tablets */
    .vps-service-includes-professional::before {
        width: 150px;
    }
}

/* ===== ESTILOS PARA GALERÍA DE IMÁGENES ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin: 15px 0;
    max-width: 600px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2em;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

.gallery-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 6px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-title {
    font-size: 0.65em;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

/* Modal de galería */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    opacity: 1;
}

.gallery-modal .modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
}

.gallery-modal .modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.gallery-modal .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2.5em;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1002;
    border-radius: 50%;
}

.gallery-modal .modal-close:hover {
    color: #ff6b6b;
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.gallery-modal .modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 1001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal .modal-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.gallery-modal .modal-nav.prev {
    left: 20px;
}

.gallery-modal .modal-nav.next {
    right: 20px;
}

.gallery-modal .modal-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
}

.gallery-modal .modal-nav:disabled:hover {
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
        gap: 6px;
        max-width: 350px;
    }
    
    .gallery-image {
        height: 85px;
    }
    
    .gallery-overlay {
        padding: 5px;
    }
    
    .gallery-title {
        font-size: 0.6em;
    }
    
    .gallery-modal .modal-content {
        max-width: 95%;
        max-height: 95%;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    
    .gallery-modal .modal-nav {
        padding: 10px 8px;
        font-size: 1em;
        width: 35px;
        height: 35px;
    }
    
    .gallery-modal .modal-nav.prev {
        left: 15px;
    }
    
    .gallery-modal .modal-nav.next {
        right: 15px;
    }
    
    .gallery-modal .modal-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 2.2em;
    }
}

/* Responsive para pantallas muy pequeñas */
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
        gap: 5px;
        max-width: 300px;
    }
    
    .gallery-image {
        height: 75px;
    }
    
    .gallery-overlay {
        padding: 4px;
    }
    
    .gallery-title {
        font-size: 0.55em;
    }
}

/* Responsive para pantallas extra pequeñas */
@media (max-width: 360px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
        gap: 4px;
        max-width: 250px;
    }
    
    .gallery-image {
        height: 65px;
    }
    
    .gallery-overlay {
        padding: 3px;
    }
    
    .gallery-title {
        font-size: 0.5em;
    }
    
    .gallery-modal .modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 2em;
    }
}
