/* ======================================================
   STYLES.CSS – Bar.LatamPymes.com
   Descripción: Estilos clonados de salvatec.css
   Mantiene identidad visual de LatamPymes
====================================================== */

/* ========================= */
/* === 1. RESETEO GLOBAL === */
/* ========================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #fff;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: #1d4ed8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Utilidades mínimas si no hay Bootstrap */
.container {
    width: min(1120px, 92%);
    margin-inline: auto;
}

.text-center {
    text-align: center;
}

.lead {
    font-size: 1.125rem;
}

/* ========================= */
/* === 2. BOTONES ESTILO === */
/* ========================= */
.btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    transition: .25s ease;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
}

.btn-orange {
    background: #f97316;
    color: #fff;
}

.btn-orange:hover {
    background: #ea580c;
    text-decoration: none;
}

.btn-blue {
    background: #1d4ed8;
    color: #fff;
}

.btn-blue:hover {
    background: #1e40af;
    text-decoration: none;
}

.btn-red {
    background: #e60000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
}

.btn-red:hover {
    background: #cc0000;
    text-decoration: none;
}

.btn-light {
    background: #fff;
    color: #111;
    border: 1px solid #fff;
}

.btn-light:hover {
    filter: brightness(.96);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .9);
}

.btn-outline-light:hover {
    background: #fff;
    color: #000;
    text-decoration: none;
}

.btn-outline-primary {
    background: transparent;
    color: #0d6efd;
    border-color: #0d6efd;
}

.btn-outline-primary:hover {
    background: #eff6ff;
    text-decoration: none;
}

/* ========================= */
/* === 2.1 Brand lockup  === */
/* ========================= */
.brand-lockup {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .45rem;
    letter-spacing: .2px;
}

.brand-word {
    font-weight: 800;
    font-size: 1.6rem;
    line-height: 1;
}

.brand-latam {
    color: #ffffff;
}

/* Blanco sobre barra azul */
.brand-pymes {
    color: #e60023;
}

/* Rojo marca */
.brand-tagline {
    color: #ffffff;
    font-weight: 700;
    opacity: .95;
    font-size: 1.3rem;
}

.hero-sub {
    color: #e5e7eb;
    /* Gris claro accesible en azul #143a68 */
    font-size: 1rem;
    margin-top: .25rem;
    text-align: center;
}

@media (max-width:768px) {
    .brand-word {
        font-size: 1.35rem;
    }

    .brand-tagline {
        font-size: 1.1rem;
    }

    .hero-sub {
        font-size: .95rem;
    }
}

/* ============================ */
/* === 3. HEADER PRINCIPAL  === */
/* ============================ */
.hero-header {
    position: relative;
    background-color: #143a68;
    color: #fff;
    padding: 1rem;
    text-align: center;
    overflow: hidden;
}

.hero-texto {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    animation: fadeInDown 1s ease;
}

.hero-title span {
    font-size: 1.5rem;
    font-weight: 700;
}

.hero-texto h1 {
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.3;
}

.hero-texto p {
    font-size: .95rem;
    line-height: 1.4;
    margin: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

/* ============================ */
/* === BOTÓN WHATSAPP FIXED === */
/* ============================ */
.btn-whatsapp {
    position: fixed;
    color: #25D366;
    top: 10px;
    right: 10px;
    z-index: 1000;
    font-size: 1.8rem;
    padding: .75rem;
    text-align: center;
}

.btn-whatsapp:hover {
    transform: scale(1.1);
}

/* ============================ */
/* === 4. HERO CON IMAGEN   === */
/* ============================ */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: 72vh;
    background: #0c1d3c url("../assets/img/hero-bar.png") center/cover no-repeat;
}

@media (max-width:768px) {
    .hero-visual {
        min-height: 520px;
        background-image: url("../assets/img/hero-bar-mobile.png");
    }
}

.hero-visual picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
}

.hero-visual picture img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg,
            rgba(12, 29, 60, .92) 0%,
            rgba(12, 29, 60, .70) 45%,
            rgba(12, 29, 60, .35) 70%,
            rgba(12, 29, 60, 0) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 46%;
    margin-left: 5%;
    padding: 1rem 0;
    background: transparent;
    transform: none;
    top: auto;
    left: auto;
}

.hero-content h1 {
    font-size: clamp(2rem, 3.5vw + .25rem, 3.2rem);
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 .75rem;
}

.hero-content p {
    font-size: clamp(1rem, .6vw + .85rem, 1.25rem);
    margin: 0 0 1.25rem;
    opacity: .95;
}

.btn-red {
    box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
}

@media (max-width:768px) {
    .hero-visual::before {
        background: linear-gradient(to bottom,
                rgba(12, 29, 60, .92) 0%,
                rgba(12, 29, 60, .60) 50%,
                rgba(12, 29, 60, .15) 85%);
    }

    .hero-content {
        max-width: 92%;
        margin: 0 auto;
        text-align: center;
    }
}

/* ============================ */
/* === 5. CTA SECCIÓN     === */
/* ============================ */
.cta-salvatec {
    background: #001f3f;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.cta-salvatec h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-salvatec p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.cta-salvatec .btn-principal {
    background: #ff414d;
    color: #fff;
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 8px;
    font-weight: 700;
    transition: .25s;
    text-decoration: none;
}

.cta-salvatec .btn-principal:hover {
    background: #e0333d;
    text-decoration: none;
}

/* ============================ */
/* === 6. PIE DE PÁGINA    === */
/* ============================ */
.footer-salvatec {
    background-color: #143a68;
    color: #ffffff;
    padding: 60px 20px 20px;
    font-size: .95rem;
}

.contenedor-footer {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.columna-footer {
    flex: 1 1 200px;
    min-width: 180px;
}

.columna-footer h4,
.columna-footer h5 {
    color: #ffffff;
    margin-bottom: 15px;
}

.columna-footer p,
.columna-footer ul,
.columna-footer li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.columna-footer a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color .3s;
}

.columna-footer a:hover {
    color: #00d1b2;
}

.footer-legal {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    font-size: .85rem;
    color: #ccc;
}

.footer-note {
    font-size: .9rem;
    opacity: .85;
    margin-top: .5rem;
}

/* ============================ */
/* === 7. RESPONSIVE       === */
/* ============================ */
@media (max-width:768px) {
    .hero-texto h1 {
        font-size: 1.2rem;
    }

    .contenedor-footer {
        flex-direction: column;
    }
}