/* Variables de Color basadas en la Tarjeta */
:root {
    --blue-dark: #003366;
    --blue-light: #00509d;
    --white: #ffffff;
    --gray-bg: #f4f7f6;
    --text-color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    color: var(--blue-dark);
}

.logo-box {
    border: 2px solid var(--blue-dark);
    padding: 2px 5px;
    border-radius: 5px;
    margin-right: 5px;
}

.logo-img {
    height: 65px;
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: var(--blue-dark);
    margin-left: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    height: 60vh;

    /*background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&q=80&w=2070') no-repeat center center/cover;*/
    background: url('images/banner.jpg') no-repeat center center/cover;
    position: relative;
    color: var(--white);
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    background: rgba(0, 51, 102, 0.13);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Botones */
.btn {
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin: 5px;
    transition: 0.3s;
}

.btn-primary {
    background: var(--blue-light);
    color: var(--white);
    border: none;
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn:hover {
    opacity: 0.8;
}

/* Servicios */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 60px 0;
}

.service-card {
    background: var(--gray-bg);
    padding: 40px;
    border-left: 5px solid var(--blue-dark);
}

.service-card h3 {
    margin-bottom: 20px;
    color: var(--blue-dark);
}

.service-card ul {
    list-style: none;
}

.service-card ul li::before {
    content: "• ";
    color: var(--blue-light);
    font-weight: bold;
}

/* Contacto y Sobre Nosotros */
.about-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input, .contact-form textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-info {
    margin-top: 30px;
    background: var(--blue-dark);
    color: var(--white);
    padding: 20px;
    border-radius: 5px;
}

/* Footer */
footer {
    background: #222;
    color: #ccc;
    text-align: center;
    padding: 20px 0;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .services-grid, .about-contact {
        grid-template-columns: 1fr;
    }
    .hero h1 { font-size: 2rem; }
}