/* ====================================================== */
/* == CSS DEFINITIVO - CON SVG INCRUSTADO EN HTML == */
/* ====================================================== */

:root {
    --primary-color: #FFC107;
    --text-dark: #212529;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
}

body {
    background-color: #FFFFFF;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

/* --- Barra de Navegación --- */
.navbar {
    background-color: #FFFFFF !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.navbar .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 10px;
}
.navbar .nav-link:hover {
    color: var(--primary-color);
}
.navbar .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 8px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}
.navbar .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
}

/* --- Encabezado (Hero Section) --- */
.hero-header-v2 {
    padding: 100px 20px 80px 20px;
    background-color: #FFF9E6; /* Fondo crema/amarillo pálido */
    color: var(--text-dark);
    text-align: left;
    position: relative;
    overflow: hidden;
}

/* --- ESTILO PARA EL SVG INCRUSTADO --- */
.background-svg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden; /* Evita desbordamientos */
}
.background-svg-wrapper svg {
    width: 100%;
    height: 100%;
    /* fill: #FFFFFF;  Puedes cambiar el color de la curva aquí si quieres */
}

.hero-header-v2 .container {
    position: relative;
    z-index: 1;
}

.hero-header-v2 h1 {
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-header-v2 p {
    font-size: 1.15rem;
    max-width: 550px;
    margin-bottom: 30px;
    color: var(--text-light);
}
.offer-banner {
    background-color: var(--primary-color);
    color: var(--text-dark);
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.offer-banner i { font-size: 0.9em; }
.hero-cta-btn {
    background-color: var(--primary-color);
    color: var(--text-dark);
    font-weight: 700;
    padding: 15px 35px;
    border-radius: 10px;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hero-cta-btn:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}
.hero-character-img {
    max-height: 450px;
    width: auto;
    position: absolute;
    right: 5%;
    bottom: 0;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
    z-index: 2;
}

@media (max-width: 991.98px) {
    .hero-header-v2 { text-align: center; padding-top: 60px; padding-bottom: 20px; }
    .hero-header-v2 h1 { font-size: 2.5rem; }
    .hero-header-v2 p { font-size: 1rem; margin-left: auto; margin-right: auto; }
    .hero-character-img { position: static; max-height: 250px; margin-top: 30px; margin-left: auto; margin-right: auto; display: block; }
    .offer-banner { margin-left: auto; margin-right: auto; }
}

/* --- Sección de Planes --- */
.promo-section {
    padding: 80px 20px;
    background-color: #FFFFFF;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}
.promo-section .section-title { text-align: center; margin-bottom: 50px; font-weight: 600; max-width: 700px; margin-left: auto; margin-right: auto; }
.card { border: 1px solid var(--border-color); border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07); transition: all 0.3s ease; background-color: #FFFFFF; }
.card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); }
.card-body { padding: 2.0rem; }
.card-title { font-weight: 600; font-size: 1.4rem; margin-bottom: 10px; }
.card-cpu-model { font-size: 0.9rem; min-height: 30px; margin-bottom: 15px; }
.price { font-size: 2.8rem; font-weight: 700; color: var(--text-dark); margin: 1rem 0; }
.price .price-term { font-size: 0.9rem; font-weight: 400; color: var(--text-light); }
.features-list { margin: 1.5rem 0; text-align: left; }
.features-list li { margin-bottom: 10px; color: var(--text-light); font-size: 0.95rem; }
.features-list i { color: var(--primary-color); }
.btn-buy {
    background: var(--primary-color);
    color: var(--text-dark);
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.btn-buy:hover { background: #e6b800; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); }
.card.featured { border: 2px solid var(--primary-color); transform: scale(1.05); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); }

/* ====================================================== */
/* == ESTILO PARA EL NUEVO BOTÓN DE PROMOCIONES == */
/* ====================================================== */

.btn-promo {
    background-color: var(--primary-color);
    color: var(--text-dark);
    font-weight: 700;
    border-radius: 50px; /* Para forma de píldora */
    padding: 8px 20px;
    margin-right: 15px;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
    animation: pulse-animation 2s infinite;
    transition: all 0.3s ease;
}

.btn-promo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.5);
    color: var(--text-dark);
    animation-play-state: paused; /* Pausa la animación al pasar el mouse */
}

/* Animación de pulso para atraer la vista */
@keyframes pulse-animation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* ====================================================== */
/* ============== ESTILOS PARA LA SECCIÓN DE FAQ ========== */
/* ====================================================== */

.faq-section {
    padding: 80px 20px;
    background-color: #FFFFFF;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 12px !important; /* Esquinas redondeadas */
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden; /* Para que los bordes redondeados funcionen bien */
}

.accordion-button {
    font-weight: 600;
    color: var(--text-dark);
    background-color: #FFFFFF;
    padding: 1.5rem;
    box-shadow: none; /* Quitar sombra por defecto */
}

/* Estilo del botón cuando está desplegado */
.accordion-button:not(.collapsed) {
    color: var(--text-dark);
    background-color: #FFF9E6; /* Fondo amarillo pálido al abrir */
    box-shadow: none;
}

/* Icono +/- */
.accordion-button::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\2b"; /* Icono '+' */
    background-image: none;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    content: "\f068"; /* Icono '-' */
    transform: rotate(0deg); /* No necesita rotación */
}

.accordion-body {
    background-color: #FFFFFF;
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ====================================================== */
/* == ESTILOS PARA LA PÁGINA "CHEAP VPS" == */
/* ====================================================== */

.page-hero {
    padding: 60px 20px;
    background-color: var(--text-dark);
    color: #FFFFFF;
}

.page-hero h1 {
    font-weight: 700;
}

.pricing-section {
    padding: 80px 20px;
}

.pricing-section:nth-of-type(odd) {
    background-color: var(--bg-light); /* Alterna colores de fondo para cada sección */
}

.section-header {
    margin-bottom: 50px;
}
.location-info {
    margin-top: 20px;
}

.price-container {
    margin: 1rem 0 0.25rem 0;
}
.price-monthly {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
}
.price-term {
    font-size: 1rem;
    color: var(--text-light);
}
.price-annual {
    font-size: 0.9rem;
}

.location-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    overflow: hidden; /* para los bordes redondeados */
}
.location-card-header {
    background-color: var(--text-dark);
    color: #FFFFFF;
    padding: 10px 15px;
    font-weight: 600;
}
.location-card-header i {
    color: var(--primary-color);
    margin-right: 10px;
}
.location-card-body {
    padding: 20px 15px;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}
.section-header h2 {
    font-weight: 700;
}

/* En tu style.css */
.navbar-brand img {
    max-height: 60px; /* <-- Este valor ahora tiene el control total */
    width: auto;
}

/* ====================================================== */
/* == ESTILOS PARA LA PÁGINA "DEDICATED SERVERS" == */
/* ====================================================== */

/* Estilo para la ubicación dentro de la lista de características */
.location-feature {
    font-weight: 600;
    color: var(--text-dark) !important;
}

/* Estilo para el botón de Agotado */
.btn-out-of-stock {
    background-color: #6c757d; /* Gris */
    color: #FFFFFF;
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: not-allowed; /* Muestra un cursor de no permitido */
}

/* ====================================================== */
/* == ESTILO FINAL PARA BANNER Y ENCABEZADO == */
/* ====================================================== */

/* Sección que contiene el nuevo banner */
.banner-section {
    padding-top: 50px;
    background-color: #FFFFFF; /* Fondo blanco */
}

/* El banner llamativo */
.info-banner {
    display: inline-block;
    background-color: var(--bg-light);
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

/* El precio dentro del banner, en amarillo */
.info-banner strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Limpiamos la sección de precios para que no tenga espacio extra arriba */
.pricing-section {
    padding-top: 60px;
}

/* ====================================================== */
/* == ESTILOS PARA EL NUEVO FOOTER == */
/* ====================================================== */

.site-footer {
    background-color: #F0F8FF; /* Fondo azul claro como en tu imagen */
    padding: 80px 0 30px 0;
    font-size: 0.95rem;
}

.footer-logo {
    max-height: 120px; /* Ajusta el tamaño del logo en el footer */
    width: auto;
}

.footer-links h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links ul {
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
}

.payment-logos {
    font-size: 1.8rem;
}
.payment-logos i {
    margin-left: 12px;
}

/* Responsividad para el footer en móviles */
@media (max-width: 767.98px) {
    .site-footer {
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
    }
    .payment-logos {
        margin-top: 20px;
    }
}

/* ====================================================== */
/* == ESTILOS PARA LA PÁGINA "ABOUT.PHP" == */
/* ====================================================== */

.about-section {
    padding: 80px 20px;
    background-color: #FFFFFF;
}

.stats-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.stat-box {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

.stat-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-box .stat-value {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-box .stat-label {
    display: block;
    font-size: 1rem;
    color: var(--text-light);
}

.locations-section {
    padding: 80px 20px;
}

.locations-list span {
    display: inline-block;
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 50px;
    margin: 5px;
    font-weight: 500;
}

/* 1. Arregla la posición de "/monthly" */
.price {
    display: flex;
    align-items: baseline; /* Alinea los textos por su línea base */
    flex-wrap: wrap; /* Permite que se ajuste si es necesario en pantallas muy pequeñas */
}

/* 2. Evita que "Unmetered Bandwidth" se parta en dos líneas */
.features-list li {
    white-space: nowrap;
}
/* --- Secciones Finales --- */
.cta-section { background-color: var(--bg-light); padding: 60px 20px; border-radius: 20px; margin: 0 20px 50px 20px; }
.cta-section h3 { font-weight: 700; font-size: 2.2rem; color: var(--text-dark); }
.cta-section .btn-outline-primary { border-color: var(--primary-color); color: var(--primary-color); font-weight: 600; border-radius: 8px; padding: 12px 30px; transition: all 0.3s ease; }
.cta-section .btn-outline-primary:hover { background-color: var(--primary-color); color: var(--text-dark); }
footer { background-color: var(--text-dark); text-align: center; padding: 40px 20px; color: #f8f9fa; }