/* Tehniķis 96 — mobile-first, 2026 */

:root {
    --brand: #e33525;
    --brand-dark: #c42d1f;
    --brand-darker: #9e2418;
    --brand-light: #ff6b5c;
    --brand-soft: rgba(227, 53, 37, 0.08);
    --ink: #000000;
    --surface-dark: #0a0a0a;
    --surface-elevated: #ffffff;
    --bg: #ffffff;
    --bg-muted: #f4f4f5;
    --text: #18181b;
    --text-muted: #52525b;
    --border: #e4e4e7;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --container: min(1120px, calc(100% - 2rem));
    --header-h: 4.25rem;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --transition: 0.2s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.skip-link {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 200;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--surface-elevated);
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transform: translateY(-160%);
    transition: transform var(--transition);
}

.skip-link:focus-visible {
    transform: translateY(0);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    color: var(--brand-dark);
}

button {
    font: inherit;
    cursor: pointer;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Header ── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-sm);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    min-width: 0;
}

.site-logo:hover {
    color: var(--text);
}

.site-logo img {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: contain;
    flex-shrink: 0;
}

.site-logo__text {
    display: none;
}

.site-header__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-phones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.site-phones__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: var(--bg-muted);
}

.site-phones__link:hover {
    background: var(--brand-soft);
    color: var(--brand);
}

.lang-switch {
    position: relative;
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 0.15rem;
    padding: 0.2rem;
    border-radius: 999px;
    background: var(--bg-muted);
}

.lang-switch__btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.65rem;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.25s ease;
}

.lang-switch__btn:hover {
    color: var(--brand);
}

.lang-switch__btn.is-active {
    color: var(--brand);
}

.lang-switch__btn.is-active,
.lang-switch__btn:focus-visible {
    outline: none;
}

.lang-switch::before {
    content: "";
    position: absolute;
    top: 0.2rem;
    bottom: 0.2rem;
    left: 0.2rem;
    width: calc(50% - 0.275rem);
    border-radius: 999px;
    background: var(--surface-elevated);
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.lang-switch:has(.lang-switch__btn:last-child.is-active)::before {
    transform: translateX(calc(100% + 0.15rem));
}

.lang-switch__btn:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    flex-shrink: 0;
}

.lang-switch--header {
    display: none;
}

@media (max-width: 899px) {
    .lang-switch--header {
        display: inline-grid;
    }
}

@media (min-width: 900px) {
    .site-header__actions .lang-switch--header {
        display: none;
    }
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--bg-muted);
    color: var(--text);
}

.nav-toggle__bar {
    display: block;
    width: 1.25rem;
    height: 2px;
    margin-inline: auto;
    background: currentColor;
    border-radius: 1px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-header__drawer {
    display: none;
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    padding: 0 0 1rem;
    border-top: 1px solid var(--border);
    background: var(--surface-elevated);
}

.site-header.is-nav-open .site-header__drawer {
    display: block;
}

@media (max-width: 899px) {
    .site-header__inner {
        flex-wrap: wrap;
    }
}

.site-tagline {
    margin: 1rem 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.site-nav__link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
}

.site-nav__link:hover,
.site-nav__link.is-active {
    background: var(--brand-soft);
    color: var(--brand);
}

/* ── Hero slider ── */

.hero {
    position: relative;
    background: var(--surface-dark);
    overflow: hidden;
}

.hero__slides {
    position: relative;
    aspect-ratio: 16 / 10;
    min-height: 280px;
    max-height: 72vh;
}

@media (min-width: 768px) {
    .hero__slides {
        aspect-ratio: 21 / 9;
        min-height: 360px;
    }
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero__slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero__slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.15) 100%
    );
}

.hero__caption {
    position: absolute;
    inset: auto 0 0;
    padding-bottom: 4.5rem;
    padding-top: 2rem;
    z-index: 2;
}

.hero__line {
    margin: 0 0 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}

.hero__line-primary {
    display: inline-block;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    font-size: clamp(1.25rem, 4vw, 2rem);
    line-height: 1.2;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
}

.hero__line-secondary {
    display: inline-block;
    background: rgba(20, 20, 20, 0.85);
    color: #fff;
    font-size: clamp(0.875rem, 2.5vw, 1.125rem);
    line-height: 1.4;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
}

.hero__controls {
    position: absolute;
    inset: auto 0 1rem;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero__arrow {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), background var(--transition);
}

.hero__arrow:hover {
    transform: scale(1.05);
    background: #fff;
}

.hero__dots {
    display: flex;
    gap: 0.5rem;
}

.hero__dot {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    transition: width var(--transition), background var(--transition);
}

.hero__dot.is-active {
    width: 1.75rem;
    background: var(--brand);
}

/* ── Categories ── */

.categories {
    padding: 2.5rem 0 3.5rem;
    background: var(--bg-muted);
}

.section-head {
    margin-bottom: 2rem;
    text-align: center;
    max-width: 40rem;
    margin-inline: auto;
}

.section-head__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.section-head__lead {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 720px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1000px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.15rem;
    }
}

.category-card {
    background: var(--surface-elevated);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.category-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.category-card__link:hover {
    color: inherit;
}

.category-card__media {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--bg-muted);
}

.category-card__media picture {
    display: block;
    width: 100%;
    height: 100%;
}

.category-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.category-card:hover .category-card__media img {
    transform: scale(1.04);
}

.category-card__title {
    margin: 0;
    padding: 0.85rem 1rem 0.3rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text);
}

.category-card__cta {
    padding: 0 1.15rem 1.15rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--brand);
}

/* ── Page content / 404 ── */

.page-content {
    padding: 3rem 0 4rem;
    background: var(--bg-muted);
    min-height: 40vh;
}

body.has-page .page-content {
    padding-top: 2rem;
}

.empty-state {
    text-align: center;
    max-width: 28rem;
    margin-inline: auto;
    padding: 2rem 1rem;
    background: var(--surface-elevated);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.empty-state__code {
    margin: 0;
    font-size: 3rem;
    font-weight: 700;
    color: var(--brand);
    line-height: 1;
}

.empty-state__title {
    margin: 0.75rem 0 0.5rem;
    font-size: 1.5rem;
}

.empty-state__text {
    margin: 0 0 1.5rem;
    color: var(--text-muted);
}

/* ── Buttons ── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    border: 0;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
}

.btn--primary {
    background: var(--brand);
    color: #fff;
}

.btn--primary:hover {
    background: var(--brand-dark);
    color: #fff;
}

.btn:active {
    transform: scale(0.98);
}

/* ── Footer ── */

.site-footer {
    background: var(--surface-dark);
    color: #e4e4e7;
    padding-top: 2.5rem;
}

.site-footer a {
    color: #fff;
}

.site-footer a:hover {
    color: var(--brand);
}

.site-footer__grid {
    display: grid;
    gap: 2rem;
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.site-footer__title {
    margin: 0 0 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-list li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.contact-list__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #71717a;
}

.contact-list a {
    font-weight: 500;
}

.map-card {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition);
}

.map-card:hover {
    transform: scale(1.02);
}

.map-card img {
    width: 100%;
    height: auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #3f3f46;
    border-radius: var(--radius-sm);
    background: #27272a;
    color: #fff;
    font: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #71717a;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(227, 53, 37, 0.25);
}

.form-field textarea {
    resize: vertical;
    min-height: 6rem;
}

.form-note {
    margin: 0;
    font-size: 0.8125rem;
    color: #71717a;
}

.form-note span {
    color: var(--brand);
}

.contact-form .btn {
    align-self: flex-start;
    margin-top: 0.25rem;
}

.site-footer__bottom {
    border-top: 1px solid #3f3f46;
    padding: 1.25rem 0 1.5rem;
}

.copyright {
    margin: 0;
    font-size: 0.8125rem;
    color: #71717a;
    text-align: center;
}

/* ── Desktop header ── */

.site-header {
    display: flex;
    flex-direction: column;
}

@media (min-width: 900px) {
    .site-header__inner,
    .site-header__drawer {
        width: var(--container);
        margin-inline: auto;
    }

    .site-logo__text {
        display: block;
    }

    .site-logo img {
        width: 5.5rem;
        height: 5.5rem;
    }

    .nav-toggle {
        display: none;
    }

    .site-header__drawer {
        display: block !important;
        padding: 0;
        border-top: 0;
        background: transparent;
    }

    .site-header {
        background: #fff;
    }

    .site-header__inner {
        flex-wrap: wrap;
        align-items: flex-start;
        padding-top: 0.5rem;
        min-height: 6.5rem;
    }

    .site-header__meta {
        padding-top: 0.65rem;
    }

    .site-tagline {
        margin: 0.5rem 0 0;
        padding-bottom: 0.5rem;
        text-align: center;
        font-size: 0.8125rem;
        max-width: 52rem;
        margin-inline: auto;
    }

    .site-nav__list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.15rem;
        padding: 0.35rem 0 0.75rem;
        border-top: 1px solid var(--border);
    }

    .site-nav__link {
        padding: 0.5rem 0.85rem;
        font-size: 0.8125rem;
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }

    .hero__arrow {
        display: inline-flex;
    }

    .hero__controls {
        justify-content: space-between;
    }
}

@media (min-width: 1100px) {
    .site-nav__link {
        padding: 0.55rem 1rem;
        font-size: 0.875rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ── Focus visible (keyboard navigation) ── */

:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.site-nav__link:focus-visible,
.lang-switch__btn:focus-visible,
.site-phones__link:focus-visible {
    background: var(--brand-soft);
    color: var(--brand);
}

.nav-toggle:focus-visible,
.hero__arrow:focus-visible,
.hero__dot:focus-visible,
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
    box-shadow: 0 0 0 3px rgba(227, 53, 37, 0.35);
}

.form-field input:focus-visible,
.form-field textarea:focus-visible,
.order-form input:focus-visible,
.order-form textarea:focus-visible {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(227, 53, 37, 0.25);
}

.btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(227, 53, 37, 0.35);
}

.category-card__link:focus-visible,
.product-card__link:focus-visible {
    outline-offset: 4px;
}
/* ── Page content, catalog, lightbox ── */

.catalog-page {
    padding: 0 0 3.5rem;
    background: var(--bg-muted);
    min-height: 50vh;
}

.catalog-page .page-content,
.page-content.catalog-page {
    padding: 0 0 3.5rem;
    background: var(--bg-muted);
    min-height: 50vh;
}

.breadcrumb {
    padding: 1.15rem 0 0.85rem;
}

.breadcrumb__list {
    list-style: none;
    margin: 0;
    padding: 0.55rem 0.85rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.35rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.breadcrumb__item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb__item:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 0.35rem;
    height: 0.35rem;
    margin-left: 0.35rem;
    border-right: 1.5px solid var(--text-muted);
    border-bottom: 1.5px solid var(--text-muted);
    transform: rotate(-45deg);
    opacity: 0.45;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--brand);
}

.breadcrumb__item:last-child span {
    color: var(--text);
    font-weight: 500;
}
.alert {
    max-width: var(--container);
    margin: 0 auto 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
    animation: alert-in 0.35s ease;
}

.alert.is-hiding {
    opacity: 0;
    transform: translateY(-0.35rem);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.alert__text {
    flex: 1;
}

.alert__dismiss {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: inherit;
    font-size: 1.25rem;
    line-height: 1;
    opacity: 0.7;
}

.alert__dismiss:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.06);
}

.alert__dismiss:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

@keyframes alert-in {
    from {
        opacity: 0;
        transform: translateY(-0.5rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert--success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.catalog-layout {
    display: grid;
    gap: 1.75rem;
}

@media (min-width: 900px) {
    .catalog-layout {
        grid-template-columns: 260px minmax(0, 1fr);
        align-items: start;
        gap: 2rem;
    }
}

.catalog-sidebar {
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

@media (min-width: 900px) {
    .catalog-sidebar {
        position: sticky;
        top: calc(var(--header-h) + 1rem);
    }
}

.catalog-sidebar__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.95rem 1.1rem;
    border: 0;
    background: var(--surface-dark);
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
    text-align: left;
    cursor: pointer;
}

.catalog-sidebar__toggle::after {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.catalog-sidebar.is-open .catalog-sidebar__toggle::after {
    transform: rotate(-135deg);
}

@media (min-width: 900px) {
    .catalog-sidebar__toggle {
        display: none;
    }
}

.catalog-sidebar__nav {
    display: none;
    padding: 0.65rem;
}

@media (min-width: 900px) {
    .catalog-sidebar__nav {
        display: block;
    }
}

.catalog-sidebar.is-open .catalog-sidebar__nav {
    display: block;
}

.catalog-sidebar__group {
    position: relative;
    margin-bottom: 0.25rem;
}

.catalog-sidebar__group:last-child {
    margin-bottom: 0;
}

.catalog-sidebar__link {
    display: block;
    padding: 0.7rem 0.85rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease, color 0.2s ease;
}

.catalog-sidebar__link:hover {
    background: var(--bg-muted);
}

.catalog-sidebar__link.is-active,
.catalog-sidebar__sub a.is-active {
    color: var(--brand);
    background: var(--brand-soft);
    font-weight: 600;
}

.catalog-sidebar__sub {
    list-style: none;
    margin: 0.15rem 0 0.35rem;
    padding: 0 0 0.25rem 0.65rem;
    display: none;
    border-left: 2px solid var(--border);
}

.catalog-sidebar__group.is-open .catalog-sidebar__sub {
    display: block;
}

.catalog-sidebar__sub a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease, color 0.2s ease;
}

.catalog-sidebar__sub a:hover {
    color: var(--text);
    background: var(--bg-muted);
}

.catalog-sidebar__expand {
    position: absolute;
    top: 0.3rem;
    right: 0.15rem;
    width: 2.15rem;
    height: 2.15rem;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.catalog-sidebar__expand::before {
    content: "";
    display: block;
    width: 0.45rem;
    height: 0.45rem;
    margin: 0 auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.catalog-sidebar__group.is-open .catalog-sidebar__expand::before {
    transform: rotate(-135deg);
}

.catalog-sidebar__expand:hover {
    background: var(--bg-muted);
    color: var(--text);
}

.catalog-main {
    min-width: 0;
    container-type: inline-size;
    container-name: catalog-main;
}

.catalog-header {
    margin-bottom: 1.75rem;
}

.catalog-header__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.65rem, 3.5vw, 2.15rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text);
}

.catalog-header__lead {
    margin: 0;
    max-width: 36rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.catalog-header__meta {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand);
}

.catalog-section-label {
    margin: 0 0 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.category-list {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

.category-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-list__item:hover {
    transform: translateY(-2px);
    border-color: rgba(227, 53, 37, 0.25);
    box-shadow: var(--shadow-md);
    color: var(--text);
}

.category-list__title {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
}

.category-list__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand);
    transition: background 0.2s ease, transform 0.2s ease;
}

.category-list__item:hover .category-list__arrow {
    background: var(--brand);
    color: #fff;
    transform: translateX(2px);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.15rem;
}

@media (min-width: 720px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.25rem;
    }
}

.product-card {
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(227, 53, 37, 0.2);
    box-shadow: var(--shadow-lg);
}

.product-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.product-card__media {
    aspect-ratio: 4 / 3;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.product-card__media picture {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.product-card__media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.product-card:hover .product-card__media img {
    transform: scale(1.04);
}

.product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.55rem;
    padding: 0.95rem 1rem 1.05rem;
}

.product-card__title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
}

.product-card__price {
    display: inline-flex;
    align-self: flex-start;
    margin-top: auto;
    padding: 0.3rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--brand);
    background: var(--brand-soft);
    border-radius: 999px;
}

.product-page {
    display: grid;
    gap: 1.5rem;
}

.product-detail,
.product-order {
    min-width: 0;
}

.catalog-layout .product-page {
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

.catalog-layout .product-order {
    position: static;
    width: 100%;
    max-width: 400px;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .catalog-layout .product-order {
        justify-self: start;
    }
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

@container catalog-main (min-width: 540px) {
    .product-detail {
        grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
        padding: 1.5rem;
        gap: 1.75rem;
    }
}

@container catalog-main (min-width: 720px) {
    .product-detail {
        grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    }
}

.product-detail__info {
    min-width: 0;
}

.product-detail__main-image {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #fff;
    transition: box-shadow 0.25s ease;
}

.product-detail__main-image:hover {
    box-shadow: var(--shadow-md);
}

.product-detail__main-image img {
    width: 100%;
    display: block;
}

.product-detail__header {
    margin-bottom: 1.25rem;
}

.product-detail__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.product-detail__badge {
    display: inline-flex;
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand);
    background: var(--brand-soft);
    border-radius: 999px;
}

.prose {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.page-content > .container.prose {
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.page-content > .container.prose h1 {
    margin: 0 0 1.25rem;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
}

.prose__body p {
    margin: 0 0 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.prose--product {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.product-desc {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.product-specs {
    display: grid;
    gap: 0;
    margin: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-muted);
}

.product-specs__row {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 0.85rem 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
}

.product-specs__row:last-child {
    border-bottom: 0;
}

.product-specs dt {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text);
}

.product-specs dd {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--text-muted);
    text-align: right;
}

.product-desc__body p {
    margin: 0 0 0.85rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.product-desc__body p:last-child {
    margin-bottom: 0;
}

.product-desc__body ul,
.product-desc__body ol {
    margin: 0 0 0.85rem;
    padding-left: 1.2rem;
}

.product-desc__body li {
    margin-bottom: 0.35rem;
}

.product-desc__body strong {
    color: var(--text);
    font-weight: 600;
}

@media (max-width: 540px) {
    .product-specs__row {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .product-specs dd {
        text-align: left;
    }
}

.prose--product table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.prose--product th,
.prose--product td {
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.prose--product th {
    background: var(--bg-muted);
    font-weight: 600;
    color: var(--text);
}

.prose--product img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.product-order__card {
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.35rem;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--brand);
}

.product-order__title {
    margin: 0 0 0.35rem;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.product-order__lead {
    margin: 0 0 1.15rem;
    padding-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.order-form .form-row {
    margin-bottom: 0.75rem;
}

.order-form input,
.order-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font: inherit;
    background: var(--bg-muted);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.order-form input:focus,
.order-form textarea:focus {
    outline: none;
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 3px var(--brand-soft);
}

.empty-state {
    padding: 3rem 1.5rem;
    text-align: center;
    background: var(--surface-elevated);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
}

.empty-state__text {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-muted);
}
.contacts-layout h1 {
    margin-bottom: 1.5rem;
}

.contacts-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .contacts-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contacts-map {
        grid-column: 1 / -1;
        min-height: 360px;
    }
}

.contacts-card,
.contacts-map {
    background: var(--surface-elevated);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.contacts-map {
    padding: 0;
    overflow: hidden;
    border-top: 3px solid var(--brand);
}

.contacts-map iframe {
    display: block;
    min-height: 360px;
}

.staff-card {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.staff-card:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.gallery-grid__item {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
}

.gallery-grid__item picture {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-grid__item:hover img {
    transform: scale(1.03);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.guide-card {
    background: var(--surface-elevated);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.guide-card__media {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.guide-card__media picture {
    display: block;
    width: 100%;
    height: 100%;
}

.guide-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guide-card__title {
    margin: 0;
    padding: 0.85rem 1rem;
    font-size: 0.9375rem;
}

.guide-single img {
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.lightbox {    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lightbox[hidden] {
    display: none;
}

.lightbox__image {
    max-width: min(1100px, 100%);
    max-height: 90vh;
    object-fit: contain;
}

.lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
}

.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
/* Tehniķis 96 — visual theme (inspired by tehnikis96.lv2) */

:root {
    --brand-2: #ffffff;
    --brand-glow: rgba(227, 53, 37, 0.32);
    --brand-2-glow: rgba(255, 255, 255, 0.14);
    --surface-dark: #0a0a0a;
    --surface-dark-2: #171717;
    --bg-muted: #f3f3f3;
    --font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --topbar-h: 2.5rem;
    --header-h: 4.75rem;
    --radius-xl: 2rem;
}

html {
    scroll-padding-top: calc(var(--topbar-h) + var(--header-h) + 1rem);
}

.page-noise {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    z-index: 10002;
    background: linear-gradient(90deg, var(--brand), var(--brand-light));
    transition: width 0.1s linear;
}

.text-gradient {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Topbar ── */

.topbar {
    position: relative;
    z-index: 101;
    background: var(--brand);
    color: #fff;
    font-size: 0.8125rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--topbar-h);
}

.topbar__phones {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.topbar__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.topbar__phone:hover {
    color: #fff;
    opacity: 0.85;
}

.topbar__sep {
    opacity: 0.35;
}

.lang-switch--topbar {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lang-switch--topbar::before {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}

.lang-switch--topbar .lang-switch__btn {
    color: rgba(255, 255, 255, 0.72);
}

.lang-switch--topbar .lang-switch__btn:hover,
.lang-switch--topbar .lang-switch__btn.is-active {
    color: var(--brand);
}

.lang-switch--topbar .lang-switch__btn:focus-visible {
    outline-color: #fff;
}

@media (max-width: 899px) {
    .topbar .lang-switch--topbar {
        display: none;
    }
}

.phone-links {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.phone-links__call {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.phone-links__call:hover {
    opacity: 0.85;
}

.phone-links__wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    color: inherit;
    text-decoration: none;
    opacity: 0.9;
    transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.phone-links__wa:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.phone-links--topbar .phone-links__wa {
    background: rgba(255, 255, 255, 0.14);
}

.phone-links--topbar .phone-links__wa:hover {
    background: rgba(255, 255, 255, 0.24);
}

.phone-links--footer .phone-links__wa {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.phone-links--footer .phone-links__wa:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.phone-links--contact .phone-links__wa {
    background: var(--brand-soft);
    color: var(--brand);
}

.phone-links--contact .phone-links__wa:hover {
    background: rgba(227, 53, 37, 0.14);
    color: var(--brand-dark);
}

.btn--whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

/* ── Header ── */

.site-header {
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(1.15);
    -webkit-backdrop-filter: blur(20px) saturate(1.15);
    border-bottom-color: transparent;
    transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.site-header__inner {
    min-height: var(--header-h);
    align-items: center;
    gap: 1rem;
}

.site-logo {
    gap: 0.7rem;
    font-weight: 700;
}

.site-logo__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.875rem;
    height: 2.875rem;
    background: var(--brand);
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 800;
    border: 2px solid #fff;
    border-radius: 0.75rem;
    box-shadow:
        0 0 0 1px var(--ink),
        0 4px 16px var(--brand-glow);
    flex-shrink: 0;
}

.site-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
}

.site-logo__name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}

.site-logo__year {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-header__drawer {
    padding: 0 0 1rem;
}

@media (max-width: 899px) {
    .site-header {
        z-index: 200;
    }

    .site-header__inner {
        flex-wrap: wrap;
        row-gap: 0;
    }

    .site-logo {
        flex-shrink: 0;
        min-width: 0;
        max-width: calc(100% - 7.5rem);
    }

    .site-header__actions {
        flex-shrink: 0;
        margin-left: auto;
        gap: 0.5rem;
    }

    .nav-toggle {
        width: 2.875rem;
        height: 2.875rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .site-header__drawer {
        display: none;
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0.65rem 0 1rem;
        border-top: 1px solid var(--border);
        background: #fff;
        max-height: calc(100vh - var(--topbar-h) - var(--header-h) - 0.75rem);
        max-height: calc(100dvh - var(--topbar-h) - var(--header-h) - 0.75rem);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .site-header.is-nav-open .site-header__drawer {
        display: block;
    }

    .site-header.is-nav-open {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    }

    .site-header__drawer .site-tagline {
        display: none;
    }

    .site-nav__list {
        gap: 0.25rem;
    }

    .site-nav__link {
        display: flex;
        align-items: center;
        min-height: 2.875rem;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 0.85rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .site-nav__link--cta {
        justify-content: center;
        margin-top: 0.35rem;
    }
}

.site-tagline {
    font-size: 0.8125rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.85rem;
    margin-bottom: 0.75rem;
}

.site-nav__link {
    border-radius: 999px;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.site-nav__link--cta {
    background: var(--brand);
    color: #fff !important;
    font-weight: 600;
}

.site-nav__link--cta:hover,
.site-nav__link--cta.is-active {
    background: var(--brand-dark);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.nav-toggle {
    margin-left: auto;
    background: rgba(0, 0, 0, 0.05);
}

/* ── Hero (home — lv2 split layout) ── */

.hero--home {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: max(34rem, calc(100vh - var(--topbar-h) - var(--header-h)));
    min-height: max(34rem, calc(100dvh - var(--topbar-h) - var(--header-h)));
    padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem);
    color: #fff;
    overflow: hidden;
    background: var(--surface-dark);
}

.hero__banners {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__banner {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.hero__banner.is-active {
    opacity: 1;
    visibility: visible;
}

.hero__banner picture,
.hero__banner-image,
.hero__banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.06);
    transition: transform 8s ease;
}

.hero__banner.is-active picture img,
.hero__banner.is-active .hero__banner-image,
.hero__banner.is-active img {
    transform: scale(1);
}

.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 90% 80% at 50% 45%, rgba(6, 6, 8, 0.82) 0%, rgba(6, 6, 8, 0.45) 55%, rgba(6, 6, 8, 0.65) 100%),
        linear-gradient(180deg, rgba(6, 6, 8, 0.35) 0%, rgba(6, 6, 8, 0.55) 100%);
    pointer-events: none;
}

.hero__mesh {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.55;
}

.hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: hero-float 12s ease-in-out infinite;
}

.hero__blob--1 {
    width: min(500px, 70vw);
    height: min(500px, 70vw);
    top: -10%;
    right: -5%;
    background: radial-gradient(circle, var(--brand-glow), transparent 70%);
}

.hero__blob--2 {
    width: min(400px, 60vw);
    height: min(400px, 60vw);
    bottom: 0;
    left: -10%;
    background: radial-gradient(circle, var(--brand-2-glow), transparent 70%);
    animation-delay: -4s;
}

@keyframes hero-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero__layout {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero__copy {
    width: 100%;
    max-width: 42rem;
    margin-inline: auto;
    min-width: 0;
    text-align: center;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.95rem 0.4rem 0.7rem;
    margin: 0 auto 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(12px);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--brand);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--brand);
    animation: hero-pulse 2s ease-in-out infinite;
}

@keyframes hero-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(0.88); }
}

.hero__title {
    margin: 0 auto 1.1rem;
    font-size: clamp(2.15rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.04em;
    max-width: 16ch;
}

.hero__lead {
    margin: 0 auto 1.65rem;
    max-width: 32rem;
    font-size: clamp(1rem, 1.9vw, 1.125rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 2.25rem;
}

.hero__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0 auto;
    padding: 0.35rem;
    width: 100%;
    max-width: 36rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-metric {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 0.85rem 1rem;
}

.hero-metric:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-metric__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    margin: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.65rem;
}

.hero-metric__icon .site-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.hero-metric__body {
    min-width: 0;
}

.hero-metric__value {
    margin: 0 0 0.15rem;
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #fff;
}

.hero-metric__label {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.3;
}

.btn--outline {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.btn--dark {
    background: var(--surface-dark);
    color: #fff;
}

.btn--dark:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #fff;
}

.btn--full {
    width: 100%;
}

/* ── Marquee ── */

.marquee {
    overflow: hidden;
    padding: 1.1rem 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.marquee__track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    width: max-content;
    animation: marquee-scroll 35s linear infinite;
}

.marquee__item {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
}

.marquee__dot {
    color: var(--brand);
    font-size: 0.45rem;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Categories ── */

.categories {
    background: var(--bg-muted);
    padding: 3.5rem 0 2.5rem;
}

/* ── Contact CTA (home) ── */

.contact-cta {
    padding: 0 0 3.5rem;
    background: var(--bg-muted);
}

.contact-cta__card {
    display: grid;
    gap: 1.75rem;
    align-items: center;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    border-radius: var(--radius-xl);
    color: #fff;
    box-shadow: 0 20px 50px var(--brand-glow);
}

.contact-cta__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.contact-cta__lead {
    margin: 0;
    max-width: 36rem;
    font-size: 0.98rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.contact-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.contact-cta .btn--primary {
    background: #fff;
    color: var(--brand);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.contact-cta .btn--primary:hover {
    background: #fff;
    color: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.btn--light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn--light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 768px) {
    .contact-cta__card {
        grid-template-columns: 1fr auto;
        gap: 2rem;
    }

    .contact-cta__actions {
        justify-content: flex-end;
    }
}

.section-head__eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand);
}

.section-head__title {
    letter-spacing: -0.02em;
}

.category-card {
    position: relative;
    border: 1px solid var(--border);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-card__glow {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--brand-glow), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 1;
}

.category-card:hover .category-card__glow {
    opacity: 1;
}

.category-card__body {
    position: relative;
    z-index: 2;
    padding: 0 1rem 1rem;
}

.site-icon {
    display: block;
    object-fit: contain;
}

.site-icon--metric {
    width: 1.15rem;
    height: 1.15rem;
}

.category-card__title {
    padding: 0;
    margin: 0 0 0.3rem;
}

.category-card__cta {
    padding: 0;
    font-size: 0.8125rem;
}

/* ── Buttons ── */

.btn--primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    box-shadow: 0 8px 28px var(--brand-glow);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px var(--brand-glow);
    background: linear-gradient(135deg, var(--brand-dark), var(--brand-darker));
}

/* ── Footer ── */

.site-footer {
    padding: 0 0 2rem;
    background: var(--surface-dark);
    color: rgba(255, 255, 255, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__grid {
    display: grid;
    gap: 2rem;
    padding: 2.75rem 0 2.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__title {
    margin: 0 0 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
}

.site-footer__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 1rem;
}

.site-footer__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: start;
}

.site-footer__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-top: 0.05rem;
    color: var(--brand);
}

.site-footer__text {
    font-size: 0.9375rem;
    line-height: 1.55;
}

.site-footer__text strong {
    color: #fff;
    font-weight: 700;
}

.site-footer__text a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

.site-footer__text a:hover {
    color: var(--brand-2);
}

.site-footer__map {
    min-height: 280px;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
}

.site-footer__map iframe {
    display: block;
    width: 100%;
    min-height: 280px;
    filter: grayscale(1) invert(92%) contrast(88%);
}

.site-footer__bar {
    display: grid;
    gap: 1.25rem;
    align-items: center;
    padding-top: 1.75rem;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-logo__mark--sm {
    width: 2.125rem;
    height: 2.125rem;
    font-size: 0.7rem;
    border-radius: 0.55rem;
}

.site-footer__brand strong {
    display: block;
    color: #fff;
    font-size: 1rem;
}

.site-footer__brand span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
}

.site-footer__copy {
    margin: 0;
    font-size: 0.8125rem;
    text-align: center;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.25rem;
    justify-content: center;
    align-items: center;
}

.site-footer__links a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}

.site-footer__links a:hover {
    color: var(--brand-2);
}

.fab {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    box-shadow: 0 12px 32px var(--brand-glow);
    text-decoration: none;
    transition: transform 0.25s var(--ease);
}

.fab:hover {
    transform: translateY(-3px);
    color: #fff;
}

/* ── Sections ── */

.section {
    padding: 4rem 0;
}

.section--about,
.section--works,
.section--guides,
.section--insect {
    background: #fff;
}

.section--catalog,
.section--contact,
.categories {
    background: var(--bg-muted);
}

.page-content {
    background: transparent;
    min-height: auto;
    padding-top: 0;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand);
}

.eyebrow--light {
    color: var(--brand-2);
}

.heading {
    margin: 0 0 0.85rem;
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.heading--light {
    color: #fff;
}

.section-intro {
    margin-bottom: 2.5rem;
    max-width: 40rem;
}

.catalog-page .section-intro {
    margin-bottom: 1.75rem;
}

.catalog-page .eyebrow {
    margin-bottom: 0.65rem;
}

.section-intro--center {
    margin-inline: auto;
    text-align: center;
}

.section-sub {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.about-bento {
    display: grid;
    gap: 1.25rem;
    position: relative;
}

.bento-main {
    padding: 2.5rem;
    background: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}

.bento-year {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(227, 53, 37, 0.08);
    pointer-events: none;
}

.about-lead {
    margin: 1.25rem 0 1rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.about-text {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.bento-highlights {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.bento-card {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.bento-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.625rem;
    height: 2.625rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(227, 53, 37, 0.12), rgba(227, 53, 37, 0.05));
    border-radius: 0.7rem;
}

.bento-card h2 {
    margin: 0 0 0.3rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.bento-card p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.works-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.work-tile {
    position: relative;
    padding: 2rem 1.75rem;
    background: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.35s var(--ease);
}

.work-tile:hover {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border-color: transparent;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 16px 40px var(--brand-glow);
}

.work-tile h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.work-tile-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.5));
    transition: width 0.4s var(--ease);
}

.work-tile:hover .work-tile-line {
    width: 100%;
}

.portfolio-gallery__title {
    margin: 0 0 1.25rem;
    font-size: 1.35rem;
}

.guides-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.guides-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.guide-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.35rem 1.75rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.guide-row--expandable {
    display: block;
    padding: 0;
    overflow: hidden;
}

.guide-row__trigger {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    padding: 1.35rem 1.75rem;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: inherit;
    font: inherit;
}

.guide-row--expandable:hover,
.guide-row--expandable.is-open {
    border-color: rgba(227, 53, 37, 0.25);
    box-shadow: var(--shadow-md);
}

.guide-row--expandable.is-open {
    transform: none;
}

.guide-row:hover:not(.guide-row--expandable) {
    border-color: rgba(227, 53, 37, 0.25);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.guide-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--bg-muted);
    color: var(--text);
    transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.guide-row--expandable.is-open .guide-chevron {
    transform: rotate(180deg);
    background: var(--brand);
    color: #fff;
}

.guide-panel {
    padding: 0 1.75rem 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--bg-muted);
}

.guide-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.85rem;
    padding-top: 1.25rem;
}

.guide-gallery__item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 3 / 4;
}

.guide-gallery__item picture,
.guide-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.guide-gallery__item:hover img {
    transform: scale(1.03);
}

.guide-gallery__step {
    position: absolute;
    top: 0.55rem;
    left: 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.65rem;
    height: 1.65rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.guide-content h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.guide-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--bg-muted);
    color: var(--text);
    transition: all 0.3s;
}

.guide-row:hover .guide-arrow {
    background: var(--brand);
    color: #fff;
    transform: rotate(-45deg);
}

.insect-bento {
    display: grid;
    gap: 1.25rem;
    padding: 3rem;
    background: linear-gradient(145deg, var(--surface-dark), var(--surface-dark-2));
    border-radius: var(--radius-xl);
    color: #fff;
    overflow: hidden;
    position: relative;
}

.insect-bento::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, var(--brand-glow), transparent 50%);
    pointer-events: none;
}

.insect-main {
    position: relative;
    z-index: 1;
}

.insect-main p {
    margin: 1rem 0 2rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.insect-steps {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
}

.insect-steps li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
}

.insect-steps li span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-2);
    flex-shrink: 0;
}

.insect-side {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insect-image {
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.contact-bento {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.contact-tile {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-tile--office,
.contact-tile--legal {
    grid-column: 1 / -1;
}

.contact-tile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    background: var(--bg-muted);
    color: var(--brand);
    border-radius: 0.65rem;
}

.contact-tile h2 {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.contact-tile p,
.contact-tile a {
    margin: 0 0 0.25rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.contact-tile a {
    color: var(--text);
    font-weight: 500;
}

.contact-tile a:hover {
    color: var(--brand);
}

.contact-hours {
    font-size: 0.78rem !important;
}

.contact-iban {
    font-family: monospace;
    font-size: 0.78rem !important;
}

.contact-form-panel {
    position: relative;
    padding: 2.25rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.form-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--brand-glow), transparent 70%);
    pointer-events: none;
}

.contact-form-panel h2 {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    position: relative;
}

.contact-form-panel .form-note {
    margin: 0 0 1.5rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    position: relative;
}

.contact-form--panel {
    display: grid;
    gap: 1rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid transparent;
    border-radius: 0.75rem;
    background: var(--bg-muted);
    font: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(227, 53, 37, 0.15);
}

.contacts-map--page {
    margin-top: 1.25rem;
    min-height: 360px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* ── Desktop layout ── */

@media (min-width: 900px) {
    .site-header__inner {
        flex-wrap: nowrap;
        align-items: center;
        min-height: var(--header-h);
        padding-top: 0;
    }

    .nav-toggle {
        display: none;
    }

    .site-header__drawer {
        display: flex !important;
        flex: 1;
        align-items: center;
        justify-content: flex-end;
        gap: 1.5rem;
        padding: 0;
        border-top: 0;
        background: transparent;
    }

    .site-tagline {
        display: none;
    }

    .site-nav__list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0.15rem;
        padding: 0;
        border-top: 0;
    }

    .site-nav__link {
        padding: 0.5rem 0.75rem;
        font-size: 0.78rem;
        font-weight: 500;
        text-transform: none;
        letter-spacing: normal;
    }

    .site-nav__link--cta {
        margin-left: 0.35rem;
        padding: 0.55rem 1rem;
    }

    .hero__title {
        max-width: 20ch;
    }

    .about-bento {
        grid-template-columns: 1.2fr 1fr;
        grid-template-rows: auto auto;
    }

    .bento-main {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .bento-highlights {
        grid-column: 2;
        grid-row: 1 / 3;
        grid-template-columns: 1fr 1fr;
    }

    .contact-bento {
        grid-template-columns: 1fr;
    }

    .insect-bento {
        grid-template-columns: 1.5fr 1fr;
    }

    .site-footer__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        align-items: stretch;
        gap: 2.5rem;
    }

    .site-footer__map,
    .site-footer__map iframe {
        min-height: 320px;
    }

    .site-footer__bar {
        grid-template-columns: 1fr auto 1fr;
    }

    .site-footer__links {
        justify-content: flex-end;
    }
}

@media (max-width: 899px) {
    .guides-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .guide-row:not(.guide-row--expandable) {
        grid-template-columns: 1fr auto;
    }

    .guide-row__trigger {
        grid-template-columns: 1fr auto;
        gap: 1rem;
        padding: 1.1rem 1.15rem;
    }

    .guide-panel {
        padding: 0 1.15rem 1.15rem;
    }

    .guide-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guide-arrow {
        grid-column: 2;
        justify-self: end;
    }

    .insect-bento {
        padding: 2rem;
    }

    .hero__metrics {
        flex-direction: column;
        gap: 0;
        padding: 0.5rem;
    }

    .hero-metric {
        padding: 0.75rem 0.85rem;
    }

    .hero-metric:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-metric__value {
        font-size: 1.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee__track,
    .hero__blob,
    .hero__badge-dot {
        animation: none;
    }

    .hero__banner picture img,
    .hero__banner .hero__banner-image,
    .hero__banner img {
        transform: none;
        transition: none;
    }
}
