
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
--navy: #ffffff;
--navy2: #f4f7fb;
--teal: #6dc935;
--teal2: #85e048;
--blue: #4ab8e8;
--blue2: #62ccf8;
--white: #1a2540;
--gray: #5a6a80;
--light: #e8edf5;
--card: #ffffff;
--border: #e2e8f0;
--text-dark: #0f1f3d;
}

html { scroll-behavior: smooth; }

body {
font-family: 'DM Sans', sans-serif;
background: var(--navy);
color: var(--white);
overflow-x: hidden;
}

/* NAV */
nav {
position: fixed; top: 0; left: 0; right: 0; z-index: 100;
display: flex; align-items: center; justify-content: space-between;
padding: 20px 48px;
background: rgba(255,255,255,0.95);
backdrop-filter: blur(12px);
border-bottom: 1px solid #e2e8f0;
box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.logo img {
height: 48px;
width: auto;
display: block;
}
nav a {
color: var(--gray); text-decoration: none;
font-size: 14px; font-weight: 400;
transition: color .2s;
}
nav a:hover { color: var(--teal); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-cta {
background: var(--teal); color: #fff !important;
padding: 10px 22px; border-radius: 6px;
font-weight: 500 !important;
transition: background .2s, transform .15s !important;
}
.nav-cta:hover { background: var(--teal2) !important; transform: translateY(-1px); }

/* HERO */
.hero {
min-height: 100vh;
display: flex; flex-direction: column;
align-items: center; justify-content: center;
text-align: center;
padding: 120px 24px 80px;
position: relative;
overflow: hidden;
background: #ffffff;
}
.hero-grid {
position: absolute; inset: 0;
background-image:
    linear-gradient(rgba(74,184,232,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,184,232,0.06) 1px, transparent 1px);
background-size: 60px 60px;
mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}
.hero-glow {
position: absolute;
width: 600px; height: 600px;
background: radial-gradient(circle, rgba(109,201,53,0.08) 0%, rgba(74,184,232,0.06) 40%, transparent 70%);
top: 50%; left: 50%;
transform: translate(-50%, -55%);
pointer-events: none;
}
.hero-badge {
display: inline-flex; align-items: center; gap: 8px;
background: rgba(109,201,53,0.1);
border: 1px solid rgba(109,201,53,0.3);
border-radius: 100px;
padding: 6px 16px;
font-size: 12px; font-weight: 500;
color: #4a9e20; letter-spacing: 1px;
text-transform: uppercase;
margin-bottom: 32px;
animation: fadeUp .6s ease both;
}
.badge-dot {
width: 6px; height: 6px;
background: var(--teal);
border-radius: 50%;
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: .5; transform: scale(1.4); }
}

h1 {
font-family: 'Barlow', sans-serif;
font-size: clamp(36px, 6vw, 72px);
font-weight: 800;
line-height: 1.05;
letter-spacing: -1px;
margin-bottom: 24px;
max-width: 820px;
color: var(--text-dark);
animation: fadeUp .7s .1s ease both;
}
h1 em {
font-style: normal;
color: var(--teal);
}

.hero-sub {
font-size: clamp(16px, 2vw, 20px);
color: var(--gray);
font-weight: 300;
max-width: 520px;
line-height: 1.7;
margin-bottom: 48px;
animation: fadeUp .7s .2s ease both;
}

.hero-buttons {
display: flex; gap: 16px; flex-wrap: wrap;
justify-content: center;
animation: fadeUp .7s .3s ease both;
}

.btn-primary {
display: inline-flex; align-items: center; gap: 10px;
background: var(--teal);
color: #fff;
font-family: 'DM Sans', sans-serif;
font-size: 16px; font-weight: 500;
padding: 16px 32px;
border-radius: 8px;
text-decoration: none;
border: none; cursor: pointer;
transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover {
background: var(--teal2);
transform: translateY(-2px);
box-shadow: 0 8px 30px rgba(109,201,53,0.3);
}

.btn-secondary {
display: inline-flex; align-items: center; gap: 10px;
background: transparent;
color: var(--text-dark);
font-family: 'DM Sans', sans-serif;
font-size: 16px; font-weight: 400;
padding: 16px 32px;
border-radius: 8px;
text-decoration: none;
border: 2px solid var(--blue);
cursor: pointer;
transition: border-color .2s, background .2s, transform .15s, color .2s;
}
.btn-secondary:hover {
background: var(--blue);
color: #fff;
transform: translateY(-2px);
}

.btn-icon {
width: 20px; height: 20px;
display: inline-flex; align-items: center; justify-content: center;
}

/* STATS BAR */
.stats-bar {
display: flex; justify-content: center; gap: 0;
flex-wrap: wrap;
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
background: #f8fafc;
animation: fadeUp .7s .4s ease both;
}
.stat-item {
padding: 28px 48px;
text-align: center;
border-right: 1px solid var(--border);
flex: 1; min-width: 160px;
}
.stat-item:last-child { border-right: none; }
.stat-num {
font-family: 'Barlow', sans-serif;
font-size: 32px; font-weight: 800;
color: var(--teal);
display: block;
}
.stat-label {
font-size: 13px; color: var(--gray);
font-weight: 300; margin-top: 4px;
}

/* SECTIONS */
section { padding: 100px 24px; }
.container { max-width: 1100px; margin: 0 auto; }

.section-label {
font-size: 12px; font-weight: 500;
letter-spacing: 2px; text-transform: uppercase;
color: var(--blue); margin-bottom: 16px;
}
.section-title {
font-family: 'Barlow', sans-serif;
font-size: clamp(28px, 4vw, 44px);
font-weight: 800; line-height: 1.1;
margin-bottom: 20px;
color: var(--text-dark);
}
.section-sub {
font-size: 17px; color: var(--gray);
font-weight: 300; line-height: 1.7;
max-width: 560px;
}

/* QUÉ HACEMOS */
.what-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px; margin-top: 60px;
}
.what-card {
background: #fff;
border: 1px solid var(--border);
border-radius: 16px;
padding: 36px;
transition: border-color .3s, transform .3s, box-shadow .3s;
position: relative; overflow: hidden;
}
.what-card::before {
content: '';
position: absolute; top: 0; left: 0; right: 0; height: 3px;
background: linear-gradient(90deg, var(--teal), var(--blue));
opacity: 0; transition: opacity .3s;
}
.what-card:hover { border-color: rgba(109,201,53,0.3); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.what-card:hover::before { opacity: 1; }

.card-icon {
width: 52px; height: 52px;
background: rgba(109,201,53,0.1);
border-radius: 12px;
display: flex; align-items: center; justify-content: center;
margin-bottom: 24px;
font-size: 24px;
}
.card-title {
font-family: 'Barlow', sans-serif;
font-size: 20px; font-weight: 700;
margin-bottom: 12px;
color: var(--text-dark);
}
.card-text { font-size: 15px; color: var(--gray); line-height: 1.7; font-weight: 300; }

/* CÓMO FUNCIONA */
.how-section { background: #f4f7fb; }
.steps {
display: flex; flex-direction: column; gap: 0;
margin-top: 60px; position: relative;
}
.steps::before {
content: '';
position: absolute; left: 31px; top: 0; bottom: 0; width: 2px;
background: linear-gradient(to bottom, var(--teal), var(--blue), transparent);
}
.step {
display: flex; gap: 32px; align-items: flex-start;
padding: 32px 0; position: relative;
}
.step-num {
width: 64px; height: 64px; flex-shrink: 0;
background: #fff;
border: 2px solid var(--teal);
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
font-family: 'Barlow', sans-serif;
font-size: 20px; font-weight: 800;
color: var(--teal);
position: relative; z-index: 1;
box-shadow: 0 4px 16px rgba(109,201,53,0.15);
}
.step-content { padding-top: 12px; }
.step-tag {
display: inline-block;
font-size: 11px; font-weight: 500;
letter-spacing: 1.5px; text-transform: uppercase;
color: #fff;
background: var(--blue);
padding: 3px 10px; border-radius: 100px;
margin-bottom: 10px;
}
.step-title {
font-family: 'Barlow', sans-serif;
font-size: 22px; font-weight: 700;
margin-bottom: 8px;
color: var(--text-dark);
}
.step-text { font-size: 15px; color: var(--gray); line-height: 1.7; font-weight: 300; max-width: 600px; }

/* DOS CAMINOS */
.paths-grid {
display: grid; grid-template-columns: 1fr 1fr;
gap: 24px; margin-top: 60px;
}
.path-card {
background: #fff;
border: 2px solid var(--border);
border-radius: 20px;
padding: 48px 40px;
text-align: center;
transition: transform .3s, border-color .3s, box-shadow .3s;
cursor: pointer;
}
.path-card:hover {
transform: translateY(-6px);
box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.path-card:first-child:hover { border-color: var(--teal); }
.path-card:last-child:hover { border-color: var(--blue); }
.path-emoji { font-size: 48px; margin-bottom: 24px; display: block; }
.path-title {
font-family: 'Barlow', sans-serif;
font-size: 26px; font-weight: 800;
margin-bottom: 16px;
color: var(--text-dark);
}
.path-text { font-size: 15px; color: var(--gray); line-height: 1.7; margin-bottom: 32px; font-weight: 300; }
.path-btn {
display: inline-block;
padding: 14px 28px;
border-radius: 8px;
font-size: 15px; font-weight: 500;
text-decoration: none;
transition: all .2s;
}
.path-btn-teal { background: var(--teal); color: #fff; }
.path-btn-teal:hover { background: var(--teal2); box-shadow: 0 6px 20px rgba(109,201,53,0.3); }
.path-btn-outline { background: var(--blue); color: #fff; }
.path-btn-outline:hover { background: var(--blue2); box-shadow: 0 6px 20px rgba(74,184,232,0.3); }

/* CHAT WIDGET */
.chat-widget {
position: fixed; bottom: 28px; right: 28px; z-index: 200;
}
.chat-btn {
width: 60px; height: 60px;
background: var(--teal);
border-radius: 50%;
border: none; cursor: pointer;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 4px 20px rgba(109,201,53,0.4);
transition: transform .2s, box-shadow .2s;
position: relative;
}
.chat-btn:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(109,201,53,0.5); }
.chat-btn svg { width: 26px; height: 26px; fill: #fff; }
.chat-bubble {
position: absolute; bottom: 70px; right: 0;
width: 300px;
background: #fff;
border: 1px solid var(--border);
border-radius: 16px;
padding: 24px;
display: none;
box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.chat-bubble.open { display: block; animation: popUp .2s ease; }
@keyframes popUp {
from { opacity: 0; transform: translateY(10px) scale(.97); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-header {
display: flex; align-items: center; gap: 12px;
margin-bottom: 16px;
}
.chat-avatar {
width: 40px; height: 40px;
background: linear-gradient(135deg, var(--teal), var(--blue));
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
font-size: 18px;
}
.chat-name { font-weight: 500; font-size: 15px; color: var(--text-dark); }
.chat-status { font-size: 12px; color: var(--teal); }
.chat-msg {
font-size: 14px; color: var(--gray);
line-height: 1.6; margin-bottom: 20px;
}
.chat-actions { display: flex; flex-direction: column; gap: 10px; }
.chat-action {
display: flex; align-items: center; gap: 10px;
padding: 12px 16px;
background: #f8fafc;
border: 1px solid var(--border);
border-radius: 8px;
color: var(--text-dark); text-decoration: none;
font-size: 14px; font-weight: 400;
transition: background .2s, border-color .2s;
cursor: pointer;
}
.chat-action:hover { background: rgba(109,201,53,0.08); border-color: var(--teal); color: var(--text-dark); }
.chat-action-icon { font-size: 18px; }

/* FOOTER */
footer {
border-top: 1px solid var(--border);
padding: 40px 24px;
text-align: center;
background: #f8fafc;
}
.footer-logo {
font-family: 'Barlow', sans-serif;
font-size: 18px; font-weight: 800;
letter-spacing: 2px; margin-bottom: 8px;
color: var(--text-dark);
}
.footer-logo span { color: var(--teal); }
.footer-powered {
font-size: 12px; color: var(--gray);
margin-bottom: 16px;
}
.footer-powered a { color: var(--blue); text-decoration: none; }
.footer-copy { font-size: 12px; color: #aab4c4; }

@keyframes fadeUp {
from { opacity: 0; transform: translateY(24px); }
to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
nav { padding: 16px 20px; }
.nav-links { gap: 16px; }
.nav-links a:not(.nav-cta) { display: none; }
.stat-item { padding: 20px 24px; }
.paths-grid { grid-template-columns: 1fr; }
.steps::before { left: 31px; }
section { padding: 70px 20px; }
.path-card { padding: 36px 24px; }
}

/* ---- TIMELINE ---- */
.timeline { margin-top: 56px; position: relative; }
.tl-item {
    display: flex; gap: 24px;
    margin-bottom: 0; position: relative;
}
.tl-dot {
    width: 48px; height: 48px; min-width: 48px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; position: relative; z-index: 2;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.tl-line {
    position: absolute;
    left: 23px; top: 48px;
    width: 2px; height: calc(100% + 8px);
    background: linear-gradient(to bottom, #e2e8f0, #e2e8f0);
    z-index: 1;
}
.tl-line-last { display: none; }
.tl-content {
    padding: 0 0 48px 0; flex: 1;
}
.tl-tag {
    display: inline-block;
    font-size: 11px; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase;
    padding: 4px 12px; border-radius: 100px;
    margin-bottom: 10px;
}
.tl-title {
    font-family: 'Barlow', sans-serif;
    font-size: 20px; font-weight: 700;
    color: #0f1f3d; margin-bottom: 10px;
}
.tl-text {
    font-size: 15px; color: #5a6a80;
    line-height: 1.75; font-weight: 300;
    margin-bottom: 14px;
}
.tl-highlight {
    background: rgba(109,201,53,0.06);
    border-left: 3px solid #6dc935;
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    font-size: 13px; color: #3d5166;
    font-weight: 300; line-height: 1.6;
}
@media(max-width:600px){
    .tl-dot { width: 38px; height: 38px; min-width: 38px; font-size: 18px; }
    .tl-line { left: 18px; }
    .tl-title { font-size: 17px; }
}
