:root {
    --redes-blue: #2563eb;
    --orange: #ff5100;
    --black: #111111;
    --text: #1a1a1a;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --bg: #f9fafb;
    --white: #ffffff;
}

body { background: var(--white); color: var(--text); }

/* ===== BREADCRUMB ===== */
.breadcrumb-bar {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 5px 0;
    margin-top: 107px;
}
.breadcrumb {
    display: flex; align-items: center; gap: 8px; font-size: 13px;
    color: var(--text-muted); max-width: 1200px; margin: 0 auto;
    padding: 0 30px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb i { font-size: 10px; color: #d1d5db; }
.breadcrumb .current { color: var(--text); font-weight: 500; }

/* ===== HERO ===== */
.redes-hero {
    background: var(--black);
    padding: 80px 0 70px;
    position: relative;
    overflow: hidden;
}
.redes-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(37,99,235,.18) 0%, transparent 70%);
    pointer-events: none;
}
.redes-hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: 10%;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(37,99,235,.08) 0%, transparent 70%);
    pointer-events: none;
}
.redes-hero-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 30px;
    display: grid; grid-template-columns: 1fr auto;
    gap: 50px; align-items: center;
}
@media(max-width:900px) { .redes-hero-inner { grid-template-columns: 1fr; } }

.redes-hero-tag {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; color: var(--redes-blue);
    display: inline-flex; align-items: center; gap: 6px;
    margin-bottom: 16px;
}
.redes-hero h1 {
    font-size: clamp(32px, 5vw, 52px); font-weight: 800;
    color: #fff; line-height: 1.1; letter-spacing: -1.5px;
    margin-bottom: 20px;
}
.redes-hero h1 span { color: var(--redes-blue); }
.redes-hero p {
    font-size: 17px; color: #94a3b8; line-height: 1.75;
    max-width: 560px; margin-bottom: 28px;
}

.redes-pill {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 13px; background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1); border-radius: 20px;
    font-size: 12.5px; font-weight: 600; color: #cbd5e1;
}
.redes-pill .fa-check-circle { color: #22c55e; font-size: 11px; }

/* ===== SERVICIOS ===== */
.redes-servicios-section {
    padding: 96px 0;
    background: #fff;
}
.section-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 30px; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header .tag {
    display: inline-block; font-size: 11px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--redes-blue); background: rgba(37,99,235,.08);
    padding: 5px 14px; border-radius: 20px; margin-bottom: 14px;
}
.section-header h2 {
    font-size: clamp(26px, 3.5vw, 38px); font-weight: 900;
    color: #0f172a; letter-spacing: -1px; margin-bottom: 12px;
}
.section-header p { font-size: 16px; color: #64748b; max-width: 520px; margin: 0 auto; }

.redes-servicios-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media(max-width:960px) { .redes-servicios-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:560px) { .redes-servicios-grid { grid-template-columns: 1fr; } }

.redes-servicio-card {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 18px;
    padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 12px;
    transition: transform .2s, box-shadow .2s;
}
.redes-servicio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.08);
}
.redes-servicio-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.redes-servicio-card h3 { font-size: 17px; font-weight: 800; color: #0f172a; }
.redes-servicio-card p { font-size: 14px; color: #64748b; line-height: 1.65; flex: 1; }
.redes-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.redes-tag {
    font-size: 11px; font-weight: 700; padding: 3px 10px;
    border-radius: 20px; white-space: nowrap;
}

/* ===== PROCESO ===== */
.redes-proceso-section {
    padding: 96px 0;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
}
.redes-proceso-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
    position: relative; margin-top: 52px;
}
.redes-proceso-grid::before {
    content: '';
    position: absolute; top: 28px; left: 10%; right: 10%; height: 2px;
    background: linear-gradient(90deg, #2563eb, #059669, #f97316, #7c3aed, #0891b2);
    z-index: 0;
}
@media(max-width:900px) { .redes-proceso-grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
    .redes-proceso-grid::before { display: none; } }
@media(max-width:480px) { .redes-proceso-grid { grid-template-columns: 1fr; } }

.redes-paso {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 0 16px; position: relative; z-index: 1;
}
.redes-paso-num {
    width: 56px; height: 56px; border-radius: 50%;
    border: 3px solid; background: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 900; margin-bottom: 16px;
}
.redes-paso-icon { font-size: 22px; margin-bottom: 10px; }
.redes-paso h4 { font-size: 15px; font-weight: 800; color: #0f172a; margin-bottom: 8px; }
.redes-paso p { font-size: 13px; color: #64748b; line-height: 1.6; }

/* ===== MARCAS ===== */
.redes-marcas-section {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid #e5e7eb;
}
.redes-marcas-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 48px;
}
@media(max-width:960px) { .redes-marcas-grid { grid-template-columns: repeat(3,1fr); } }
@media(max-width:480px) { .redes-marcas-grid { grid-template-columns: repeat(2,1fr); } }

.redes-marca-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 8px; padding: 24px 16px; border: 1px solid #e5e7eb; border-radius: 14px;
    transition: box-shadow .2s, transform .2s;
}
.redes-marca-card:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,.07); }
.redes-marca-icon {
    width: 48px; height: 48px; background: #f1f5f9; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--redes-blue);
}
.redes-marca-card strong { font-size: 14px; font-weight: 800; color: #0f172a; }
.redes-marca-card span { font-size: 11.5px; color: #94a3b8; line-height: 1.4; }

/* ===== INCLUIDO ===== */
.incluido-section {
    padding: 80px 0;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
}
.incluido-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px;
}
@media(max-width:860px) { .incluido-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:500px) { .incluido-grid { grid-template-columns: 1fr; } }

.incluido-item {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 22px; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
}
.incluido-icon {
    width: 44px; height: 44px; background: rgba(37,99,235,.08);
    border-radius: 12px; display: flex; align-items: center;
    justify-content: center; font-size: 18px; color: var(--redes-blue); flex-shrink: 0;
}
.incluido-text h4 { font-size: 14.5px; font-weight: 800; color: #0f172a; margin-bottom: 4px; }
.incluido-text p { font-size: 13px; color: #64748b; line-height: 1.55; }

/* ===== CTA FINAL ===== */
.redes-cta-section {
    padding: 80px 0;
    background: var(--black);
}
.redes-cta-inner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 40px;
}
.redes-cta-inner h2 {
    font-size: clamp(24px, 3vw, 34px); font-weight: 900;
    color: #fff; letter-spacing: -1px; margin-bottom: 10px;
}
.redes-cta-inner p { font-size: 15px; color: #94a3b8; margin-bottom: 20px; }
.redes-cta-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.redes-cta-list li { font-size: 14px; color: #cbd5e1; display: flex; align-items: center; gap: 8px; }
.redes-cta-list li .fa-check-circle { color: #22c55e; }
.redes-cta-buttons { display: flex; flex-direction: column; gap: 12px; min-width: 220px; }

/* ===== HERO BADGES (reuse from global) ===== */
.erp-hero-badges {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media(max-width:900px) {
    .erp-hero-badges { grid-template-columns: repeat(3,1fr); }
}
.hero-badge {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px; padding: 20px 18px; text-align: center;
}
.badge-num {
    font-size: 32px; font-weight: 900; color: #fff;
    line-height: 1; margin-bottom: 6px;
}
.badge-lbl { font-size: 12px; color: #64748b; font-weight: 600; }

/* ===== BTN GLOBAL ===== */
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-cta-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; background: var(--redes-blue); color: #fff;
    border-radius: 10px; font-size: 15px; font-weight: 700;
    text-decoration: none; transition: background .2s, transform .15s;
}
.btn-cta-primary:hover { background: #1d4ed8; transform: translateY(-1px); }
.btn-cta-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.15); color: #fff;
    border-radius: 10px; font-size: 15px; font-weight: 700;
    text-decoration: none; transition: background .2s;
}
.btn-cta-secondary:hover { background: rgba(255,255,255,.12); }
