@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: #fff;
    background: #000;
    line-height: 1.32;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

p {
    margin: 0;
}

:root {
    --purple: #703ee3;
    --purple-deep: #40198f;
    --purple-light: #bdaaff;
    --purple-dark-bg: #1a0056;
    --text-muted: rgba(255, 255, 255, 0.8);
    --border-muted: rgba(255, 255, 255, 0.2);
}

.page {
    width: 100%;
    background: #000;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 60px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.32;
    text-align: center;
    transition: opacity 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn:hover {
    opacity: 0.85;
}

.btn-light {
    background: rgba(255, 255, 255, 0.6);
    color: var(--purple-deep);
}

.btn-purple {
    background: var(--purple);
    color: #fff;
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 25px 28px 0;
}

.site-header--banner {
    position: relative;
    background: #000;
    padding: 10px 30px;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1163px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .site-header:not(.site-header--banner) .site-header__inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 30px;
    }

    .site-header:not(.site-header--banner) .site-nav {
        grid-column: 1;
        justify-self: start;
    }

    .site-header:not(.site-header--banner) .site-brand {
        grid-column: 2;
        justify-self: center;
    }
}

.site-header--banner .site-header__inner {
    max-width: 1140px;
}

.site-header--banner .site-brand__name {
    color: #fff;
}

.site-nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 34px;
    border-radius: 24px;
    border: 1px solid #fff;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.site-nav__link.is-active,
.site-nav__link:hover {
    background: #fff;
    color: #515151;
    border-color: #fff;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.site-brand__logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.site-brand__name {
    font-weight: 500;
    font-size: 28px;
    line-height: 1.2;
    color: #000;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-header__burger {
    display: none;
    width: 30px;
    height: 13px;
    background: url(/wp-content/themes/pylobrantivik/assets/images/burger.svg) no-repeat center / contain;
    border: none;
    padding: 0;
    cursor: pointer;
}

.contact {
    background: #000;
    padding: 10px;
}

.contact__inner {
    max-width: 1180px;
    margin: 0 auto;
    background: var(--purple);
    border-radius: 23px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.contact__title {
    font-weight: 700;
    font-size: 70px;
    line-height: 1.2;
    color: #fff;
    text-align: center;
    margin: 0;
}

.contact__desc {
    font-size: 20px;
    line-height: 1.32;
    color: #fff;
    text-align: center;
    max-width: 1140px;
}

.contact__cards {
    display: flex;
    gap: 20px;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.contact__card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    min-height: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact__card--addr { max-width: 540px; }
.contact__card--mail { width: 320px; }

.contact__card-text {
    font-weight: 700;
    font-size: 16px;
    color: #111;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.3;
}

.contact__card-divider {
    width: 120px;
    height: 2px;
    background: #111;
    border-radius: 3px;
    border: 0;
    margin: 0;
}

.site-footer {
    background: var(--purple-deep);
    padding: 40px 30px;
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
}

.site-footer .site-brand__name {
    color: #fff;
}

.site-footer__divider {
    width: 100%;
    height: 1px;
    background: var(--purple);
    border: 0;
    margin: 0;
}

.site-footer__nav {
    display: flex;
    gap: 95px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-size: 16px;
    color: #fff;
    line-height: 1.2;
}

.site-footer__nav a {
    white-space: nowrap;
}

.site-footer__nav a:hover {
    text-decoration: underline;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.site-footer__copyright {
    font-weight: 300;
    font-size: 12px;
    color: #fff;
    white-space: nowrap;
}

.site-footer__socials {
    display: flex;
    gap: 5px;
    align-items: center;
}

.site-footer__socials a {
    display: inline-flex;
    width: 43px;
    height: 43px;
    transition: transform 0.2s ease;
}

.site-footer__socials a:hover {
    transform: scale(1.08);
}

.site-footer__socials img {
    width: 100%;
    height: 100%;
}

@media (max-width: 1023px) {
    .container {
        padding: 0 20px;
    }

    .site-header {
        padding: 10px 16px;
        position: relative;
        background: #000;
    }

    .site-header__inner {
        max-width: none;
        justify-content: space-between;
        gap: 12px;
    }

    .site-brand {
        min-width: 0;
        gap: 8px;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 8px;
        padding: 16px 20px 20px;
        background: #000;
        border-top: 1px solid var(--border-muted);
        z-index: 30;
        animation: nav-fade 0.25s ease;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav__link {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }

    @keyframes nav-fade {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .site-header__burger {
        display: block;
    }

    .site-header__burger.is-open {
        transform: rotate(90deg);
    }

    .site-brand__logo {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }

    .site-brand__name {
        font-size: 20px;
        color: #fff;
        letter-spacing: -0.02em;
    }

    .site-footer {
        padding: 40px 20px;
    }

    .site-footer__nav {
        gap: 8px;
        justify-content: space-between;
        width: 100%;
        flex-wrap: nowrap;
    }

    .site-footer__nav a {
        font-size: 13px;
    }

    .site-footer__bottom {
        gap: 10px;
        flex-wrap: wrap;
    }

    .site-footer__copyright {
        font-size: 11px;
        white-space: normal;
        flex: 1;
        min-width: 0;
    }

    .site-footer__socials a {
        width: 36px;
        height: 36px;
    }

    .contact {
        padding: 40px 20px;
    }

    .contact__inner {
        padding: 40px 20px;
        max-width: 390px;
        margin: 0 auto;
        width: 100%;
    }

    .contact__title {
        font-size: 32px;
    }

    .contact__desc {
        font-size: 18px;
    }

    .contact__cards {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .contact__card {
        width: 100%;
        max-width: none;
    }

    .contact__card--addr { min-height: 100px; }
}

@media (max-width: 430px) {
    .site-footer__nav a {
        font-size: 13px;
    }
}

/* ============ Cookie Banner ============ */
.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: 1140px;
    margin: 0 auto;
    background: #fff;
    color: #000;
    border-radius: 30px;
    padding: 40px 48px;
    z-index: 1000;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    animation: cookie-slide-up 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner.is-hidden {
    display: none;
}

@keyframes cookie-slide-up {
    from {
        transform: translateY(60px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner__title {
    font-weight: 700;
    font-size: 42px;
    line-height: 1.1;
    margin: 0 0 16px;
    color: #000;
}

.cookie-banner__text {
    font-size: 16px;
    line-height: 1.45;
    color: #000;
    margin: 0 0 24px;
}

.cookie-banner__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cookie-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 44px;
    border-radius: 100px;
    background: var(--purple);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    font-family: inherit;
    line-height: 1.32;
    border: none;
    cursor: pointer;
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.cookie-banner__btn:hover {
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(112, 62, 227, 0.4);
}

.cookie-banner__btn:active {
    transform: translateY(0);
}

@media (max-width: 600px) {
    .cookie-banner {
        padding: 28px 24px;
        border-radius: 24px;
        max-width: 320px;
        left: 16px;
        right: auto;
        bottom: 16px;
    }

    .cookie-banner__title {
        font-size: 30px;
        margin-bottom: 14px;
    }

    .cookie-banner__text {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .cookie-banner__actions {
        flex-direction: column;
        gap: 10px;
    }

    .cookie-banner__btn {
        width: 100%;
        padding: 14px 20px;
    }
}

/* ============ Global animations & hover effects ============ */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-soft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-brand__logo {
    transition: transform 0.3s ease;
}

.site-brand:hover .site-brand__logo {
    transform: rotate(-8deg) scale(1.08);
}

.btn {
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(112, 62, 227, 0.4);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255, 255, 255, 0.25);
}

.contact__card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
}

.site-footer__nav a {
    position: relative;
    transition: color 0.2s ease;
}

.site-footer__nav a:hover {
    color: var(--purple-light);
    text-decoration: none;
}

.site-header__burger {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header__burger:hover {
    transform: scale(1.1);
    opacity: 0.85;
}

