:root {
    --primary: #1a2a3a;
    --accent: #00d4ff;
    --text: #333;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.logo-container { display: inline-block; padding: 10px 0; }
.main-logo { height: 50px; width: auto; display: block; } /* Ajusta el height según tu diseño original */
.main-header .container { display: flex; justify-content: space-between; align-items: center; }

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    float: right;
}

/* Hero Section */
.hero {
    padding: 120px 0;
    background: linear-gradient(135deg, #1a2a3a 0%, #0a121a 100%);
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.highlight { color: var(--accent); }

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* Buttons */
.btn-primary {
    background: var(--accent);
    color: var(--primary);
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,212,255,0.3); }

.btn-secondary {
    background: var(--accent);
    color: var(--primary);
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,212,255,0.3); }

/* Capabilities Grid */
.grid-capabilities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.cap-card {
    padding: 40px;
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: 0.3s;
}

.cap-card:hover { border-color: var(--accent); }
/* Estilos sugeridos para la sección ADN */
.adn-section { padding: 100px 0; background-color: #ffffff; }
.eyebrow { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; }
.adn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.adn-content h2 { font-size: 2.8rem; color: var(--primary); margin-top: 10px; }
.adn-cards { display: flex; gap: 20px; }
.mini-card { padding: 30px; border: 1px solid #eee; border-radius: 8px; flex: 1; text-align: center; }
.highlight-card { background: var(--primary); color: white; border: none; }
.highlight-card h4 { color: var(--accent); }
/* Estilos para flexbox en el header */
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.main-nav a:hover { color: var(--accent); }

/* Contenedor de acciones del header */
.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Botón de WhatsApp en el Header */
.btn-whatsapp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    border: 2px solid #25D366; /* Verde WhatsApp */
    color: #25D366;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-whatsapp-header:hover {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.icon-ws { height: 18px; width: auto; }

/* Botón de Acción Principal en el Header */
.btn-cta-header {
    background-color: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}

.btn-cta-header:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}
/* Estilos para la sección de contacto */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.contact-section h2 { font-size: 2.8rem; color: var(--primary); max-width: 700px; margin: 10px auto 20px; }
.contact-section p { font-size: 1.1rem; max-width: 600px; margin: 0 auto 40px; color: #666; }

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Botón de WhatsApp Grande */
.btn-whatsapp-large {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #25D366;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-whatsapp-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.icon-ws-large { height: 24px; width: auto; }

.direct-email { font-size: 0.9rem; color: #888; margin-top: 10px; }
.direct-email a { color: var(--primary); text-decoration: none; font-weight: 500; }
.direct-email a:hover { color: var(--accent); }

/* Estilos para FAQ */
.faq-section { padding: 100px 0; background-color: #ffffff; }
.mb-50 { margin-bottom: 50px; }
.text-center { text-align: center; }

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-question h4 {
    margin: 0;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-answer {
    margin-top: 15px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.section-title { font-size: 2.5rem; color: var(--primary); margin-top: 10px; }
.ecosystem-section { padding: 100px 0; background-color: #fcfcfc; }
.section-subtitle { max-width: 600px; margin: 0 auto; color: #777; font-size: 1.1rem; }

.ecosystem-grid { display: flex; flex-direction: column; gap: 40px; margin-top: 60px; }

.eco-card {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: 0.3s;
}

.eco-card.reverse { flex-direction: row-reverse; }

.eco-info { padding: 50px; flex: 1; }
.eco-visual { 
    flex: 1; 
    background: var(--primary); 
    height: 300px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: var(--accent);
    font-weight: 800;
}

.tag { 
    background: rgba(0, 212, 255, 0.1); 
    color: var(--accent); 
    padding: 5px 12px; 
    border-radius: 4px; 
    font-size: 0.8rem; 
    font-weight: 700; 
    text-transform: uppercase;
}

.eco-info h3 { font-size: 1.8rem; color: var(--primary); margin: 15px 0; }
.eco-info p { color: #555; line-height: 1.7; }

/* Efecto Hover */
.eco-card:hover { transform: scale(1.01); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }

/* Responsivo para móviles */
@media (max-width: 768px) {
    .eco-card, .eco-card.reverse { flex-direction: column; }
    .header-flex { flex-direction: column; gap: 20px; }
    .main-nav ul { gap: 15px; }
}
/* Footer Principal */
.main-footer {
    background: linear-gradient(180deg, #1a2a3a 0%, #0d151d 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 0 0; /* Espacio superior, abajo 0 por la barra legal */
    border-top: 4px solid var(--accent); /* Línea de color cian para resaltar */
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
}

/* Marca en el Footer */
.footer-logo-alt {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1); /* Convierte el logo a blanco si es oscuro */
    margin-bottom: 25px;
}

.footer-tagline {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 350px;
}

/* Títulos y Enlaces */
.footer-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-icon { margin-right: 12px; }

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px; /* Pequeño efecto de movimiento */
}

/* Barra Legal Inferior */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    margin-left: 20px;
}

.footer-legal-links a:hover { color: white; }

/* Ajuste Responsivo */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .footer-tagline { margin: 0 auto; }
    .footer-links li { justify-content: center; }
    .footer-legal-flex { flex-direction: column; gap: 15px; }
    .footer-legal-links a { margin: 0 10px; }
}