/* ============================================================
   BOLIGRAFOS PARAGUAY — Estilos Públicos
   ============================================================ */

:root {
    --color-primario: #1A3A6B;
    --color-secundario: #F39C12;
    --color-acento: #2ECC71;
    --color-texto: #2C3E50;
    --color-fondo: #F8F9FA;
    --color-error: #E74C3C;
    --font-titulos: 'Oswald', sans-serif;
    --font-cuerpo: 'Nunito', sans-serif;
}

body {
    font-family: var(--font-cuerpo);
    color: var(--color-texto);
    background-color: var(--color-fondo);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-titulos);
    font-weight: 600;
}

/* --- Navbar --- */
.navbar-brand {
    font-family: var(--font-titulos);
}

/* --- Hero / Banners --- */
.hero-section {
    background: linear-gradient(135deg, var(--color-primario), #0d2240);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
}
.hero-section p.lead {
    font-size: 1.2rem;
    opacity: .9;
}

/* --- Botones --- */
.btn-cta {
    background-color: var(--color-secundario);
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-weight: 700;
    font-family: var(--font-titulos);
    font-size: 1.05rem;
    letter-spacing: .5px;
    border-radius: 6px;
    transition: all .3s ease;
}
.btn-cta:hover {
    background-color: #e08e0b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243,156,18,.4);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    border: none;
}
.btn-whatsapp:hover {
    background-color: #1da851;
    color: #fff;
}

/* --- Cards de Producto --- */
.card-producto {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all .3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.card-producto:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
}
.card-producto .card-img-top {
    height: 220px;
    object-fit: contain;
    padding: 20px;
    background: #fff;
}
.card-producto .card-body {
    padding: 20px;
}
.card-producto .precio-desde {
    font-family: var(--font-titulos);
    font-size: 1.1rem;
    color: var(--color-primario);
    font-weight: 700;
}
.card-producto .badge-stock {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: .75rem;
}

/* --- Color Selector --- */
.color-selector {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.color-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all .2s;
    position: relative;
}
.color-dot:hover,
.color-dot.active {
    border-color: var(--color-primario);
    transform: scale(1.15);
}
.color-dot.active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: bold;
}
.color-dot.agotado {
    opacity: .3;
    cursor: not-allowed;
    position: relative;
}
.color-dot.agotado::after {
    content: '✕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-error);
    font-weight: bold;
}

/* --- Calculadora / Cotizador --- */
.cotizador-box {
    background: #fff;
    border: 2px solid var(--color-primario);
    border-radius: 12px;
    padding: 24px;
}
.cotizador-total {
    font-family: var(--font-titulos);
    font-size: 2rem;
    color: var(--color-primario);
    font-weight: 700;
}
.cotizador-desglose {
    font-size: .9rem;
    color: #666;
}
.cotizador-desglose dt {
    font-weight: 600;
}

/* --- Sección Cómo Funciona --- */
.paso-item {
    text-align: center;
    padding: 20px;
}
.paso-numero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-secundario);
    color: #fff;
    font-family: var(--font-titulos);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

/* --- Sección CTA --- */
.cta-section {
    background: linear-gradient(135deg, var(--color-secundario), #e67e22);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .card-producto .card-img-top {
        height: 180px;
    }
}
