:root {
    --primary: #7b0f16;
    --dark: #111;
    --light: #f8f9fa;
}

.text-brand {
    color: var(--primary);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.4);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.page-content {
    padding-top: 80px; /* espacio debajo del navbar */
}

.btn-outline-brand {
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 30px;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
    background: var(--primary);
    color: #fff !important;
}


body {
    font-family: 'Segoe UI', sans-serif;
}

/* NAVBAR */
.navbar {
    background: var(--dark);
}

.navbar-brand,
.nav-link {
    color: #fff !important;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* HERO HOME */
/* HERO INTERNO (mitad del home) */
.hero-inner {
    height: 38vh;              /* mitad aprox de 75vh */
    margin-top: 56px;
    overflow: hidden;
}

.hero-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SECCIONES */
.section-padding {
    padding: 4rem 0;
}

/* FOOTER */
footer {
    background: var(--dark);
    color: #ccc;
}

footer a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.85rem;
}

footer a i {
    font-size: 1.4rem;
    margin: 0 10px;
}

footer a:hover {
    color: var(--primary);
}

/* WHATSAPP FLOAT (GLOBAL) */
.whatsapp-float {
    position: fixed;
    right: 20px;

    /* top: 50%;
    transform: translateY(-50%); */

    bottom: 60px;

    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    color: #fff;
}

/* Para servicios */
.section-title {
    font-weight: 700;
    margin-bottom: 10px;
}

.section-description {
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

.service-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.btn-brand {
    background: var(--primary);
    color: #fff;
    border-radius: 30px;
    padding: 10px 25px;
}

.btn-brand:hover {
    background: #5a0f1c; /* vino oscuro */
}

.btn-outline-brand {
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 30px;
}

.btn-outline-brand:hover {
    background: var(--primary);
    color: #fff;
}

/* CTA SECTION */
.cta-section {
    background: #cccccc;
}

.cta-section h2 {
    color: var(--dark);
}

.cta-section p {
    color: #555;
}


.service-icon {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 15px;
}

/* Para servicios */

/* Linea divisoria */
.section-divider {
    width: 100%;
    max-width: 1200px;
    height: 1px;
    margin: 3rem auto;
    background: linear-gradient(
        to right,
        transparent,
        var(--primary),
        transparent
    );
    opacity: 0.6;
}


/* Para articulos  */

/* ARTÍCULOS */
.article-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.article-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.article-card h5 {
    font-weight: 600;
}

.article-card p {
    color: #666;
}

/* para articulos */