:root {
    --primary-color: #0b1120; /* Azul marino muy oscuro, elegante */
    --secondary-color: #2563eb; /* Azul corporativo vibrante */
    --accent-color: #38bdf8;
    --text-color: #334155;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --whatsapp-color: #25D366;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* HEADER */
header {
    background-color: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-text {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent-color);
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--white);
}

nav a.btn-nav {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    transition: background 0.3s;
}

nav a.btn-nav:hover {
    background-color: #1d4ed8;
}

/* HERO */
.hero {
    background: linear-gradient(to right, rgba(11, 17, 32, 0.9), rgba(11, 17, 32, 0.7)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px; /* Compensa el header fijo */
}

.hero-content {
    max-width: 800px;
    padding: 0 5%;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* SECCIONES GENERALES */
.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

/* SERVICIOS */
.services {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: #eff6ff;
    color: var(--secondary-color);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: background 0.3s, color 0.3s;
}

.card:hover .icon-wrapper {
    background-color: var(--secondary-color);
    color: var(--white);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* TRUST SECTION (NUEVA) */
.trust {
    padding: 6rem 0;
    background-color: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.trust-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.trust-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.trust-list {
    list-style: none;
}

.trust-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.trust-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.trust-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* CONTACTO */
.contact {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    background-color: var(--bg-light);
    transition: all 0.3s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* FOOTER */
footer {
    background-color: var(--primary-color);
    color: #94a3b8;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    margin-top: 0.5rem;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-legal .links a {
    color: #94a3b8;
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s;
}

.footer-legal .links a:hover {
    color: var(--white);
}

/* WHATSAPP BTN */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all 0.3s;
    font-size: 2rem;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1) translateY(-5px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header-content { flex-direction: column; gap: 1rem; }
    nav ul { gap: 1rem; flex-wrap: wrap; justify-content: center; }
    .hero-buttons { flex-direction: column; }
    .trust-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-content, .footer-legal { flex-direction: column; text-align: center; gap: 1.5rem; }
    .footer-legal .links a { margin: 0 0.5rem; }
}