/* ============================================
   STYLEFLEXADS - PUBLIC SITE STYLES
   Identidad: Azul #1E40AF + Naranja #F97316
   Pilares: Monetiza | Conecta | Crece | Juntos
   ============================================ */

:root {
    --primary: #1E40AF;
    --primary-dark: #1e3a8a;
    --primary-light: #3B82F6;
    --secondary: #F97316;
    --secondary-dark: #ea580c;
    --secondary-light: #fb923c;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #dc2626;
    --dark: #0f172a;
    --gray-900: #1e293b;
    --gray-700: #334155;
    --gray-500: #64748b;
    --gray-300: #cbd5e1;
    --gray-100: #f1f5f9;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.2);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--secondary);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-brand img { height: 50px; }

.navbar-brand-text {
    display: flex;
    flex-direction: column;
}

.navbar-brand-text strong {
    font-size: 20px;
    color: var(--primary);
    line-height: 1;
}

.navbar-brand-text small {
    font-size: 11px;
    color: var(--gray-500);
    font-style: italic;
}

.nav-menu {
    display: flex;
    gap: 5px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 14px;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(30, 64, 175, 0.05);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-link.btn-primary {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
}

.nav-link.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
}

.nav-link.btn-secondary {
    background: var(--secondary);
    color: white;
    padding: 10px 20px;
}

.nav-link.btn-secondary:hover {
    background: var(--secondary-dark);
    color: white;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249,115,22,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container { position: relative; z-index: 1; }

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

.hero-badge {
    display: inline-block;
    background: rgba(249,115,22,0.2);
    color: var(--secondary-light);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(249,115,22,0.3);
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--secondary);
    position: relative;
}

.hero p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 30px;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(249,115,22,0.4);
}

.btn-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249,115,22,0.5);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

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

.hero-stat .num {
    font-size: 32px;
    font-weight: 800;
    color: var(--secondary);
    display: block;
}

.hero-stat .label {
    font-size: 13px;
    opacity: 0.9;
}

/* ============================================
   PILARES (Monetiza | Conecta | Crece | Juntos)
   ============================================ */
.pilares {
    background: var(--gray-100);
    padding: 30px 0;
    border-bottom: 1px solid var(--gray-300);
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pilar {
    text-align: center;
    padding: 20px;
    border-right: 2px solid var(--gray-300);
}

.pilar:last-child { border-right: none; }

.pilar-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 24px;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.pilar:nth-child(1) .pilar-icon { color: var(--primary); }
.pilar:nth-child(2) .pilar-icon { color: var(--secondary); }
.pilar:nth-child(3) .pilar-icon { color: var(--success); }
.pilar:nth-child(4) .pilar-icon { color: var(--warning); }

.pilar h4 {
    font-size: 16px;
    color: var(--gray-900);
    margin-bottom: 5px;
}

.pilar p {
    font-size: 12px;
    color: var(--gray-500);
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 80px 0; }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-tag {
    display: inline-block;
    background: rgba(30,64,175,0.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-header h2 span { color: var(--secondary); }

.section-header p {
    font-size: 17px;
    color: var(--gray-500);
}

.bg-light { background: var(--gray-100); }
.bg-dark { background: var(--gray-900); color: white; }
.bg-dark .section-header h2 { color: white; }
.bg-dark .section-header p { color: var(--gray-300); }

/* ============================================
   SOFTWARE CARDS
   ============================================ */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.software-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
}

.software-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.software-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.software-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.software-image .placeholder-icon {
    font-size: 60px;
    color: rgba(255,255,255,0.9);
}

.software-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.software-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.software-category {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.software-body h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.software-body p {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 20px;
    flex: 1;
}

.software-features {
    list-style: none;
    margin-bottom: 20px;
}

.software-features li {
    padding: 6px 0;
    font-size: 13px;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 8px;
}

.software-features li i {
    color: var(--success);
    font-size: 12px;
}

.software-pricing {
    background: var(--gray-100);
    padding: 15px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.pricing-row:last-child { margin-bottom: 0; }

.pricing-label { font-size: 12px; color: var(--gray-500); }

.pricing-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.pricing-value.setup {
    font-size: 14px;
    color: var(--gray-700);
}

/* ============================================
   PROBLEMA / SOLUCIÓN (Psicología Marketing)
   ============================================ */
.psychology-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.problem-box, .solution-box {
    padding: 30px;
    border-radius: var(--radius);
}

.problem-box {
    background: #fef2f2;
    border-left: 5px solid var(--danger);
}

.solution-box {
    background: #d1fae5;
    border-left: 5px solid var(--success);
}

.psychology-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
}

.problem-box .psychology-icon {
    background: var(--danger);
    color: white;
}

.solution-box .psychology-icon {
    background: var(--success);
    color: white;
}

.psychology-box h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.problem-box h3 { color: var(--danger); }
.solution-box h3 { color: var(--success); }

.psychology-box ul {
    list-style: none;
}

.psychology-box li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
}

.problem-box li i { color: var(--danger); margin-top: 3px; }
.solution-box li i { color: var(--success); margin-top: 3px; }

/* ============================================
   CARRUSEL DINÁMICO
   ============================================ */
.carrusel-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.carrusel-item {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.carrusel-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.carrusel-image {
    height: 180px;
    background: var(--gray-100);
    overflow: hidden;
}

.carrusel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carrusel-content { padding: 20px; }

.carrusel-type {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.carrusel-type.oferta_trabajo { background: var(--success); }
.carrusel-type.promocion { background: var(--secondary); }
.carrusel-type.evento { background: var(--warning); }

.carrusel-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.carrusel-content p {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 15px;
}

/* ============================================
   DIRECTORIO CON MAPA
   ============================================ */
.directorio-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 25px;
}

.directorio-lista {
    max-height: 600px;
    overflow-y: auto;
}

.anuncio-card {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    cursor: pointer;
}

.anuncio-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.anuncio-card.destacado {
    border: 2px solid var(--secondary);
    background: linear-gradient(135deg, #fff7ed, #fff);
}

.anuncio-header {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
}

.anuncio-logo {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--gray-100);
    flex-shrink: 0;
}

.anuncio-logo img { width: 100%; height: 100%; object-fit: cover; }

.anuncio-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--gray-900);
}

.anuncio-categoria {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

.anuncio-info p {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 10px;
}

.anuncio-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
    color: var(--gray-700);
}

.anuncio-meta i {
    color: var(--primary);
    width: 14px;
}

.mapa-container {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 600px;
    position: sticky;
    top: 90px;
}

#mapa { width: 100%; height: 100%; }

/* ============================================
   SERVICIOS LOCALES
   ============================================ */
.servicios-filtros {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filtro-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid var(--gray-300);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.filtro-btn:hover, .filtro-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.servicio-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.servicio-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.servicio-header {
    padding: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    position: relative;
}

.servicio-verificado {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--success);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.servicio-header h3 { font-size: 18px; margin-bottom: 5px; }
.servicio-header .categoria { font-size: 12px; opacity: 0.9; }

.servicio-body { padding: 20px; }
.servicio-body p { font-size: 14px; color: var(--gray-500); margin-bottom: 15px; }

.servicio-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.servicio-info div {
    font-size: 13px;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 8px;
}

.servicio-info i { color: var(--primary); width: 14px; }

.servicio-footer {
    padding: 15px 20px;
    background: var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.servicio-precio {
    font-size: 14px;
    color: var(--gray-500);
}

.servicio-precio strong {
    color: var(--primary);
    font-size: 18px;
}

/* ============================================
   GANANCIAS / REFERIDOS
   ============================================ */
.plataformas-hero {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 50px;
}

.plataformas-hero h1 { font-size: 42px; margin-bottom: 15px; }
.plataformas-hero p { font-size: 18px; opacity: 0.95; }

.plataformas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.plataforma-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.plataforma-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

.plataforma-header {
    padding: 30px;
    text-align: center;
    color: white;
    position: relative;
}

.plataforma-card:nth-child(1) .plataforma-header { background: linear-gradient(135deg, #10b981, #059669); }
.plataforma-card:nth-child(2) .plataforma-header { background: linear-gradient(135deg, #1E40AF, #3B82F6); }
.plataforma-card:nth-child(3) .plataforma-header { background: linear-gradient(135deg, #F97316, #ea580c); }
.plataforma-card:nth-child(4) .plataforma-header { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.plataforma-card:nth-child(5) .plataforma-header { background: linear-gradient(135deg, #dc2626, #b91c1c); }

.plataforma-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
}

.plataforma-header h3 { font-size: 22px; margin-bottom: 5px; }
.plataforma-header .comision {
    background: rgba(255,255,255,0.25);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.plataforma-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.plataforma-body p {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 20px;
    flex: 1;
}

.plataforma-features {
    list-style: none;
    margin-bottom: 20px;
}

.plataforma-features li {
    padding: 6px 0;
    font-size: 13px;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 8px;
}

.plataforma-features li i { color: var(--success); }

/* ============================================
   CALCULADORA ROI
   ============================================ */
.roi-calculator {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.roi-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 30px;
    text-align: center;
}

.roi-header h3 { font-size: 24px; margin-bottom: 8px; }
.roi-header p { opacity: 0.9; }

.roi-body { padding: 30px; }

.roi-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.roi-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-700);
}

.roi-form .form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition);
}

.roi-form .form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.roi-result {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    display: none;
}

.roi-result.show { display: block; animation: fadeIn 0.5s; }

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

.roi-result h4 { font-size: 20px; margin-bottom: 20px; }

.roi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.roi-item {
    background: rgba(255,255,255,0.15);
    padding: 15px;
    border-radius: var(--radius-sm);
}

.roi-item .label { font-size: 12px; opacity: 0.9; }
.roi-item .value { font-size: 24px; font-weight: 700; margin-top: 5px; }

/* ============================================
   CONTACTO
   ============================================ */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contacto-info {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 40px;
    border-radius: var(--radius);
}

.contacto-info h3 { font-size: 24px; margin-bottom: 20px; }

.contacto-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contacto-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contacto-item h4 { font-size: 14px; margin-bottom: 3px; opacity: 0.8; }
.contacto-item p { font-size: 15px; font-weight: 600; }

.contacto-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contacto-form .form-group { margin-bottom: 20px; }

.contacto-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.contacto-form input,
.contacto-form textarea,
.contacto-form select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.contacto-form input:focus,
.contacto-form textarea:focus,
.contacto-form select:focus {
    outline: none;
    border-color: var(--primary);
}

.contacto-form textarea { min-height: 120px; resize: vertical; }

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-final h2 { font-size: 36px; margin-bottom: 15px; }
.cta-final p { font-size: 18px; opacity: 0.95; margin-bottom: 30px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--gray-300);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand img { height: 50px; margin-bottom: 15px; }
.footer-brand p { font-size: 14px; margin-bottom: 20px; }

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer ul { list-style: none; }

.footer ul li { margin-bottom: 10px; }

.footer ul a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer ul a:hover { color: var(--secondary); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active { display: flex; }
    .nav-toggle { display: block; }
    
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 17px; }
    
    .pilares-grid { grid-template-columns: repeat(2, 1fr); }
    .pilar { border-right: none; border-bottom: 1px solid var(--gray-300); }
    
    .psychology-grid { grid-template-columns: 1fr; }
    .directorio-layout { grid-template-columns: 1fr; }
    .mapa-container { position: static; height: 400px; }
    .contacto-grid { grid-template-columns: 1fr; }
    .roi-form { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 568px) {
    .hero { padding: 50px 0; }
    .hero h1 { font-size: 28px; }
    .section { padding: 50px 0; }
    .section-header h2 { font-size: 26px; }
    .pilares-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 20px; }
    .hero-stat .num { font-size: 24px; }
}