/* =====================================================
NESSMAX — Rueda de Negocios Digitales
Basado en estructura ScanMax
===================================================== */

/* ── Variables ── */
:root {
--nm-primary: #0a2540;
--nm-accent: #e8b84b;
--nm-accent-light: #f5d98a;
--nm-text-primary: #0d1b2a;
--nm-text-secondary: #4a5568;
--nm-text-muted: #718096;
--nm-bg-light: #f7f9fc;
--nm-bg-mid: #eef2f7;
--nm-border: #dce4ef;
--nm-white: #ffffff;
--nm-shadow-sm: 0 2px 8px rgba(10,37,64,.08);
--nm-shadow-md: 0 6px 24px rgba(10,37,64,.13);
--nm-shadow-lg: 0 16px 48px rgba(10,37,64,.18);
--nm-radius: 14px;
--nm-radius-sm: 8px;
--nm-spacing-sm: 2rem;
--nm-spacing-md: 4rem;
--nm-spacing-lg: 6rem;
--nm-font-display: 'Playfair Display', Georgia, serif;
--nm-font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
}

/* ── Reset parcial ── */
.bz-que-es *,
.bz-beneficios-v2 *,
.bz-como-funciona *,
.bz-impacto *,
.bz-testimonios *,
.bz-cta *,
.bz-faq * {
box-sizing: border-box;
}


/* =====================================================
SECCIÓN GENÉRICA — utilidad compartida
===================================================== */
.bz-que-es,
.bz-beneficios-v2,
.bz-como-funciona,
.bz-impacto,
.bz-testimonios,
.bz-cta,
.bz-faq {
padding: var(--nm-spacing-md) 0;
font-family: var(--nm-font-body);
}

.bz-section--light {
background: var(--nm-bg-light);
}

.bz-container {
width: 100%;
max-width: 1160px;
margin: 0 auto;
padding: 0 1.5rem;
}

/* Section titles */
.bz-que-es h2,
.bz-beneficios-v2 .beneficios-titulo,
.bz-como-funciona h2,
.bz-impacto h2,
.bz-testimonios h2,
.bz-cta h2,
.bz-faq h2 {
font-family: sans-serif;
font-size: clamp(1.7rem, 3vw, 2.4rem);
font-weight: 700;
color: var(--nm-text-primary);
margin-bottom: 2.5rem;
position: relative;
}

.bz-que-es h2,
.bz-como-funciona h2,
.bz-impacto h2,
.bz-testimonios h2,
.bz-faq h2 {
text-align: center;
}

/* .bz-que-es h2::after,
.bz-como-funciona h2::after,
.bz-impacto h2::after,
.bz-testimonios h2::after,
.bz-faq h2::after {
content: '';
display: block;
width: 56px;
height: 3px;
background: var(--nm-accent);
border-radius: 2px;
margin: .75rem auto 0;
} */

/* =====================================================
QUÉ ES
===================================================== */
.bz-que-es {
background: var(--nm-white);
}

.bz-que-es p {
max-width: 700px;
margin: 0 auto;
text-align: center;
font-size: 1.1rem;
color: var(--nm-text-secondary);
line-height: 1.85;
}

/* =====================================================
BENEFICIOS V2 — Layout Imagen + Lista (NUEVO)
===================================================== */
.bz-beneficios-v2 {
background: var(--nm-white);
border-top: 1px solid var(--nm-border);
border-bottom: 1px solid var(--nm-border);
}

.beneficios-wrapper {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
align-items: center;
max-width: 1200px;
margin: 0 auto;
}

/* Columna de la imagen */
.beneficios-imagen img {
width: 100%;
height: auto;
border-radius: 20px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
display: block;
}

/* Columna del contenido */
.beneficios-contenido {
padding: 1rem 0;
}

.beneficios-titulo {
text-align: left;
padding-bottom: 1rem;
}

.beneficios-titulo::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 60px;
height: 3px;
background: var(--nm-accent);
border-radius: 2px;
}

/* Lista de beneficios */
.beneficios-lista {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 1.5rem;
}

.beneficio-item {
display: flex;
align-items: flex-start;
gap: 1rem;
}

.beneficio-icono {
flex-shrink: 0;
width: 40px;
height: 40px;
background: var(--nm-primary);
color: var(--nm-white);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.1rem;
margin-top: 2px;
}

.beneficio-texto {
font-size: 1rem;
font-weight: 500;
color: var(--nm-text-secondary);
line-height: 1.5;
margin: 0;
}

/* =====================================================
CÓMO FUNCIONA - CORREGIDO
===================================================== */
.bz-como-funciona {
background: var(--nm-white);
padding: var(--nm-spacing-md) 0;
}

.bz-como-funciona /* .container */ {
max-width: 1160px;
margin: 0 auto;
padding: 0 1.5rem;
}

.bz-como-funciona h2 {
font-family: var(--nm-font-display);
font-size: clamp(1.7rem, 3vw, 2.4rem);
font-weight: 700;
color: var(--nm-text-primary);
text-align: center;
margin-bottom: 3rem;
position: relative;
}

.bz-como-funciona h2::after {
content: '';
display: block;
width: 56px;
height: 3px;
background: var(--nm-accent);
border-radius: 2px;
margin: 0.75rem auto 0;
}

.bz-steps {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
max-width: 1000px;
margin: 0 auto;
position: relative;
}

/* Línea conectora entre pasos */
@media (min-width: 769px) {
.bz-steps {
position: relative;
}

.bz-steps::before {
content: '';
position: absolute;
top: 45px;
left: 15%;
width: 70%;
height: 2px;
background: linear-gradient(90deg,
var(--nm-accent) 0%,
var(--nm-accent) 30%,
var(--nm-border) 50%,
var(--nm-accent) 70%,
var(--nm-accent) 100%);
z-index: 0;
opacity: 0.5;
}
}

.bz-step {
background: var(--nm-white);
border: 1px solid var(--nm-border);
border-radius: var(--nm-radius);
padding: 2.5rem 1.5rem 1.5rem;
text-align: center;
position: relative;
z-index: 1;
transition: all 0.3s ease;
box-shadow: var(--nm-shadow-sm);
}

.bz-step:hover {
box-shadow: var(--nm-shadow-md);
transform: translateY(-5px);
border-color: var(--nm-accent);
}

/* Número del paso - CORREGIDO */
.bz-step h3 {
position: relative;
font-family: var(--nm-font-body);
font-size: 1.25rem;
font-weight: 700;
color: var(--nm-text-primary);
margin-bottom: 1rem;
padding-top: 0.5rem;
}

/* Círculo con número */
.bz-step h3::before {
content: attr(data-step);
position: absolute;
top: -45px;
left: 50%;
transform: translateX(-50%);
width: 45px;
height: 45px;
background: var(--nm-primary);
color: var(--nm-white);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.3rem;
font-weight: 700;
border: 3px solid var(--nm-accent);
box-shadow: 0 4px 12px rgba(232, 184, 75, 0.3);
}

/* Extraer número del texto "1. Inscríbete" */
.bz-step:first-child h3::before {
content: "1";
}

.bz-step:nth-child(2) h3::before {
content: "2";
}

.bz-step:nth-child(3) h3::before {
content: "3";
}

.bz-step p {
font-size: 0.95rem;
color: var(--nm-text-secondary);
line-height: 1.6;
margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
.bz-como-funciona {
padding: var(--nm-spacing-sm) 0;
}

.bz-steps {
grid-template-columns: 1fr;
gap: 2.5rem;
max-width: 400px;
}

.bz-steps::before {
display: none;
}

.bz-step {
padding: 2rem 1.5rem 1.5rem;
}

.bz-step h3 {
font-size: 1.2rem;
}

.bz-step h3::before {
width: 40px;
height: 40px;
font-size: 1.2rem;
top: -40px;
}
}

@media (max-width: 480px) {
.bz-como-funciona h2 {
font-size: 1.8rem;
margin-bottom: 2.5rem;
}

.bz-step {
padding: 1.75rem 1.25rem 1.25rem;
}

.bz-step h3 {
font-size: 1.1rem;
}

.bz-step p {
font-size: 0.9rem;
}
}

/* =====================================================
IMPACTO / MÉTRICAS
===================================================== */
.bz-impacto {
background: var(--nm-primary);
}

.bz-impacto h2 {
color: var(--nm-white);
}

.bz-impacto h2::after {
background: var(--nm-accent);
}

.bz-impacto-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 1.5rem;
max-width: 900px;
margin: 0 auto;
text-align: center;
}

.bz-impacto-grid > div {
padding: 1.5rem 1rem;
border: 1px solid rgba(255,255,255,.12);
border-radius: var(--nm-radius);
background: rgba(255,255,255,.06);
transition: background .2s;
}

.bz-impacto-grid > div:hover {
background: rgba(232,184,75,.12);
}

.bz-impacto-grid h3 {
font-family: var(--nm-font-display);
font-size: clamp(2rem, 4vw, 2.8rem);
font-weight: 800;
color: var(--nm-accent);
margin-bottom: .4rem;
}

.bz-impacto-grid p {
font-size: .9rem;
color: rgba(255,255,255,.75);
margin: 0;
line-height: 1.4;
}

/* =====================================================
TESTIMONIOS
===================================================== */
.bz-testimonios {
background: var(--nm-bg-light);
border-top: 1px solid var(--nm-border);
}

.bz-slider {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.5rem;
max-width: 960px;
margin: 0 auto;
}

.bz-slide {
background: var(--nm-white);
border: 1px solid var(--nm-border);
border-left: 4px solid var(--nm-accent);
border-radius: var(--nm-radius-sm);
padding: 1.75rem 1.5rem;
font-size: .97rem;
color: var(--nm-text-secondary);
line-height: 1.75;
box-shadow: var(--nm-shadow-sm);
position: relative;
}

.bz-slide::before {
content: '\201C';
font-family: var(--nm-font-display);
font-size: 4rem;
color: var(--nm-accent);
opacity: .25;
position: absolute;
top: .2rem;
left: 1rem;
line-height: 1;
}

.bz-slide strong {
display: block;
margin-top: .75rem;
color: var(--nm-primary);
font-size: .88rem;
font-weight: 700;
letter-spacing: .01em;
}

/* =====================================================
CTA FINAL
===================================================== */
.bz-cta {
background: linear-gradient(135deg, var(--nm-accent) 0%, #c9922a 100%);
text-align: center;
}

.bz-cta h2 {
color: var(--nm-primary);
}

.bz-cta h2::after {
display: none;
}

.bz-cta p {
max-width: 560px;
margin: 0 auto 2rem;
color: rgba(10,37,64,.8);
font-size: 1.05rem;
line-height: 1.65;
}

.bz-btn-primary {
display: inline-block;
padding: .9rem 2.4rem;
background: var(--nm-primary);
color: var(--nm-white);
border-radius: 999px;
font-family: var(--nm-font-body);
font-size: .97rem;
font-weight: 700;
text-decoration: none;
letter-spacing: .03em;
transition: background .25s, transform .2s, box-shadow .2s;
box-shadow: 0 4px 18px rgba(10,37,64,.25);
}

.bz-btn-primary:hover {
background: #071a2e;
transform: translateY(-2px);
box-shadow: 0 8px 28px rgba(10,37,64,.35);
}

/* =====================================================
FAQ
===================================================== */
.bz-faq {
background: var(--nm-white);
}

.bz-faq-list {
max-width: 800px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: .75rem;
}

.bz-faq-item {
border: 1px solid var(--nm-border);
border-radius: var(--nm-radius-sm);
overflow: hidden;
transition: box-shadow .2s;
}

.bz-faq-item:hover {
box-shadow: var(--nm-shadow-sm);
}

.bz-faq-item details summary {
cursor: pointer;
padding: 1.1rem 1.4rem;
font-family: var(--nm-font-body);
font-size: 1rem;
font-weight: 600;
color: var(--nm-text-primary);
background: var(--nm-bg-light);
list-style: none;
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
transition: background .2s, color .2s;
}

.bz-faq-item details summary::-webkit-details-marker {
display: none;
}

.bz-faq-item details summary::after {
content: '+';
font-size: 1.4rem;
font-weight: 300;
color: var(--nm-accent);
flex-shrink: 0;
transition: transform .25s;
}

.bz-faq-item details[open] summary {
background: var(--nm-primary);
color: var(--nm-white);
}

.bz-faq-item details[open] summary::after {
content: '\2212';
color: var(--nm-accent);
transform: rotate(180deg);
}

.bz-faq-item details p {
padding: 1.1rem 1.4rem;
font-size: .95rem;
color: var(--nm-text-secondary);
line-height: 1.7;
margin: 0;
border-top: 1px solid var(--nm-border);
background: var(--nm-white);
}

/* =====================================================
CONTACTO
===================================================== */
#contacto {
background: var(--nm-bg-light);
padding: var(--nm-spacing-md) 0;
border-top: 1px solid var(--nm-border);
}

/* =====================================================
ANIMACIONES
===================================================== */
@keyframes nmFadeUp {
from { opacity: 0; transform: translateY(28px); }
to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
RESPONSIVE
===================================================== */
@media (max-width: 768px) {
.hero-coworking {
min-height: 80vh;
}

.beneficios-wrapper {
grid-template-columns: 1fr;
gap: 2rem;
padding: 0 1rem;
}

.beneficios-imagen {
order: -1;
}

.beneficios-titulo {
font-size: 1.75rem;
margin-bottom: 1.5rem;
}

.bz-steps,
.bz-impacto-grid,
.bz-slider {
grid-template-columns: 1fr;
}

.bz-steps::before {
display: none;
}

.bz-que-es,
.bz-beneficios-v2,
.bz-como-funciona,
.bz-impacto,
.bz-testimonios,
.bz-cta,
.bz-faq {
padding: var(--nm-spacing-sm) 0;
}
}

@media (max-width: 480px) {


.hero-badge {
font-size: .75rem;
}

.beneficios-titulo {
font-size: 1.5rem;
}

.beneficio-texto {
font-size: 0.95rem;
}

.beneficio-icono {
width: 36px;
height: 36px;
font-size: 1rem;
}

.bz-btn-primary {
width: 100%;
text-align: center;
}
}
