/* Importar Roboto de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
    /* Paleta de Colores Dark Mode */
    --bg-main: #131314;          /* Tu fondo negro secundario */
    --bg-darker: #0a0a0a;        /* Un tono más oscuro para header/footer */
    --accent-blue: #0d3461;      /* Tu azul principal para acentos */
    --accent-hover: #1a4a85;     /* Un azul un poco más claro para hover */
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    
    --border-radius: 12px;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-white);
    line-height: 1.6;
}

/* --- Utilidades --- */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section { padding: 100px 0; }
.text-accent { color: var(--accent-blue); }
h1, h2, h3 { font-weight: 700; }
p { color: var(--text-gray); }

/* --- Botones Modernos --- */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--accent-blue);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background: var(--accent-hover);
}

/* --- Header --- */
header {
    background: var(--bg-darker);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-white);
    text-decoration: none;
    text-transform: uppercase;
}
.menu { display: flex; align-items: center; gap: 30px; }
.menu a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    text-transform: uppercase;
}
.menu a:hover { color: var(--text-white); }
.menu .btn-contact {
    background: var(--accent-blue);
    color: var(--text-white) !important;
    padding: 12px 30px;
    border-radius: 50px;
}
.menu .btn-contact:hover { background: var(--accent-hover); }

/* --- Home Hero Section --- */
.hero {
    /* Asegúrate de subir una imagen 'hero-bg.jpg' a la carpeta 'images' */
    background: linear-gradient(rgba(19, 19, 20, 0.8), rgba(19, 19, 20, 0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Espacio para el header fijo */
}
.hero-content { max-width: 800px; }
.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 40px;
    display: block;
    font-weight: 300;
}

/* --- Página de Contacto --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    margin-top: 50px;
}
.contact-form-box, .contact-info-box {
    background: var(--bg-darker);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.05);
}
.contact-form-box h2 { margin-bottom: 30px; font-size: 2rem; }
.form-group { margin-bottom: 25px; }
.form-control {
    width: 100%;
    padding: 15px 20px;
    background: var(--bg-main);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
}
.contact-info-title { margin-bottom: 30px; font-size: 1.5rem; }
.info-item {
    background: var(--bg-main);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
}
.info-item h4 { color: var(--text-gray); margin-bottom: 10px; font-weight: 500; }
.info-item p { color: var(--text-white); font-size: 1.1rem; margin: 0; font-weight: 700; }

/* --- Footer --- */
footer {
    background: var(--bg-darker);
    color: var(--text-gray);
    text-align: center;
    padding: 50px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .contact-layout { grid-template-columns: 1fr; }
    .menu { display: none; } /* Menú móvil simplificado para este ejemplo */
}

/* --- AGREGAR ESTO AL FINAL DE TU STYLE.CSS --- */

/* Estilos para el Grid de Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-darker);
    padding: 40px 30px;
    border-radius: 20px; /* Bordes muy redondeados estilo moderno */
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px); /* Efecto de levitación */
    border-color: var(--accent-blue);
    box-shadow: 0 20px 40px -10px rgba(13, 52, 97, 0.3); /* Sombra azul brillante */
}

/* Tarjeta destacada (la del medio) */
.highlight-card {
    background: linear-gradient(145deg, var(--bg-darker), rgba(13, 52, 97, 0.1));
    border: 1px solid rgba(13, 52, 97, 0.3);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    flex-grow: 1; /* Empuja el enlace al fondo */
}

.feature-list li {
    margin-bottom: 12px;
    color: var(--text-gray);
    font-size: 0.95rem;
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: "•";
    color: var(--accent-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.link-arrow {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.link-arrow:hover {
    color: var(--text-white);
}

/* Botón Outline para el Hero */
.btn-outline {
    background: transparent;
    border: 2px solid var(--text-white);
    color: var(--text-white);
}
.btn-outline:hover {
    background: var(--text-white);
    color: var(--bg-main);
}