@import url('./pages/central-admin.css');
@import url('./pages/not-found.css');
* {
    box-sizing: border-box;
}

:root {
    --bg: #f5f5f7;
    --white: #ffffff;
    --black: #1d1d1f;
    --gray: #6e6e73;
    --gray-light: #d2d2d7;
    --blue: #0071e3;
    --blue-hover: #0077ed;
    --container: 1180px;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    color: var(--black);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

.app-main {
    width: 100%;
    margin: 0;
    padding: 0;
}

.home-hero {
    width: min(var(--container), calc(100% - 40px));
    min-height: auto;
    margin: 0 auto;
    padding: 94px 0 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.home-hero__label {
    margin: 0 0 12px;
    color: var(--gray);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.05em;
}

.home-hero h1 {
    max-width: 920px;
    margin: 0;
    color: var(--black);
    font-size: clamp(38px, 4.6vw, 60px);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.045em;
}

.home-hero__lead {
    max-width: 720px;
    margin: 28px auto 0;
    color: var(--gray);
    font-size: clamp(20px, 2vw, 24px);
    line-height: 1.32;
    font-weight: 400;
    letter-spacing: -0.045em;
}

.home-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.03em;
}

.button--primary {
    padding: 0 23px;
    color: var(--white);
    background: var(--blue);
}

.button--primary:hover,
.button--primary:focus-visible {
    background: var(--blue-hover);
    outline: none;
}

.button--link {
    color: var(--blue);
}

.button--link::after {
    content: '›';
    margin-left: 6px;
    font-size: 22px;
    line-height: 1;
}

.button--link:hover,
.button--link:focus-visible {
    text-decoration: underline;
    outline: none;
}

.home-rental-options {
    width: min(1400px, calc(100% - 32px));
    margin: 0 auto 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-rental-option {
    min-height: 390px;
    padding: 38px;
    border-radius: 34px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
}

.home-rental-option--gallery {
    color: var(--white);
    background:
        radial-gradient(circle at 80% 20%, rgba(0, 113, 227, 0.34), transparent 34%),
        linear-gradient(180deg, #151517 0%, #050505 100%);
}

.home-rental-option__label {
    margin: 0 0 18px;
    color: var(--gray);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.home-rental-option--gallery .home-rental-option__label {
    color: rgba(255, 255, 255, 0.6);
}

.home-rental-option h2 {
    max-width: 640px;
    margin: 0;
    color: var(--black);
    font-size: clamp(28px, 2.8vw, 42px);
    line-height: 1.06;
    font-weight: 600;
    letter-spacing: -0.045em;
}

.home-rental-option--gallery h2 {
    color: var(--white);
}

.home-rental-option p:not(.home-rental-option__label) {
    max-width: 660px;
    margin: 24px 0 0;
    color: var(--gray);
    font-size: 17px;
    line-height: 1.42;
    letter-spacing: -0.04em;
}

.home-rental-option--gallery p:not(.home-rental-option__label) {
    color: rgba(255, 255, 255, 0.7);
}

.home-rental-option .button {
    margin-top: auto;
}

.home-rental-option--gallery .button--link {
    color: #2997ff;
}

@media (max-width: 900px) {
    .home-hero {
        width: min(980px, calc(100% - 28px));
        min-height: auto;
        padding: 72px 0 82px;
        align-items: flex-start;
        text-align: left;
    }

    .home-hero__lead {
        margin-left: 0;
    }

    .home-hero__actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .home-rental-options {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 520px) {
    .home-hero h1 {
        font-size: 36px;
    }

    .home-hero__lead {
        font-size: 21px;
    }

    .home-hero__actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .button {
        width: 100%;
    }

    .home-rental-options {
        width: min(100%, calc(100% - 24px));
    }

    .home-rental-option {
        min-height: auto;
        padding: 28px;
        border-radius: 28px;
    }

}


.home-intro-panel {
    width: min(1400px, calc(100% - 32px));
    min-height: 480px;
    margin: 0 auto 16px;
    border-radius: 34px;
    color: var(--white);
    background:
        radial-gradient(circle at 50% 120%, rgba(0, 113, 227, 0.42), transparent 42%),
        linear-gradient(180deg, #111114 0%, #000000 100%);
    overflow: hidden;
}

.home-intro-panel__inner {
    width: min(920px, calc(100% - 56px));
    min-height: 480px;
    margin: 0 auto;
    padding: 68px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.home-intro-panel__label {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.home-intro-panel h2 {
    margin: 0;
    color: var(--white);
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.045em;
}

.home-intro-panel p:not(.home-intro-panel__label) {
    max-width: 760px;
    margin: 28px auto 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 19px;
    line-height: 1.36;
    letter-spacing: -0.04em;
}

.home-external-services {
    width: min(1400px, calc(100% - 32px));
    margin: 0 auto 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.home-external-service {
    min-height: 440px;
    border-radius: 34px;
    background: var(--white);
    overflow: hidden;
}

.home-external-service--dark {
    color: var(--white);
    background:
        radial-gradient(circle at 80% 120%, rgba(0, 113, 227, 0.35), transparent 36%),
        linear-gradient(180deg, #151517 0%, #050505 100%);
}

.home-external-service__content {
    min-height: 440px;
    padding: 38px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.home-external-service__label {
    margin: 0 0 18px;
    color: var(--gray);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.home-external-service--dark .home-external-service__label {
    color: rgba(255, 255, 255, 0.56);
}

.home-external-service h2 {
    max-width: 560px;
    margin: 0;
    color: var(--black);
    font-size: clamp(26px, 2.6vw, 38px);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.045em;
}

.home-external-service--dark h2 {
    color: var(--white);
}

.home-external-service p:not(.home-external-service__label) {
    max-width: 620px;
    margin: 24px 0 0;
    color: var(--gray);
    font-size: 16px;
    line-height: 1.38;
    letter-spacing: -0.045em;
}

.home-external-service--dark p:not(.home-external-service__label) {
    color: rgba(255, 255, 255, 0.68);
}

.home-external-service__links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin-top: auto;
    padding-top: 32px;
}

.home-external-service__links a {
    color: var(--blue);
    font-size: 16px;
    letter-spacing: -0.035em;
}

.home-external-service--dark .home-external-service__links a {
    color: #2997ff;
}

.home-external-service__links a::after {
    content: '›';
    margin-left: 5px;
}

.home-external-service__links a:hover,
.home-external-service__links a:focus-visible {
    text-decoration: underline;
    outline: none;
}

.home-external-service__links--payment {
    width: min(100%, 460px);
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1.25fr 0.8fr 1.2fr;
    align-items: center;
    gap: 14px;
    background: transparent;
}

.home-external-service__links--payment a {
    min-width: 0;
    height: 38px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: opacity 180ms ease, transform 180ms ease;
}

.home-external-service__links--payment a::after {
    content: none;
}

.home-external-service__links--payment a:hover,
.home-external-service__links--payment a:focus-visible {
    text-decoration: none;
    opacity: 1;
    transform: translateY(-1px);
}

.home-external-service__links--payment a:focus-visible {
    border-radius: 4px;
    outline: 2px solid #2997ff;
    outline-offset: 3px;
}

.home-payment-provider-logo {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 32px;
    object-fit: contain;
}

.home-payment-provider-logo--barion {
    width: 145px;
}

.home-payment-provider-logo--stripe {
    width: 80px;
}

.home-payment-provider-logo--simplepay {
    width: 125px;
}

.home-external-service__links--shipping {
    align-items: center;
    gap: 18px 24px;
}

.home-shipping-provider-link {
    min-width: 0;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 180ms ease, transform 180ms ease;
}

.home-external-service__links .home-shipping-provider-link::after {
    content: none;
}

.home-external-service__links .home-shipping-provider-link:hover,
.home-external-service__links .home-shipping-provider-link:focus-visible {
    text-decoration: none;
    opacity: 0.78;
    transform: translateY(-1px);
}

.home-external-service__links .home-shipping-provider-link:focus-visible {
    border-radius: 4px;
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.home-shipping-provider-logo {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 50px;
    object-fit: contain;
}

.home-shipping-provider-logo--gls {
    width: 104px;
}

.home-shipping-provider-logo--mpl {
    width: 64px;
}

.home-shipping-provider-logo--foxpost {
    width: 50px;
}

.home-shipping-provider-logo--packeta {
    width: 58px;
}

.home-shipping-provider-text-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
}

.home-cta {
    width: min(980px, calc(100% - 40px));
    margin: 0 auto;
    padding: 46px 0 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home-cta p {
    max-width: 760px;
    margin: 0 0 26px;
    color: var(--gray);
    font-size: 16px;
    line-height: 1.42;
    letter-spacing: -0.035em;
}

@media (max-width: 900px) {
    .home-intro-panel {
        min-height: auto;
    }

    .home-intro-panel__inner {
        min-height: auto;
        padding: 74px 0;
    }

    .home-external-services {
        grid-template-columns: 1fr;
    }

    .home-external-service,
    .home-external-service__content {
        min-height: auto;
    }

    .home-external-service__content {
        padding: 38px;
    }
}

@media (max-width: 520px) {
    .home-intro-panel,
    .home-external-services {
        width: min(1400px, calc(100% - 20px));
    }

    .home-intro-panel {
        border-radius: 26px;
    }

    .home-intro-panel__inner {
        width: min(920px, calc(100% - 32px));
        padding: 58px 0;
    }

    .home-external-service {
        border-radius: 26px;
    }

    .home-external-service__content {
        padding: 30px 26px;
    }

    .home-external-service p:not(.home-external-service__label) {
        font-size: 16px;
    }

    .home-external-service__links--payment a {
        height: 34px;
        padding: 0 5px;
    }

    .home-external-service__links--payment {
        gap: 8px;
    }

    .home-payment-provider-logo {
        max-height: 28px;
    }

    .home-external-service__links--shipping {
        gap: 14px 18px;
    }

    .home-shipping-provider-link {
        height: 46px;
    }

    .home-shipping-provider-logo {
        max-height: 42px;
    }

    .home-shipping-provider-logo--gls {
        width: 86px;
    }

    .home-shipping-provider-logo--mpl {
        width: 56px;
    }

    .home-shipping-provider-logo--foxpost {
        width: 44px;
    }

    .home-shipping-provider-logo--packeta {
        width: 50px;
    }
}

.home-external-service__logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.home-external-service__logo {
    display: block;
    width: auto;
    height: 28px;
    max-width: 180px;
    object-fit: contain;
}

.home-external-service__logo--szamlazz {
    height: 30px;
}

.home-external-service__links {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.home-external-service__links > a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    line-height: 1;
}
