@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: wipe-out 0.6s ease-out forwards;
}

::view-transition-new(root) {
    animation: wipe-in 0.6s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root) {
        animation: none;
    }

    ::view-transition-new(root) {
        animation: none;
    }
}

@keyframes wipe-out {
    to {
        transform: translateX(-20%) scale(0.95);
        opacity: 0;
        filter: blur(8px);
    }
}

@keyframes wipe-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

:root {
    /* COLORS */
    --brand: 353 82% 54%;

    --brand-color: hsl(var(--brand));
    --brand-hover: hsl(var(--brand) / 0.9);
    --brand-bg: hsl(var(--brand) / 0.1);
    --brand-border: hsl(var(--brand) / 0.4);

    /* TEXT COLOR */
    --color-900: #f5f5f5;
    --color-800: #dedede;
    --color-700: #b8b8b8;
    --color-500: #8f8f8f;
    --color-300: #626262;
    --color-100: #111111;

    /* BG COLOR */
    --filter-bg-color: rgba(255, 255, 255, 0.2);
    --primary-bg-color: rgb(12, 14, 18);
    --secondary-bg-color: rgb(18, 21, 27);

    --border-color: rgba(255, 255, 255, 0.06);

    /* TYPOGRAPHY */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-md: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-xxl: 1.5rem;

    /* LINE HEIGHTS */
    --lh-heading: 1.12;
    --lh-text: 1.625;

    /* SPACING */
    --space-xxs: 0.2rem;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 2.5rem;

    --space-semi-section: 2.5rem;
    --space-section: 5rem;

    /* TYPOGRAPHY FONTS */
    --font-content: "Inter", system-ui, sans-serif;
    --font-ui: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;

    /* UI */
    --filter: blur(12px);
    --radius: 0.75rem;
    --section-radius: 2rem;
    --header-height: 3.4rem;

    /* MOTION */
    --transition-bouncy: 350ms cubic-bezier(0.4, 0, 0.2, 1.2);
    --transition-normal: 260ms ease-out;
}

/* ========================= DARK MODE =========================== */
.dark {
    --color-900: #f5f5f5;
    --color-800: #dedede;
    --color-700: #b8b8b8;
    --color-500: #8f8f8f;
    --color-300: #626262;
    --color-100: #111111;

    --border-color: rgba(255, 255, 255, 0.06);

    --filter-bg-color: rgba(255, 255, 255, 0.2);
    --primary-bg-color: rgb(12, 14, 18);
    --secondary-bg-color: rgb(18, 21, 27);
}

/* ======================== LIGHT MODE =========================== */
.light {
    --color-900: #111111;
    --color-800: #1f1f1f;
    --color-700: #404040;
    --color-500: #737373;
    --color-300: #a3a3a3;
    --color-100: #f5f5f5;

    --border-color: rgba(0, 0, 0, 0.06);

    --filter-bg-color: rgba(0, 0, 0, 0.2);
    --primary-bg-color: rgb(245, 245, 245);
    --secondary-bg-color: rgb(255, 255, 255);
}

@media (min-width: 768px) {
    :root {
        --space-semi-section: 4rem;
        --space-section: 8rem;
    }
}

/* ====================== DEFAULT RESET ========================== */
html {
    scroll-behavior: smooth;
    font-size: 16px;
    color: var(--color-900);
    background-color: var(--primary-bg-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-ui);
}

/* ====================== MOTION REDUCE ========================== */
@media (prefers-reduced-motion: reduce) {
    :root {
        --transition-bouncy: 0.01ms linear;
        --transition-normal: 0.01ms linear;
    }
}

/* =============================================================== */
/* =============================================================== */
/* ======================== TYPOGRAPHY =========================== */
/* =============================================================== */
/* =============================================================== */
p,
a {
    color: var(--color-900);
    font-size: var(--text-md);
    line-height: var(--lh-default);
    user-select: none;
}

h1,
h1 *,
h2,
h2 *,
h3,
h3 *,
h4,
h4 *,
h5,
h5 *,
h6,
h6 *,
.title__h1,
.title__h1 *,
.title__h2,
.title__h2 *,
.title__h3,
.title__h3 *,
.title__h4,
.title__h4 *,
.title__h5,
.title__h5 *,
.title__h6,
.title__h6 * {
    color: var(--color-900);
    font-family: var(--font-content);
    font-weight: 900;
    line-height: var(--lh-heading);
    user-select: none;
}

h1,
h1 *,
.title__h1,
.title__h1 * {
    max-width: 14ch;
    line-height: 0.92;
    font-size: clamp(3.3rem, 7vw, 5.2rem);
}

h2,
h2 *,
.title__h2,
.title__h2 * {
    max-width: 18ch;
    font-weight: 900;
    font-size: clamp(3.1rem, 5vw, 3.8rem);
}

h3,
h3 *,
.title__h3,
.title__h3 * {
    max-width: 18ch;
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 2.9rem);
}

h4,
h4 *,
.title__h4,
.title__h4 * {
    font-weight: 900;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h5,
h5 *,
.title__h5,
.title__h5 * {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
}

h6,
h6 *,
.title__h6,
.title__h6 * {
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.title__extra,
.title__extra * {
    font-size: clamp(3.5rem, 7vw, 6.5rem);
}

@media (min-width: 586px) {
    .title__extra {
        max-width: 70%;
    }
}

.title__separator {
    color: var(--color-900);
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid var(--border-color);
}

.description,
.description *,
.description__extra,
.description__extra * {
    margin: 0;
    color: var(--color-700);
    line-height: var(--lh-text);
    text-wrap: pretty;
    text-align: justify;
}

.description.sm,
.description.sm * {
    font-size: var(--text-sm);
}

.description__extra,
.description__extra * {
    max-width: 54ch;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.text-sm {
    font-size: var(--text-sm) !important;
}

.text-nowrap {
    text-wrap: nowrap;
}

.text-italic {
    font-style: italic !important;
}

.text-bold {
    font-weight: 600 !important;
}

.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-highlight {
    color: var(--brand-color);
    font-size: var(--text-sm);
    text-transform: uppercase;
    font-weight: 700;
}

/* =============================================================== */
/* =============================================================== */
/* ======================== REPETABLE ============================ */
/* =============================================================== */
/* =============================================================== */
/* ====================== BODY & CONTAINER ======================= */
body.is-locked {
    overflow: hidden !important;
}

.w-full {
    max-width: 100%;
    width: 100%;
}

.w-content {
    width: fit-content;
}

.h-full {
    height: 100%;
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mr-md {
    margin-right: var(--space-md);
}

.p-md {
    padding: var(--space-md);
}

.pt-md {
    padding-top: var(--space-md);
}

.pi-md {
    padding-inline: var(--space-md);
}

.pt-sm {
    padding-top: var(--space-sm);
}

.p-xl {
    padding: var(--space-xl);
}

.container {
    position: relative;
    width: min(100% - 2rem, 1320px);
    margin-inline: auto;
}

/* =========================== COLORS ============================ */
.brand-color,
.brand-color * {
    color: var(--brand-color) !important;
}

.brand-bg {
    background-color: var(--brand-color) !important;
}

.color-900 {
    color: var(--color-900) !important;
}

.color-500 {
    color: var(--color-500) !important;
}

/* ========================== FLEX BOX =========================== */
.flex {
    display: flex;
}

.flex.row,
.flex.row-column {
    flex-direction: row;
}
.flex.column,
.flex.column-row {
    flex-direction: column;
}

.gap-0 {
    gap: 0;
}
.gap-xxs {
    gap: var(--space-xxs);
}
.gap-xs {
    gap: var(--space-xs);
}
.gap-sm {
    gap: var(--space-sm);
}
.gap-md {
    gap: var(--space-md);
}
.gap-lg {
    gap: var(--space-lg);
}
.gap-xl {
    gap: var(--space-xl);
}

.flex.wrap {
    flex-wrap: wrap;
}

.flex.start {
    align-items: start;
    justify-content: start;
}
.align-start {
    align-items: start;
}
.justify-start {
    justify-content: start;
}

.flex.end {
    align-items: end;
    justify-content: end;
}
.align-end {
    align-items: end;
}
.justify-end {
    justify-content: end;
}

.flex.center {
    align-items: center;
    justify-content: center;
}
.align-center {
    align-items: center;
}
.justify-center {
    justify-content: center;
}

.justify-space {
    justify-content: space-between;
}

.self-center {
    align-self: center;
}
.self-start {
    align-self: start;
}
.self-end {
    align-self: end;
}

@media (min-width: 768px) {
    .flex.column-row {
        flex-direction: row;
    }
    .flex.row-column {
        flex-direction: column;
    }
}

/* ========================= TEXT ALERT ========================== */
.text-alert {
    width: 100%;

    display: flex;
    align-items: center;

    gap: var(--space-sm);
    padding: var(--space-md);
    line-height: var(--lh-text);
    background: var(--brand-bg);
    border-left: 3px solid var(--brand-border);
    border-radius: var(--radius);
    font-size: var(--text-sm);
    color: var(--brand-color);
}

.text__alert i {
    color: var(--brand-color);
    flex-shrink: 0;
}

/* ========================== BUTTONS ============================ */
.button {
    cursor: pointer;

    position: relative;
    overflow: hidden;
    min-width: 140px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--space-xs);

    min-height: 3rem;
    padding: var(--space-xs) var(--space-lg);

    border-radius: var(--radius);
    text-decoration: none;
    backdrop-filter: var(--filter);

    border: 1px solid var(--border-color);
    background: var(--filter-bg-color);
    color: var(--color-900);
    font-size: var(--text-md);
    transition:
        background var(--transition-normal),
        transform var(--transition-normal);
}

.button span {
    position: relative;
    z-index: 1;
    transition: transform var(--transition-bouncy);
}

.button.primary {
    color: white;
    background: var(--brand-color);
    border-color: var(--brand-border);
}

.button.text {
    overflow: visible;
    min-width: fit-content;
    min-height: fit-content;
    padding: 0;
    background: transparent !important;
    border: unset;
    color: var(--color-700);
}

.button.text.reverse {
    color: var(--color-900) !important;
}

.button.sm {
    font-size: var(--text-sm);
    min-height: 2rem;
    padding: var(--space-xs) var(--space-md);
}

.button.lg {
    font-size: var(--text-lg);
    min-height: 4rem;
    padding: var(--space-md) var(--space-lg);
}

.button.cta {
    --pulse-color: 245, 90, 111;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--pulse-color), 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(var(--pulse-color), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--pulse-color), 0);
    }
}

.button:hover {
    color: var(--color-100);
    background: var(--color-900);
}

.button:hover span {
    transform: translateX(-1rem);
}

.button.primary:hover {
    color: white;
    background: var(--brand-hover);
}

.button.text:hover {
    transform: none;
    color: var(--brand-color);
}

.button.cta:hover {
    animation: none;
}

/* ======================= BUTTON AFTERS ========================= */
.button:after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;

    position: absolute;
    top: 50%;
    right: var(--space-md);
    font-size: var(--text-sm);

    opacity: 0;
    transform: translateY(-50%) translateX(2rem);
    transition:
        opacity var(--transition-normal),
        transform var(--transition-bouncy);
}

.button.text:after {
    transform: translateY(-50%) translateX(4rem);
}

.button.internal::after {
    content: "\f061";
}

.button.external::after {
    content: "\f08e";
}

.button:hover:after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.button.text:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(2.5rem);
}

.button.text::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 1px;
    background: var(--brand-color);
    transition: width var(--transition-normal);
}

.button.text:hover::before {
    width: 100%;
}

@media (min-width: 768px) {
    .button {
        min-width: 200px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .button.cta {
        --pulse-color: 245, 90, 111;
        animation: none;
    }
}

/* ======================= ICON WRAPPER ========================== */
.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    width: 3rem;
    min-height: 3rem;
    height: 3rem;
    border-radius: var(--radius);
    background-color: var(--brand-bg);
    border: 1px solid var(--brand-border);
    color: var(--brand-color);
    font-size: var(--text-xl);
}

.icon-wrapper.theme {
    color: var(--color-900);
    background-color: var(--filter-bg-color);
    border: var(--border-color);
}

.icon-wrapper.sm {
    font-size: var(--text-lg);
    min-width: 2rem;
    width: 2rem;
    min-height: 2rem;
    height: 2rem;
}

/* ========================== TAGS =============================== */
.tag {
    background: var(--brand-color);
    border-radius: var(--radius);
    color: white;
    padding: 0.4rem 1rem;
    font-size: var(--text-xs);
    text-transform: uppercase;
    display: inline-block;
    text-wrap: nowrap;
}

.tag.xl {
    padding: 0.6rem 1.2rem;
}

.tag.theme {
    background-color: var(--color-900);
    color: var(--color-100);
}

.tag.dark {
    background: rgba(0, 0, 0, 0.85);
    color: white;
}

.tag.light {
    background: rgba(255, 255, 255, 0.85);
    color: black;
}

/* ========================== CARDS ============================== */
.normal-card,
.inset-card,
.icon-card,
.special-card,
.product-card,
.dual-card {
    --card-height: fit-content;

    position: relative;
    box-sizing: border-box;
    border-radius: var(--radius);
    overflow: clip;
}

/* ====================== NORMAL CARD ============================ */
.normal-card {
    border: 1px solid var(--border-color);
    background-color: var(--secondary-bg-color);

    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-md);

    height: var(--card-height);
}

.normal-card .description {
    flex-grow: 1;
}

.normal-card__watermark {
    position: absolute;
    bottom: -2.5rem;
    right: -1rem;
    font-family: var(--font-content);
    font-size: 10rem;
    font-weight: 900;
    color: var(--filter-bg-color);
    line-height: 1;
    pointer-events: none;
}

/* ======================= INSET CARD ============================ */
.inset-card {
    background-color: var(--primary-bg-color);
    box-shadow:
        inset 0 4px 10px rgba(0, 0, 0, 0.08),
        inset 0 -5px 8px rgba(255, 255, 255, 0.9);
}

/* ======================= ICON CARD ============================= */
.icon-card {
    height: var(--card-height);
    box-sizing: border-box;
    overflow: clip;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: var(--space-xs);
    padding: var(--space-md);

    text-align: center;
}

.icon-card > i {
    font-size: 3rem;
    color: var(--brand-color);
}

.icon-card.negative > i {
    color: var(--color-300);
}

.icon-card .description {
    text-align: center;
    font-style: italic;
    max-width: 30ch;
}

/* ======================= INFO CARD ============================= */
.info-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ======================= SPECIAL CARD ========================== */
.special-card {
    --card-height: 300px;
    background-color: var(--brand-color);
    height: var(--card-height);

    padding: var(--space-md);

    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
}

.special-card > i {
    font-size: 3rem;
    align-self: flex-end;
}

.special-card__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.special-card__content .description {
    font-style: italic;
    color: var(--color-900);
}

/* ======================= PRODUCT CARD ========================== */
.product-card {
    background-color: var(--secondary-bg-color);

    display: flex;
    flex-direction: column;
}

.product-card__header {
    position: relative;
    --product-card__header-height: clamp(280px, 40vw, 350px);

    height: var(--product-card__header-height);
    width: 100%;
    overflow: clip;
}

.product-card.with-body .product-card__header {
    border-radius: var(--radius);
}

.product-card__header.small {
    --product-card__header-height: clamp(200px, 40vw, 250px);
    height: var(--product-card__header-height);
}
.product-card__header.full {
    --product-card__header-height: 100%;
    height: var(--product-card__header-height);
}

.product-card__header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(12, 14, 18, 0.66) 0%, rgba(12, 14, 18, 0.11) 100%);
}

.product-card__header > img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
    will-change: transform;
}

.product-card__header > .tag {
    z-index: 2;
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
}

.product-card__header-content {
    z-index: 2;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: var(--space-md);
}

.product-card__header-content.with-bg {
    border-radius: var(--radius) var(--radius) 0 0;
    background-color: var(--secondary-bg-color);
}

/* == PRODUCT CARD BODY == */
.product-card__body {
    padding: var(--space-md);
}

.product-card__list {
    padding-left: 1.5rem;
}

.product-card__body li {
    margin-bottom: var(--space-xs);
}

.product-card__body li::marker {
    color: var(--brand-color);
}

.product-card__footer {
    padding: var(--space-md);
    border-top: 1px solid var(--border-color);
}

/* == PRODUCT CARD .LINK AND GALLERY ZOOM == */
.product-card.gallery {
    cursor: zoom-in;
}

.product-card.link:hover .product-card__header > img,
.product-card.gallery:hover .product-card__header > img {
    transform: scale(1.08);
}

.product-card.link::after,
.product-card.gallery::after {
    z-index: 2;

    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 2rem;

    position: absolute;
    top: var(--space-md);
    right: var(--space-md);

    transform: translateX(4rem);
    transition: transform var(--transition-bouncy);
}

.product-card.gallery::after {
    content: "\f302";
}

.product-card.link:hover::after,
.product-card.gallery:hover::after {
    transform: translateX(0);
}

/* ========================= DUAL CARD =========================== */
.dual-card {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: var(--space-md);
    max-width: 100%;
}
.dual-card__image,
.dual-card__content {
    position: relative;
    min-width: 0;
}

.dual-card__image {
    height: 200px;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
}
.dual-card__image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(12, 14, 18, 0.22) 0%, rgba(12, 14, 18, 0.11) 100%);
}
.dual-card__image img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
    will-change: transform;
}
.dual-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-md);
}
@media (min-width: 768px) {
    .dual-card {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
    .dual-card__image {
        height: 350px;
        border-radius: var(--radius);
    }
    .dual-card.reversed .dual-card__image {
        order: 2;
    }
    .dual-card.reversed .dual-card__content {
        order: 1;
    }
}
/* ========================== GRIDS ============================== */
.grid-112 {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-md);
}

@media (min-width: 992px) {
    .grid-112 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.grid-122 {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .grid-122 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.grid-124 {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .grid-124 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .grid-124 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.grid-123 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    width: 100%;
}

@media (min-width: 768px) {
    .first-item-big > *:first-child {
        grid-column: 1 / -1;
    }

    .grid-123 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .grid-123 {
        grid-template-columns: repeat(3, 1fr);
    }
    .first-item-big > *:first-child {
        grid-column: auto;
    }
}

.grid-233 {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .grid-233 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-224 {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

@media (min-width: 992px) {
    .grid-224 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.special-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    grid-template-rows: repeat(2, 290px);
    grid-auto-flow: dense;
    gap: var(--space-md);
    align-items: stretch;
    isolation: isolate;
}

@media (min-width: 768px) {
    .special-grid__item-large {
        grid-column: span 2;
    }

    .special-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .special-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ====================== PAGE HEADER ============================ */
.page-header {
    position: sticky;
    top: 0;
    z-index: 0;
    overflow: clip;

    width: 100%;
    height: fit-content;
    min-height: 50dvh;
    padding: var(--space-section) 0 calc(var(--space-semi-section) + var(--space-md)) 0;

    background: linear-gradient(to top, rgba(12, 14, 18, 0.66) 0%, rgba(12, 14, 18, 0.11) 100%), var(--page-header-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    gap: var(--space-md);
}

.page-header__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    gap: var(--space-md);
}

/* ========================= SECTION ============================= */
.section {
    z-index: 1;
    position: relative;
    overflow: clip;
    width: 100%;
    padding: var(--space-section) 0;

    margin-top: calc(var(--section-radius) * -1);
    border-radius: var(--section-radius) var(--section-radius) 0 0;
}

.section__reveal-clip {
    clip-path: inset(0% 0% round 0px);
}

.section.light {
    background-color: var(--primary-bg-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='0' x2='0' y1='0' y2='100%25' gradientTransform='rotate(240)'%3E%3Cstop offset='0' stop-color='%23F5F5F5'/%3E%3Cstop offset='1' stop-color='%23F5F5F5'/%3E%3C/linearGradient%3E%3Cpattern patternUnits='userSpaceOnUse' id='b' width='1135' height='945.8' x='0' y='0' viewBox='0 0 1080 900'%3E%3Cg fill-opacity='0.02'%3E%3Cpolygon fill='%23444' points='90 150 0 300 180 300'/%3E%3Cpolygon points='90 150 180 0 0 0'/%3E%3Cpolygon fill='%23AAA' points='270 150 360 0 180 0'/%3E%3Cpolygon fill='%23DDD' points='450 150 360 300 540 300'/%3E%3Cpolygon fill='%23999' points='450 150 540 0 360 0'/%3E%3Cpolygon points='630 150 540 300 720 300'/%3E%3Cpolygon fill='%23DDD' points='630 150 720 0 540 0'/%3E%3Cpolygon fill='%23444' points='810 150 720 300 900 300'/%3E%3Cpolygon fill='%23FFF' points='810 150 900 0 720 0'/%3E%3Cpolygon fill='%23DDD' points='990 150 900 300 1080 300'/%3E%3Cpolygon fill='%23444' points='990 150 1080 0 900 0'/%3E%3Cpolygon fill='%23DDD' points='90 450 0 600 180 600'/%3E%3Cpolygon points='90 450 180 300 0 300'/%3E%3Cpolygon fill='%23666' points='270 450 180 600 360 600'/%3E%3Cpolygon fill='%23AAA' points='270 450 360 300 180 300'/%3E%3Cpolygon fill='%23DDD' points='450 450 360 600 540 600'/%3E%3Cpolygon fill='%23999' points='450 450 540 300 360 300'/%3E%3Cpolygon fill='%23999' points='630 450 540 600 720 600'/%3E%3Cpolygon fill='%23FFF' points='630 450 720 300 540 300'/%3E%3Cpolygon points='810 450 720 600 900 600'/%3E%3Cpolygon fill='%23DDD' points='810 450 900 300 720 300'/%3E%3Cpolygon fill='%23AAA' points='990 450 900 600 1080 600'/%3E%3Cpolygon fill='%23444' points='990 450 1080 300 900 300'/%3E%3Cpolygon fill='%23222' points='90 750 0 900 180 900'/%3E%3Cpolygon points='270 750 180 900 360 900'/%3E%3Cpolygon fill='%23DDD' points='270 750 360 600 180 600'/%3E%3Cpolygon points='450 750 540 600 360 600'/%3E%3Cpolygon points='630 750 540 900 720 900'/%3E%3Cpolygon fill='%23444' points='630 750 720 600 540 600'/%3E%3Cpolygon fill='%23AAA' points='810 750 720 900 900 900'/%3E%3Cpolygon fill='%23666' points='810 750 900 600 720 600'/%3E%3Cpolygon fill='%23999' points='990 750 900 900 1080 900'/%3E%3Cpolygon fill='%23999' points='180 0 90 150 270 150'/%3E%3Cpolygon fill='%23444' points='360 0 270 150 450 150'/%3E%3Cpolygon fill='%23FFF' points='540 0 450 150 630 150'/%3E%3Cpolygon points='900 0 810 150 990 150'/%3E%3Cpolygon fill='%23222' points='0 300 -90 450 90 450'/%3E%3Cpolygon fill='%23FFF' points='0 300 90 150 -90 150'/%3E%3Cpolygon fill='%23FFF' points='180 300 90 450 270 450'/%3E%3Cpolygon fill='%23666' points='180 300 270 150 90 150'/%3E%3Cpolygon fill='%23222' points='360 300 270 450 450 450'/%3E%3Cpolygon fill='%23FFF' points='360 300 450 150 270 150'/%3E%3Cpolygon fill='%23444' points='540 300 450 450 630 450'/%3E%3Cpolygon fill='%23222' points='540 300 630 150 450 150'/%3E%3Cpolygon fill='%23AAA' points='720 300 630 450 810 450'/%3E%3Cpolygon fill='%23666' points='720 300 810 150 630 150'/%3E%3Cpolygon fill='%23FFF' points='900 300 810 450 990 450'/%3E%3Cpolygon fill='%23999' points='900 300 990 150 810 150'/%3E%3Cpolygon points='0 600 -90 750 90 750'/%3E%3Cpolygon fill='%23666' points='0 600 90 450 -90 450'/%3E%3Cpolygon fill='%23AAA' points='180 600 90 750 270 750'/%3E%3Cpolygon fill='%23444' points='180 600 270 450 90 450'/%3E%3Cpolygon fill='%23444' points='360 600 270 750 450 750'/%3E%3Cpolygon fill='%23999' points='360 600 450 450 270 450'/%3E%3Cpolygon fill='%23666' points='540 600 630 450 450 450'/%3E%3Cpolygon fill='%23222' points='720 600 630 750 810 750'/%3E%3Cpolygon fill='%23FFF' points='900 600 810 750 990 750'/%3E%3Cpolygon fill='%23222' points='900 600 990 450 810 450'/%3E%3Cpolygon fill='%23DDD' points='0 900 90 750 -90 750'/%3E%3Cpolygon fill='%23444' points='180 900 270 750 90 750'/%3E%3Cpolygon fill='%23FFF' points='360 900 450 750 270 750'/%3E%3Cpolygon fill='%23AAA' points='540 900 630 750 450 750'/%3E%3Cpolygon fill='%23FFF' points='720 900 810 750 630 750'/%3E%3Cpolygon fill='%23222' points='900 900 990 750 810 750'/%3E%3Cpolygon fill='%23222' points='1080 300 990 450 1170 450'/%3E%3Cpolygon fill='%23FFF' points='1080 300 1170 150 990 150'/%3E%3Cpolygon points='1080 600 990 750 1170 750'/%3E%3Cpolygon fill='%23666' points='1080 600 1170 450 990 450'/%3E%3Cpolygon fill='%23DDD' points='1080 900 1170 750 990 750'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect x='0' y='0' fill='url(%23a)' width='100%25' height='100%25'/%3E%3Crect x='0' y='0' fill='url(%23b)' width='100%25' height='100%25'/%3E%3C/svg%3E");
    background-size: cover;
}

.section.dark,
body {
    background-color: var(--primary-bg-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='0' x2='0' y1='0' y2='100%25' gradientTransform='rotate(240)'%3E%3Cstop offset='0' stop-color='%230C0E12'/%3E%3Cstop offset='1' stop-color='%230C0E12'/%3E%3C/linearGradient%3E%3Cpattern patternUnits='userSpaceOnUse' id='b' width='1135' height='945.8' x='0' y='0' viewBox='0 0 1080 900'%3E%3Cg fill-opacity='0.01'%3E%3Cpolygon fill='%23444' points='90 150 0 300 180 300'/%3E%3Cpolygon points='90 150 180 0 0 0'/%3E%3Cpolygon fill='%23AAA' points='270 150 360 0 180 0'/%3E%3Cpolygon fill='%23DDD' points='450 150 360 300 540 300'/%3E%3Cpolygon fill='%23999' points='450 150 540 0 360 0'/%3E%3Cpolygon points='630 150 540 300 720 300'/%3E%3Cpolygon fill='%23DDD' points='630 150 720 0 540 0'/%3E%3Cpolygon fill='%23444' points='810 150 720 300 900 300'/%3E%3Cpolygon fill='%23FFF' points='810 150 900 0 720 0'/%3E%3Cpolygon fill='%23DDD' points='990 150 900 300 1080 300'/%3E%3Cpolygon fill='%23444' points='990 150 1080 0 900 0'/%3E%3Cpolygon fill='%23DDD' points='90 450 0 600 180 600'/%3E%3Cpolygon points='90 450 180 300 0 300'/%3E%3Cpolygon fill='%23666' points='270 450 180 600 360 600'/%3E%3Cpolygon fill='%23AAA' points='270 450 360 300 180 300'/%3E%3Cpolygon fill='%23DDD' points='450 450 360 600 540 600'/%3E%3Cpolygon fill='%23999' points='450 450 540 300 360 300'/%3E%3Cpolygon fill='%23999' points='630 450 540 600 720 600'/%3E%3Cpolygon fill='%23FFF' points='630 450 720 300 540 300'/%3E%3Cpolygon points='810 450 720 600 900 600'/%3E%3Cpolygon fill='%23DDD' points='810 450 900 300 720 300'/%3E%3Cpolygon fill='%23AAA' points='990 450 900 600 1080 600'/%3E%3Cpolygon fill='%23444' points='990 450 1080 300 900 300'/%3E%3Cpolygon fill='%23222' points='90 750 0 900 180 900'/%3E%3Cpolygon points='270 750 180 900 360 900'/%3E%3Cpolygon fill='%23DDD' points='270 750 360 600 180 600'/%3E%3Cpolygon points='450 750 540 600 360 600'/%3E%3Cpolygon points='630 750 540 900 720 900'/%3E%3Cpolygon fill='%23444' points='630 750 720 600 540 600'/%3E%3Cpolygon fill='%23AAA' points='810 750 720 900 900 900'/%3E%3Cpolygon fill='%23666' points='810 750 900 600 720 600'/%3E%3Cpolygon fill='%23999' points='990 750 900 900 1080 900'/%3E%3Cpolygon fill='%23999' points='180 0 90 150 270 150'/%3E%3Cpolygon fill='%23444' points='360 0 270 150 450 150'/%3E%3Cpolygon fill='%23FFF' points='540 0 450 150 630 150'/%3E%3Cpolygon points='900 0 810 150 990 150'/%3E%3Cpolygon fill='%23222' points='0 300 -90 450 90 450'/%3E%3Cpolygon fill='%23FFF' points='0 300 90 150 -90 150'/%3E%3Cpolygon fill='%23FFF' points='180 300 90 450 270 450'/%3E%3Cpolygon fill='%23666' points='180 300 270 150 90 150'/%3E%3Cpolygon fill='%23222' points='360 300 270 450 450 450'/%3E%3Cpolygon fill='%23FFF' points='360 300 450 150 270 150'/%3E%3Cpolygon fill='%23444' points='540 300 450 450 630 450'/%3E%3Cpolygon fill='%23222' points='540 300 630 150 450 150'/%3E%3Cpolygon fill='%23AAA' points='720 300 630 450 810 450'/%3E%3Cpolygon fill='%23666' points='720 300 810 150 630 150'/%3E%3Cpolygon fill='%23FFF' points='900 300 810 450 990 450'/%3E%3Cpolygon fill='%23999' points='900 300 990 150 810 150'/%3E%3Cpolygon points='0 600 -90 750 90 750'/%3E%3Cpolygon fill='%23666' points='0 600 90 450 -90 450'/%3E%3Cpolygon fill='%23AAA' points='180 600 90 750 270 750'/%3E%3Cpolygon fill='%23444' points='180 600 270 450 90 450'/%3E%3Cpolygon fill='%23444' points='360 600 270 750 450 750'/%3E%3Cpolygon fill='%23999' points='360 600 450 450 270 450'/%3E%3Cpolygon fill='%23666' points='540 600 630 450 450 450'/%3E%3Cpolygon fill='%23222' points='720 600 630 750 810 750'/%3E%3Cpolygon fill='%23FFF' points='900 600 810 750 990 750'/%3E%3Cpolygon fill='%23222' points='900 600 990 450 810 450'/%3E%3Cpolygon fill='%23DDD' points='0 900 90 750 -90 750'/%3E%3Cpolygon fill='%23444' points='180 900 270 750 90 750'/%3E%3Cpolygon fill='%23FFF' points='360 900 450 750 270 750'/%3E%3Cpolygon fill='%23AAA' points='540 900 630 750 450 750'/%3E%3Cpolygon fill='%23FFF' points='720 900 810 750 630 750'/%3E%3Cpolygon fill='%23222' points='900 900 990 750 810 750'/%3E%3Cpolygon fill='%23222' points='1080 300 990 450 1170 450'/%3E%3Cpolygon fill='%23FFF' points='1080 300 1170 150 990 150'/%3E%3Cpolygon points='1080 600 990 750 1170 750'/%3E%3Cpolygon fill='%23666' points='1080 600 1170 450 990 450'/%3E%3Cpolygon fill='%23DDD' points='1080 900 1170 750 990 750'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect x='0' y='0' fill='url(%23a)' width='100%25' height='100%25'/%3E%3Crect x='0' y='0' fill='url(%23b)' width='100%25' height='100%25'/%3E%3C/svg%3E");
    background-size: cover;
}

.section.brand {
    background-color: var(--brand-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='0' x2='0' y1='0' y2='100%25' gradientTransform='rotate(240)'%3E%3Cstop offset='0' stop-color='%23F92C43'/%3E%3Cstop offset='1' stop-color='%23F92C43'/%3E%3C/linearGradient%3E%3Cpattern patternUnits='userSpaceOnUse' id='b' width='1135' height='945.8' x='0' y='0' viewBox='0 0 1080 900'%3E%3Cg fill-opacity='0.02'%3E%3Cpolygon fill='%23444' points='90 150 0 300 180 300'/%3E%3Cpolygon points='90 150 180 0 0 0'/%3E%3Cpolygon fill='%23AAA' points='270 150 360 0 180 0'/%3E%3Cpolygon fill='%23DDD' points='450 150 360 300 540 300'/%3E%3Cpolygon fill='%23999' points='450 150 540 0 360 0'/%3E%3Cpolygon points='630 150 540 300 720 300'/%3E%3Cpolygon fill='%23DDD' points='630 150 720 0 540 0'/%3E%3Cpolygon fill='%23444' points='810 150 720 300 900 300'/%3E%3Cpolygon fill='%23FFF' points='810 150 900 0 720 0'/%3E%3Cpolygon fill='%23DDD' points='990 150 900 300 1080 300'/%3E%3Cpolygon fill='%23444' points='990 150 1080 0 900 0'/%3E%3Cpolygon fill='%23DDD' points='90 450 0 600 180 600'/%3E%3Cpolygon points='90 450 180 300 0 300'/%3E%3Cpolygon fill='%23666' points='270 450 180 600 360 600'/%3E%3Cpolygon fill='%23AAA' points='270 450 360 300 180 300'/%3E%3Cpolygon fill='%23DDD' points='450 450 360 600 540 600'/%3E%3Cpolygon fill='%23999' points='450 450 540 300 360 300'/%3E%3Cpolygon fill='%23999' points='630 450 540 600 720 600'/%3E%3Cpolygon fill='%23FFF' points='630 450 720 300 540 300'/%3E%3Cpolygon points='810 450 720 600 900 600'/%3E%3Cpolygon fill='%23DDD' points='810 450 900 300 720 300'/%3E%3Cpolygon fill='%23AAA' points='990 450 900 600 1080 600'/%3E%3Cpolygon fill='%23444' points='990 450 1080 300 900 300'/%3E%3Cpolygon fill='%23222' points='90 750 0 900 180 900'/%3E%3Cpolygon points='270 750 180 900 360 900'/%3E%3Cpolygon fill='%23DDD' points='270 750 360 600 180 600'/%3E%3Cpolygon points='450 750 540 600 360 600'/%3E%3Cpolygon points='630 750 540 900 720 900'/%3E%3Cpolygon fill='%23444' points='630 750 720 600 540 600'/%3E%3Cpolygon fill='%23AAA' points='810 750 720 900 900 900'/%3E%3Cpolygon fill='%23666' points='810 750 900 600 720 600'/%3E%3Cpolygon fill='%23999' points='990 750 900 900 1080 900'/%3E%3Cpolygon fill='%23999' points='180 0 90 150 270 150'/%3E%3Cpolygon fill='%23444' points='360 0 270 150 450 150'/%3E%3Cpolygon fill='%23FFF' points='540 0 450 150 630 150'/%3E%3Cpolygon points='900 0 810 150 990 150'/%3E%3Cpolygon fill='%23222' points='0 300 -90 450 90 450'/%3E%3Cpolygon fill='%23FFF' points='0 300 90 150 -90 150'/%3E%3Cpolygon fill='%23FFF' points='180 300 90 450 270 450'/%3E%3Cpolygon fill='%23666' points='180 300 270 150 90 150'/%3E%3Cpolygon fill='%23222' points='360 300 270 450 450 450'/%3E%3Cpolygon fill='%23FFF' points='360 300 450 150 270 150'/%3E%3Cpolygon fill='%23444' points='540 300 450 450 630 450'/%3E%3Cpolygon fill='%23222' points='540 300 630 150 450 150'/%3E%3Cpolygon fill='%23AAA' points='720 300 630 450 810 450'/%3E%3Cpolygon fill='%23666' points='720 300 810 150 630 150'/%3E%3Cpolygon fill='%23FFF' points='900 300 810 450 990 450'/%3E%3Cpolygon fill='%23999' points='900 300 990 150 810 150'/%3E%3Cpolygon points='0 600 -90 750 90 750'/%3E%3Cpolygon fill='%23666' points='0 600 90 450 -90 450'/%3E%3Cpolygon fill='%23AAA' points='180 600 90 750 270 750'/%3E%3Cpolygon fill='%23444' points='180 600 270 450 90 450'/%3E%3Cpolygon fill='%23444' points='360 600 270 750 450 750'/%3E%3Cpolygon fill='%23999' points='360 600 450 450 270 450'/%3E%3Cpolygon fill='%23666' points='540 600 630 450 450 450'/%3E%3Cpolygon fill='%23222' points='720 600 630 750 810 750'/%3E%3Cpolygon fill='%23FFF' points='900 600 810 750 990 750'/%3E%3Cpolygon fill='%23222' points='900 600 990 450 810 450'/%3E%3Cpolygon fill='%23DDD' points='0 900 90 750 -90 750'/%3E%3Cpolygon fill='%23444' points='180 900 270 750 90 750'/%3E%3Cpolygon fill='%23FFF' points='360 900 450 750 270 750'/%3E%3Cpolygon fill='%23AAA' points='540 900 630 750 450 750'/%3E%3Cpolygon fill='%23FFF' points='720 900 810 750 630 750'/%3E%3Cpolygon fill='%23222' points='900 900 990 750 810 750'/%3E%3Cpolygon fill='%23222' points='1080 300 990 450 1170 450'/%3E%3Cpolygon fill='%23FFF' points='1080 300 1170 150 990 150'/%3E%3Cpolygon points='1080 600 990 750 1170 750'/%3E%3Cpolygon fill='%23666' points='1080 600 1170 450 990 450'/%3E%3Cpolygon fill='%23DDD' points='1080 900 1170 750 990 750'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect x='0' y='0' fill='url(%23a)' width='100%25' height='100%25'/%3E%3Crect x='0' y='0' fill='url(%23b)' width='100%25' height='100%25'/%3E%3C/svg%3E");
    background-size: cover;
}

.section__header {
    position: relative;
    display: grid;
    gap: var(--space-md);
    margin-bottom: var(--space-semi-section);
}

.section__header-title {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: var(--space-xs);
}

.section__description {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: var(--space-md);
}

.section__description * {
    text-align: right;
}

.section__body {
}

.section__extra {
    width: 100%;
    display: flex;
    align-self: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-semi-section);
}

@media (min-width: 768px) {
    .section__header {
        grid-template-columns: 1fr 1fr;
        align-items: end;
    }
}

/* ==================== CENTERED SECTION ========================= */
.section__header.center {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
    justify-content: center;
}

.section__header.center .section__header-title {
    align-items: center;
}
.section__header.center .section__header-title h2 {
    text-align: center;
}

.section__header.center .section__description * {
    max-width: 68ch;
    text-align: center;
}

/* ====================== HALF SECTION ========================== */
.section__half {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    column-gap: var(--space-semi-section);
}

.section__half .section__header {
    grid-template-columns: 1fr;
    align-items: end;
    justify-content: end;
}

.section__half .section__description,
.section__half .section__description * {
    text-align: left;
}

@media (min-width: 768px) {
    .section__half .section__header {
        margin-bottom: 0;
    }
    .section__half {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ====================== SECTION SLIDING ========================== */
.section-info {
    padding: 0 0 var(--section-radius) 0;
}

/* ============================ FORM ============================== */
.form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);

    max-width: 850px;
    margin-inline: auto;
}

.form__item {
    display: flex;
    flex-direction: column;
}

.form__item-final {
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-color);
}

.form__item-label {
    margin-left: var(--space-xs);
    margin-bottom: 0.2rem;
    font-size: var(--text-xs);
    text-transform: uppercase;
    color: var(--color-500);
}

.form__item-label.required::after {
    content: " *";
    color: var(--brand-color);
    font-weight: 700;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea {
    width: 100%;
    background-color: var(--secondary-bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: var(--space-md);
    color: var(--color-900);
    transition: border-color var(--transition-normal);
    font-size: var(--text-md);
}

.form input:hover,
.form textarea:hover {
    outline: none;
    border-color: var(--brand-border);
}

.form input:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--brand-color);
}

.form__item-upload {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);

    margin-bottom: 0.2rem;
    font-size: var(--text-md);
    padding: var(--space-md);
    background-color: var(--secondary-bg-color);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: var(--text-md);
    transition: all var(--transition-normal);
    text-transform: none;
}
.form__item-upload:hover {
    border-color: var(--brand-hover);
}
.form__item-upload input[type="file"] {
    display: none;
}

/* =============================================================== */
/* =============================================================== */
/* ======================== BACKDROP ============================= */
/* =============================================================== */
/* =============================================================== */
#backdrop {
    position: fixed;
    z-index: 100;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--filter-bg-color);
    backdrop-filter: var(--filter);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

#backdrop.is-visible {
    opacity: 1;
    pointer-events: all;
}

#backdrop.is-hard-visible {
    z-index: 999;
    opacity: 1;
    pointer-events: all;
}

/* =============================================================== */
/* =============================================================== */
/* ======================= SITE HEADER =========================== */
/* =============================================================== */
/* =============================================================== */
#site-header {
    position: fixed;
    z-index: 105;
    width: 100%;
    top: var(--space-md);
}

.site-header__content {
    height: var(--header-height);
    padding-inline: var(--space-md);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: var(--filter);

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    transition:
        border-bottom-left-radius var(--transition-normal),
        border-bottom-right-radius var(--transition-normal),
        background-color var(--transition-normal);
}

.site-header__content:hover {
    background-color: var(--primary-bg-color);
}

#site-header.menu-open .site-header__content {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-color: var(--primary-bg-color);
}

/* ===================== SITE HEADER LOGO ========================== */
.site-header__logo,
.site-header__logo img {
    position: relative;
    height: 2rem;
}

.site-header__logo.desktop {
    display: none;
}

@media (min-width: 768px) {
    .site-header__logo.desktop {
        display: block;
    }
    .site-header__logo.mobile {
        display: none;
    }
}

/* ==================== SITE HEADER BUTTON ========================= */
.site-header__content .button {
    min-width: 120px !important;
    border-radius: 8px;
    display: none;
}

@media (min-width: 768px) {
    .site-header__content .button {
        display: flex;
    }
}

/* ==================== HEADER NAV WRAPPER ========================= */
.site-header__nav {
    display: none;

    height: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

/* ====================== HEADER NAV ITEM ========================== */
.site-header__nav-item {
    position: relative;
    height: 100%;
    padding-inline: var(--space-md);

    cursor: pointer;
    text-decoration: none;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);

    transition: color var(--transition-normal);
}

.site-header__nav-item[aria-current="page"]:after {
    content: "";
    z-index: -1;
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: 0px;
    left: 0;
    background-color: var(--brand-color);
    border-radius: var(--radius);
    pointer-events: none;
}

#site-header.menu-open #menu-desktop-button,
.site-header__nav-item:hover {
    color: var(--brand-color);
}

#menu-desktop-button i {
    transition: transform var(--transition-normal);
}
#site-header.menu-open #menu-desktop-button i,
#menu-desktop-button:hover i {
    transform: rotate(180deg);
}

@media (min-width: 768px) {
    .site-header__nav {
        display: flex;
    }
}
/* ======================= MENU HAMBURGER ========================== */
#hamburger-button {
    height: 100%;
    position: relative;
    cursor: pointer;

    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);

    border: none;
    background: transparent;
    transition: color var(--transition-normal);
}

.site-header__hamburger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xs);
}

.site-header__hamburger span {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: var(--color-900);
    opacity: 1;
    transition:
        background var(--transition-normal),
        transform var(--transition-bouncy),
        opacity var(--transition-normal);
}

#hamburger-button:hover {
    color: var(--brand-color);
}

#hamburger-button:hover span {
    background: var(--brand-color);
}

#hamburger-button[aria-expanded="true"] span:first-child {
    transform: translateY(0.325rem) rotate(45deg);
}

#hamburger-button[aria-expanded="true"] span:last-child {
    transform: translateY(-0.325rem) rotate(-45deg);
}

@media (min-width: 768px) {
    #hamburger-button {
        display: none;
    }
}

/* =============================================================== */
/* =============================================================== */
/* ========================= SITE NAV ============================ */
/* =============================================================== */
/* =============================================================== */
#site-nav {
    position: fixed;
    z-index: 104;
    width: 100%;
    top: 0;
    height: 100dvh;
    overflow: hidden;
    padding-top: calc(2 * var(--space-md) + var(--header-height));

    pointer-events: none;
    visibility: hidden;
    opacity: 0;

    background-color: var(--primary-bg-color);
}

.site-nav__content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);

    height: 100%;
}

@media (min-width: 768px) {
    #site-nav {
        top: calc(var(--space-md) + var(--space-xs) + var(--header-height));

        height: 100%;
        background-color: transparent;
        padding-top: unset;

        transform: translateY(-20rem) scale(0.7);
        will-change: transform, opacity, visibility;
        transition:
            opacity var(--transition-normal),
            visibility var(--transition-normal),
            transform var(--transition-bouncy);
    }

    #site-nav.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: all;
    }
}

/* ===================== SITE NAV VISUALS ========================== */
.site-nav__visual {
    height: 7.5rem;

    position: relative;
    display: block;
    overflow: hidden;

    margin: 0;
    border-radius: var(--radius);
}

.site-nav__visual::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 14, 18, 0.66) 0%, rgba(12, 14, 18, 0.11) 100%);
}

.site-nav__visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-nav__visual-title {
    position: absolute;
    left: var(--space-xs);
    right: var(--space-xs);
    bottom: var(--space-xs);

    z-index: 1;
}

@media (min-width: 768px) {
    .site-nav__visual-title {
        left: var(--space-sm);
        right: var(--space-sm);
    }
}

/* ====================== SITE NAV LINKS =========================== */
.site-nav__link {
    padding: var(--space-md);
    justify-content: start;
    min-height: unset;

    color: var(--color-700);
    border: none;
    background-color: var(--secondary-bg-color);
}

.site-nav__link[aria-current="page"] {
    border-left: 3px solid var(--brand-color);
}

.site-nav__link:hover {
    color: var(--color-900);
    background-color: var(--brand-color);
    transform: none;
}

@media (min-width: 768px) {
    .site-nav__link {
        padding: var(--space-sm) var(--space-md);
    }
}

/* ======================= SITE NAV PAGES ========================== */
.site-nav__pages {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
    gap: var(--space-xs);

    opacity: 0;
    transform: translateY(-2rem);
}

.site-nav__pages > a {
    width: calc(50% - (var(--space-xs) / 2));
}

@media (min-width: 768px) {
    .site-nav__pages {
        display: none;
    }
}

/* ====================== SITE NAV TITLES ========================== */
.site-nav__title {
    width: 100%;
    text-align: center;

    padding-block: var(--space-xs);

    color: var(--color-300);
    border-bottom: 1px solid var(--border-color);

    font-weight: 900;
    text-transform: uppercase;

    opacity: 0;
    transform: translateY(-2rem);
}

@media (min-width: 768px) {
    .site-nav__title {
        display: none;
    }
}

/* ================= SITE NAV PRODUCT SECTION ====================== */
.site-nav__products {
    position: relative;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    align-items: start;
    gap: var(--space-md);
    padding-bottom: var(--space-md);
    overflow-y: scroll;
}

.site-nav__column {
    display: flex;
    flex-direction: column;

    opacity: 0;
    transform: translateY(-2rem);
}

.site-nav__products-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding-top: var(--space-xs);
}

@media (min-width: 768px) {
    .site-nav__products {
        max-height: calc(100dvh - (2 * var(--space-md) + var(--space-xs) + var(--header-height)));
        gap: var(--space-md);

        padding: var(--space-md);
        background-color: var(--primary-bg-color);

        border-radius: 0 0 var(--radius) var(--radius);
    }

    .site-nav__products::before {
        content: "PRODUKTY";
        position: absolute;
        right: calc(var(--space-md) * -1.5);
        bottom: calc(var(--space-md) * -1.5);
        font-size: 180px;
        font-weight: 900;
        margin: 0;
        color: rgba(255, 255, 255, 0.01);

        pointer-events: none;
        z-index: 1;
        line-height: 1;
    }

    .site-nav__column {
        padding-bottom: unset;

        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================================== */
/* =============================================================== */
/* =================== QUICK CONTACT SECTION ===================== */
/* =============================================================== */
/* =============================================================== */
#quickContact {
    background: radial-gradient(circle at center, rgba(12, 14, 18, 0.66) 0%, rgba(12, 14, 18, 0.11) 100%), url("../images/house/highlighted.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* =============================================================== */
/* =============================================================== */
/* ========================== FOOTER ============================= */
/* =============================================================== */
/* =============================================================== */
footer {
    padding-bottom: 0 !important;
}

.footer__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ================== FOOTER CONTACT BANNER ====================== */
.footer__contacts {
    padding: var(--space-semi-section);
    background-color: var(--brand-color);
    border-radius: var(--radius);
}

.footer__info {
    min-height: 35dvh;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--space-xl);
}

.footer__info-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer__info-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

@media (min-width: 992px) {
    .footer__info {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer__info-column,
    .footer__info-links {
        align-items: start;
    }
}

.footer__opening {
    grid-column: span 2;
}

.footer__hours {
    width: 100%;

    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-xs);
    border-bottom: 1px solid var(--border-color);
}

/* ====================== FOOTER RIGHTS ========================== */
.footer__rights {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-semi-section);
}

.footer__rights-image {
    width: 100%;
    max-width: 250px;
}

.footer__button {
    min-height: fit-content;
    padding: 1rem;
    min-width: fit-content;
}

.footer__button:after {
    content: "" !important;
}

.footer__rights-bottom {
    width: 100%;
    padding: var(--space-md);
    border-top: 1px solid var(--border-color);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .footer__rights-bottom {
        flex-direction: row;
    }
}

/* ===================== FOOTER STATUS DOT ========================= */
.footer__status {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    color: var(--color-700);
}

.footer__status-dot {
    position: relative;
    width: var(--space-xs);
    height: var(--space-xs);
    border-radius: 50%;
    background: var(--color-300);
}

.footer__status-dot::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.4;
    animation: status-pulse 2s ease-out infinite;
}

.footer__status-dot.open {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.footer__status-dot.closed {
    background: var(--brand-color);
    box-shadow: 0 0 8px hsl(var(--brand) / 0.6);
}

@keyframes status-pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* =============================================================== */
/* =============================================================== */
/* ===================== CONTACT DRAWER ========================== */
/* =============================================================== */
/* =============================================================== */
#contactDrawer {
    overflow: hidden;

    z-index: 1000;
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;

    width: 100%;
    max-width: 750px;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}

.drawer {
    width: 100%;
    height: 100%;

    background-color: var(--primary-bg-color);
    border: 1px solid var(--border-color);

    display: flex;
    flex-direction: column;
}

.drawer__header {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-color);

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    width: 100%;
}
#drawer__close {
    background-color: transparent;
    border: 0;
    font-size: var(--text-xl);
    color: var(--color-500);
    cursor: pointer;
    transition: color var(--transition-normal);
}
#drawer__close:hover {
    color: var(--brand-color);
}

.drawer__body {
    box-sizing: border-box;
    padding: var(--space-md);
    overflow-y: auto;
}

.drawer__submit {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .drawer {
        height: fit-content;
        width: calc(100% - var(--space-md));
        border-radius: var(--radius);
        margin-right: var(--space-md);
    }
}

/* =============================================================== */
/* =============================================================== */
/* ====================== CONTACTS PAGE ========================== */
/* =============================================================== */
/* =============================================================== */
.vzorkovna-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 200px);
    gap: var(--space-md);
}

.vzorkovna-grid > * {
    width: 100%;
    height: 100%;
}

@media (min-width: 768px) {
    .vzorkovna-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 300px);
    }

    .vzorkovna-grid > *:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    .vzorkovna-grid > *:nth-child(2) {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }

    .vzorkovna-grid > *:nth-child(3) {
        grid-column: 3 / 4;
        grid-row: 2 / 3;
    }
}
