:root {
    --primary-color: #00cce6; /* El cyan de JAVSOF */
    --primary-hover: #00a3b8;
    --secondary-color: #0f172a; /* Fondo oscuro */
    --card-bg: #1e293b; /* Fondo de tarjetas */
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
}

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

body {
    /* Forzamos la fuente moderna */
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-light);
    line-height: 1.5;
}

/* --- CABECERA --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(0, 204, 230, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    max-height: 90px;
    width: auto;
}

/* --- HERO (El espacio principal) --- */
.hero {
    min-height: 80vh; /* Ocupa el 80% de la pantalla visible */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    margin-top: 80px; /* Empuja el contenido debajo de la barra fija */
}

.hero-container {
    max-width: 800px;
}

.badge {
    display: inline-block;
    color: var(--primary-color);
    background-color: rgba(0, 204, 230, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 204, 230, 0.2);
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

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

p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* --- SECCIÓN DE TARJETAS --- */
.services-section {
    padding: 4rem 5%;
    background-color: var(--secondary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.card-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-features {
    list-style: none;
    margin-bottom: 2rem;
}

.card-features li {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-features li::before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Botones arreglados */
.btn-card {
    display: inline-block;
    text-align: center;
    padding: 0.8rem;
    border-radius: 8px;
    text-decoration: none; /* Quita el subrayado de los links */
    font-weight: 600;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-card:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

/* --- SECCIÓN DE CONTACTO (CTA) --- */
.cta-section {
    padding: 5rem 5%;
    background-color: var(--secondary-color);
    text-align: center;
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
    /* Un fondo sutil usando el color de tu logo */
    background-color: rgba(2, 181, 211, 0.05); 
    border: 1px solid rgba(2, 181, 211, 0.2);
    padding: 4rem 2rem;
    border-radius: 16px;
}

.cta-container h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-container p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* El botón principal con tu color exacto */
.btn-primary {
    display: inline-block;
    background-color: #02b5d3; 
    color: #0f172a;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #029eb8;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(2, 181, 211, 0.4);
}

/* --- PIE DE PÁGINA (FOOTER) --- */
.footer {
    /* Un color un poco más oscuro que el fondo principal para delimitar el final */
    background-color: #0b1120; 
    padding: 4rem 5% 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 3rem;
}

.footer-logo {
    max-height: 100px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links h4 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #02b5d3;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Estilos para los enlaces del menú superior */
.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Ocultar el menú en celulares para no saturar la pantalla */
@media (max-width: 768px) {
    .nav-links {
        display: none; 
    }
}