/* ══════════════════════════════════════════════════════
   MIFT Solar — Design System v2.0
   Sistema visual unificado para todas las páginas
   ══════════════════════════════════════════════════════ */
 
/* === VARIABLES GLOBALES === */
:root {
    --accent: #67A60A;
    --accent-light: #7ec21a;
    --accent-dark: #4d8200;
    --accent-glow: rgba(103,166,10,.25);
    --bg-dark: #0c1c35;
    --bg-darker: #060e1a;
    --bg-card: #122a4e;
    --bg-section: #0b1528;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-light: #c8cfd8;
    --border: rgba(255,255,255,.08);
    --border-accent: rgba(103,166,10,.15);
    --r: 14px;
    --rl: 20px;
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-w: 1240px;
    --transition: all 0.3s ease;
}
 
/* === RESET & BASE === */
*,*::before,*::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scroll-padding-top: 120px; }
body {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font); }
 
/* === UTILIDADES === */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.text-accent { color: var(--accent); }
.section-padding { padding: 100px 0; }
.tag {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .76rem; font-weight: 700; color: var(--accent);
    text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px;
}
.tag::before { content: ''; width: 32px; height: 2px; background: var(--accent); }
.section-header { margin-bottom: 60px; max-width: 700px; }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; margin: 10px 0 20px; line-height: 1.15; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }
.section-header-center { text-align: center; margin-left: auto; margin-right: auto; }
.section-divider { border-top: 1px solid var(--border); }
 
/* === BOTONES === */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 32px; border-radius: 8px; font-weight: 700; font-size: .92rem;
    border: none; cursor: pointer; transition: var(--transition); text-transform: uppercase;
    letter-spacing: .5px; font-family: var(--font); text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 20px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { border: 2px solid rgba(255,255,255,.3); color: #fff; background: transparent; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-white { background: #fff; color: var(--accent-dark); font-weight: 800; box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.btn-white:hover { background: #f0f0f0; transform: translateY(-2px); }
.btn-lg { padding: 18px 40px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-submit {
    width: 100%; justify-content: center; background: var(--accent); color: #fff;
    padding: 15px; border: none; border-radius: 8px; font-family: var(--font);
    font-weight: 700; font-size: .95rem; cursor: pointer; transition: var(--transition);
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-submit:hover { background: var(--accent-dark); }
 
/* === NAVEGACIÓN === */
nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(6,14,26,.92); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); transition: var(--transition);
}
nav.scrolled { background: rgba(6,14,26,.98); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 110px; }
.logo-img { height: 100px; width: auto; }
.logo-text { font-size: 1.8rem; font-weight: 800; text-decoration: none; color: white; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-light); text-decoration: none; font-size: .86rem; font-weight: 600; transition: color 0.3s; }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--accent); }
.nav-wa { display: flex; align-items: center; gap: 6px; }
.nav-wa:hover { color: #25D366 !important; }
.nav-cta { background: var(--accent); color: #fff !important; padding: 10px 24px; border-radius: 8px; box-shadow: 0 2px 12px var(--accent-glow); font-size: .84rem !important; }
.nav-cta:hover { background: var(--accent-dark); }
.ham { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.ham span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: var(--transition); }
.ham.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.ham.open span:nth-child(2) { opacity: 0; }
.ham.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
 
/* Mobile nav overlay */
.nav-mobile {
    display: none; position: fixed; top: 76; left: 0; right: 0; bottom: 0;
    background: rgba(6,14,26,.98); backdrop-filter: blur(20px);
    z-index: 999; padding: 40px 28px;
    flex-direction: column; gap: 0;
    opacity: 0; transform: translateY(-10px);
    transition: opacity .3s, transform .3s;
}
.nav-mobile.open { display: flex; opacity: 1; transform: translateY(0); }
.nav-mobile a {
    color: var(--text-light); font-size: 1.1rem; font-weight: 600;
    padding: 16px 0; border-bottom: 1px solid var(--border);
    transition: color .2s; display: block;
}
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile .btn { margin-top: 24px; text-align: center; }
 
/* Barra móvil fija */
.mobile-bar {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
    background: var(--bg-darker); border-top: 1px solid var(--border);
    padding: 10px 16px; box-shadow: 0 -4px 20px rgba(0,0,0,.3);
}
.mobile-bar-inner { display: flex; gap: 10px; }
.mobile-bar-inner a {
    flex: 1; display: flex; align-items: center; justify-content: center;
    gap: 8px; font-weight: 700; font-size: .88rem; padding: 14px;
    border-radius: 8px; text-decoration: none;
}
.m-wa { background: #25D366; color: #fff; }
.m-cta { background: var(--accent); color: #fff; }
 
/* === PAGE HERO (subpáginas) === */
.page-hero {
    padding: 160px 0 80px; position: relative;
    background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark) 40%, var(--bg-card));
}
.page-hero::after {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(103,166,10,.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(103,166,10,.03) 1px, transparent 1px);
    background-size: 64px 64px; pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; line-height: 1.1; }
.page-hero p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; margin-bottom: 24px; font-size: .85rem; color: var(--text-muted); flex-wrap: wrap; }
.breadcrumbs a { color: var(--text-muted); transition: color .2s; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { opacity: .5; }
 
/* === HERO (index) === */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: 110px; }
.hero-media {
    position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(135deg, #060e1a, #0c1c35 40%, #122a4e);
}
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(103,166,10,.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(103,166,10,.04) 1px, transparent 1px);
    background-size: 64px 64px; pointer-events: none;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(6,14,26,.88), rgba(12,28,53,.65) 40%, rgba(12,28,53,.5));
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
 
/* ✅ CORRECCIÓN: era "..hero-grid" (dos puntos), ahora es ".hero-grid" (un punto) */
.hero-grid { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: center; min-width: 0; }
 
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); color: #fff; line-height: 1.1; margin-bottom: 24px; font-weight: 800; }
.hero h1 strong { color: var(--accent); }
.hero-sub { font-size: clamp(.98rem, 1.8vw, 1.1rem); color: var(--text-light); margin-bottom: 36px; max-width: 500px; line-height: 1.8; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
 
/* Texto rotativo */
.rotate-wrapper { display: inline-block; height: 1.15em; overflow: hidden; vertical-align: bottom; }
.rotate-text { display: flex; flex-direction: column; animation: rotateWords 8s ease-in-out infinite; }
.rotate-text span { display: block; height: 1.15em; color: var(--accent); }
@keyframes rotateWords {
    0%,18% { transform: translateY(0); }
    25%,43% { transform: translateY(-1.15em); }
    50%,68% { transform: translateY(-2.3em); }
    75%,93% { transform: translateY(-3.45em); }
    100% { transform: translateY(-4.6em); }
}
 
/* Formulario hero */
.hero-form {
    background: rgba(255,255,255,.97); border-radius: var(--rl);
    padding: 36px 32px; box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.hero-form h3 { font-size: 1.15rem; color: var(--bg-dark); margin-bottom: 4px; }
.hero-form .form-sub { font-size: .85rem; color: #6b7a8d; margin-bottom: 20px; }
.hero-form input, .hero-form select {
    width: 100%; padding: 13px 16px; border: 1.5px solid #e2e6eb; border-radius: 8px;
    font-family: var(--font); font-size: .9rem; transition: var(--transition); margin-bottom: 10px;
    background: #fff; color: var(--bg-dark);
}
.hero-form input:focus, .hero-form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(103,166,10,.12); }
.hero-form .form-note { font-size: .74rem; color: #9aa5b4; text-align: center; margin-top: 10px; }
 
/* Animaciones de entrada */
@keyframes fadeUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
.hero h1, .hero-sub, .hero-buttons, .hero-form { opacity: 0; animation: fadeUp .7s ease forwards; }
.hero h1 { animation-delay: .2s; } .hero-sub { animation-delay: .4s; }
.hero-buttons { animation-delay: .55s; } .hero-form { animation-delay: .4s; }
.fi { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.fi.visible { opacity: 1; transform: translateY(0); }
.fi-d1 { transition-delay: .1s; } .fi-d2 { transition-delay: .2s; } .fi-d3 { transition-delay: .3s; }
 
/* === BARRA DE DATOS === */
.data-bar { background: var(--bg-darker); border-top: 1px solid var(--border-accent); }
.data-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.data-item { padding: 36px 20px; text-align: center; border-right: 1px solid var(--border); position: relative; }
.data-item:last-child { border-right: none; }
.data-item::before { content: ''; display: block; width: 40px; height: 3px; background: var(--accent); border-radius: 4px; margin: 0 auto 12px; }
.data-number { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.data-label { font-size: .82rem; color: var(--text-muted); }
 
/* === MARCAS === */
.brands { padding: 48px 0; border-bottom: 1px solid var(--border); background: var(--bg-darker); overflow: hidden; }
.brands-title { font-size: .72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .12em; text-align: center; margin-bottom: 20px; }
.brands-track { display: flex; gap: 40px; justify-content: center; align-items: center; flex-wrap: wrap; }
.brands-track span { font-size: 1rem; font-weight: 700; color: var(--text-muted); opacity: .6; transition: opacity .3s; letter-spacing: .02em; }
.brands-track span:hover { opacity: 1; color: #fff; }
 
/* === CARDS GENÉRICAS === */
.card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rl);
    padding: 40px 32px; transition: all 0.4s; position: relative; overflow: hidden;
}
.card:hover { border-color: rgba(103,166,10,.3); transform: translateY(-5px); }
.card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--accent); transition: width .4s; }
.card:hover::after { width: 100%; }
 
/* === SERVICIOS === */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.service-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rl);
    padding: 40px 32px; transition: all 0.4s; position: relative; overflow: hidden;
}
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--accent); transition: width .4s; }
.service-card:hover { border-color: rgba(103,166,10,.3); transform: translateY(-5px); }
.service-card:hover::after { width: 100%; }
.service-icon {
    width: 56px; height: 56px; background: rgba(103,166,10,.12); border-radius: var(--r);
    display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
    border: 1px solid var(--border-accent);
}
.service-icon i { font-size: 1.4rem; color: var(--accent); }
.service-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.service-for { font-size: .85rem; color: var(--accent); font-weight: 700; margin-bottom: 16px; }
.service-card p { color: var(--text-muted); margin-bottom: 20px; font-size: .95rem; }
.service-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.service-feat { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--text-light); }
.service-feat::before { content: '✓'; color: var(--accent); font-weight: 700; }
 
/* === FISCAL === */
.fiscal-section {
    background: var(--bg-section); border-radius: var(--rl); padding: 60px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
    border: 1px solid var(--border); margin-top: 60px;
}
.fiscal-content h3 { font-size: 2rem; margin-bottom: 20px; }
.fiscal-list { list-style: none; margin-top: 20px; }
.fiscal-list li { background: rgba(255,255,255,.03); padding: 15px; border-left: 4px solid var(--accent); margin-bottom: 10px; font-weight: 600; }
 
/* === PROCESO === */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.process-step { text-align: center; position: relative; }
.step-number {
    width: 80px; height: 80px;
    background: linear-gradient(145deg, var(--accent), var(--accent-dark));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 1.5rem; font-weight: 800; color: #fff;
    box-shadow: 0 8px 28px var(--accent-glow); position: relative;
}
.step-number::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--border-accent); }
.process-step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: .88rem; color: var(--text-muted); }
 
/* === PORTAFOLIO === */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 24px; }
.portfolio-item { border-radius: var(--rl); overflow: hidden; border: 1px solid var(--border); transition: all .4s; }
.portfolio-item:hover { border-color: rgba(103,166,10,.3); transform: translateY(-4px); }
.portfolio-img { height: 240px; background-size: cover; background-position: center; position: relative; }
.portfolio-content { padding: 28px; background: var(--bg-card); }
.portfolio-tag { font-size: .78rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; display: block; }
.portfolio-content h4 { font-size: 1.2rem; margin-bottom: 12px; }
.portfolio-content > p { color: var(--text-muted); font-size: .9rem; margin-bottom: 15px; }
.metrics { display: flex; gap: 24px; border-top: 1px solid var(--border); padding-top: 15px; }
.metric div { font-size: 1.15rem; font-weight: 800; color: white; }
.metric span { font-size: .78rem; color: var(--text-muted); text-transform: uppercase; }
 
/* === VIDEO === */
.video-container {
    max-width: 900px; margin: 0 auto; border-radius: var(--rl);
    overflow: hidden; border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,.4); position: relative;
    aspect-ratio: 16/9; background: #000;
}
.video-container iframe, .video-container video { width: 100%; height: 100%; border: 0; }
.video-placeholder {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 16px;
    background: linear-gradient(135deg, rgba(6,14,26,.9), rgba(12,28,53,.8));
    cursor: pointer; transition: var(--transition);
}
.video-placeholder:hover { background: linear-gradient(135deg, rgba(6,14,26,.85), rgba(12,28,53,.7)); }
.play-btn {
    width: 80px; height: 80px; background: var(--accent); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 32px var(--accent-glow); transition: transform .3s;
}
.video-placeholder:hover .play-btn { transform: scale(1.1); }
.play-btn i { font-size: 1.8rem; color: #fff; margin-left: 4px; }
 
/* === FAQ === */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--bg-card); transition: var(--transition); }
.faq-item.open { border-color: var(--accent); }
.faq-q {
    width: 100%; background: none; border: none; padding: 20px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    cursor: pointer; font-family: var(--font); font-size: .98rem; font-weight: 600;
    color: #fff; text-align: left; transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
    width: 28px; height: 28px; min-width: 28px; background: rgba(255,255,255,.08);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    transition: var(--transition); font-size: .9rem; color: var(--text-muted);
}
.faq-item.open .faq-icon { background: var(--accent); transform: rotate(45deg); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner { padding: 0 24px 22px; font-size: .92rem; color: var(--text-muted); line-height: 1.75; }
 
/* === CTA VERDE === */
.cta-green {
    background: linear-gradient(145deg, var(--accent), var(--accent-dark));
    position: relative; overflow: hidden; padding: 100px 0;
}
.cta-green::before {
    content: ''; position: absolute; top: -40%; right: -15%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,.1), transparent 60%);
    pointer-events: none;
}
.cta-content { position: relative; text-align: center; max-width: 600px; margin: 0 auto; }
.cta-content h2 { color: #fff; margin-bottom: 16px; font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; }
.cta-content p { color: rgba(255,255,255,.85); margin-bottom: 32px; font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
 
/* === CONTACTO === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--bg-card); border-radius: var(--rl); overflow: hidden; border: 1px solid var(--border); }
.contact-info { padding: 50px; }
.contact-info h3 { font-size: 1.6rem; margin-bottom: 30px; }
.info-item { display: flex; align-items: center; margin-bottom: 25px; }
.info-icon { width: 50px; height: 50px; background: rgba(103,166,10,.1); color: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-right: 20px; flex-shrink: 0; }
.info-item h5 { font-size: 1rem; margin-bottom: 4px; }
.info-item p { color: var(--text-muted); font-size: .9rem; margin: 0; }
.info-item a { color: var(--text-muted); text-decoration: none; transition: color .2s; }
.info-item a:hover { color: var(--accent); }
.contact-form-side {
    padding: 50px; background: var(--bg-section);
    border-left: 1px solid var(--border);
}
.contact-form-side h3 { font-size: 1.4rem; margin-bottom: 8px; }
.contact-form-side .form-sub { color: var(--text-muted); font-size: .88rem; margin-bottom: 24px; }
.contact-form-side input,
.contact-form-side select,
.contact-form-side textarea {
    width: 100%; padding: 13px 16px; background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1); border-radius: 8px; color: #fff;
    font-family: var(--font); font-size: .92rem; margin-bottom: 12px; transition: var(--transition);
}
.contact-form-side input::placeholder,
.contact-form-side textarea::placeholder { color: #6b7a8d; }
.contact-form-side input:focus,
.contact-form-side select:focus,
.contact-form-side textarea:focus { outline: none; border-color: var(--accent); }
.contact-form-side select { appearance: none; }
.contact-form-side select option { background: var(--bg-dark); color: #fff; }
.contact-form-side textarea { min-height: 80px; resize: vertical; }
 
/* === BLOG === */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 28px; }
.blog-card { border-radius: var(--rl); overflow: hidden; border: 1px solid var(--border); background: var(--bg-card); transition: all .4s; display: flex; flex-direction: column; }
.blog-card:hover { border-color: rgba(103,166,10,.3); transform: translateY(-4px); }
.blog-card-img { height: 220px; background-size: cover; background-position: center; position: relative; }
.blog-card-img .blog-cat {
    position: absolute; top: 16px; left: 16px; background: var(--accent);
    color: #fff; padding: 4px 14px; border-radius: 6px; font-size: .75rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.blog-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { font-size: .8rem; color: var(--text-muted); margin-bottom: 12px; }
.blog-card-body h3 { font-size: 1.2rem; margin-bottom: 12px; line-height: 1.4; }
.blog-card-body h3 a { transition: color .2s; }
.blog-card-body h3 a:hover { color: var(--accent); }
.blog-card-body p { color: var(--text-muted); font-size: .92rem; margin-bottom: 20px; flex: 1; }
.blog-read-more { color: var(--accent); font-weight: 700; font-size: .9rem; transition: gap .2s; display: inline-flex; align-items: center; gap: 6px; }
.blog-read-more:hover { gap: 10px; }
.blog-categories { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.blog-cat-btn {
    padding: 8px 20px; border-radius: 8px; border: 1px solid var(--border);
    background: transparent; color: var(--text-muted); font-family: var(--font);
    font-size: .85rem; font-weight: 600; cursor: pointer; transition: var(--transition);
}
.blog-cat-btn:hover, .blog-cat-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
 
/* Blog post */
.post-content { max-width: 780px; margin: 0 auto; }
.post-content h2 { font-size: 1.6rem; font-weight: 800; margin: 40px 0 16px; }
.post-content h3 { font-size: 1.3rem; font-weight: 700; margin: 32px 0 12px; }
.post-content p { color: var(--text-light); font-size: 1.02rem; margin-bottom: 20px; line-height: 1.85; }
.post-content ul, .post-content ol { margin: 16px 0 24px 24px; }
.post-content li { color: var(--text-light); font-size: 1rem; margin-bottom: 10px; line-height: 1.7; list-style: disc; }
.post-content ol li { list-style: decimal; }
.post-content img { border-radius: var(--r); margin: 32px 0; border: 1px solid var(--border); }
.post-content blockquote {
    border-left: 4px solid var(--accent); padding: 20px 24px; margin: 24px 0;
    background: rgba(103,166,10,.06); border-radius: 0 var(--r) var(--r) 0;
    color: var(--text-light); font-style: italic;
}
.post-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; font-size: .9rem; color: var(--text-muted); }
.post-featured-img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--rl); margin-bottom: 40px; border: 1px solid var(--border); }
.post-cta {
    background: var(--bg-section); border: 1px solid var(--border-accent);
    border-radius: var(--rl); padding: 40px; text-align: center; margin: 48px 0;
}
.post-cta h3 { font-size: 1.4rem; margin-bottom: 12px; }
.post-cta p { color: var(--text-muted); margin-bottom: 24px; }
.related-posts { margin-top: 60px; }
.related-posts h3 { font-size: 1.4rem; margin-bottom: 24px; }
 
/* === CALCULADORA === */
.calc-wrapper {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rl);
    padding: 48px; max-width: 700px; margin: 0 auto;
}
.calc-wrapper label { display: block; font-weight: 600; margin-bottom: 8px; font-size: .92rem; }
.calc-wrapper input, .calc-wrapper select {
    width: 100%; padding: 14px 16px; background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1); border-radius: 8px; color: #fff;
    font-family: var(--font); font-size: .95rem; margin-bottom: 20px; transition: var(--transition);
}
.calc-wrapper input:focus, .calc-wrapper select:focus { outline: none; border-color: var(--accent); }
.calc-wrapper select option { background: var(--bg-dark); color: #fff; }
.calc-result {
    background: rgba(103,166,10,.08); border: 1px solid var(--border-accent);
    border-radius: var(--r); padding: 32px; margin-top: 24px; display: none;
}
.calc-result.show { display: block; }
.calc-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.calc-metric { text-align: center; }
.calc-metric .value { font-size: 2rem; font-weight: 800; color: var(--accent); }
.calc-metric .label { font-size: .82rem; color: var(--text-muted); margin-top: 4px; }
 
/* === BESS === */
.bess-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.bess-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--rl); padding: 36px; transition: all .4s;
}
.bess-card:hover { border-color: rgba(103,166,10,.3); transform: translateY(-4px); }
.bess-card .icon { width: 48px; height: 48px; background: rgba(103,166,10,.12); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.bess-card .icon i { color: var(--accent); font-size: 1.2rem; }
.bess-card h4 { font-size: 1.15rem; margin-bottom: 10px; }
.bess-card p { color: var(--text-muted); font-size: .92rem; }
 
/* === ABOUT / NOSOTROS === */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { border-radius: var(--rl); overflow: hidden; border: 1px solid var(--border); }
.about-img img { width: 100%; height: 400px; object-fit: cover; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 60px; }
.value-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r);
    padding: 32px; text-align: center; transition: all .3s;
}
.value-card:hover { border-color: rgba(103,166,10,.3); }
.value-card .icon { width: 56px; height: 56px; background: rgba(103,166,10,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.value-card .icon i { color: var(--accent); font-size: 1.3rem; }
.value-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
.value-card p { color: var(--text-muted); font-size: .9rem; }
 
/* === FOOTER === */
footer { background: var(--bg-darker); padding: 80px 0 30px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-col h5 { color: white; font-size: 1rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); transition: 0.3s; font-size: .9rem; }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-bottom {
    border-top: 1px solid var(--border); padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center;
    color: var(--text-muted); font-size: .85rem;
}
.social-links { display: flex; gap: 10px; margin-top: 14px; }
.social-links a {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; background: rgba(255,255,255,.06);
    border: 1px solid var(--border); border-radius: 8px; transition: var(--transition);
    color: var(--text-muted); font-size: 1rem;
}
.social-links a:hover { background: rgba(103,166,10,.15); border-color: rgba(103,166,10,.3); color: var(--accent); }
 
/* === WHATSAPP FLOTANTE === */
.wa-float {
    position: fixed; bottom: 90px; right: 24px; z-index: 997;
    width: 56px; height: 56px; background: #25D366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.35); transition: transform .3s;
    color: #fff; font-size: 1.6rem;
}
.wa-float:hover { transform: scale(1.1); }
 
/* === RESPONSIVE === */
@media(max-width:960px) {
    .nav-links { display: none; }
    .ham { display: block; }
    .fiscal-section, .contact-grid, .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-form-side { border-left: none; border-top: 1px solid var(--border); }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media(max-width:768px) {
    .mobile-bar { display: block; }
    body { padding-bottom: 76px; }
    section, .section-padding { padding: 64px 0; }
    .logo-img { height: 70px; }
    .nav-container { height: 90px; }
    .nav-mobile { top: 90px; }
    .hero { min-height: auto; padding: 130px 0 60px; }
    .hero-form { max-width: 100%; }
    .hero h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .data-bar-inner { grid-template-columns: 1fr 1fr; }
    .data-item { padding: 20px 12px; }
    .data-number { font-size: 1.8rem; }
    .services-grid, .portfolio-grid, .blog-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .container { padding: 0 18px; }
    .fiscal-section { padding: 32px 24px; }
    .page-hero { padding: 130px 0 60px; }
    .calc-wrapper { padding: 28px; }
    .calc-result-grid { grid-template-columns: 1fr; }
    .post-featured-img { height: 240px; }
    .wa-float { bottom: 100px; right: 16px; }
}
@media(max-width:480px) {
    .process-grid { grid-template-columns: 1fr; }
    .data-bar-inner { grid-template-columns: 1fr 1fr; }
    .bess-features { grid-template-columns: 1fr; }
    .logo-img { height: 60px; }
    .nav-container { height: 80px; }
    .nav-mobile { top: 80px; }
}
 
/* === CALC LEAD CAPTURE === */
.calc-lead-form {
    display: none; background: var(--bg-section); border: 1px solid var(--border-accent);
    border-radius: var(--rl); padding: 36px; margin-top: 28px; text-align: center;
}
.calc-lead-form.show { display: block; animation: fadeUp .5s ease forwards; }
.calc-lead-form h4 { font-size: 1.2rem; margin-bottom: 6px; }
.calc-lead-form .form-sub { color: var(--text-muted); font-size: .88rem; margin-bottom: 20px; }
.calc-lead-form input {
    width: 100%; padding: 13px 16px; background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1); border-radius: 8px; color: #fff;
    font-family: var(--font); font-size: .92rem; margin-bottom: 10px; transition: var(--transition);
}
.calc-lead-form input::placeholder { color: #6b7a8d; }
.calc-lead-form input:focus { outline: none; border-color: var(--accent); }
.calc-result-grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
@media(max-width:600px) { .calc-result-grid-6 { grid-template-columns: 1fr 1fr; } }
 
/* === BLOG SEO ADDITIONS === */
.blog-sidebar { position: sticky; top: 130px; }
.blog-toc { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; margin-bottom: 24px; }
.blog-toc h4 { font-size: 1rem; margin-bottom: 12px; color: var(--accent); }
.blog-toc a { display: block; padding: 6px 0; font-size: .88rem; color: var(--text-muted); transition: color .2s; border-bottom: 1px solid var(--border); }
.blog-toc a:last-child { border-bottom: none; }
.blog-toc a:hover { color: var(--accent); }
.post-share { display: flex; gap: 10px; margin: 32px 0; align-items: center; }
.post-share span { font-size: .85rem; color: var(--text-muted); font-weight: 600; }
.post-share a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid var(--border); color: var(--text-muted); transition: var(--transition); }
.post-share a:hover { background: rgba(103,166,10,.15); border-color: var(--accent); color: var(--accent); }
 
/* === FOOTER LOGO === */
.footer-logo { height: 40px !important; width: auto; }