/*
 * BONUX — Public CSS
 * Archivo: /styles/bonux-public.css
 * Uso: index.php | /tucredito/index.php | /tucredito/gracias.php | /tucomercio/index.php
 * ─────────────────────────────────────────────────────────────────────────────
 * Tipografía ajustada para target +40, barrio, mobile-first.
 * Base aumentada de 16px → 17px. Textos secundarios subidos ~1-2px en desktop,
 * y media queries mobile más generosos.
 */

/* =============================================
   VARIABLES Y BASE
============================================= */
:root {
    --verde:       #8bc34a;
    --verde-vivo:  #7cb342;
    --verde-claro: #aed581;
    --verde-pale:  #f1f8e9;
    --dark:        #2c3e50;
    --dark2:       #1e2d3d;
    --dark3:       #263040;
    --gris:        #ecf0f1;
    --texto:       #2c3e50;
    --texto-suave: #637074;
    --blanco:      #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Barlow', sans-serif;
    font-size: 17px;         /* +40 target: base subida de 16 a 17px */
    line-height: 1.6;
    color: var(--texto);
    overflow-x: hidden;
    background: var(--blanco);
}

/* =============================================
   NAVBAR
============================================= */
.bx-navbar {
    background: var(--dark2);
    padding: 0.9rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--verde);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bx-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--blanco);
    text-decoration: none;
    letter-spacing: -1px;
}

.bx-logo span { color: var(--verde); }

.bx-nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bx-nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s;
}

.bx-nav-links a:hover { color: var(--verde-claro); }

.bx-nav-cta {
    background: var(--verde);
    color: var(--dark2) !important;
    font-weight: 700 !important;
    padding: 0.4rem 1.1rem;
    border-radius: 6px;
    transition: background 0.2s !important;
}

.bx-nav-cta:hover {
    background: var(--verde-claro) !important;
    color: var(--dark2) !important;
}

.bx-nav-sep {
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,0.18);
    flex-shrink: 0;
}

.bx-nav-util {
    color: rgba(255,255,255,0.45) !important;
    font-size: 0.82rem !important;
    font-weight: 400 !important;
}

.bx-nav-util:hover { color: rgba(255,255,255,0.75) !important; }

/* =============================================
   HERO
============================================= */
.bx-hero {
    background: var(--dark2);
    min-height: 82vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0 3rem;
}

.bx-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 75% 30%, rgba(139,195,74,0.10) 0%, transparent 55%),
        radial-gradient(circle at 10% 80%, rgba(139,195,74,0.06) 0%, transparent 45%);
    pointer-events: none;
}

.bx-hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(139,195,74,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139,195,74,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.bx-hero-content { position: relative; z-index: 2; }

.bx-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139,195,74,0.12);
    border: 1px solid rgba(139,195,74,0.3);
    color: var(--verde-claro);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.bx-hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 800;
    color: var(--blanco);
    line-height: 1.05;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
}

.bx-hero-title .accent { color: var(--verde); }

.bx-hero-sub {
    color: rgba(255,255,255,0.62);
    font-size: 1.1rem;        /* subido de 1.05 */
    line-height: 1.8;
    max-width: 480px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.bx-cta-group {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

/* =============================================
   BOTONES
============================================= */
.bx-btn-verde {
    background: var(--verde);
    color: var(--dark2);
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-size: 1rem;          /* subido de 0.95 */
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s, transform 0.15s;
}

.bx-btn-verde:hover {
    background: var(--verde-claro);
    color: var(--dark2);
    transform: translateY(-2px);
}

.bx-btn-ghost {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(255,255,255,0.25);
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-size: 1rem;          /* subido de 0.95 */
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: border-color 0.2s, color 0.2s, transform 0.15s;
}

.bx-btn-ghost:hover {
    border-color: var(--verde);
    color: var(--verde-claro);
    transform: translateY(-2px);
}

.bx-btn-dark {
    background: var(--dark2);
    color: var(--blanco);
    border: none;
    padding: 0.8rem 1.6rem;
    border-radius: 7px;
    font-size: 0.92rem;       /* subido de 0.85 */
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: background 0.2s;
}

.bx-btn-dark:hover { background: var(--dark3); color: var(--blanco); }

.bx-btn-verde-sm {
    background: var(--verde);
    color: var(--dark2);
    border: none;
    padding: 0.8rem 1.6rem;
    border-radius: 7px;
    font-size: 0.92rem;       /* subido de 0.85 */
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: background 0.2s;
}

.bx-btn-verde-sm:hover { background: var(--verde-claro); color: var(--dark2); }

/* =============================================
   STATS BAR
============================================= */
.bx-statsbar {
    background: var(--verde);
    padding: 1.1rem 2rem;
}

.bx-statsbar-inner {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: center;
}

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

.bx-stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--dark2);
    line-height: 1;
}

.bx-stat-lbl {
    font-size: 0.75rem;       /* subido de 0.70 */
    font-weight: 600;
    color: rgba(30,45,61,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.bx-stat-sep {
    width: 1px;
    height: 32px;
    background: rgba(30,45,61,0.2);
}

/* =============================================
   SECCIONES
============================================= */
.bx-section { padding: 4.5rem 0; }
.bx-section-light { background: var(--gris); }
.bx-section-white { background: var(--blanco); }
.bx-section-dark  { background: var(--dark2); }
.bx-section-verde { background: var(--verde-pale); }

.bx-section-eyebrow {
    font-size: 0.75rem;       /* subido de 0.70 */
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--verde-vivo);
    text-align: center;
    margin-bottom: 0.5rem;
}

.bx-section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.1rem;        /* subido de 2rem */
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.bx-section-title-dark { color: var(--blanco); }

.bx-divider {
    width: 36px;
    height: 3px;
    background: var(--verde);
    border-radius: 2px;
    margin: 0.6rem auto 1.25rem;
}

.bx-section-sub {
    text-align: center;
    color: var(--texto-suave);
    font-size: 1rem;          /* subido de 0.97 */
    max-width: 520px;
    margin: 0 auto 2.75rem;
    line-height: 1.8;
}

.bx-section-sub-dark { color: rgba(255,255,255,0.58); }

/* =============================================
   CÓMO FUNCIONA
============================================= */
.bx-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    max-width: 720px;
    margin: 0 auto;
}

.bx-step {
    text-align: center;
    padding: 1.75rem 1rem;
    border-radius: 12px;
    background: var(--blanco);
    border: 0.5px solid #dde3e7;
    transition: border-color 0.2s, transform 0.2s;
}

.bx-step:hover {
    border-color: var(--verde);
    transform: translateY(-4px);
}

.bx-step-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--verde);
    color: var(--dark2);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.bx-step-title {
    font-size: 0.95rem;       /* subido de 0.88 */
    font-weight: 700;
    color: var(--texto);
    margin-bottom: 0.35rem;
}

.bx-step-desc {
    font-size: 0.85rem;       /* subido de 0.78 */
    color: var(--texto-suave);
    line-height: 1.6;
}

/* =============================================
   COMERCIOS
============================================= */
.bx-comercios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.bx-comercio-card {
    background: var(--blanco);
    border: 0.5px solid #dde3e7;
    border-radius: 10px;
    padding: 1.1rem 0.75rem 0.9rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: block;
    color: inherit;
}

.bx-comercio-card:hover {
    border-color: var(--verde);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(139,195,74,0.15);
    color: inherit;
}

.bx-comercio-logo {
    width: 58px;              /* levemente más grande */
    height: 58px;
    border-radius: 10px;
    background: var(--verde-pale);
    border: 1.5px solid rgba(139,195,74,0.35);
    margin: 0 auto 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--verde-vivo);
}

.bx-comercio-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    filter: grayscale(30%);
    transition: filter 0.2s;
}

.bx-comercio-card:hover .bx-comercio-logo img { filter: grayscale(0%); }

.bx-comercio-name {
    font-size: 0.85rem;       /* subido de 0.77 */
    font-weight: 700;
    color: var(--texto);
    margin-bottom: 0.15rem;
    line-height: 1.3;
}

.bx-comercio-loc {
    font-size: 0.78rem;       /* subido de 0.68 */
    color: var(--texto-suave);
}

.bx-comercio-more {
    background: var(--dark2);
    border-radius: 10px;
    padding: 1.1rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    min-height: 120px;
    text-decoration: none;
    transition: background 0.2s;
    border: 0.5px solid rgba(139,195,74,0.2);
}

.bx-comercio-more:hover { background: var(--dark3); }
.bx-comercio-more i { font-size: 1.6rem; color: var(--verde); }
.bx-comercio-more span {
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;       /* subido de 0.75 */
    font-weight: 600;
    text-align: center;
}

/* Card invitación */
.bx-comercio-unirse {
    border: 1.5px dashed rgba(139,195,74,0.4) !important;
    background: var(--verde-pale) !important;
}
.bx-comercio-unirse:hover {
    border-color: var(--verde) !important;
    background: #e8f5d0 !important;
}
.bx-logo-unirse {
    background: rgba(139,195,74,0.15) !important;
    border-color: rgba(139,195,74,0.4) !important;
    color: var(--verde-vivo) !important;
    font-size: 1.4rem !important;
}
.bx-comercio-unirse .bx-comercio-name {
    color: var(--verde-vivo) !important;
    font-weight: 700;
}
.bx-comercio-unirse .bx-comercio-loc {
    color: var(--verde-vivo) !important;
    font-weight: 600;
}

/* =============================================
   DOS AUDIENCIAS
============================================= */
.bx-audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 760px;
    margin: 0 auto;
}

.bx-aud-card {
    border-radius: 14px;
    padding: 2.25rem 1.75rem;
    position: relative;
    overflow: hidden;
}

.bx-aud-card-user { background: var(--verde); }

.bx-aud-card-user::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 120px; height: 120px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.bx-aud-card-comercio {
    background: var(--dark2);
    border: 1px solid rgba(139,195,74,0.25);
}

.bx-aud-icon { font-size: 2rem; margin-bottom: 0.85rem; display: block; }

.bx-aud-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.45rem;       /* subido de 1.35 */
    font-weight: 800;
    color: var(--blanco);
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.bx-aud-card-user .bx-aud-title { color: var(--dark2); }

.bx-aud-text {
    font-size: 0.92rem;       /* subido de 0.85 */
    line-height: 1.7;
    margin-bottom: 1.25rem;
    color: rgba(255,255,255,0.8);
}

.bx-aud-card-user .bx-aud-text { color: rgba(30,45,61,0.78); }

.bx-aud-list { list-style: none; padding: 0; margin: 0 0 1.75rem; }

.bx-aud-list li {
    font-size: 0.9rem;        /* subido de 0.82 */
    padding: 0.3rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: rgba(255,255,255,0.88);
}

.bx-aud-card-user .bx-aud-list li { color: rgba(30,45,61,0.85); }

.bx-aud-list li::before {
    content: '✓';
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
    color: rgba(255,255,255,0.6);
}

.bx-aud-card-user .bx-aud-list li::before { color: rgba(30,45,61,0.5); }

/* =============================================
   POR QUÉ BONUX — 4 CARDS
============================================= */
.bx-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.1rem;
}

.bx-why-card {
    background: var(--blanco);
    border: 0.5px solid #dde3e7;
    border-radius: 12px;
    padding: 1.5rem 1.1rem;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}

.bx-why-card:hover {
    border-color: var(--verde);
    transform: translateY(-3px);
}

.bx-why-icon {
    font-size: 2rem;          /* levemente más grande */
    color: var(--verde-vivo);
    margin-bottom: 0.7rem;
}

.bx-why-title {
    font-size: 0.97rem;       /* subido de 0.90 */
    font-weight: 700;
    color: var(--texto);
    margin-bottom: 0.35rem;
}

.bx-why-desc {
    font-size: 0.85rem;       /* subido de 0.78 */
    color: var(--texto-suave);
    line-height: 1.6;
}

/* =============================================
   CONTACTO COMERCIOS
============================================= */
.bx-contact-box {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.bx-contact-chip {
    display: inline-block;
    background: rgba(139,195,74,0.15);
    border: 1px solid rgba(139,195,74,0.3);
    color: var(--verde-claro);
    font-size: 0.75rem;       /* subido de 0.70 */
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

/* =============================================
   FOOTER
============================================= */
.bx-footer {
    background: #151f2a;
    padding: 2rem;
    text-align: center;
    border-top: 2px solid rgba(139,195,74,0.2);
}

.bx-footer-brand {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blanco);
    letter-spacing: -0.5px;
    margin-bottom: 0.4rem;
}

.bx-footer-brand span { color: var(--verde); }

.bx-footer-text {
    font-size: 0.82rem;       /* subido de 0.78 */
    color: rgba(255,255,255,0.38);
}

.bx-footer-text a { color: var(--verde); text-decoration: none; }

.bx-footer-util {
    margin-top: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.bx-footer-util a {
    font-size: 0.82rem;       /* subido de 0.78 */
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s;
}

.bx-footer-util a:hover { color: var(--verde-claro); }

.bx-footer-util-sep {
    color: rgba(255,255,255,0.2);
    font-size: 0.82rem;
}

/* =============================================
   ANIMACIONES
============================================= */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   RESPONSIVE — TABLET (max 767px)
============================================= */
@media (max-width: 767px) {
    .bx-hero        { min-height: auto; padding: 3rem 0 2.5rem; }
    .bx-audience-grid { grid-template-columns: 1fr; }
    .bx-statsbar-inner { gap: 1.5rem; }
    .bx-stat-sep    { display: none; }
    .bx-navbar      { padding: 0.75rem 1rem; }
    .bx-nav-links   { display: none; }
}

/* =============================================
   RESPONSIVE — MOBILE (max 576px)
   Target +40, barrio, amas de casa
============================================= */
@media (max-width: 576px) {
    body            { font-size: 18px; }  /* base extra generosa en mobile */

    .bx-hero-title  { font-size: 2.2rem; }
    .bx-hero-sub    { font-size: 1.1rem; }
    .bx-comercios-grid { grid-template-columns: repeat(2, 1fr); }

    .bx-section-title   { font-size: 1.8rem; }
    .bx-section-sub     { font-size: 1.05rem; }
    .bx-section-eyebrow { font-size: 0.8rem; }

    .bx-step-title  { font-size: 1rem; }
    .bx-step-desc   { font-size: 0.92rem; }

    .bx-why-title   { font-size: 1rem; }
    .bx-why-desc    { font-size: 0.9rem; }

    .bx-comercio-name { font-size: 0.92rem; }
    .bx-comercio-loc  { font-size: 0.82rem; }

    .bx-aud-title   { font-size: 1.5rem; }
    .bx-aud-text    { font-size: 0.97rem; }
    .bx-aud-list li { font-size: 0.95rem; }

    .bx-stat-num    { font-size: 1.6rem; }
    .bx-stat-lbl    { font-size: 0.78rem; }

    .bx-btn-verde,
    .bx-btn-ghost   { font-size: 1.05rem; padding: 0.95rem 1.75rem; }

    .bx-footer-text,
    .bx-footer-util a,
    .bx-footer-util-sep { font-size: 0.88rem; }
}

/* =============================================
   NAVBAR SECUNDARIO (tucomercio, tucredito)
   .bx-nav-back — botón volver al inicio
============================================= */
.bx-nav-back {
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.2s;
}
.bx-nav-back:hover { color: var(--verde-claro); }

/* =============================================
   EYEBROW ALTERNATIVO (tucomercio usa .bx-eyebrow
   en lugar de .bx-hero-eyebrow)
============================================= */
.bx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(139,195,74,0.12);
    border: 1px solid rgba(139,195,74,0.3);
    color: var(--verde-claro);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.32rem 0.85rem;
    border-radius: 20px;
    margin-bottom: 1.25rem;
}

/* =============================================
   SECCIONES — VARIANTES tucomercio
   (.bx-sec-* en lugar de .bx-section-*)
============================================= */
.bx-sec-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--verde-vivo);
    text-align: center;
    margin-bottom: 0.4rem;
}

.bx-sec-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.5px;
    margin-bottom: 0.4rem;
    color: var(--texto);
}

.bx-sec-title-light { color: var(--blanco); }

.bx-sec-sub {
    text-align: center;
    color: var(--texto-suave);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

/* Hero inner (posición relativa para z-index sobre ::before/::after) */
.bx-hero-inner { position: relative; z-index: 2; }

/* =============================================
   BENEFICIOS (tucomercio)
============================================= */
.bx-benef-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 860px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .bx-benef-grid { grid-template-columns: 1fr; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .bx-benef-grid { grid-template-columns: repeat(2, 1fr); }
}

.bx-benef-card {
    background: var(--blanco);
    border: 0.5px solid #dde3e7;
    border-radius: 12px;
    padding: 1.75rem 1.25rem;
    transition: border-color 0.2s, transform 0.2s;
}

.bx-benef-card:hover {
    border-color: var(--verde);
    transform: translateY(-4px);
}

.bx-benef-icon {
    font-size: 2rem;
    color: var(--verde-vivo);
    margin-bottom: 0.85rem;
}

.bx-benef-title {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--texto);
    margin-bottom: 0.4rem;
}

.bx-benef-desc {
    font-size: 0.85rem;
    color: var(--texto-suave);
    line-height: 1.6;
}

/* =============================================
   PASOS — VARIANTE DARK (tucomercio)
   .bx-steps sobre fondo dark, texto blanco
============================================= */
.bx-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Override: en sección dark los steps tienen fondo semitransparente */
.bx-section-dark .bx-step {
    background: rgba(255,255,255,0.06);
    border: 0.5px solid rgba(139,195,74,0.2);
}

.bx-section-dark .bx-step-title { color: var(--blanco); }

.bx-section-dark .bx-step-desc {
    color: rgba(255,255,255,0.55);
}

/* =============================================
   REQUISITOS (tucomercio)
============================================= */
.bx-req-list {
    list-style: none;
    padding: 0;
    max-width: 480px;
    margin: 0 auto;
}

.bx-req-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid #e8edef;
    font-size: 0.95rem;
    color: var(--texto);
}

.bx-req-list li:last-child { border-bottom: none; }

.bx-req-list li i {
    color: var(--verde-vivo);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* =============================================
   FORMULARIO DE ADHESIÓN (tucomercio)
============================================= */
.bx-form-wrap {
    background: var(--blanco);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    max-width: 680px;
    margin: 0 auto;
}

.bx-form-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--texto);
    text-align: center;
    margin-bottom: 0.25rem;
    letter-spacing: -0.5px;
}

.bx-form-sub {
    text-align: center;
    color: var(--texto-suave);
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--texto);
    margin-bottom: 0.3rem;
}

.form-control, .form-select {
    padding: 0.7rem 1rem;
    border-radius: 8px;
    border: 1.5px solid #dde3e7;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--verde);
    box-shadow: 0 0 0 0.18rem rgba(139,195,74,0.25);
    outline: none;
}

.bx-btn-submit {
    background: var(--verde);
    color: var(--dark2);
    border: none;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    width: 100%;
    transition: background 0.2s, transform 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
}

.bx-btn-submit:hover {
    background: var(--verde-claro);
    color: var(--dark2);
    transform: translateY(-2px);
}

.bx-form-nota {
    font-size: 0.78rem;
    color: var(--texto-suave);
    text-align: center;
    margin-top: 1rem;
    line-height: 1.6;
}

/* =============================================
   ALERTAS (tucomercio, tucredito)
============================================= */
.bx-alert-ok {
    background: var(--verde-pale);
    border: 1.5px solid var(--verde);
    color: var(--verde-vivo);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.bx-alert-err {
    background: #fdf2f2;
    border: 1.5px solid #e57373;
    color: #c62828;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
}

/* =============================================
   RESPONSIVE ADICIONAL — tucomercio
============================================= */
@media (max-width: 767px) {
    .bx-form-wrap { padding: 1.75rem 1.25rem; }
}

@media (max-width: 576px) {
    .bx-sec-title   { font-size: 1.8rem; }
    .bx-sec-sub     { font-size: 1rem; }
    .bx-benef-title { font-size: 1rem; }
    .bx-benef-desc  { font-size: 0.9rem; }
    .bx-req-list li { font-size: 1rem; }
    .bx-form-title  { font-size: 1.6rem; }
}

/* =============================================
   TUCREDITO — Hero, Comercios, Features, Form
============================================= */

/* Navbar inline → reemplazado por clases */
.tc-navbar {
    background: #1e2d3d;
    padding: 0.85rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #8bc34a;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.tc-navbar-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -1px;
}

.tc-navbar-logo span { color: #8bc34a; }

.tc-navbar-back {
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
}

.tc-navbar-back:hover { color: #aed581; }

/* Hero */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-gradient {
    background: linear-gradient(135deg, #1e2d3d 0%, #263040 60%, #1e2d3d 100%);
}

.hero-marca {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-marca::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    color: rgba(255,255,255,0.85);
}

.brand-logo {
    max-width: 300px;
    max-height: 150px;
    margin-bottom: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

/* Galería de comercios */
.marcas-gallery {
    padding: 4rem 0;
    background: var(--gris);
}

.marca-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 100%;
    border: 0.5px solid #dde3e7;
}

.marca-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(139,195,74,0.2);
    border-color: var(--verde);
}

.marca-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    margin-bottom: 1rem;
}

.marca-card:hover img { filter: grayscale(0%); }

.marca-card h4 {
    color: var(--texto);
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

/* Features */
.features-section {
    padding: 5rem 0;
    background: white;
}

.feature-box {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.feature-box:hover { transform: translateY(-5px); }

.feature-icon {
    font-size: 3.5rem;
    color: var(--verde-vivo);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--texto);
}

.feature-text {
    color: var(--texto-suave);
    font-size: 1rem;
    line-height: 1.7;
}

/* Sección formulario */
.form-section {
    padding: 5rem 0;
    background: var(--dark2);
    border-top: 2px solid rgba(139,195,74,0.2);
}

.form-container {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.form-title {
    color: var(--texto);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.5px;
}

.form-subtitle {
    color: var(--texto-suave);
    text-align: center;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.btn-submit {
    background: var(--verde);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    color: var(--dark2);
    transition: all 0.3s ease;
    width: 100%;
    cursor: pointer;
}

.btn-submit:hover {
    background: var(--verde-claro);
    color: var(--dark2);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139,195,74,0.4);
}

/* Footer tucredito */
.tc-footer {
    background: #151f2a;
    color: rgba(255,255,255,0.4);
    text-align: center;
    padding: 1.5rem;
    border-top: 2px solid rgba(139,195,74,0.15);
    font-size: 0.85rem;
}

.tc-footer b { color: #8bc34a; font-weight: 700; }
.tc-footer a { color: #8bc34a; text-decoration: none; }

/* =============================================
   GRACIAS.PHP — Thank you page
============================================= */
.ty-body {
    background: linear-gradient(135deg, #1e2d3d 0%, #263040 60%, #1e2d3d 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow', 'Segoe UI', sans-serif;
}

.thank-you-container {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 700px;
    margin: 2rem;
    text-align: center;
    animation: tySlideIn 0.6s ease-out;
}

@keyframes tySlideIn {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.success-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--verde);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: tyScaleIn 0.5s ease-out 0.3s backwards;
}

@keyframes tyScaleIn {
    from { transform: scale(0); }
    to   { transform: scale(1); }
}

.success-icon i {
    font-size: 4rem;
    color: white;
}

.thank-you-title {
    color: var(--texto);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.thank-you-subtitle {
    color: var(--texto-suave);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.info-box {
    background: var(--gris);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 5px solid var(--verde);
    text-align: left;
}

.info-box h3 {
    color: var(--texto);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box ul li {
    padding: 0.5rem 0;
    color: #555;
    display: flex;
    align-items: center;
    font-size: 0.97rem;
}

.info-box ul li i {
    color: var(--verde-vivo);
    margin-right: 1rem;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.btn-home {
    background: var(--verde);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 50px;
    color: var(--dark2);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

.btn-home:hover {
    background: var(--verde-claro);
    color: var(--dark2);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139,195,74,0.4);
}

/* =============================================
   RESPONSIVE — tucredito + gracias
============================================= */
@media (max-width: 768px) {
    .hero-title          { font-size: 2.5rem; }
    .hero-subtitle       { font-size: 1.1rem; }
    .form-container      { padding: 2rem 1.5rem; }
    .form-title          { font-size: 2rem; }
    .thank-you-container { padding: 2rem 1.5rem; margin: 1rem; }
    .thank-you-title     { font-size: 2rem; }
    .thank-you-subtitle  { font-size: 1rem; }
    .success-icon        { width: 100px; height: 100px; }
    .success-icon i      { font-size: 3rem; }
    .info-box            { padding: 1.5rem; }
}

@media (max-width: 576px) {
    .hero-title    { font-size: 2rem; }
    .feature-icon  { font-size: 2.5rem; }
    .feature-title { font-size: 1.2rem; }
    .feature-text  { font-size: 0.97rem; }
}