/*
 * Style sheet for Empresas CNP landing page
 *
 * This file defines the overall look and feel of the landing page used
 * while the main website is under construction. The design is kept
 * deliberately clean and minimalistic to ensure that visitors can
 * immediately understand the purpose of the page and access contact
 * information. All colours, spacing and typography have been
 * hand‑tuned to match the supplied mock‑ups. The primary typeface
 * used throughout the document is "Quicksand", loaded via Google
 * Fonts in the HTML head of the page.
 */

/* Reset default browser styles for margin and padding to ensure
   consistent rendering across browsers */
html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Quicksand', Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #333333;
    line-height: 1.6;
}

/* Contain the entire layout within a central wrapper for easy
   centering and responsive scaling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    padding-top: 40px;
    padding-bottom: 20px;
    text-align: center;
}

header img.logo {
    max-width: 320px;
    height: auto;
}

/* Hero section with main message and contact options */
.hero {
    text-align: center;
    padding: 30px 0;
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #313131;
}

.hero p.subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-buttons a {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

/* WhatsApp button styled with the official green colour */
.contact-buttons a.whatsapp {
    background-color: #25d366;
    color: #ffffff;
}

.contact-buttons a.whatsapp:hover {
    background-color: #1da851;
}

/* Telephone link styled subtly to differentiate from the button */
.contact-buttons a.phone {
    background-color: #eeeeee;
    color: #333333;
    border: 1px solid #dddddd;
}

.contact-buttons a.phone:hover {
    background-color: #e2e2e2;
}

/* Grid layout for the categories */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
    padding: 20px 0 40px;
}

.category {
    text-align: center;
    text-decoration: none;
    color: #333333;
    transition: transform 0.2s ease;
}

.category:hover {
    transform: translateY(-5px);
}

.category .image-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
}

.category img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category .label {
    margin-top: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Footer styles */
footer {
    background-color: #f5f5f5;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #555555;
}

@media (max-width: 600px) {
    .category .image-wrapper {
        width: 120px;
        height: 120px;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .contact-buttons a {
        font-size: 0.9rem;
        padding: 10px 18px;
    }
}