/* Variables para colores y fuentes */
:root {
    --primary-blue: #004d99; /* Azul principal de Proolink, oscuro */
    --secondary-blue: #0073e6; /* Azul más claro para detalles */
    --accent-orange: #ff9900; /* Naranja para CTAs, contraste */
    --light-grey: #f8f8f8;
    --dark-grey: #333;
    --text-color: #444;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* Base y Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-grey);
    margin-bottom: 0.8em;
}

h1 { font-size: 2.8em; line-height: 1.2; }
h2 { font-size: 2.2em; line-height: 1.3; }
h3 { font-size: 1.6em; line-height: 1.4; }
p { margin-bottom: 1em; }

a {
    color: var(--secondary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--primary-blue);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: #fff;
}
.btn-primary:hover {
    background-color: darken(var(--accent-orange), 10%); /* Efecto hover más oscuro */
    color: #fff;
}

.btn-secondary {
    background-color: var(--secondary-blue);
    color: #fff;
}
.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: #fff;
}

.btn-full-width {
    width: 100%;
}

/* HEADER */
.header {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo .logo-link {
    font-family: var(--font-heading);
    font-size: 1.8em;
    font-weight: 800;
    color: var(--primary-blue);
}

.header-nav a {
    margin-left: 25px;
    color: var(--dark-grey);
    font-weight: 600;
    font-size: 0.95em;
    position: relative;
}
.header-nav a:hover {
    color: var(--secondary-blue);
}
.header-nav a::after { /* Animación subrayado */
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-blue);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}
.header-nav a:hover::after {
    width: 100%;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-contact span {
    font-size: 0.9em;
    color: var(--text-color);
}
.header-contact a {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.1em;
}

.menu-toggle {
    display: none; /* Oculto en desktop */
    font-size: 1.8em;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-blue);
}

/* HERO SECTION - Nuevo Estilo */
.hero-new {
    background-image: linear-gradient(rgba(0, 77, 153, 0.7), rgba(0, 77, 153, 0.7)), url('hero-bg.jpg'); /* Imagen de fondo y overlay azul */
    background-size: cover;
    background-position: center center;
    color: #fff;
    padding: 120px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh; /* Altura mínima para que siempre se vea bien */
    position: relative;
}
/* Sugerencia: Generar una imagen para el fondo */
/* */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-new h1 {
    font-size: 3.5em;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 800;
}

.hero-new .subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 400;
}

/* SERVICES SECTION - Nuevo Estilo */
.services-new {
    padding: 80px 0;
    background-color: var(--light-grey);
    text-align: center;
}

.section-title {
    font-size: 2.5em;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 60px auto;
    color: var(--text-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-item {
    background: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}
.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-item .icon-placeholder {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.service-item .icon-placeholder svg {
    color: #fff;
    width: 30px;
    height: 30px;
}

.service-item h3 {
    color: var(--primary-blue);
    font-size: 1.4em;
    margin-bottom: 15px;
}
.service-item p {
    font-size: 0.95em;
    color: var(--text-color);
}

.cta-bottom-services {
    margin-top: 40px;
    font-size: 1.2em;
    color: var(--dark-grey);
}
.cta-bottom-services p {
    margin-bottom: 20px;
    font-weight: 600;
}

/* CONTACT SECTION - Nuevo Estilo */
.contact-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Info a la izquierda, formulario a la derecha */
    gap: 60px;
    align-items: flex-start; /* Alinea al inicio si las columnas tienen diferente altura */
}

.contact-info {
    text-align: left;
    padding: 20px;
    border-right: 1px solid #eee; /* Separador visual */
}
.contact-info h3 {
    color: var(--primary-blue);
    font-size: 1.5em;
    margin-bottom: 15px;
}
.contact-info p {
    margin-bottom: 10px;
    color: var(--text-color);
}
.contact-info a {
    font-weight: 600;
}

.contact-form-wrapper {
    background-color: var(--light-grey);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.contact-form-wrapper h3 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-grey);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1em;
    color: var(--dark-grey);
}
.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
}
.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0; /* Evita que el checkbox se encoja */
}
.checkbox-group label a {
    font-weight: 400; /* Para que no compita con el texto del enlace del header */
    font-size: 1em;
}

/* FOOTER - Nuevo Estilo */
.footer-new {
    background-color: var(--dark-grey);
    color: #fff;
    padding: 60px 0 20px 0;
    font-size: 0.95em;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 20px;
}

.footer-col .logo-link {
    font-family: var(--font-heading);
    font-size: 1.8em;
    font-weight: 800;
    color: #fff;
    display: block;
    margin-bottom: 15px;
}
.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}
.footer-col ul li a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .header-nav, .header-contact {
        display: none; /* Oculta el nav y contacto en pantallas medianas */
    }
    .menu-toggle {
        display: block; /* Muestra el botón de menú */
    }

    .hero-new h1 {
        font-size: 2.8em;
    }
    .hero-new .subtitle {
        font-size: 1.2em;
    }

    .section-title {
        font-size: 2em;
    }
    .section-description {
        font-size: 1em;
    }

    .contact-grid {
        grid-template-columns: 1fr; /* Una columna en pantallas pequeñas */
        gap: 40px;
    }
    .contact-info {
        border-right: none;
        border-bottom: 1px solid #eee; /* Separador en la parte inferior */
        padding-bottom: 40px;
        margin-bottom: 20px;
    }
    .contact-form-wrapper {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.4em; }

    .hero-new {
        padding: 80px 0;
        min-height: 60vh;
    }

    .services-new, .contact-section, .footer-new {
        padding: 60px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr; /* Una columna en móviles */
        text-align: center;
    }
    .footer-col {
        margin-bottom: 30px;
    }
    .footer-col ul {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .header .container {
        flex-direction: row; /* Para mantener logo y menú toggle */
        justify-content: space-between;
    }
    .header-logo .logo-link {
        font-size: 1.5em;
    }

    .hero-new h1 {
        font-size: 1.8em;
    }
    .hero-new .subtitle {
        font-size: 1em;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}