:root {
    --bg: #070707;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-strong: rgba(255, 255, 255, 0.12);
    --primary: #ffd400;
    --accent: #ffffff;
    --text: #f8f8f8;
    --muted: #c4c4c4;
    --border: rgba(255, 255, 255, 0.14);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

button,
.button,
.floating-call-btn {
    font-family: inherit;
}

.skip-link {
    position: absolute;
    top: -48px;
    left: 1rem;
    z-index: 200;
    padding: 0.6rem 0.9rem;
    border-radius: 0.6rem;
    background: var(--primary);
    color: #000;
    font-weight: 700;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0.8rem;
}

.noscript-message {
    margin: 0;
    padding: 0.8rem 1rem;
    text-align: center;
    color: #000;
    background: var(--primary);
    font-weight: 700;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(7, 7, 7, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

header > div {
    width: min(1200px, 92%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.topbar {
    display: none;
}

.brand {
    padding: 0.5rem 1rem;
    flex-shrink: 0;
}

.brand img {
    height: 80px;
    max-width: 320px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.topbar-contact span {
    display: inline-block;
    margin-left: 1rem;
    font-weight: 600;
    color: var(--primary);
}

/* compact icon-based topbar contact */
.topbar-contact {
    display: flex;
    gap: 1.6rem;
    align-items: center;
    justify-content: flex-end;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    padding: 0.25rem 0.35rem;
    border-radius: 8px;
    transition: background .15s ease, transform .12s ease;
}

.contact-item svg {
    width: 26px;
    height: 26px;
    fill: var(--primary);
    flex-shrink: 0;
    display: block;
}

.contact-item:hover {
    background: #2b2300;
    transform: translateY(-2px);
}

.site-header {
    display: none;
}

.site-header nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

header nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid #4d4000;
    background: linear-gradient(180deg, #1a1a1a, #121212);
    box-shadow: 0 1px 0 #2a2a2a inset, 0 8px 20px #050505;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

header nav a:hover {
    color: #000;
    background: linear-gradient(180deg, #ffe24a, var(--primary));
    border-color: #ffd400;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px #211b00;
}

.menu-toggle {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0.55rem;
    box-shadow: none;
}

.menu-toggle:hover {
    background: transparent;
}

.menu-toggle:focus-visible,
header nav a:focus-visible,
#lang-toggle:focus-visible,
#lang-toggle-mobile:focus-visible {
    outline: 2px solid #ffd400;
    outline-offset: 3px;
}

.menu-toggle {
    display: none;
}

.menu-toggle span {
    background: var(--primary);
}

.topbar-contact {
    display: none !important;
}

#lang-toggle-desktop {
    display: flex;
}

.hero {
    --hero-fade-progress: 0;
    min-height: calc(100vh - 120px);
    display: flex;
    justify-content: center; /* center hero content horizontally */
    align-items: center;
    padding: 4rem 0;
    background: #070707;
    position: relative;
    overflow: hidden;
}

.hero-gallery {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gallery img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.5);
    opacity: 0;
    transition: opacity 1.1s ease;
}

.hero-gallery img.is-active {
    opacity: 1;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(7, 7, 7, 0) 50%,
        rgba(7, 7, 7, 0.32) 68%,
        rgba(7, 7, 7, 0.68) 86%,
        rgba(7, 7, 7, 0.92) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(7, 7, 7, 0.02) 14%, rgba(7, 7, 7, 0.86) 58%, rgba(7, 7, 7, 0.99) 88%),
        rgba(7, 7, 7, 0.95);
    opacity: calc(var(--hero-fade-progress) * 0.98);
    transition: opacity 0.08s linear;
    z-index: 1;
    pointer-events: none;
}

.hero-copy {
    max-width: min(1200px, 94%);
    width: min(1200px, 94%);
    margin: 0 auto;
    padding: 0;
    z-index: 2;
    position: relative;
    text-align: left;
}

.eyebrow {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 0.85rem;
}

.hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.02;
    margin-bottom: 1.3rem;
}

.hero-copy p {
    margin-bottom: 2rem;
    max-width: 42rem;
    color: var(--muted);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.button.primary {
    background: var(--primary);
    color: #000;
}

.hero-actions .call-now-btn {
    background: linear-gradient(180deg, #ffe24a, var(--primary));
    color: #000;
    font-weight: 700;
    line-height: 1;
    border: none;
    box-shadow: none;
}

.button.secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--accent);
}

.button:hover {
    transform: translateY(-2px);
}

.content-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 2rem;
    margin: 0 auto 1.5rem auto;
    max-width: min(1200px, 94%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.content-section h2 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.content-section p {
    color: var(--muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 1rem;
}

.services-grid article {
    padding: 1.5rem;
    border-radius: 1.3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.service-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content h2 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.service-content ul {
    list-style: none;
    padding: 0;
}

.service-content li {
    color: var(--muted);
    margin-bottom: 0.8rem;
}

.service-content li::before {
    content: "✓ ";
    color: var(--primary);
    font-weight: bold;
    margin-right: 0.5rem;
}

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

.realizacje-section {
    overflow: hidden;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.realizacje-header {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 1.5rem;
}

.realizacje-kicker {
    margin-bottom: 0.45rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 700;
}

.realizacje-header h2 {
    margin-bottom: 0;
}

.realizacje-intro {
    margin-bottom: 0 !important;
    color: var(--muted);
}

.realizacje-rotator {
    position: relative;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    gap: 1rem;
    align-items: center;
}

.realizacje-stage {
    min-width: 0;
    overflow: hidden;
}

.realizacje-track {
    display: flex;
    align-items: flex-start;
    transition: transform 0.45s ease, height 0.25s ease;
    will-change: transform;
}

.realizacje-slide {
    min-width: 0;
    flex: 0 0 100%;
    display: flex;
    align-items: flex-start;
}

.realizacje-slide--single {
    display: flex;
    justify-content: center;
}

.realizacje-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.realizacje-slide--single .realizacje-card {
    width: min(100%, 520px);
}

.realizacje-visual {
    display: grid;
    gap: 1rem;
}

.realizacje-visual.single {
    grid-template-columns: 1fr;
    width: 100%;
}

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

.realizacje-shot {
    min-width: 0;
}

.realizacje-frame {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.realizacje-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.reviews-section {
    display: grid;
    gap: 1.2rem;
}

.reviews-heading p {
    margin-bottom: 0;
}

.reviews-rotator {
    position: relative;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.reviews-stage {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.reviews-track {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
    width: 100%;
    max-width: 100%;
}

.reviews-set {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    min-width: 0;
}

.review-card {
    min-width: 0;
    max-width: 100%;
    padding: 1.35rem;
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.review-stars {
    color: var(--primary);
    letter-spacing: 0.12em;
    font-size: 1rem;
    font-weight: 700;
}

.review-text {
    color: var(--text);
    font-size: 0.98rem;
    line-height: 1.55;
}

.review-meta {
    color: var(--muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.reviews-dots {
    margin-top: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.reviews-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.reviews-dot.is-active {
    background: var(--primary);
    transform: scale(1.15);
}

.reviews-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.reviews-actions .button.secondary {
    background: linear-gradient(180deg, #ffe24a, var(--primary));
    border: 1px solid #ffd400;
    color: #000;
}

.reviews-actions .button.secondary:hover,
.reviews-actions .button.secondary:focus-visible {
    box-shadow: none;
}

.realizacje-label {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #000;
    background: rgba(255, 212, 0, 0.72);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(4px);
}

.realizacje-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

.realizacje-copy h3 {
    color: var(--accent);
    font-size: 1.4rem;
}

.realizacje-copy p {
    color: var(--muted);
    line-height: 1.7;
}

.realizacje-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
}

.realizacje-nav {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 212, 0, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: var(--primary);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.realizacje-nav:hover {
    background: rgba(255, 212, 0, 0.14);
    border-color: rgba(255, 212, 0, 0.35);
    transform: translateY(-1px);
}

.realizacje-nav:focus-visible {
    outline: 2px solid rgba(255, 212, 0, 0.85);
    outline-offset: 3px;
}

.realizacje-nav:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.realizacje-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 1rem;
}

.realizacje-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: none;
    padding: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.22);
    transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.realizacje-dot:hover {
    transform: scale(1.15);
}

.realizacje-dot.is-active {
    width: 36px;
    background: linear-gradient(180deg, #ffe24a, var(--primary));
}

.realizacje-dot:focus-visible {
    outline: 2px solid rgba(255, 212, 0, 0.85);
    outline-offset: 3px;
}

.realizacje-badge,
.realizacje-counter {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.realizacje-badge {
    color: #000;
    background: linear-gradient(180deg, #ffe24a, var(--primary));
}

.realizacje-counter {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.services-grid h3 {
    margin-bottom: 0.75rem;
    color: var(--accent);
}

.contact-panel p {
    margin-bottom: 0.75rem;
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 2rem !important;
    line-height: 1.6;
}

.contact-info-header {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 212, 0, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(255, 212, 0, 0.1);
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.contact-info-item svg {
    width: 28px;
    height: 28px;
    fill: var(--primary);
    flex-shrink: 0;
    margin-top: 0;
}

.contact-info-item .label {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-info-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-info-item a:hover {
    color: var(--accent);
}

.contact-info-item span {
    color: var(--accent);
    font-weight: 600;
}

.locations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.location {
    background: linear-gradient(135deg, rgba(255, 212, 0, 0.05), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 212, 0, 0.15);
    border-radius: 1.2rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.location:hover {
    border-color: rgba(255, 212, 0, 0.3);
    box-shadow: 0 8px 24px rgba(255, 212, 0, 0.1);
    transform: translateY(-4px);
}

.location-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.location-header svg {
    width: 32px;
    height: 32px;
    fill: var(--primary);
    flex-shrink: 0;
}

.location-header h3 {
    margin: 0;
    color: var(--primary);
    font-size: 1.3rem;
}

.location .address {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem !important;
    line-height: 1.5;
}

.phone-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.phone-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 212, 0, 0.05);
    border-radius: 0.8rem;
    text-decoration: none;
    color: var(--accent);
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 212, 0, 0.1);
}

.phone-item:hover {
    background: rgba(255, 212, 0, 0.12);
    border-color: rgba(255, 212, 0, 0.2);
    color: var(--primary);
    transform: translateX(4px);
}

.phone-item svg {
    width: 20px;
    height: 20px;
    fill: var(--primary);
    flex-shrink: 0;
}

.phone-item span {
    font-weight: 600;
}

.floating-call-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: fit-content;
    min-width: 0;
    height: 60px;
    padding: 0 1rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffe24a, var(--primary));
    color: #000;
    text-decoration: none;
    font-weight: 700;
    line-height: 1;
    overflow: visible;
    box-shadow: none;
    z-index: 120;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.floating-call-btn svg {
    width: 28px;
    height: 28px;
    fill: #000;
    stroke: #000;
    stroke-width: 0.4;
    flex-shrink: 0;
    display: block;
}

.floating-call-btn span {
    white-space: nowrap;
    opacity: 1;
    transform: none;
    font-size: 0.98rem;
}

.floating-call-btn:hover,
.floating-call-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: none;
}

/* Find Us Section */
.maps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
    align-items: stretch;
}

.map-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    gap: 0.9rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.2rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.map-card > * {
    width: 100%;
}

.map-card:hover {
    border-color: rgba(255, 212, 0, 0.26);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.find-location-heading {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.find-location-heading svg {
    width: 24px;
    height: 24px;
    fill: var(--primary);
    flex-shrink: 0;
}

.find-location-title {
    color: var(--primary);
    font-size: 1.25rem;
    margin: 0;
    text-align: left;
}

.map-address {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: left;
}

.find-location-hours {
    margin: 0.2rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
    padding-top: 0.6rem;
    border-top: 1px dashed rgba(255, 212, 0, 0.28);
    background: transparent;
    text-align: left;
}

.find-location-hours li {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

footer {
    text-align: center;
    padding: 1.5rem 0;
    color: var(--muted);
}

.footer-links {
    margin-top: 0.45rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-cookie-settings {
    appearance: none;
    background: none;
    border: none;
    color: var(--primary);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.footer-cookie-settings:hover {
    color: var(--accent);
}

.map-consent-placeholder {
    min-height: 0;
    margin-top: 0.35rem;
    border-radius: 0;
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.9rem;
    padding: 0;
    text-align: center;
}

.map-consent-placeholder p {
    color: var(--muted);
    margin: 0;
    max-width: 32rem;
    padding: 1rem;
}

.map-consent-placeholder[data-loaded="true"] {
    display: block;
    min-height: 0;
    justify-content: flex-start;
}

.map-consent-placeholder[data-loaded="true"] iframe {
    display: block;
}

.map-consent-placeholder iframe {
    width: 100%;
    height: auto;
    border-radius: 0.9rem !important;
}

.map-consent-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 212, 0, 0.26);
    border-radius: 999px;
    background: rgba(255, 212, 0, 0.08);
    color: var(--primary);
    font-weight: 700;
    padding: 0.65rem 1rem;
    cursor: pointer;
}

.map-consent-btn:hover {
    background: rgba(255, 212, 0, 0.14);
}

body.cookie-consent-locked {
    overflow: hidden;
}

.cookie-backdrop {
    position: fixed;
    inset: 0;
    z-index: 260;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: grayscale(35%) blur(1px);
}

.cookie-backdrop[hidden] {
    display: none;
}

.cookie-banner {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: min(920px, calc(100% - 2rem));
    bottom: 1rem;
    z-index: 300;
    border-radius: 1rem;
    border: 1px solid rgba(255, 212, 0, 0.25);
    background: rgba(7, 7, 7, 0.97);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35);
    padding: 1rem;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner p {
    margin: 0;
    color: var(--muted);
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.9rem;
}

.cookie-btn {
    border-radius: 999px;
    padding: 0.62rem 1rem;
    cursor: pointer;
    font-weight: 700;
}

.cookie-btn-accept {
    border: 1px solid rgba(255, 212, 0, 0.4);
    background: var(--primary);
    color: #000;
}

.cookie-btn-reject {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--accent);
}

.legal-main {
    min-height: calc(100vh - 180px);
    padding: 2rem 0;
}

.legal-main .content-section {
    max-width: min(900px, 94%);
}

.legal-top-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.legal-top-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.1rem 0.2rem;
    transition: color 0.2s ease;
}

.legal-top-back:hover {
    color: var(--accent);
}

.legal-lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    padding: 0.3rem;
    line-height: 1;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.legal-lang-toggle:hover {
    background: rgba(255, 212, 0, 0.08);
}

.legal-lang-toggle svg {
    display: block;
}

.legal-lang-toggle:focus-visible,
.legal-top-back:focus-visible {
    outline: 2px solid rgba(255, 212, 0, 0.85);
    outline-offset: 3px;
}

.legal-main h1 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.legal-main h2 {
    margin-top: 1.6rem;
    margin-bottom: 0.7rem;
    color: var(--accent);
    font-size: 1.25rem;
}

.legal-main p,
.legal-main li {
    color: var(--muted);
}

.legal-main ul {
    padding-left: 1.2rem;
}

.legal-back-link {
    display: inline-flex;
    margin-top: 1.2rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.legal-back-link:hover {
    color: var(--accent);
}