/* ===== IMPORTS ===== */
@import url('variables.css');

/* ===== RESET Y ESTILOS BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ===== TIPOGRAFÍA ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    color: var(--primary-blue);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p {
    margin-bottom: var(--space-md);
    color: var(--medium-gray);
}

.highlight {
    color: var(--primary-green);
    font-weight: 700;
}

/* ===== BOTONES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: var(--text-base);
}

.btn-primary {
    background: var(--accent-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.btn-secondary:hover {
    background: var(--accent-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--border-gray);
}

.btn-outline:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-lg);
}

.btn-accent {
    background: var(--primary-green);
    color: var(--white);
}

.btn-accent:hover {
    background: var(--light-green);
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* ===== HEADER Y NAVEGACIÓN ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: var(--space-sm) 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.logo-symbol {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-lg);
    border-radius: var(--radius-sm);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--primary-blue);
}

.logo-sub {
    font-size: var(--text-xs);
    color: var(--medium-gray);
    white-space: nowrap;
}

/* Navegación Principal */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.main-nav a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: var(--space-xs) 0;
    position: relative;
}

.main-nav a:hover {
    color: var(--accent-blue);
}

.main-nav a.active {
    color: var(--accent-blue);
    font-weight: 600;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-blue);
}

/* ===== DROPDOWN MENU - SOLUCIÓN DEFINITIVA ===== */
.has-dropdown {
    position: relative;
}

/* ESTILOS INICIALES PARA EL EFECTO */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-md);
    min-width: 500px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

/* EFECTO HOVER - ESTO ES LO QUE FALTABA */
.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background: var(--light-gray);
}

.dropdown-item i {
    color: var(--accent-blue);
    font-size: var(--text-lg);
    margin-top: 2px;
}

.dropdown-item h4 {
    font-size: var(--text-base);
    margin-bottom: 2px;
    color: var(--primary-blue);
}

.dropdown-item p {
    font-size: var(--text-sm);
    color: var(--medium-gray);
    margin-bottom: 0;
}

.dropdown-cta {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border-gray);
    padding-top: var(--space-md);
    text-align: center;
}

/* ===== DROPDOWN BLOG COMPACTO ===== */
.dropdown-menu.blog-compact {
    width: auto !important;
    min-width: 320px;
    max-width: 380px;
    padding: 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem;
    grid-template-columns: 1fr !important;
}

.blog-menu-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.blog-menu-item {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
    border: 1px solid transparent;
    width: 100%;
    box-sizing: border-box;
}

.blog-menu-item:hover {
    background-color: #f5f8ff;
    border-color: #e1e8ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 82, 204, 0.1);
}

.blog-menu-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-blue));
    border-radius: 6px;
    margin-right: 12px;
    color: white;
    font-size: 1rem;
}

.blog-menu-text {
    flex-grow: 1;
    min-width: 0;
}

.blog-menu-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.blog-menu-text p {
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-menu-footer {
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

/* ===== DROPDOWN SERVICIOS COMPACTO ===== */
.dropdown-menu.services-compact {
    width: auto !important;
    min-width: 320px;
    max-width: 380px;
    padding: 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem;
    grid-template-columns: 1fr !important;
}

.services-compact .dropdown-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100% !important;
}

.services-compact .dropdown-item {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
    border: 1px solid transparent;
    width: 100%;
    box-sizing: border-box;
}

.services-compact .dropdown-item:hover {
    background-color: #f5f8ff;
    border-color: #e1e8ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 82, 204, 0.1);
}

.services-compact .dropdown-item i {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-blue));
    border-radius: 6px;
    margin-right: 12px;
    color: white;
    font-size: 1rem;
}

.services-compact .dropdown-item div {
    flex-grow: 1;
    min-width: 0;
}

.services-compact .dropdown-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.services-compact .dropdown-item p {
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.services-compact .dropdown-cta {
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

/* ===== DROPDOWN PROYECTOS COMPACTO ===== */
.dropdown-menu.projects-compact {
    width: auto !important;
    min-width: 320px;
    max-width: 380px;
    padding: 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem;
    grid-template-columns: 1fr !important;
}

.projects-compact .dropdown-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100% !important;
}

.projects-compact .dropdown-item {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
    border: 1px solid transparent;
    width: 100%;
    box-sizing: border-box;
}

.projects-compact .dropdown-item:hover {
    background-color: #f5f8ff;
    border-color: #e1e8ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 82, 204, 0.1);
}

.projects-compact .dropdown-item i {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-blue));
    border-radius: 6px;
    margin-right: 12px;
    color: white;
    font-size: 1rem;
}

.projects-compact .dropdown-item div {
    flex-grow: 1;
    min-width: 0;
}

.projects-compact .dropdown-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.projects-compact .dropdown-item p {
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.projects-compact .dropdown-cta {
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

/* Eliminar cualquier espacio innecesario en dropdowns */
.dropdown-menu {
    width: auto !important;
}

.dropdown-column.vertical {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

.dropdown-item {
    white-space: normal !important;
}

/* Botón menú móvil - Se oculta en desktop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: 100px;
    padding-bottom: var(--space-xxl);
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-green);
    color: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-size: var(--text-5xl);
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.hero-line {
    display: block;
    color: var(--dark-gray);
}

.hero-highlight {
    color: var(--primary-green);
}

.hero-subtitle {
    font-size: var(--text-lg);
    margin-bottom: var(--space-xl);
    color: var(--medium-gray);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    border-top: 1px solid var(--border-gray);
    padding-top: var(--space-lg);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--primary-blue);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--medium-gray);
}

.hero-visual {
    position: relative;
    height: 500px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    box-shadow: var(--shadow-lg);
}

/* ===== SECCIÓN SERVICIOS ===== */
.services {
    padding: var(--space-xxl) 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.section-label {
    display: inline-block;
    color: var(--accent-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: var(--text-sm);
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--medium-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.service-card {
    background: var(--card-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-gray);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    font-size: var(--text-2xl);
    color: var(--white);
}

.service-icon.architecture { background: var(--primary-blue); }
.service-icon.engineering { background: var(--accent-blue); }
.service-icon.management { background: var(--primary-green); }
.service-icon.construction { background: #FF9800; }

.service-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
    color: var(--primary-blue);
}

.service-description {
    margin-bottom: var(--space-md);
    color: var(--medium-gray);
}

.service-features {
    list-style: none;
    margin-bottom: var(--space-md);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-xs);
    font-size: var(--text-sm);
    color: var(--medium-gray);
}

.service-features i {
    color: var(--primary-green);
    font-size: var(--text-sm);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
}

.service-link:hover {
    gap: var(--space-sm);
}

.consulting-cta {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    color: var(--white);
}

.consulting-content h3 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.consulting-content p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

/* ===== SECCIÓN PROYECTOS ===== */
.featured-projects {
    padding: var(--space-xxl) 0;
    background: var(--light-gray);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    height: 250px;
    background: #ddd;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-category {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--accent-blue);
    color: var(--white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 600;
}

.project-content {
    padding: var(--space-lg);
}

.project-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
    color: var(--primary-blue);
}

.project-description {
    margin-bottom: var(--space-md);
    color: var(--medium-gray);
}

.project-details {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
    font-size: var(--text-sm);
    color: var(--medium-gray);
}

.project-details span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-details i {
    color: var(--accent-blue);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
}

.project-link:hover {
    gap: var(--space-sm);
}

.projects-cta {
    text-align: center;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: var(--space-xxl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    margin-bottom: var(--space-md);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-md);
    font-size: var(--text-sm);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-blue);
}

.footer-title {
    color: var(--white);
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: var(--text-sm);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
}

.footer-contact i {
    color: var(--light-green);
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--white);
}

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: var(--text-2xl);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Ajuste responsive para dropdowns */
@media (max-width: 768px) {
    .dropdown-menu.blog-compact,
    .dropdown-menu.services-compact,
    .dropdown-menu.projects-compact {
        min-width: 280px;
        max-width: 320px;
    }
    
    .blog-menu-item,
    .services-compact .dropdown-item,
    .projects-compact .dropdown-item {
        padding: 0.6rem;
    }
    
    .blog-menu-icon,
    .services-compact .dropdown-item i,
    .projects-compact .dropdown-item i {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        margin-right: 10px;
    }
}

/* ===== SOLUCIÓN PARA TEXTOS EN FONDOS OSCUROS ===== */

/* 1. Para la sección Experience */
.professional-showcase .section-header h2 .highlight {
    color: white !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}

.professional-showcase .section-header h2 .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4fc3f7, #1a73e8);
    border-radius: 2px;
}

/* 2. Para la sección Naviswork */
.naviswork-section .section-header h2 .highlight {
    color: white !important;
    background: rgba(79, 195, 247, 0.2);
    padding: 2px 10px;
    border-radius: 4px;
    border: 1px solid rgba(79, 195, 247, 0.4);
}

/* 3. También corrige los subtítulos */
.professional-showcase .section-header p,
.naviswork-section .section-header p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* 4. Para el título principal del hero */
.project-hero .hero-content h1 .highlight {
    color: #1a237e;
    /* Este ya debería verse bien en fondo claro */
}

/* 5. Si también hay problemas en otras secciones */
.benefits-section .highlight {
    color: #1a73e8;
    /* Este es para fondos claros */
}

/* 6. Asegurar que todos los highlights en fondos oscuros sean blancos */
[class*="showcase"] .highlight,
[class*="dark"] .highlight,
section[style*="background"] .highlight {
    color: white !important;
}

/* 7. Corrección específica para los títulos de sección */
.section-header h2 .highlight {
    /* Estilo por defecto - para fondos claros */
    color: #1a73e8;
}

.professional-showcase .section-header h2 .highlight,
.naviswork-section .section-header h2 .highlight {
    /* Override para fondos oscuros */
    color: white !important;
}

/* ===== CORRECCIÓN PARA NAVISWORK FEATURES ===== */
.naviswork-feature h4 {
    color: white !important;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.naviswork-feature p {
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.5;
}

/* También asegurar que los íconos sean visibles */
.naviswork-feature i {
    color: #4fc3f7 !important;
    font-size: 2.5em;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Mejorar contraste de las tarjetas */
.naviswork-feature {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.naviswork-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(79, 195, 247, 0.5);
    transform: translateY(-5px);
}