/* =========================================================
   THULE
   Universo Caravaning
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

.thule-page {
    --thule-black: #111111;
    --thule-dark: #1d1d1d;
    --thule-grey: #666666;
    --thule-light: #f5f5f5;
    --thule-border: rgba(0, 0, 0, 0.08);
    --thule-radius: 14px;
}


/* =========================================================
   NAVEGACIÓN
   ========================================================= */

.thule-nav {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--thule-border);
}


/*
   Importante:
   la navegación tiene su propio contenedor.
   No modifica #main .inner.
*/

.thule-nav-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;

    min-height: 54px;
}


.thule-nav-inner a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.45rem 0.9rem;

    color: var(--thule-dark);
    text-decoration: none;

    font-size: 0.9rem;
    font-weight: 600;

    border-radius: 8px;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


.thule-nav-inner a:hover {
    background: var(--thule-light);
    color: var(--thule-black);
}


/* =========================================================
   HERO
   ========================================================= */

.thule-hero {
    padding: 4rem 0 3rem;
}


.thule-hero .major {
    margin-bottom: 3rem;
}


.thule-label {
    display: inline-block;

    margin-bottom: 0.75rem;

    font-size: 0.75rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.12em;

    color: var(--thule-grey);
}


.thule-hero h1 {
    margin-bottom: 0.75rem;
}


.thule-hero-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;

    align-items: center;
}


.thule-hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 220px;
    padding: 2rem;

    background: #ffffff;
    border: 1px solid var(--thule-border);
    border-radius: var(--thule-radius);
}


.thule-hero-logo img {
    display: block;

    max-width: 100%;
    max-height: 140px;

    width: auto;
    height: auto;
}


.thule-hero-text p {
    margin-bottom: 1rem;
}


/* =========================================================
   SECCIONES
   ========================================================= */

.thule-section {
    padding: 4rem 0;
}


.thule-section-alt {
    padding: 4rem 2rem;

    background: var(--thule-light);
    border-radius: var(--thule-radius);
}


.thule-section .major {
    margin-bottom: 2.5rem;
}


/* =========================================================
   CARACTERÍSTICAS
   ========================================================= */

.thule-feature-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 1.5rem;
}


.thule-feature-card {
    height: 100%;

    padding: 2rem;

    background: #ffffff;
    border: 1px solid var(--thule-border);
    border-radius: var(--thule-radius);

    box-sizing: border-box;
}


.thule-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-bottom: 1.25rem;

    border-radius: 50%;

    background: var(--thule-light);

    font-size: 1.5rem;
}


.thule-feature-card h3 {
    margin-bottom: 0.75rem;
}


.thule-feature-card p {
    margin-bottom: 0;
}


/* =========================================================
   PRODUCTOS / SOLUCIONES
   ========================================================= */

.thule-product-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 1.5rem;
}


.thule-product-card {
    height: 100%;

    padding: 2rem;

    background: #ffffff;
    border: 1px solid var(--thule-border);
    border-radius: var(--thule-radius);

    box-sizing: border-box;
}


.thule-product-icon {
    font-size: 2rem;

    margin-bottom: 1rem;
}


.thule-product-card h3 {
    margin-bottom: 0.75rem;
}


.thule-product-card p {
    margin-bottom: 1.25rem;
}


.thule-list {
    margin: 0;
    padding-left: 1.2rem;
}


.thule-list li {
    margin-bottom: 0.5rem;
}


/* =========================================================
   BLOQUE DESTACADO
   ========================================================= */

.thule-feature {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 2rem;
}


.thule-feature-content {
    padding: 2rem;

    border: 1px solid var(--thule-border);
    border-radius: var(--thule-radius);

    background: #ffffff;
}


.thule-feature-content h2 {
    margin-bottom: 1rem;
}


/* =========================================================
   DESTACADOS
   ========================================================= */

.thule-highlight-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 1.5rem;
}


.thule-highlight {
    display: flex;
    align-items: flex-start;

    gap: 1rem;

    padding: 1.5rem;

    background: #ffffff;
    border: 1px solid var(--thule-border);
    border-radius: var(--thule-radius);
}


.thule-highlight-icon {
    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: var(--thule-black);
    color: #ffffff;

    font-weight: 700;
}


.thule-highlight h3 {
    margin-bottom: 0.5rem;
}


.thule-highlight p {
    margin-bottom: 0;
}


/* =========================================================
   PRODUCTOS FINALES
   ========================================================= */

.thule-products-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 1.5rem;
}


.thule-product-item {
    display: flex;
    flex-direction: column;

    height: 100%;

    padding: 2rem;

    border: 1px solid var(--thule-border);
    border-radius: var(--thule-radius);

    background: #ffffff;

    box-sizing: border-box;
}


.thule-product-item-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}


.thule-product-item h3 {
    margin-bottom: 0.75rem;
}


.thule-product-item p {
    flex: 1;

    margin-bottom: 1.5rem;
}


/* =========================================================
   BOTONES
   ========================================================= */

.thule-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;

    padding: 0.7rem 1.25rem;

    border-radius: 8px;

    background: var(--thule-black);
    color: #ffffff !important;

    text-decoration: none;

    font-size: 0.85rem;
    font-weight: 700;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}


.thule-button:hover {
    background: var(--thule-dark);
    transform: translateY(-1px);
}


.thule-button-light {
    background: #ffffff;
    color: var(--thule-black) !important;
}


.thule-button-light:hover {
    background: #eeeeee;
}


/* =========================================================
   CTA
   ========================================================= */

.thule-cta {
    margin: 4rem 0;

    padding: 4rem 2rem;

    text-align: center;

    background: var(--thule-black);
    color: #ffffff;

    border-radius: var(--thule-radius);
}


.thule-cta h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}


.thule-cta p {
    max-width: 700px;

    margin: 0 auto 2rem;
}


.thule-cta .thule-button {
    margin: 0 auto;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 980px) {

    .thule-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .thule-product-grid,
    .thule-products-grid {
        grid-template-columns: 1fr;
    }


    .thule-hero-content {
        grid-template-columns: 220px 1fr;
        gap: 2rem;
    }

}


@media screen and (max-width: 736px) {

    .thule-nav-inner {
        padding: 0 1rem;
        gap: 0.5rem;
    }


    .thule-nav-inner a {
        padding: 0.4rem 0.65rem;

        font-size: 0.8rem;
    }


    .thule-hero {
        padding: 3rem 0 2rem;
    }


    .thule-hero-content {
        grid-template-columns: 1fr;
    }


    .thule-hero-logo {
        min-height: 160px;
    }


    .thule-feature-grid,
    .thule-highlight-grid,
    .thule-feature {
        grid-template-columns: 1fr;
    }


    .thule-section {
        padding: 3rem 0;
    }


    .thule-section-alt {
        padding: 3rem 1rem;
    }


    .thule-cta {
        margin: 3rem 0;
        padding: 3rem 1.5rem;
    }

}