/*
 * MaChe ArtStudio — global stylesheet entry point.
 * FAZA 3 / Task 3.1: shared header + primary navigation.
 * FAZA 3 / Task 3.2: shared footer.
 * FAZA 3 / Task 3.3: shared buttons.
 * FAZA 3 / Task 3.4: shared typography.
 * FAZA 3 / Task 3.5: shared forms.
 * FAZA 3 / Task 3.6: shared cards.
 * FAZA 3 / Task 3.7: shared breadcrumbs.
 */

/* Montserrat is declared locally so the page no longer waits for the Google Fonts stylesheet.
 * The font binaries remain on fonts.gstatic.com and keep the same swap behavior. */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* CHECKPOINT POST-FAZA 6 — visual baseline tokens. */
    --font-primary: 'Montserrat', sans-serif;
    --font-display: var(--font-primary);
    --font-body: var(--font-primary);

    --color-accent: #c48f56;
    --color-ink: #111111;
    --color-ink-soft: #232323;
    --color-surface: #ffffff;
    --color-surface-subtle: #f6f4f1;
    --color-text: #171717;
    --color-text-muted: #66625d;
    --color-text-on-dark: #ffffff;
    --color-text-on-dark-muted: rgba(255, 255, 255, 0.72);
    --color-border: rgba(17, 17, 17, 0.12);
    --color-border-on-dark: rgba(255, 255, 255, 0.12);

    --layout-container: 73.125rem;
    --layout-gutter: 0.9375rem;
    --header-gutter: 3.75rem;
    --header-gutter-mobile: 0.9375rem;
    --header-height: 5rem;
    --header-height-mobile: 4.5rem;

    --focus-ring-width: 2px;
    --motion-fast: 160ms;
    --motion-medium: 240ms;
    --ease-standard: ease;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
    display: flex;
    min-height: 100dvh;
    margin: 0;
    flex-direction: column;
    background: var(--color-surface);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

main {
    flex: 1 0 auto;
}

/*
 * Keep the shared footer below the first viewport on short placeholder pages.
 * Real pages naturally grow beyond this minimum as their content is implemented.
 */
#main-content {
    min-height: calc(100vh - 5rem);
    min-height: calc(100dvh - 5rem);
}

/* FAZA 3 / Task 3.4: shared typography. */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: var(--color-text);
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.4rem, 5.3vw, 4.9rem);
}

h2 {
    font-size: clamp(2rem, 3.9vw, 3.55rem);
}

h3 {
    font-size: clamp(1.6rem, 2.7vw, 2.45rem);
}

h4 {
    font-size: clamp(1.3rem, 1.9vw, 1.75rem);
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 0.98rem;
}

p {
    margin: 0 0 1em;
}

p:last-child {
    margin-bottom: 0;
}

strong,
b {
    font-weight: 700;
}

small {
    font-size: 0.82em;
}

.type-eyebrow {
    margin: 0 0 0.8rem;
    color: var(--color-accent);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1000;
    padding: 0.65rem 0.9rem;
    transform: translateY(-180%);
    background: #ffffff;
    color: #111111;
    font: 600 0.875rem/1.2 var(--font-body);
    text-decoration: none;
    transition: transform var(--motion-fast) var(--ease-standard);
}

.skip-link:focus {
    transform: translateY(0);
    outline: var(--focus-ring-width) solid var(--color-accent);
    outline-offset: 2px;
}

.site-header {
    position: relative;
    z-index: 100;
    width: 100%;
    background: transparent;
    color: var(--color-text-on-dark);
    border-bottom-color: transparent;
    box-shadow: none;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: none;
    min-height: var(--header-height);
    margin: 0 auto;
    padding: 0 var(--header-gutter);
    box-sizing: border-box;
}

.site-brand {
    display: inline-flex;
    align-items: baseline;
    flex: 0 0 auto;
    color: var(--color-text-on-dark);
    text-decoration: none;
    white-space: nowrap;
}

.site-brand__name {
    font: 700 1.75rem/1 var(--font-display);
    letter-spacing: -0.04em;
}

.site-brand__studio {
    margin-left: 0.35rem;
    color: var(--color-accent);
    font: 600 0.72rem/1 var(--font-body);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.site-brand:focus-visible,
.site-nav__link:focus-visible,
.site-nav-toggle:focus-visible {
    outline: var(--focus-ring-width) solid var(--color-accent);
    outline-offset: 4px;
}

.site-nav {
    margin-left: 2rem;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(1.15rem, 2vw, 2rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__link {
    position: relative;
    display: inline-block;
    padding: 1.95rem 0 1.85rem;
    color: rgba(255, 255, 255, 0.82);
    font: 600 0.74rem/1.2 var(--font-body);
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color var(--motion-fast) var(--ease-standard);
}

.site-nav__link::after {
    position: absolute;
    right: 0;
    bottom: 1.4rem;
    left: 0;
    height: 1px;
    content: '';
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--motion-fast) var(--ease-standard);
}

.site-nav__link:hover,
.site-nav__link.is-current {
    color: var(--color-text-on-dark);
}

.site-nav__link:hover::after,
.site-nav__link.is-current::after {
    transform: scaleX(1);
}

.site-nav-toggle {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.65rem;
    border: 0;
    background: transparent;
    color: var(--color-text-on-dark);
    cursor: pointer;
}

.site-nav-toggle__line {
    display: block;
    width: 100%;
    height: 1px;
    margin: 0.32rem 0;
    background: currentColor;
    transform-origin: center;
    transition: transform var(--motion-fast) var(--ease-standard), opacity var(--motion-fast) var(--ease-standard);
}

.site-nav-toggle[aria-expanded='true'] .site-nav-toggle__line:nth-child(1) {
    transform: translateY(0.4rem) rotate(45deg);
}

.site-nav-toggle[aria-expanded='true'] .site-nav-toggle__line:nth-child(2) {
    opacity: 0;
}

.site-nav-toggle[aria-expanded='true'] .site-nav-toggle__line:nth-child(3) {
    transform: translateY(-0.4rem) rotate(-45deg);
}

@media (max-width: 60.999rem) {
    .site-header__inner {
        position: relative;
        width: 100%;
        max-width: none;
        min-height: var(--header-height-mobile);
        padding-right: var(--header-gutter-mobile);
        padding-left: var(--header-gutter-mobile);
        flex-wrap: wrap;
    }

    .site-brand__name {
        font-size: 1.55rem;
    }

    .js .site-nav-toggle {
        display: block;
    }

    .site-nav {
        width: 100%;
        margin: 0;
    }

    .js .site-nav {
        position: fixed;
        top: var(--header-height-mobile);
        right: 0;
        bottom: 0;
        box-sizing: border-box;
        width: clamp(9rem, 40vw, 15rem);
        height: auto;
        margin: 0;
        overflow-y: auto;
        background: var(--color-ink);
        border-top: 1px solid var(--color-border-on-dark);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: -1rem 1rem 2.25rem rgba(0, 0, 0, 0.24);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(100%);
        transition:
            transform 260ms var(--ease-out),
            opacity 200ms var(--ease-standard),
            visibility 0s linear 260ms;
        will-change: transform, opacity;
    }

    .js .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
        transition-delay: 0s;
    }

    .site-nav__list {
        display: block;
        box-sizing: border-box;
        width: 100%;
        padding: 0.7rem 0.75rem 1rem;
        border-top: 0;
    }

    .site-nav__link {
        display: block;
        padding: 0.82rem 0;
        font-size: 0.72rem;
        letter-spacing: 0.065em;
        white-space: nowrap;
    }

    .site-nav__link::after {
        right: auto;
        bottom: 0.55rem;
        width: 2.25rem;
    }

    .site-nav-open {
        overflow: hidden;
    }
}



/* FAZA 3 / Task 3.3: shared buttons. */

.btn {
    --btn-background: #111111;
    --btn-border: #111111;
    --btn-color: #ffffff;
    --btn-hover-background: #242424;
    --btn-hover-border: #242424;
    --btn-hover-color: #ffffff;

    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    box-sizing: border-box;
    padding: 0.72rem 1.05rem;
    border: 1px solid var(--btn-border);
    border-radius: 0.18rem;
    background: var(--btn-background);
    color: var(--btn-color);
    font: 600 0.72rem/1.2 var(--font-body);
    letter-spacing: 0.085em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.btn:hover {
    border-color: var(--btn-hover-border);
    background: var(--btn-hover-background);
    color: var(--btn-hover-color);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn:focus-visible {
    outline: 2px solid #c48f56;
    outline-offset: 3px;
}

.btn[aria-disabled='true'],
.btn:disabled {
    opacity: 0.46;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
}

.btn--accent {
    --btn-background: var(--color-accent);
    --btn-border: #c48f56;
    --btn-color: #111111;
    --btn-hover-background: var(--color-accent);
    --btn-hover-border: #c48f56;
    --btn-hover-color: #111111;
}

.btn--outline-light {
    --btn-background: transparent;
    --btn-border: rgba(255, 255, 255, 0.34);
    --btn-color: #ffffff;
    --btn-hover-background: #ffffff;
    --btn-hover-border: #ffffff;
    --btn-hover-color: #111111;
}

@media (max-width: 30rem) {
    .btn {
        min-height: 2.8rem;
        padding-right: 0.95rem;
        padding-left: 0.95rem;
    }
}


/* FAZA 3 / Task 3.7: shared breadcrumbs. */

.breadcrumbs {
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 650;
    line-height: 1.4;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.breadcrumbs__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.breadcrumbs__item+.breadcrumbs__item::before {
    margin: 0 0.62rem;
    color: rgba(196, 143, 86, 0.72);
    content: '/';
    font-weight: 400;
}

.breadcrumbs__link {
    color: inherit;
    text-decoration: none;
    transition: color var(--motion-fast) var(--ease-standard);
}

.breadcrumbs__link:hover {
    color: var(--color-accent);
}

.breadcrumbs__link:focus-visible {
    outline: var(--focus-ring-width) solid var(--color-accent);
    outline-offset: 3px;
}

.breadcrumbs__current {
    overflow: hidden;
    color: var(--color-text);
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 30rem) {
    .breadcrumbs {
        font-size: 0.68rem;
        letter-spacing: 0.06em;
    }

    .breadcrumbs__item+.breadcrumbs__item::before {
        margin: 0 0.48rem;
    }
}

.site-footer {
    flex: 0 0 auto;
    background: var(--color-ink-soft);
    color: var(--color-text-on-dark);
    font-family: var(--font-body);
}

/*
 * Footer rebuilt against the approved WordPress reference.
 * Desktop proportions intentionally mirror the legacy frontend while the
 * implementation remains semantic and independent from WordPress/Novo.
 */
.site-footer__social-bar {
    display: flex;
    height: 4rem;
    align-items: center;
    justify-content: center;
    padding: 0 1.25rem;
    border-bottom: 1px solid var(--color-ink);
    background: var(--color-ink);
}

.site-footer__social-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.site-footer__social-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #f4f4f4;
    font-size: 0.94rem;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    text-transform: lowercase;
    transition: color var(--motion-fast) var(--ease-standard);
}

.site-footer__social-item:not(.site-footer__social-item--pending):hover,
.site-footer__social-item:not(.site-footer__social-item--pending):focus-visible {
    color: var(--color-accent);
}

.site-footer__social-item:focus-visible {
    outline: var(--focus-ring-width) solid var(--color-accent);
    outline-offset: 4px;
}

.site-footer__social-item--pending {
    cursor: default;
}

.site-footer__social-separator {
    width: 0.3rem;
    height: 0.3rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--color-accent);
}

.site-footer__social-icon,
.site-footer__contact-icon {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    color: var(--color-accent);
}

.site-footer__social-icon {
    width: 1rem;
    height: 1rem;
}

.site-footer__contact-icon {
    width: 1.18rem;
    height: 1.18rem;
}

.site-footer__contact-label .site-footer__contact-icon--whatsapp {
    width: 1.22rem;
    height: 1.22rem;
}

.site-footer__social-icon svg,
.site-footer__contact-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.site-footer__social-icon .icon-fill,
.site-footer__contact-icon .icon-fill {
    fill: currentColor;
    stroke: none;
}

.site-footer__social-icon .icon-stroke,
.site-footer__contact-icon .icon-stroke {
    fill: none;
    stroke: currentColor;
}

/* Keep the contact pictograms visually consistent with the legacy footer. */
.site-footer__contact-icon--email svg>path:first-child {
    fill: currentColor;
    stroke: none;
}

.site-footer__contact-icon--email svg>.icon-stroke {
    stroke: var(--color-ink-soft);
    stroke-width: 1.55;
}

.site-footer__main {
    width: 100%;
    max-width: var(--layout-container);
    margin: 0 auto;
    padding: 1.875rem var(--layout-gutter) 0;
    box-sizing: border-box;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 calc(-1 * var(--layout-gutter));
    align-items: start;
}

.site-footer__column {
    min-width: 0;
    padding: 0 var(--layout-gutter);
    box-sizing: border-box;
}

.site-footer__title {
    margin: 0;
    color: var(--color-text-on-dark);
    font-family: var(--font-body);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.site-footer__title-rule {
    display: block;
    width: 1.25rem;
    height: 1px;
    margin: 1.1rem 0 1.4rem;
    background: rgba(196, 143, 86, 0.72);
}

.site-footer__company-details {
    max-width: 30rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.88rem;
    line-height: 1.45;
}

.site-footer__company-details p {
    margin: 0 0 0.52rem;
}

.site-footer__company-details p:last-child {
    margin-bottom: 0;
}

.site-footer__photos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    justify-content: start;
}

.site-footer__photo {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--color-ink);
    color: rgba(255, 255, 255, 0.26);
}

button.site-footer__photo {
    cursor: zoom-in;
}

.site-footer__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--motion-medium) var(--ease-standard), opacity 180ms var(--ease-standard);
}

button.site-footer__photo:hover img {
    transform: scale(1.035);
    opacity: 0.88;
}

button.site-footer__photo:focus-visible {
    outline: var(--focus-ring-width) solid var(--color-accent);
    outline-offset: 4px;
}

.site-footer__photo--placeholder {
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #1b1b1b;
}

.site-footer__photo--placeholder svg {
    width: 1.75rem;
    height: 1.75rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.25;
}

.site-footer__contact-list {
    display: grid;
    gap: 0.56rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__contact-list li {
    display: grid;
    grid-template-columns: 7.75rem minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}

.site-footer__contact-label {
    display: grid;
    grid-template-columns: 1.18rem minmax(0, 1fr);
    align-items: center;
    gap: 0.62rem;
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.9rem;
}

.site-footer__contact-list a {
    min-width: 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    line-height: 1.4;
    text-decoration: none;
    overflow-wrap: normal;
    word-break: normal;
    transition: color var(--motion-fast) var(--ease-standard);
}

.site-footer__contact-list a:hover {
    color: var(--color-accent);
}

.site-footer__contact-list a:focus-visible {
    outline: var(--focus-ring-width) solid var(--color-accent);
    outline-offset: 4px;
}

.site-footer__bottom {
    display: flex;
    min-height: 4.625rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    margin-top: 0;
    color: rgba(255, 255, 255, 0.58);
    font-family: var(--font-body);
    font-size: 0.78rem;
    line-height: 1.45;
    text-align: center;
}

.site-footer__bottom p {
    margin: 0;
}

.site-footer__bottom a {
    color: rgba(255, 255, 255, 0.72);
    text-underline-offset: 0.17em;
    transition: color var(--motion-fast) var(--ease-standard);
}

.site-footer__bottom a:hover {
    color: #ffffff;
}

.site-footer__bottom a:focus-visible {
    outline: var(--focus-ring-width) solid var(--color-accent);
    outline-offset: 3px;
}

.site-footer__bottom-separator {
    color: rgba(196, 143, 86, 0.78);
}

.footer-lightbox {
    width: min(92vw, 72rem);
    max-width: none;
    max-height: 90dvh;
    margin: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    overflow: visible;
}

.footer-lightbox[open] {
    display: grid;
    place-items: center;
}

.footer-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(3px);
}

.footer-lightbox__figure {
    display: grid;
    max-width: 100%;
    max-height: 90dvh;
    margin: 0;
    place-items: center;
}

.footer-lightbox__image {
    display: block;
    max-width: 92vw;
    max-height: 88dvh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.42);
}

.footer-lightbox__close {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 1;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(17, 17, 17, 0.68);
    color: #ffffff;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.footer-lightbox__close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.2rem;
    height: 1px;
    background: currentColor;
}

.footer-lightbox__close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.footer-lightbox__close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.footer-lightbox__close:hover {
    border-color: var(--color-accent);
    background: var(--color-ink);
    transform: rotate(4deg);
}

.footer-lightbox__close:focus-visible {
    outline: var(--focus-ring-width) solid var(--color-accent);
    outline-offset: 3px;
}

@media (max-width: 74.999rem) and (min-width: 62rem) {
    .site-footer__main {
        max-width: 60.625rem;
    }
}

@media (max-width: 61.999rem) and (min-width: 48rem) {
    .site-footer__main {
        max-width: 46.875rem;
    }

    .site-footer__photos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 13.25rem;
        gap: 0.5rem;
    }

    .site-footer__photo {
        width: 100%;
    }

    /* Keep contact details within the narrow three-column tablet footer. */
    .site-footer__contact-list li {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.18rem;
    }
}

@media (max-width: 47.999rem) {
    .site-footer__social-bar {
        height: 4rem;
        padding: 0 var(--layout-gutter);
    }

    .site-footer__social-list {
        gap: 0.82rem;
    }

    .site-footer__social-item {
        gap: 0.42rem;
        font-size: 0.9rem;
    }

    .site-footer__social-icon {
        width: 1.02rem;
        height: 1.02rem;
    }

    .site-footer__social-separator {
        width: 0.24rem;
        height: 0.24rem;
    }

    .site-footer__main {
        max-width: none;
        padding: 2.5rem 0.9375rem 0;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        margin: 0 calc(-1 * var(--layout-gutter));
        gap: 2.65rem;
    }

    .site-footer__column {
        padding: 0 var(--layout-gutter);
    }

    .site-footer__title {
        font-size: 1.5rem;
    }

    .site-footer__title-rule {
        margin: 0.9rem 0 1.25rem;
    }

    .site-footer__company-details {
        font-size: 0.94rem;
        line-height: 1.5;
    }

    .site-footer__company-details p {
        margin-bottom: 0.66rem;
    }

    .site-footer__photos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .site-footer__photo {
        width: 100%;
    }

    .site-footer__contact-list li {
        gap: 0.8rem;
    }

    .site-footer__contact-label,
    .site-footer__contact-list a {
        font-size: 0.94rem;
    }

    .site-footer__contact-icon {
        width: 1.08rem;
        height: 1.08rem;
    }

    .site-footer__bottom {
        min-height: 4.625rem;
        margin-top: 1.65rem;
        gap: 0.35rem 0.55rem;
        font-size: 0.78rem;
    }
}

@media (max-width: 24rem) {
    .site-footer__social-list {
        gap: 0.62rem;
    }

    .site-footer__social-item {
        font-size: 0.8rem;
    }

    .site-footer__contact-list li {
        grid-template-columns: 1fr;
        gap: 0.18rem;
    }

    .site-footer__contact-list a {
        overflow-wrap: anywhere;
    }

    .site-footer__bottom-separator {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .skip-link,
    .site-nav,
    .site-nav__link,
    .site-nav__link::after,
    .site-nav-toggle__line,
    .btn,
    .breadcrumbs__link,
    .site-footer__social-item,
    .site-footer__photo img,
    .site-footer__contact-list a,
    .site-footer__bottom a,
    .footer-lightbox__close {
        transition: none;
    }
}

/* Cookie consent */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.cookie-consent__banner {
    position: fixed;
    left: clamp(1rem, 2.5vw, 2rem);
    bottom: clamp(1rem, 2.5vw, 2rem);
    z-index: 1200;
    width: min(40rem, calc(100vw - 2rem));
    padding: clamp(1.25rem, 2.2vw, 1.75rem);
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 0.9rem;
    background: #ffffff;
    color: var(--color-text);
    box-shadow: 0 1.4rem 3.8rem rgba(0, 0, 0, 0.28);
}

.cookie-consent__banner h2 {
    margin-bottom: 0.75rem;
    color: var(--color-text);
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 700;
}

.cookie-consent__banner p {
    color: #353535;
    font-size: 0.98rem;
    line-height: 1.65;
}

.cookie-consent__actions,
.cookie-settings__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.25rem;
}

.cookie-consent__button {
    min-height: 2.9rem;
    padding: 0.75rem 1.15rem;
    border: 1px solid rgba(17, 17, 17, 0.18);
    border-radius: 0.45rem;
    font: 600 0.92rem/1 var(--font-body);
    cursor: pointer;
    transition:
        background var(--motion-fast) var(--ease-standard),
        border-color var(--motion-fast) var(--ease-standard),
        color var(--motion-fast) var(--ease-standard),
        transform var(--motion-fast) var(--ease-standard);
}

.cookie-consent__button:hover {
    transform: translateY(-1px);
}

.cookie-consent__button:focus-visible,
.cookie-settings__close:focus-visible,
.cookie-toggle input:focus-visible + .cookie-toggle__track,
.site-footer__cookie-settings:focus-visible,
.contact-map__activate:focus-visible {
    outline: var(--focus-ring-width) solid var(--color-accent);
    outline-offset: 3px;
}

.cookie-consent__button--primary {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: #111111;
}

.cookie-consent__button--primary:hover {
    background: #d49a5f;
    border-color: #d49a5f;
}

.cookie-consent__button--secondary {
    background: #ffffff;
    color: #161616;
}

.cookie-consent__button--secondary:hover {
    border-color: var(--color-accent);
    color: #000000;
}

.cookie-settings {
    width: min(43rem, calc(100vw - 2rem));
    max-width: none;
    max-height: min(88dvh, 50rem);
    margin: auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    background: #111111;
    color: #ffffff;
    overflow: hidden;
}

.cookie-settings::backdrop {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(3px);
}

.cookie-settings__panel {
    max-height: min(88dvh, 50rem);
    padding: clamp(1.35rem, 3vw, 2rem);
    overflow-y: auto;
}

.cookie-settings__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-settings__header h2 {
    color: #ffffff;
    font-size: clamp(1.7rem, 3vw, 2.15rem);
}

.cookie-settings__close {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.cookie-settings__close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 1px;
    background: #ffffff;
}

.cookie-settings__close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.cookie-settings__close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.cookie-settings__intro {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.72);
}

.cookie-settings__categories {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.cookie-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.1rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.035);
}

.cookie-category__copy h3 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}

.cookie-category__copy p {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.86rem;
    line-height: 1.55;
}

.cookie-category__status {
    flex: 0 0 auto;
    color: var(--color-accent);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.cookie-toggle {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    cursor: pointer;
}

.cookie-toggle input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.cookie-toggle__track {
    position: relative;
    width: 3.15rem;
    height: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    transition: background var(--motion-fast) var(--ease-standard);
}

.cookie-toggle__track::after {
    content: "";
    position: absolute;
    top: 0.2rem;
    left: 0.22rem;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: #ffffff;
    transition: transform var(--motion-fast) var(--ease-standard);
}

.cookie-toggle input:checked + .cookie-toggle__track {
    background: var(--color-accent);
}

.cookie-toggle input:checked + .cookie-toggle__track::after {
    transform: translateX(1.35rem);
}

.cookie-settings__policy {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.82rem;
}

.cookie-settings__policy a {
    color: #ffffff;
    text-underline-offset: 0.18em;
}

.cookie-settings__notice {
    width: fit-content;
    max-width: 100%;
    margin-top: 1rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(232, 128, 128, 0.55);
    border-radius: 0.35rem;
    color: #ffffff;
    background: rgba(232, 128, 128, 0.08);
    font-size: 0.82rem;
}

.site-footer__cookie-settings {
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 0.17em;
    cursor: pointer;
    transition: color var(--motion-fast) var(--ease-standard);
}

.site-footer__cookie-settings:hover {
    color: #ffffff;
}

@media (max-width: 42rem) {
    .cookie-consent__banner {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        width: auto;
        padding: 1.1rem;
    }

    .cookie-consent__actions,
    .cookie-settings__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cookie-consent__button {
        width: 100%;
    }

    .cookie-category {
        align-items: flex-start;
    }

    .cookie-settings__panel {
        padding: 1.15rem;
    }
}

@media (max-width: 24rem) {
    .cookie-category {
        display: grid;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-consent__button,
    .cookie-toggle__track,
    .cookie-toggle__track::after,
    .site-footer__cookie-settings {
        transition: none;
    }
}

/* Public-site media protection: suppress native long-press image callouts without blocking swipe/click. */
img,
picture {
    -webkit-touch-callout: none;
}

img {
    -webkit-user-drag: none;
    user-select: none;
}

/* Reserve geometry for deferred public images without native loading=lazy warnings. */
img[data-deferred-image] {
    opacity: 0;
    color: transparent;
    transition: opacity 180ms ease;
}

img[data-deferred-image].is-loaded {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    img[data-deferred-image] {
        transition: none;
    }
}

/* Mobile performance: avoid expensive global backdrop blur effects. */
@media (max-width: 47.999rem) {
    .cookie-settings::backdrop,
    .footer-lightbox::backdrop {
        backdrop-filter: none;
    }
}
