@charset "UTF-8";


/* ======================================= global ======================================= */

:root {
    /* https://coolors.co/palettes/trending https://colorhunt.co/ https://colorkit.co/palettes/
        https://www.color-name.com/ Modifify theme-color on index:head */

    /* colores neutros: (estructura y descanso visual: 60%)
        Fondo principal, Superficies grandes, Inputs/cards, Divisores suaves*/
    --text: #f8f8f8;
    --background: #462255;
    ;
    --neutral: #B0A99F;
    /* colores primario y secundario (jerarquía y separación 30%)
        Botones, Navegación, Componentes UI, Bloques destacados
        primario manda 20-25%, secundario apoya 5-10%)
    */
    --primary: #f8f8f8;
    --secondary: #E086D3;
    /* color contraste y acento (puntos de atención, acción y foco 10%)
        CTA críticos, Hover llamativo, Estados activos, Alertas suaves, Elementos relevantes */
    --contrast: #84DCCF;
    /*#BDBF09*/
    --highlight: #A6D9F7;

    /* Effects */
    --overlay: rgba(16, 16, 16, 0.875);
    --hardshadow: 0 var(--space-nano) var(--space-medium) rgba(0, 0, 0, 0.25);
    --softshadow: 0 var(--space-xnano) var(--space-small) rgba(16, 16, 16, 0.125);
    --insideshadow: inset 1px 1px var(--space-xnano) var(--color-gray),
        inset -1px -1px var(--space-xnano) var(--color-lightgray),
        1px 1px var(--space-xnano) var(--color-gray),
        -1px -1px var(--space-xnano) var(--color-lightgray);
}

/* ------------------------------------ [ Configuración general
    0.125em	(2px)       0.25em	(4px)       0.375em	(6px)       0.625em	(10px)
    1.00em	(16px)      1.625em	(26px)      2.625em	(42px)      4.35em	(70px)
    -------------
    < 768 (mobile, 1/2 columns)               768 - 1024 (tablet, 2/3 columns)
    1024 - 1440 (desktop, 3/4 columns)        1440 <= (widescreen, 4/6 columns)
    */

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: var(--weight-normal);
    color: var(--text);
    background-color: var(--background);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', Helvetica, sans-serif;
    color: var(--text);
    font-weight: var(--weight-bold);
}


a:hover {
    color: var(--highlight);
}

.border-small,
.border-medium,
.border,
.border-large,
.border-top,
.border-left,
.border-bottom,
.border-right {
    border-color: var(--secondary);
}

/* parches a resolver sig iteración siteup_base */

h1:has(+ .subh1),
h2:has(+ .subh2),
h3:has(+ .subh3),
h4:has(+ .subh4),
h5:has(+ .subh5) {
    margin-bottom: 0;
}

h1+.subh1 {
    margin-block-end: var(--space-small);
}

h2+.subh2 {
    margin-block: var(--space-medium);
}

h3+.subh3 {
    margin-block-end: var(--space-base);
}

h4+.subh4 {
    margin-block: var(--space-large);
}

h5+.subh5 {
    margin-block-end: var(--space-wide);
}

.row-pad>.col {
    padding: var(--space-large);
}

/* ======================================= content ======================================= */

.icon {
    height: var(--font-wide);
}

.mini_icon {
    height: var(--font-large);
}

button {
    background-color: var(--secondary);
    color: var(--color-white);
    font-size: var(--font-base);
    font-weight: var(--weight-medium);
    border: 1px var(--color-lightgray) solid;
    border-radius: var(--space-base);
}

button img {
    vertical-align: middle;
}

button.toggle_lang {
    text-shadow: var(--hardshadow);
}

button.toggle_lang {
    box-shadow: var(--softshadow);
}

button.cta {
    transition: .3s ease;
    padding: var(--space-small) var(--space-large);
    border-radius: var(--space-medium);
    box-shadow: var(--softshadow), 0 0 var(--space-xnano) var(--space-xnano) var(--darkgray);
}

button.cta:hover {
    background-color: var(--highlight);
    border: 1px var(--color-darkwhite) solid;
}

section.content {
    padding: var(--space-broad) 0;
}

section h2+.subh2 {
    text-align: center;
    margin-bottom: var(--space-large);
}

section h2:has(+ .subh2) {
    text-align: center;
}



/* --------------------------------------- pages */

section {
    padding-top: var(--space-broad);
    padding-bottom: var(--space-broad);
}

div.description {
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
}

div.gallery {
    display: flex;
    gap: var(--space-small);
    overflow-x: auto;
    padding: var(--space-small);
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

div.gallery img {
    height: var(--space-broad);
    width: auto;
    flex: 0 0 auto;
    scroll-snap-align: start;
    border-radius: var(--space-small);
    cursor: pointer;
}

div.gallery img.selected {
    border: 2px solid var(--contrast);
    box-shadow: var(--softshadow);
}



/* ======================================= footer ======================================= */

#main_footer {
    background-color: var(--color-lightblack);
    color: var(--color-darkwhite);
    font-weight: var(--weight-light);
    font-size: calc(var(--font-base) - var(--font-nano));
}

#main_footer a {
    color: var(--color-darkwhite);
    font-weight: var(--weight-base);
}

#main_footer a:hover {
    color: var(--color-white);
}

#main_footer .row-pad .col {
    padding: var(--space-base);
}

#footer-address strong {
    color: var(--color-darkwhite);
    font-size: calc(var(--font-large) - var(--font-small));
}

#footer-certs p,
#footer-certs a {
    font-size: calc(var(--font-base) - var(--font-tiny));
}

#main_footer a.siteup,
#main_footer a.joal {
    display: inline-block;
    background-size: 200% auto;
    background-position: 0% center;
    background-repeat: no-repeat;
    background-image: linear-gradient(90deg, transparent, transparent);
    color: inherit;
    transition: background-position 0.9s ease, color 0.6s ease;
}

#main_footer a.siteup:hover,
#main_footer a.joal:hover {
    background-position: 100% center;
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    font-weight: var(--weight-medium);
}

#main_footer a.siteup:hover {
    background-image: linear-gradient(90deg, #124F9A, #1B9D34);
}

#main_footer a.joal:hover {
    background-image: linear-gradient(90deg, #AA182C, #EA0029);
}