/* Estilos sencillos para la página de Zenith */

body {
    margin: 0;
    background-color: #ffffff;
    color: #102744;
    font-family: 'Trebuchet MS', Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Nombre de la marca y menú */
.topbar {
    padding: 20px 8%;
    border-bottom: 1px solid #d9e1e8;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
}

.brand-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

nav a {
    margin-left: 10px;
    padding: 10px 14px;
    border-radius: 5px;
    color: #173757;
    font-family: Arial, sans-serif;
    font-size: 16px;
    transition: 0.3s;
}

nav a:hover {
    background-color: #edf2f7;
    color: #e17d12;
}

/* Portada */
.hero {
    padding: 70px 10%;
    background-color: #edf2f7;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 45px;
}

.hero-copy {
    max-width: 600px;
}

.eyebrow {
    color: #e17d12;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

h1 {
    margin: 20px 0;
    font-size: 48px;
}

h1 em,
h2 em {
    color: #e17d12;
    font-style: normal;
}

.intro {
    max-width: 420px;
    line-height: 1.6;
}

.button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 18px;
    background-color: #f28c1b;
    font-weight: bold;
    color: #102744;
    border: 2px solid #102744;
    border-radius: 5px;
    transition: 0.3s;
}

.button:hover {
    background-color: #ffa943;
    border-color: #e17d12;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px #10274433;
}

.hero-note {
    margin-top: 35px;
    font-size: 13px;
}

.hero-visual {
    height: 390px;
    position: relative;
    background-color: #173757;
    border: 8px solid white;
    border-radius: 8px;
    box-shadow: 0 10px 24px #10274426;
    overflow: hidden;
}

.hero-circle {
    width: 250px;
    height: 250px;
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: white;
    border-radius: 50%;
    border: 7px solid #f28c1b;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 9px white, 0 8px 20px #10274433;
    transform: translate(-50%, -50%);
}

.hero-circle img {
    width: 75%;
    height: auto;
}

/* Categorías */
.section-wrap {
    padding: 65px 10%;
}

.section-heading {
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 4px solid #f28c1b;
}

h2 {
    font-size: 36px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.category-card {
    height: 300px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #102744;
    background-color: #ffffff;
    border: 2px solid #d5dfe8;
    border-radius: 10px;
    transition: 0.3s;
    box-shadow: 0 4px 10px #10274412;
}

.category-card:hover {
    border-color: #f28c1b;
    transform: translateY(-5px);
    box-shadow: 0 6px 14px #10274433;
}

.category-card img {
    width: 100%;
    height: 175px;
    object-fit: cover;
    filter: brightness(1.2);
    border-radius: 3px;
}

.card-number,
.card-link {
    font-size: 11px;
}

.category-name {
    font-size: 18px;
    font-weight: bold;
}

/* Productos destacados */
.featured {
    padding: 65px 10%;
    background-color: #f1f4f7;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.product {
    background-color: #ffffff;
    border: 1px solid #d5dfe8;
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 4px 10px #10274412;
}

.product-image {
    height: 230px;
    position: relative;
    background-color: #e4ebf1;
    border-bottom: 2px solid #f28c1b;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.product-image:hover img {
    transform: scale(1.05);
}

.product-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px;
    background-color: white;
    font-size: 10px;
}

.product-info {
    display: flex;
    justify-content: space-between;
    padding: 0 14px 12px;
}

.product-info h3 {
    margin-bottom: 5px;
}

.product-info p {
    color: #66788a;
    font-size: 12px;
}

/* Sección sobre la marca */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-photo img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border: 6px solid #f1f4f7;
    border-radius: 8px;
    box-shadow: 0 8px 18px #10274420;
}

.photo-caption {
    font-size: 10px;
}

.about-copy {
    max-width: 400px;
    line-height: 1.6;
}

.text-link {
    font-weight: bold;
}

/* Pie de página */
footer {
    padding: 30px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    color: #102744;
    border-top: 1px solid #d9e1e8;
}

footer .brand-logo {
    width: 75px;
    height: 75px;
}

footer .contact-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 12px;
}

footer .contact-info a {
    color: #173757;
    font-weight: bold;
}

footer .contact-info a:hover {
    color: #e17d12;
}

footer small {
    font-size: 12px;
}

/* Estos cambios ayudan a que se vea bien en pantallas chicas */
@media (max-width: 700px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 55px 7%;
    }

    .hero-visual {
        height: 300px;
    }

    nav a {
        margin-left: 8px;
        font-size: 12px;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about {
        grid-template-columns: 1fr;
    }

    footer {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 450px) {
    nav {
        display: none;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 30px;
    }

    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        height: 250px;
    }

    .hero-circle {
        width: 170px;
        height: 170px;
    }
}
