/* =================================================================== */
/* === ARCHIVO main.css DEFINITIVO Y DEPURADO PARA MIM INGENIERÍA === */
/* =================================================================== */

/* === VARIABLES Y ESTILOS BASE === */
:root {
    --azul-corporativo: #0A4E8C;
    --naranja-energia: #FF6B35;
    --verde-energia: #10b981;
    --gris-oscuro: #2D3142;
    --gris-claro: #F5F7FA;
    --blanco: #FFFFFF;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--gris-oscuro);
    line-height: 1.6;
    background-color: var(--blanco);
}

/* === HEADER Y NAVEGACIÓN === */
header {
    background: var(--blanco);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}
.logo-isotipo {
    height: 50px;
    width: auto;
}
.logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--azul-corporativo);
    letter-spacing: 2px;
}
.logo-subtitle {
    font-size: 0.7rem;
    color: var(--gris-oscuro);
    font-weight: 400;
    letter-spacing: 1px;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: var(--gris-oscuro);
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--azul-corporativo);
}
.cta-nav {
    background: var(--naranja-energia);
    color: var(--blanco) !important;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}
.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* === ESTILOS GLOBALES DE SECCIONES Y BOTONES === */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--azul-corporativo);
}
.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gris-oscuro);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.btn {
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}
.btn-primary {
    background: var(--naranja-energia);
    color: var(--blanco);
}
.btn-primary:hover {
    background: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}
.btn-secondary {
    background: transparent;
    color: var(--blanco);
    border: 2px solid var(--blanco);
}
.btn-secondary:hover {
    background: var(--blanco);
    color: var(--azul-corporativo);
}
.btn-secondary-outline {
    display: block;
    width: 100%;
    padding: 1rem;
    background: transparent;
    color: var(--azul-corporativo);
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--azul-corporativo);
}
.btn-secondary-outline:hover {
    background: var(--azul-corporativo);
    color: var(--blanco);
}
.btn-cta {
    background-color: var(--naranja-energia) !important;
    color: white !important;
    font-size: 1.1rem !important;
    padding: 1rem 2rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
}
.btn-cta:hover {
    background-color: #ff5722 !important;
    transform: translateY(-2px);
}

/* === ESTILOS PARA LA PÁGINA DE INICIO (front-page.php) === */
.hero { background: linear-gradient(135deg, var(--azul-corporativo) 0%, #0d6eae 100%); color: var(--blanco); padding: 6rem 2rem 4rem; position: relative; overflow: hidden; }
.hero-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero-text h1 { font-size: 3rem; margin-bottom: 1rem; line-height: 1.2; color: var(--blanco); }
.hero-highlight { color: var(--naranja-energia); font-weight: 900; }
.hero-subtitle { font-size: 1.3rem; margin-bottom: 2rem; opacity: 0.95; color: var(--blanco); }
.hero-features { display: flex; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.hero-feature { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; }
.hero-feature::before { content: '✓'; display: inline-block; width: 20px; height: 20px; background: var(--naranja-energia); border-radius: 50%; text-align: center; line-height: 20px; font-size: 0.8rem; font-weight: bold; }
.hero-ctas { display: flex; gap: 1rem; }
.hero-lead-magnet { background: var(--blanco); color: var(--gris-oscuro); padding: 2rem; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
.lead-magnet-badge { background: var(--naranja-energia); color: var(--blanco); padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; display: inline-block; margin-bottom: 1rem; }
.hero-lead-magnet h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--azul-corporativo); }
.hero-lead-magnet ul { list-style: none; padding: 0; margin-bottom: 1.5rem; }
.hero-lead-magnet li { padding: 0.5rem 0; display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; }
.hero-lead-magnet li::before { content: '✓'; color: var(--naranja-energia); font-weight: bold; font-size: 1.2rem; }
.trust { background: var(--gris-claro); padding: 2rem; text-align: center; }
.trust-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 2rem; }
.trust-item { display: flex; flex-direction: column; align-items: center; }
.trust-number { font-size: 2.5rem; font-weight: 900; color: var(--azul-corporativo); }
.trust-label { color: var(--gris-oscuro); font-size: 0.9rem; }
.diferenciador, .proceso, .sobre-mi { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }
.diferenciador-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.diferenciador-card { background: var(--blanco); padding: 2rem; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; border-left: 4px solid var(--naranja-energia); }
.diferenciador-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.diferenciador-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--azul-corporativo); }
.servicios { background: var(--gris-claro); padding: 5rem 2rem; }
.servicios-container { max-width: 1200px; margin: 0 auto; }
.servicios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; margin-top: 3rem; }
.servicio-card { background: var(--blanco); border-radius: 10px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.1); transition: transform 0.3s; display: flex; flex-direction: column; }
.servicio-card:hover { transform: translateY(-5px); }
.servicio-header { background: var(--azul-corporativo); color: var(--blanco); padding: 2rem; text-align: center; }
.servicio-precio { font-size: 2.5rem; font-weight: 900; }
.servicio-precio-label { font-size: 0.9rem; opacity: 0.9; }
.servicio-body { padding: 2rem; display: flex; flex-direction: column; flex-grow: 1; }
.servicio-body h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--azul-corporativo); }
.servicio-features { list-style: none; padding: 0; margin-bottom: 2rem; flex-grow: 1; }
.servicio-features li { padding: 0.5rem 0; display: flex; align-items: center; gap: 0.5rem; }
.servicio-features li::before { content: '✓'; color: var(--naranja-energia); font-weight: bold; }
.servicio-target { margin-bottom: 1.5rem; color: #666; font-size: 0.9rem; min-height: 50px; }
.servicio-card.popular-choice { transform: scale(1.05); box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3); border: 2px solid var(--naranja-energia); }
.popular-badge { margin-top: 0.5rem; background: rgba(255,255,255,0.2); padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.8rem; display: inline-block; font-weight: 600; }
.proceso-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
.step { text-align: center; position: relative; background: var(--blanco); padding: 2rem; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); }
.step-number { width: 60px; height: 60px; background: var(--naranja-energia); color: var(--blanco); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 900; margin: 0 auto 1rem; }
.step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--azul-corporativo); }
.testimonios { background: var(--gris-claro); padding: 5rem 2rem; }
.testimonios-container { max-width: 1200px; margin: 0 auto; }
.testimonios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.testimonio-card { background: var(--blanco); padding: 2rem; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); position: relative; padding-top: 3rem; }
.testimonio-card::before { content: '“'; position: absolute; top: 1rem; left: 1.5rem; font-size: 5rem; color: var(--naranja-energia); opacity: 0.2; line-height: 1; }
.testimonio-rating { font-size: 1.5rem; color: var(--naranja-energia); margin-bottom: 1rem; }
.testimonio-text { font-style: italic; margin-bottom: 1.5rem; line-height: 1.8; }
.testimonio-author { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--gris-claro); }
.testimonio-info h4 { font-size: 1rem; color: var(--azul-corporativo); }
.testimonio-info p { font-size: 0.9rem; color: var(--gris-oscuro); }
.sobre-mi-content { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: center; margin-top: 3rem; }
.sobre-mi-image { width: 100%; aspect-ratio: 1; background: linear-gradient(135deg, var(--azul-corporativo), var(--naranja-energia)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--blanco); font-size: 5rem; font-weight: 900; }
.credenciales { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.credencial { background: var(--gris-claro); padding: 0.5rem 1rem; border-radius: 5px; font-weight: 600; font-size: 0.9rem; }
.cta-final { background: var(--azul-corporativo); color: var(--blanco); padding: 5rem 2rem; text-align: center; }
.cta-final-content { max-width: 800px; margin: 0 auto; }
.cta-final h2 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--blanco); }
.cta-final p { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.95; }

/* === FOOTER === */
footer { background: var(--gris-oscuro); color: var(--blanco); padding: 4rem 2rem 2rem; }
.footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2.5rem; margin-bottom: 3rem; }
.footer-logo { font-size: 2rem; font-weight: 900; color: var(--blanco); line-height: 1; }
.footer-section h4 { margin-bottom: 1.5rem; color: var(--naranja-energia); font-size: 1.1rem; }
.footer-section ul, .footer-section .footer-links { list-style: none; padding: 0; }
.footer-section ul li, .footer-section .footer-links li { margin-bottom: 0.8rem; }
.footer-section a { color: var(--blanco); text-decoration: none; opacity: 0.8; transition: opacity 0.3s; }
.footer-section a:hover { opacity: 1; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; opacity: 0.7; font-size: 0.85rem; }
.subvencion { border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; overflow: hidden; font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; font-size: 0.8rem; background: var(--blanco); color: var(--gris-oscuro); text-align: center; }
.subvencion-header { background: #00a3e0; padding: 0.5rem; display: flex; justify-content: center; align-items: center; gap: 1rem; }
.subvencion-header img { max-height: 25px; filter: brightness(0) invert(1); }
.subvencion-body { padding: 1rem; }
.subvencion-body h3 { font-size: 0.75rem; margin: 0.2rem 0; line-height: 1.3; color: var(--gris-oscuro); }
.subvencion-footer { background: var(--gris-oscuro); color: var(--blanco); padding: 0.5rem; font-size: 0.7rem; }

/* === ESTILOS PARA PÁGINAS INTERNAS (BLOG, CEE, CALCULADORA, ETC.) === */
.main-container { max-width: 1200px; margin: 0 auto; padding: 2rem; }
.page .main-container, .blog .main-container, .single .main-container, .page-template-template-calculadora .main-container { padding-top: 4rem; padding-bottom: 4rem; }
.page-title { text-align: center; font-size: 2.8rem; margin-bottom: 3rem; color: var(--azul-corporativo); }
/* --- Página CEE --- */
.cee-page-content .hero-section-verde { background: linear-gradient(135deg, var(--verde-energia) 0%, #0d8f6f 100%); padding: 4rem 2rem; border-radius: 10px; margin-bottom: 2rem; }
.cee-page-content .hero-section-verde h1, .cee-page-content .hero-section-verde p { color: var(--blanco); }
.cee-page-content .step-number { background: var(--verde-energia); }
.cee-page-content .border-verde { border-left-color: var(--verde-energia); }
.cee-page-content .kt-svg-icon-wrap { color: var(--verde-energia); }
.diferenciador-card p, .diferenciador-card h3 { color: var(--gris-oscuro); }
/* --- Blog (index.php) --- */
.blog-archive { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.blog-post-card { background: var(--blanco); border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; overflow: hidden; display: flex; flex-direction: column; }
.blog-post-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.blog-post-card .post-thumbnail img { width: 100%; height: 200px; object-fit: cover; }
.blog-post-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.blog-post-content h2.entry-title a { font-size: 1.4rem; color: var(--azul-corporativo); text-decoration: none; font-weight: 700; }
.blog-post-content .entry-summary { font-size: 0.95rem; margin-top: 0.5rem; color: var(--gris-oscuro); flex-grow: 1; }
.blog-post-content .read-more-link { margin-top: 1rem; font-weight: 600; color: var(--naranja-energia); text-decoration: none; }
/* =================================================================== */
/* === NUEVOS ESTILOS PARA LA PLANTILLA DE BLOG (SINGLE.PHP) === */
/* =================================================================== */

.single body {
    background: var(--gris-claro); /* Fondo gris claro para las páginas de post */
}

.article-hero {
    background: linear-gradient(135deg, var(--azul-corporativo) 0%, #0d6eae 100%);
    color: var(--blanco);
    padding: 4rem 2rem 2rem;
}

.article-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--blanco);
    text-decoration: none;
}

.article-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--blanco); /* Asegura que el H1 del hero sea blanco */
}

.article-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-container {
    max-width: 800px;
    margin: -3rem auto 0;
    background: var(--blanco);
    border-radius: 10px 10px 0 0;
    padding: 3rem;
    position: relative;
    z-index: 2; /* Para que se superponga al fondo */
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.article-intro {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gris-claro);
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2, .article-content h3 {
    color: var(--azul-corporativo);
    margin: 2.5rem 0 1rem;
}

.article-content h2 { font-size: 2rem; }
.article-content h3 { font-size: 1.5rem; }

.article-content ul, .article-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.error-card {
    background: var(--gris-claro);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid var(--naranja-energia);
}

.error-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--naranja-energia);
    margin-bottom: 0.5rem;
}

.error-title {
    font-size: 1.5rem;
    color: var(--azul-corporativo);
    margin-bottom: 1rem;
}

.cost-highlight {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 5px;
    border-left: 4px solid #ffc107;
    margin: 1rem 0;
    font-weight: 600;
}

.solution-box {
    background: #d1f2eb;
    padding: 1.5rem;
    border-radius: 5px;
    border-left: 4px solid #10b981;
    margin: 1rem 0;
}

.solution-box h4 {
    color: #0d8f6f;
    margin-bottom: 0.5rem;
}

.cta-inline {
    background: var(--azul-corporativo);
    color: var(--blanco);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 3rem 0;
}

.cta-inline h3 {
    color: var(--blanco);
    margin-bottom: 1rem;
}

.author-box {
    background: var(--gris-claro);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.author-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--azul-corporativo), var(--naranja-energia));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    font-size: 2rem;
    font-weight: 900;
    flex-shrink: 0;
}

.author-info h4 {
    color: var(--azul-corporativo);
    margin-bottom: 0.5rem;
}

.related-articles {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: var(--gris-claro);
}

.related-articles h3 {
    color: var(--azul-corporativo);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-card {
    background: var(--blanco);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card h4 {
    color: var(--azul-corporativo);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--naranja-energia);
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 768px) {
    .article-hero h1 { font-size: 2rem; }
    .article-container { padding: 2rem 1.5rem; margin: -2rem 1rem 0; }
    .author-box { flex-direction: column; text-align: center; }
}
/* --- Calculadora ROI --- */
.calculadora-container { margin: 2rem 0; }
.calculadora-header { background: linear-gradient(135deg, var(--azul-corporativo) 0%, #0d6eae 100%); color: white; padding: 2rem; border-radius: 10px; margin-bottom: 2rem; text-align: center; }
.calculadora-header svg { margin-bottom: 1rem; }
.calculadora-header h1 { font-size: 2rem; margin-bottom: 0.5rem; color: var(--blanco); }
.calculadora-header p { opacity: 0.9; }
.calculadora-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.panel-inputs, .resultado-card, .interpretacion-section { background: var(--blanco); padding: 2rem; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.panel-inputs h2 { color: var(--azul-corporativo); margin-bottom: 1.5rem; font-size: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--gris-oscuro); }
.form-group input[type="range"] { width: 100%; }
.form-group select { width: 100%; padding: 0.7rem; border-radius: 5px; border: 2px solid #e0e0e0; font-size: 1rem; }
.range-labels { display: flex; justify-content: space-between; font-size: 0.8rem; color: #666; margin-top: 0.3rem; }
.info-box { background: #e3f2fd; padding: 1rem; border-radius: 5px; border-left: 4px solid var(--azul-corporativo); font-size: 0.9rem; margin-top: 2rem; }
.info-box strong { color: var(--azul-corporativo); }
.panel-resultados { background: none; box-shadow: none; padding: 0; }
.resultado-card { margin-bottom: 1rem; }
.inversion-card h3 { color: var(--azul-corporativo); margin-bottom: 1rem; font-size: 1.2rem; }
.inversion-item { display: flex; justify-content: space-between; margin-bottom: 0.3rem; }
.text-small { font-size: 0.9rem; color: #666; }
.inversion-divider { border-top: 2px solid #e0e0e0; padding-top: 0.8rem; margin-top: 0.8rem; display: flex; justify-content: space-between; font-size: 1.3rem; font-weight: 700; color: var(--azul-corporativo); }
.beneficios-card h3 { color: #10b981; margin-bottom: 1rem; font-size: 1.2rem; }
.beneficio-item { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-size: 0.95rem; }
.beneficio-valor { color: #10b981; font-weight: bold; }
.beneficios-total { border-top: 2px solid #e0e0e0; padding-top: 0.8rem; margin-top: 0.8rem; display: flex; justify-content: space-between; font-size: 1.3rem; font-weight: 700; color: #10b981; }
.roi-card { background: linear-gradient(135deg, var(--naranja-energia) 0%, #ff5722 100%); color: white; text-align: center; padding: 2rem; }
.roi-card svg { margin-bottom: 1rem; }
.roi-numero { font-size: 3rem; font-weight: 900; margin-bottom: 0.5rem; }
.roi-label { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; }
.roi-metricas { border-top: 1px solid rgba(255,255,255,0.3); padding-top: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; text-align: center; }
.roi-metrica-valor { font-size: 2rem; font-weight: 700; }
.roi-metrica-label { font-size: 0.9rem; opacity: 0.9; }
.interpretacion-section h2 { color: var(--azul-corporativo); margin-bottom: 1.5rem; font-size: 1.5rem; }
.alert { padding: 1.5rem; border-radius: 8px; margin-bottom: 1rem; }
.alert-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 1.1rem; }
.alert-exito { background: #d1f2eb; border-left: 4px solid #10b981; color: #0d8f6f; }
.alert-warning { background: #fff3cd; border-left: 4px solid #ffc107; color: #856404; }
.alert-danger { background: #f8d7da; border-left: 4px solid #dc3545; color: #721c24; }
.factores-adicionales { margin-top: 1.5rem; }
.factores-adicionales h3 { color: var(--azul-corporativo); margin-bottom: 1rem; }
.factores-adicionales ul { line-height: 1.8; color: var(--gris-oscuro); margin-left: 1rem; }
.cta-final-calculadora { background: var(--azul-corporativo); color: white; padding: 1.5rem; border-radius: 8px; margin-top: 2rem; text-align: center; }
.cta-final-calculadora h3 { color: white; margin-bottom: 1rem; }
.btn-cta { display: inline-block; padding: 1rem 2rem; background: var(--naranja-energia); color: white; text-decoration: none; border-radius: 5px; font-weight: 600; margin-top: 0.5rem; }
@media (max-width: 768px) { .calculadora-grid { grid-template-columns: 1fr; } }

/* === ESTILOS PARA CONTACT FORM 7 === */
.wpcf7 { max-width: 800px; margin: 2rem auto; }
.wpcf7-form .wpcf7-form-control-wrap input[type="text"], .wpcf7-form .wpcf7-form-control-wrap input[type="email"], .wpcf7-form .wpcf7-form-control-wrap input[type="tel"], .wpcf7-form .wpcf7-form-control-wrap textarea, .wpcf7-form .wpcf7-form-control-wrap select { box-sizing: border-box !important; background-color: var(--blanco) !important; color: var(--gris-oscuro) !important; border: 2px solid #e0e0e0 !important; border-radius: 5px !important; padding: 1rem !important; width: 100% !important; font-size: 1rem !important; font-family: inherit !important; transition: border-color 0.3s ease; -webkit-appearance: none; }
.wpcf7-form .wpcf7-form-control-wrap input:focus, .wpcf7-form .wpcf7-form-control-wrap textarea:focus, .wpcf7-form .wpcf7-form-control-wrap select:focus { outline: none !important; border-color: var(--azul-corporativo) !important; }
.wpcf7-form label { font-weight: 600; color: var(--gris-oscuro); margin-bottom: 0.5rem; display: block; }
.wpcf7-form input[type="submit"].wpcf7-submit, .wpcf7-form button.wpcf7-submit { box-sizing: border-box !important; background: var(--naranja-energia) !important; color: var(--blanco) !important; padding: 1rem 2rem !important; border-radius: 5px !important; font-weight: 600 !important; text-decoration: none; display: inline-block !important; transition: all 0.3s !important; cursor: pointer !important; border: none !important; font-size: 1rem !important; width: 100%; -webkit-appearance: none; }
.wpcf7-form input[type="submit"].wpcf7-submit:hover, .wpcf7-form button.wpcf7-submit:hover { background: #ff5722 !important; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3); }
.wpcf7-response-output { border-radius: 5px; padding: 1.5rem !important; margin: 2rem 0 0 0 !important; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (max-width: 768px) { .form-grid { grid-template-columns: 1fr; } }

/* === RESPONSIVE Y ANIMACIONES GLOBALES === */
@media (max-width: 768px) {
    nav { flex-wrap: wrap; justify-content: center; }
    .nav-links { display: none; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-features { justify-content: center; }
    .hero-ctas { flex-direction: column; }
    .section-title { font-size: 2rem; }
    .sobre-mi-content { grid-template-columns: 1fr; }
}
.fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
/* TAREA 1.1: Estilos para el Banner de Descargo Legal */
.disclaimer-banner { background: #FEF3C7; border-left: 5px solid #F59E0B; margin: 2rem auto; max-width: 1200px; padding: 1.5rem 2rem; border-radius: 8px; }
.disclaimer-banner__content { display: flex; align-items: flex-start; gap: 1rem; }
.disclaimer-banner__icon { font-size: 1.5rem; line-height: 1.5; }
.disclaimer-banner__text h4 { margin: 0 0 0.5rem 0; color: #92400E; font-size: 1.1rem; }
.disclaimer-banner__text p { margin: 0; color: #78350F; line-height: 1.6; }
.disclaimer-banner__toggle { background: none; border: none; color: #92400E; text-decoration: underline; cursor: pointer; padding: 0.5rem 0 0 0; font-size: 0.9rem; }
.disclaimer-banner__explanation { display: none; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #FCD34D; }
/* TAREA 1.2: Estilos para la Sección Qué Incluye / No Incluye */
.what-includes { background: var(--gris-claro); padding: 5rem 2rem; }
.what-includes .container { max-width: 1200px; margin: 0 auto; }
.what-includes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.what-includes__card { background: var(--blanco); padding: 2rem; border-radius: 12px; }
.what-includes__card.included { border: 2px solid #10B981; }
.what-includes__card.not-included { border: 2px solid #EF4444; }
.what-includes__card h3 { font-size: 1.5rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.what-includes__card.included h3 { color: #10B981; }
.what-includes__card.not-included h3 { color: #EF4444; }
.what-includes__card ul { list-style: none; padding: 0; margin: 0; }
.what-includes__card li { padding: 0.75rem 0; border-bottom: 1px solid #E5E7EB; display: flex; flex-direction: column; }
.what-includes__card li:last-child { border-bottom: none; }
.what-includes__card li strong { font-size: 1rem; color: var(--gris-oscuro); }
.what-includes__card li span { font-size: 0.9rem; color: #6B7280; }
.what-includes__note { background: #FEF2F2; padding: 1rem; border-radius: 8px; margin-top: 1.5rem; color: #991B1B; font-size: 0.9rem; }
@media (max-width: 768px) { .what-includes__grid { grid-template-columns: 1fr; } }
<!-- TAREA 1.3: Botón WhatsApp Flotante -->
<a href="https://wa.me/34613175963?text=Hola,%20quiero%20información%20sobre%20la%20certificación%20ISO%209001" class="whatsapp-float" target="_blank" rel="noopener noreferrer" aria-label="Contactar por WhatsApp">
    <svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"><path d="M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946.003-6.556 5.338-11.891 11.893-11.891 3.181.001 6.167 1.24 8.413 3.488 2.245 2.248 3.481 5.236 3.48 8.414-.003 6.557-5.338 11.892-11.893 11.892-1.99-.001-3.951-.5-5.688-1.448l-6.305 1.654zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.447-4.433-9.884-9.889-9.884-5.448 0-9.886 4.434-9.889 9.885.002 2.024.63 4.032 1.792 5.795l-1.218 4.446 4.549-1.192zM12.07 9.58c-.375 0-.68.125-.943.375-.263.25-.422.589-.422 1.016v.292c0 .428.16.767.422 1.017.263.25.568.375.943.375s.68-.125.943-.375c.263-.25.422-.589.422-1.017v-.292c0-.427-.16-.766-.422-1.016-.263-.25-.568-.375-.943-.375zm-3.417 0c-.375 0-.68.125-.943.375-.263.25-.422.589-.422 1.016v.292c0 .428.16.767.422 1.017.263.25.568.375.943.375s.68-.125.943-.375c.263-.25.422-.589.422-1.017v-.292c0-.427-.16-.766-.422-1.016-.263-.25-.568-.375-.943-.375zm6.834 0c-.375 0-.68.125-.943.375-.263.25-.422.589-.422 1.016v.292c0 .428.16.767.422 1.017.263.25.568.375.943.375s.68-.125.943-.375c.263-.25.422-.589.422-1.017v-.292c0-.427-.16-.766-.422-1.016-.263-.25-.568-.375-.943-.375z"/></svg>
    <span>¿Hablamos?</span>
</a>
/* TAREA 1.3: Estilos para el Botón Flotante de WhatsApp */
.whatsapp-float {
    position: fixed; bottom: 20px; right: 20px;
    background: #25D366; color: white;
    border-radius: 50px; padding: 12px 18px;
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    text-decoration: none; font-weight: 600;
    z-index: 1000; transition: all 0.3s ease;
}
.whatsapp-float:hover { background: #20BA5A; transform: scale(1.05); }
.whatsapp-float svg { fill: white; }
@media (max-width: 768px) {
    .whatsapp-float span { display: none; }
    .whatsapp-float { width: 56px; height: 56px; justify-content: center; padding: 0; }
}
/* =================================================================== */
/* === ESTILOS PARA EL EXIT-INTENT POPUP === */
/* =================================================================== */
.exit-popup { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; }
.exit-popup.active { display: flex; align-items: center; justify-content: center; }
.exit-popup-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); }
.exit-popup-content { position: relative; max-width: 500px; width: 90%; background: white; padding: 3rem 2rem; border-radius: 15px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); animation: slideDown 0.3s ease-out; }
@keyframes slideDown { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.exit-popup-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 2rem; cursor: pointer; color: #666; line-height: 1; }
.exit-popup-close:hover { color: #000; }
.exit-popup h2 { color: var(--azul-corporativo); font-size: 2rem; margin-bottom: 0.5rem; text-align: center; }
.exit-popup-subtitle { text-align: center; color: #666; margin-bottom: 2rem; }
.exit-popup-offer { background: var(--gris-claro); padding: 1.5rem; border-radius: 10px; margin-bottom: 2rem; }
.exit-popup-offer h3 { color: var(--azul-corporativo); font-size: 1.2rem; margin-bottom: 1rem; }
.exit-popup-benefits { list-style: none; padding: 0; }
.exit-popup-benefits li { padding: 0.3rem 0; color: var(--gris-oscuro); }
.exit-popup-form input[type="email"] { width: 100%; } /* Usa los estilos de CF7 ya definidos */
.btn-popup {
    width: 100%;
    padding: 1rem;
    background: var(--naranja-energia);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-popup:hover { background: #ff5722; transform: translateY(-2px); }
.exit-popup-privacy { text-align: center; font-size: 0.85rem; color: #666; margin-top: 1rem; }
