
:root {
    --primary-color: #0A192F; /* Azul profundo del fondo del sitio */
    --secondary-color: #00BFA5; /* Teal/Turquesa para acentos */
    --text-dark: #1F2937;
    --text-light: #F3F4F6;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    /* Colores derivados del logo para consistencia si se necesitaran:
       Naranja logo: #F26522
       Gris oscuro logo: #383838
    */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* Header & Nav */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 5%; /* Reducido ligeramente el padding vertical para ajustar el logo */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Estilos actualizados para el contenedor del logo con imagen */
.logo {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.logo img {
    max-height: 70px; /* Altura máxima para que no deforme el header */
    width: auto;
    display: block;
    /* Opcional: si se quisiera que el logo resalte más sobre el fondo oscuro
       filter: drop-shadow(0 0 1px rgba(255,255,255,0.3));
    */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.1rem;
}

nav a:hover, nav a.active {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.8)), url('https://placehold.co/240x135/0A192F/FFF?text=.');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 8rem 5%;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    color: #E2E8F0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: transform 0.2s, background 0.3s;
}

.btn:hover {
    background-color: #009688;
    transform: translateY(-2px);
}

/* Sections General */
section {
    padding: 4rem 5%;
}

h2 {
    color: var(--primary-color);
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 10px auto;
}

/* Comparison Table */
.comparison-container {
    overflow-x: auto;
    margin-top: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #E5E7EB;
}

th {
    background-color: var(--primary-color);
    color: var(--white);
    text-transform: uppercase;
    font-size: 0.9rem;
}

tr:nth-child(even) {
    background-color: #F8FAFC;
}

/* Cards (Services/Features) */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border-top: 4px solid var(--secondary-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Contact */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
}

.contact-info {
    text-align: center;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: block;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #9CA3AF;
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
    header { flex-direction: column; padding-bottom: 1rem; }
    nav ul { flex-direction: column; gap: 1rem; padding-top: 1rem; }
    .logo img { max-height: 60px; }
    .hero h1 { font-size: 2rem; }
    .contact-wrapper { flex-direction: column; gap: 2rem; }
}
