/* =============================== */
/*  VARIABLES Y CONFIGURACIÓN BASE */
/* =============================== */
@font-face {
    font-display: swap;
    font-family: "Strichpunkt Sans";
    font-style: normal;
    font-weight: 400;
    src: url("../../fonts/StrichpunktSans-Regular.ttf") format("truetype");
}

@font-face {
    font-display: swap;
    font-family: "Strichpunkt Sans";
    font-style: normal;
    font-weight: 500;
    src: url("../../fonts/StrichpunktSans-Medium.ttf") format("truetype");
}

@font-face {
    font-display: swap;
    font-family: "Strichpunkt Sans";
    font-style: normal;
    font-weight: 600;
    src: url("../../fonts/StrichpunktSans-SemiBold.ttf") format("truetype");
}

@font-face {
    font-display: swap;
    font-family: "Strichpunkt Sans";
    font-style: normal;
    font-weight: 700;
    src: url("../../fonts/StrichpunktSans-Bold.ttf") format("truetype");
}

:root {
    --color-primary: #33353b;
    --color-secondary: #aaf4cd;
    --color-text: #17181c;
    --color-background: #eef4fb;
    --font-family-base: "Strichpunkt Sans", "Helvetica Neue", Arial, sans-serif;
    --max-width-container: 1920px;
    --spacing-unit: 1rem;
}

/* =============================== */
/*  RESETEO Y TIPOGRAFÍA GENERAL   */
/* =============================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    font-weight: 400;
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

picture {
    display: contents;
}

main {
    flex: 1 0 auto;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
[class*="button"],
[class*="__button"],
[class*="__submit"],
[class*="__contact"] {
    font-family: var(--font-family-base);
    font-weight: 500;
}

.content-status {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(10, 17, 59, 0.12);
    border-radius: 1rem;
    color: rgba(5, 5, 5, 0.72);
    font-size: 1rem;
    grid-column: 1 / -1;
    margin: 0;
    padding: 1rem 1.25rem;
}

.content-status--error {
    background: rgba(176, 35, 35, 0.08);
    border-color: rgba(176, 35, 35, 0.24);
    color: #8a1f1f;
}

.content-skeleton {
    display: grid;
    gap: 0.85rem;
    min-width: 0;
}

.content-skeleton__media,
.content-skeleton__line {
    background: linear-gradient(100deg, #dce5ee 20%, #f4f7fa 38%, #dce5ee 56%);
    background-size: 200% 100%;
    border-radius: 0.45rem;
    animation: content-skeleton-shimmer 1.5s ease-in-out infinite;
}

.content-skeleton__media {
    aspect-ratio: 16 / 10;
    border-radius: 1rem;
}

.content-skeleton__line {
    height: 0.9rem;
}

.content-skeleton__line--short {
    width: 35%;
    height: 0.7rem;
}

.content-skeleton__line--medium {
    width: 72%;
}

@keyframes content-skeleton-shimmer {
    to {
        background-position: -200% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .content-skeleton__media,
    .content-skeleton__line {
        animation: none;
    }
}

img.is-fallback-logo {
    background: #1b2668;
    object-fit: contain !important;
    padding: 12%;
}
