/* Reset básico y configuración global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #e2e8f0 100%); /* Gradiente sutil y elegante */
    display: flex; /* Usamos Flexbox para centrar verticalmente */
    justify-content: center;
    align-items: center;
    padding: 1rem; /* Espacio por si el contenido es muy grande en pantallas pequeñas */
}

.container {
    text-align: center;
    background-color: #ffffff;
    padding: 3rem 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px; /* Ancho máximo del contenedor */
    width: 90%; /* Asegura que no toque los bordes en pantallas pequeñas */
    display: flex;
    flex-direction: column;
    min-height: 70vh; /* Altura mínima para que luzca bien */
    justify-content: space-between; /* Distribuye el espacio entre header, main y footer */
}

header {
    margin-bottom: 2rem;
}

.logo {
    max-width: 180px; /* Ajusta según el tamaño de tu logo */
    height: auto;
    margin-bottom: 1rem;
}

.company-name {
    font-size: 2.8rem; /* Tamaño grande para el nombre */
    color: #2c3e50; /* Un color azul/gris oscuro */
    font-weight: 700; /* Más peso para el nombre */
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2rem;
    color: #3498db; /* Un azul más brillante para el mensaje principal */
    margin-bottom: 1rem;
    font-weight: 400; /* Un poco más ligero que el nombre */
}

.message {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.sub-message {
    font-size: 1rem;
    color: #777;
    margin-bottom: 2.5rem;
}

.contact-info {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: #666;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.email-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: #3498db;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

.email-link:hover,
.email-link:focus {
    color: #2980b9; /* Un azul un poco más oscuro al pasar el ratón */
    border-bottom-color: #2980b9;
}

/* Estilos para iconos sociales (si los activas) */
.social-links {
    margin-top: 1.5rem;
}

.social-links a {
    color: #555;
    font-size: 1.5rem;
    margin: 0 0.75rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3498db;
}

footer {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    color: #999;
}

/* --- Responsividad --- */
@media (max-width: 600px) {
    .container {
        padding: 2rem 1rem;
        min-height: 60vh;
    }

    .company-name {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .message {
        font-size: 1rem;
    }

    .sub-message {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .company-name {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }
}