﻿.home-page main {
    display: block;
}

.home-template {
    --home-background-start: #fff8fa;
    --home-background-end: #f5c8d4;
    --home-decoration: var(--color-primary);
    --home-title: var(--color-text);
    --home-text: var(--color-muted);
    --home-secondary: var(--color-secondary, #f2a65a);
    --home-secondary-light: var(--color-secondary-light, #ffd85a);
    --home-effect-opacity: 0.7;
    --home-image-position: center center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    font-family: var(--font-project, "Segoe UI", Arial, sans-serif);
}

.home-shell {
    position: relative;
}

.home-header {
    position: relative;
    z-index: 20;
    display: flex;
    min-height: clamp(72px, 7vw, 104px);
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.home-brand {
    display: inline-flex;
    align-items: center;
    color: var(--color-accent);
    font-size: 1.25rem;
    font-weight: 750;
    text-decoration: none;
}

.home-logo {
    width: auto;
    height: clamp(38px, 3.4vw, 54px);
    object-fit: contain;
}

.home-logo-mobile {
    display: none;
}

.home-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(16px, 2.4vw, 34px);
}

.home-header > .language-switcher {
    margin-left: auto;
}

.home-fullscreen .language-switcher {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(20, 18, 24, 0.24);
    backdrop-filter: blur(10px);
}

.home-fullscreen .language-switcher-item {
    color: rgba(255, 255, 255, 0.84);
}

.home-fullscreen .language-switcher-item.is-active {
    color: #fff;
    background: var(--color-primary);
}

.home-nav a {
    color: inherit;
    font-weight: 650;
    text-decoration: none;
}

.home-nav .home-button {
    color: #fff;
}

.home-nav a:not(.home-button):hover {
    color: var(--color-primary);
}

.home-button {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    border: 0;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), color-mix(in srgb, var(--color-primary) 72%, var(--home-secondary)));
    box-shadow: 0 14px 30px color-mix(in srgb, var(--color-primary) 24%, transparent);
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.home-button:hover,
.home-button:focus-visible {
    color: #fff;
    box-shadow: 0 18px 34px color-mix(in srgb, var(--color-primary) 32%, transparent);
    transform: translateY(-2px);
}

.home-button-small {
    height: 48px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 16px;
    font-size: 1rem;
    line-height: 1;
}

.home-copy h1,
.home-fullscreen-copy h1 {
    max-width: 12ch;
    margin: 0;
    color: var(--home-title);
    font-size: clamp(3rem, 5.25vw, 6.8rem);
    font-weight: 760;
    line-height: 0.96;
    letter-spacing: -0.055em;
}

.home-eyebrow {
    margin: 0 0 clamp(14px, 1.7vw, 24px);
    color: var(--home-decoration);
    font-size: clamp(0.78rem, 0.85vw, 0.98rem);
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-lead {
    max-width: 48ch;
    margin: clamp(20px, 2.2vw, 32px) 0 clamp(28px, 3vw, 42px);
    color: var(--home-text);
    font-size: clamp(1.05rem, 1.35vw, 1.42rem);
    line-height: 1.55;
}

.home-benefits {
    position: relative;
    z-index: 8;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.8vw, 26px);
    color: var(--color-text);
    background: transparent;
}

.home-benefits article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(16px, 2vw, 26px);
    min-width: 0;
    padding: clamp(22px, 2.4vw, 34px);
    border: 1px solid color-mix(in srgb, var(--home-decoration) 11%, #e9e3e6);
    border-radius: 24px;
    background: rgb(255 255 255 / 0.96);
    box-shadow: 0 18px 48px rgb(54 38 46 / 0.08);
}

.home-benefits article + article {
    border-left: 1px solid color-mix(in srgb, var(--home-decoration) 11%, #e9e3e6);
}

.home-benefits-count-1 {
    grid-template-columns: minmax(0, 1fr);
}

.home-benefits-count-2,
.home-benefits-count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-benefits h2,
.home-benefits p {
    margin: 0;
}

.home-benefits h2 {
    margin-bottom: 5px;
    font-size: clamp(1rem, 1.15vw, 1.25rem);
}

.home-benefits p {
    max-width: 34ch;
    color: var(--color-muted);
    font-size: clamp(0.86rem, 0.92vw, 1rem);
    line-height: 1.5;
}

.home-benefit-icon,
.home-line-icon {
    display: grid;
    width: clamp(52px, 4.5vw, 72px);
    height: clamp(52px, 4.5vw, 72px);
    flex: 0 0 auto;
    place-items: center;
}

.home-benefit-icon {
    color: var(--home-secondary);
}

.home-benefit-icon i {
    font-size: clamp(2rem, 3vw, 3rem);
}

.home-benefit-icon svg,
.home-line-icon svg {
    width: 54%;
    height: 54%;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.75;
}

/* Šablona orbit */
.home-orbit {
    min-height: 760px;
    padding-bottom: clamp(32px, 4vw, 64px);
    background:
        radial-gradient(circle at 88% 14%, color-mix(in srgb, var(--home-secondary) 20%, transparent) 0 4%, transparent 13%),
        linear-gradient(122deg, var(--home-background-start), var(--home-background-end));
}

.home-orbit .home-benefit-icon {
    color: var(--home-secondary);
}

.home-orbit::before,
.home-orbit::after {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    content: "";
    opacity: var(--home-effect-opacity);
    pointer-events: none;
}

.home-orbit::before {
    top: 25%;
    right: -8vw;
    width: clamp(160px, 18vw, 360px);
    aspect-ratio: 1;
    background: color-mix(in srgb, var(--home-secondary) 38%, transparent);
    filter: blur(1px);
}

.home-orbit::after {
    bottom: 18%;
    left: 29%;
    width: clamp(54px, 6vw, 112px);
    aspect-ratio: 1;
    background: linear-gradient(145deg, var(--home-secondary), var(--color-primary));
    filter: blur(0.2px);
}

.home-orbit-layout {
    display: grid;
    min-height: max(clamp(610px, 69vh, 900px), calc(100svh - clamp(72px, 7vw, 104px)));
    grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
    align-items: center;
    gap: clamp(28px, 4vw, 80px);
    padding-top: clamp(28px, 4vw, 70px);
    padding-bottom: clamp(100px, 10vw, 150px);
}

.home-orbit .home-copy {
    position: relative;
    z-index: 6;
    align-self: center;
}

.home-orbit-visual {
    position: relative;
    align-self: stretch;
    min-height: 570px;
}

.home-orbit-photo {
    position: absolute;
    z-index: 2;
    right: 2%;
    bottom: 0;
    width: min(78%, 760px);
    height: 94%;
    overflow: hidden;
    border-radius: 46% 46% 12% 12% / 35% 35% 10% 10%;
    background: color-mix(in srgb, var(--home-background-end) 72%, #fff);
    box-shadow: 0 34px 70px rgb(76 46 56 / 0.14);
    -webkit-mask-image: linear-gradient(to bottom, #000 0 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0 90%, transparent 100%);
}

.home-orbit-photo picture,
.home-orbit-photo img {
    display: block;
    width: 100%;
    height: 100%;
}

.home-orbit-photo img {
    object-fit: cover;
    object-position: var(--home-image-position);
}

.home-orbit-line {
    position: absolute;
    z-index: 1;
    border: 1px solid color-mix(in srgb, var(--home-decoration) 36%, transparent);
    border-radius: 50%;
    opacity: var(--home-effect-opacity);
}

.home-orbit-line-one {
    inset: 5% -2% 2% 4%;
    transform: rotate(-11deg);
}

.home-orbit-line-two {
    inset: 13% 7% -8% -5%;
    border-color: color-mix(in srgb, var(--home-secondary) 48%, transparent);
    transform: rotate(13deg);
}

.home-profile-chip,
.home-message-chip {
    position: absolute;
    z-index: 5;
    border: 1px solid rgb(255 255 255 / 0.76);
    border-radius: 18px;
    background: rgb(255 255 255 / 0.9);
    box-shadow: 0 18px 40px rgb(68 39 49 / 0.14);
    backdrop-filter: blur(12px);
}

.home-profile-chip {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 11px;
    min-width: 190px;
    padding: 11px 14px;
}

.home-profile-chip strong,
.home-profile-chip small {
    display: block;
}

.home-profile-chip strong {
    font-size: 0.92rem;
}

.home-profile-chip small {
    color: var(--color-muted);
    font-size: 0.78rem;
}

.home-profile-chip i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3cb67b;
}

.home-avatar {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, var(--color-primary), var(--home-secondary));
    font-size: 0.84rem;
    font-weight: 850;
}

.home-profile-chip-top {
    top: 6%;
    left: 10%;
}

.home-profile-chip-side {
    top: 43%;
    right: -1%;
}

.home-message-chip {
    right: 7%;
    bottom: 10%;
    display: grid;
    gap: 2px;
    max-width: 260px;
    padding: 15px 18px;
    font-size: 0.84rem;
}

.home-message-chip span {
    color: var(--color-muted);
}

.home-orbit-benefits {
    margin-top: clamp(22px, 3vw, 42px);
}

.home-orbit-benefits article {
    backdrop-filter: blur(14px);
}

/* Šablona illustration */
.home-illustration {
    min-height: 760px;
    padding-bottom: clamp(28px, 4vw, 58px);
    color: var(--home-title);
    background:
        linear-gradient(115deg, var(--color-page-background) 0 58%, color-mix(in srgb, var(--home-background-start) 52%, var(--color-page-background)) 100%);
}

.home-illustration-layout {
    display: grid;
    min-height: max(clamp(590px, 70vh, 860px), calc(100svh - clamp(72px, 7vw, 104px)));
    grid-template-columns: minmax(320px, 0.9fr) minmax(380px, 1.1fr);
    align-items: center;
    gap: clamp(40px, 7vw, 120px);
    padding-top: clamp(24px, 3vw, 48px);
    padding-bottom: clamp(38px, 5vw, 76px);
}

.home-illustration-copy {
    position: relative;
    z-index: 2;
    max-width: 690px;
}

.home-illustration-copy h1 {
    max-width: 11ch;
    font-size: clamp(3.2rem, 5vw, 6.25rem);
    font-weight: 790;
}

.home-illustration .home-eyebrow {
    color: var(--home-decoration);
}

.home-illustration-button {
    border: 2px solid var(--home-decoration);
    color: var(--home-decoration);
    background: #fff;
    box-shadow: none;
}

.home-illustration-button:hover,
.home-illustration-button:focus-visible {
    color: #fff;
    background: var(--home-decoration);
    box-shadow: 0 16px 34px color-mix(in srgb, var(--home-decoration) 24%, transparent);
}

.home-illustration-visual {
    position: relative;
    display: flex;
    min-width: 0;
    height: clamp(520px, 64vh, 780px);
    align-items: flex-end;
    justify-content: center;
}

.home-illustration-visual::before {
    position: absolute;
    z-index: -1;
    right: 5%;
    bottom: 8%;
    width: min(92%, 610px);
    aspect-ratio: 1;
    border-radius: 44% 56% 52% 48% / 56% 42% 58% 44%;
    background: color-mix(in srgb, var(--home-secondary) 19%, var(--home-background-start));
    content: "";
    opacity: var(--home-effect-opacity);
}

.home-illustration-visual picture,
.home-illustration-visual img {
    display: block;
    width: 100%;
    height: 100%;
}

.home-illustration-visual picture {
    position: relative;
    z-index: 1;
}

.home-illustration-visual img {
    object-fit: contain;
    object-position: center bottom;
}

.home-registration-stats {
    position: absolute;
    z-index: 3;
    inset: 0;
    pointer-events: none;
}

.home-registration-stat-bubble {
    position: absolute;
    display: flex;
    min-width: 230px;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    border: 1px solid color-mix(in srgb, var(--home-decoration) 28%, #fff);
    border-radius: 22px;
    background: rgb(255 255 255 / 0.94);
    box-shadow: 0 18px 45px rgb(49 37 43 / 0.12);
}

.home-registration-stat-bubble::after {
    position: absolute;
    width: 18px;
    height: 18px;
    border: inherit;
    background: inherit;
    content: "";
    transform: rotate(45deg);
}

.home-registration-stat-women {
    top: 12%;
    left: -2%;
}

.home-registration-stat-women::after {
    right: -10px;
    border-bottom: 0;
    border-left: 0;
}

.home-registration-stat-men {
    right: -3%;
    bottom: 13%;
}

.home-registration-stat-men::after {
    left: -10px;
    border-top: 0;
    border-right: 0;
}

.home-registration-stat-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 15px;
    color: var(--home-decoration);
    background: color-mix(in srgb, var(--home-decoration) 11%, #fff);
    font-size: 1.6rem;
}

.home-registration-stat-men .home-registration-stat-icon {
    color: var(--home-secondary);
    background: color-mix(in srgb, var(--home-secondary) 13%, #fff);
}

.home-registration-stat-copy {
    display: grid;
    gap: 2px;
    color: var(--home-title);
}

.home-registration-stat-copy small {
    font-size: 0.78rem;
    font-weight: 720;
    white-space: nowrap;
}

.home-registration-stat-copy strong {
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.home-registration-stat-copy strong span {
    font-size: 0.95rem;
    letter-spacing: normal;
}

.home-illustration-benefits {
    margin-top: clamp(22px, 3vw, 42px);
}

.home-illustration-benefits article {
    background: rgb(255 255 255 / 0.97);
}

.home-illustration-stories {
    display: grid;
    gap: clamp(22px, 3vw, 38px);
    margin-top: clamp(28px, 4vw, 60px);
}

.home-illustration-story {
    display: grid;
    min-height: clamp(390px, 34vw, 520px);
    overflow: hidden;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    border: 1px solid color-mix(in srgb, var(--home-decoration) 11%, #e9e3e6);
    border-radius: clamp(24px, 2.2vw, 34px);
    background: #fff;
    box-shadow: 0 24px 70px rgb(54 38 46 / 0.09);
}

.home-illustration-story-reverse {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
}

.home-illustration-story-copy {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: clamp(38px, 5vw, 82px);
}

.home-illustration-story-copy h2,
.home-illustration-banner-copy h2 {
    margin: 0;
    font-size: clamp(2.35rem, 4vw, 4.6rem);
    font-weight: 760;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.home-illustration-story-copy p {
    max-width: 55ch;
    margin: clamp(18px, 2vw, 28px) 0 0;
    color: var(--home-text);
    font-size: clamp(1rem, 1.15vw, 1.2rem);
    line-height: 1.75;
}

.home-illustration-story-button {
    margin-top: clamp(24px, 3vw, 38px);
    border: 2px solid var(--home-decoration);
    color: var(--home-decoration);
    background: #fff;
    box-shadow: none;
}

.home-illustration-story-button:hover,
.home-illustration-story-button:focus-visible {
    color: #fff;
    background: var(--home-decoration);
}

.home-illustration-story-media,
.home-illustration-story-media img {
    width: 100%;
    height: 100%;
}

.home-illustration-story-media {
    min-height: 390px;
    overflow: hidden;
    background: color-mix(in srgb, var(--home-background-start) 52%, #fff);
}

.home-illustration-story-media img {
    object-fit: cover;
    object-position: center;
    transition: transform 700ms cubic-bezier(.2,.75,.25,1);
}

.home-illustration-story:not(.home-illustration-story-reverse) .home-illustration-story-media img {
    object-position: 72% center;
}

.home-illustration-story-reverse .home-illustration-story-media img {
    object-position: 28% center;
}

.home-illustration-story:hover .home-illustration-story-media img {
    transform: scale(1.025);
}

.home-illustration-banner {
    position: relative;
    display: grid;
    min-height: clamp(370px, 37vw, 540px);
    overflow: hidden;
    isolation: isolate;
    place-items: center;
    border-radius: clamp(24px, 2.2vw, 34px);
    box-shadow: 0 24px 70px rgb(42 32 37 / 0.14);
}

.home-illustration-banner-image,
.home-illustration-banner-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-illustration-banner-image {
    z-index: -2;
    object-fit: cover;
    object-position: center;
}

.home-illustration-banner-overlay {
    z-index: -1;
    background: linear-gradient(100deg, rgb(24 18 22 / .74), rgb(24 18 22 / .38) 58%, rgb(24 18 22 / .58));
}

.home-illustration-banner-copy {
    width: min(100% - clamp(44px, 8vw, 130px), 990px);
    color: #fff;
    text-align: center;
    text-shadow: 0 3px 24px rgb(0 0 0 / .28);
}

.home-illustration-banner-copy p {
    max-width: 72ch;
    margin: clamp(20px, 2.4vw, 34px) auto 0;
    color: rgb(255 255 255 / .9);
    font-size: clamp(1rem, 1.2vw, 1.22rem);
    line-height: 1.72;
}

.home-illustration .home-benefit-icon {
    position: relative;
    width: clamp(60px, 4.8vw, 76px);
    height: clamp(60px, 4.8vw, 76px);
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 0.42);
    border-radius: clamp(18px, 1.5vw, 23px);
    color: #fff;
    background: linear-gradient(145deg, var(--color-primary) 5%, var(--home-secondary) 95%);
    box-shadow:
        0 14px 28px color-mix(in srgb, var(--color-primary) 19%, transparent),
        inset 0 1px 0 rgb(255 255 255 / 0.3);
}

.home-illustration .home-benefit-icon::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, rgb(255 255 255 / 0.14), transparent 48%);
    content: "";
    pointer-events: none;
}

.home-illustration .home-benefit-icon i {
    position: relative;
    z-index: 1;
    font-size: clamp(1.65rem, 2.25vw, 2.3rem);
    text-shadow: 0 2px 8px rgb(112 42 58 / 0.16);
}

/* Šablona fullscreen */
.home-fullscreen {
    --home-overlay-opacity: 0.72;
    background: #171516;
}

.home-fullscreen-hero {
    position: relative;
    min-height: max(clamp(670px, 78vh, 980px), 100svh);
    color: #fff;
}

.home-fullscreen-picture,
.home-fullscreen-picture img,
.home-fullscreen-overlay {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.home-fullscreen-picture,
.home-fullscreen-overlay {
    pointer-events: none;
}

.home-fullscreen-picture img {
    object-fit: cover;
    object-position: var(--home-image-position);
}

.home-fullscreen-overlay {
    z-index: 1;
    background:
        linear-gradient(90deg,
            rgb(13 11 12 / calc(var(--home-overlay-opacity) + 0.16)) 0%,
            rgb(13 11 12 / var(--home-overlay-opacity)) 30%,
            rgb(13 11 12 / 0.24) 58%,
            rgb(13 11 12 / 0.08) 100%),
        linear-gradient(180deg, rgb(0 0 0 / 0.18), transparent 28%, rgb(0 0 0 / 0.15));
}

.home-fullscreen .home-header {
    position: relative;
    z-index: 20;
}

.home-fullscreen-copy {
    position: relative;
    z-index: 3;
}

.home-fullscreen .home-brand,
.home-fullscreen .home-nav a:not(.home-button) {
    color: #fff;
    text-shadow: 0 2px 15px rgb(0 0 0 / 0.4);
}

.home-fullscreen .home-logo {
    filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgb(0 0 0 / 0.3));
}

.home-fullscreen .header-action-icon {
    color: #fff;
    border-color: rgb(255 255 255 / 0.36);
    background: rgb(18 14 16 / 0.24);
    backdrop-filter: blur(8px);
}

.home-fullscreen .header-user-menu > summary {
    color: #fff;
    text-shadow: 0 2px 15px rgb(0 0 0 / 0.4);
}

.home-fullscreen .home-nav .header-user-dropdown {
    z-index: 60;
    color: var(--color-text);
    text-shadow: none;
    pointer-events: auto;
}

.home-fullscreen .home-nav .header-user-dropdown a,
.home-fullscreen .home-nav .header-user-dropdown a:not(.home-button) {
    color: var(--color-text);
    text-shadow: none;
    pointer-events: auto;
}

.home-fullscreen .home-nav .header-user-dropdown a:hover,
.home-fullscreen .home-nav .header-user-dropdown a:focus-visible,
.home-fullscreen .home-nav .header-user-dropdown a:not(.home-button):hover,
.home-fullscreen .home-nav .header-user-dropdown a:not(.home-button):focus-visible {
    color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 7%, #fff);
}

.home-fullscreen .home-nav .header-user-dropdown .header-service-status,
.home-fullscreen .home-nav .header-user-dropdown .header-service-status:not(.home-button) {
    color: var(--color-text);
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--color-primary) 10%, #fff),
        color-mix(in srgb, var(--home-secondary-light) 18%, #fff));
}

.home-fullscreen .home-nav .header-user-dropdown .header-service-status.is-low {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--home-secondary-light) 32%, #fff),
        color-mix(in srgb, var(--home-secondary) 18%, #fff));
}

.home-fullscreen .home-nav .header-user-dropdown .header-service-status:hover,
.home-fullscreen .home-nav .header-user-dropdown .header-service-status:focus-visible {
    color: var(--color-text);
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--color-primary) 14%, #fff),
        color-mix(in srgb, var(--home-secondary-light) 24%, #fff));
}

.home-fullscreen-copy {
    display: flex;
    min-height: calc(clamp(670px, 78vh, 980px) - clamp(72px, 7vw, 104px));
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-top: 30px;
    padding-bottom: 60px;
}

.home-fullscreen-copy h1 {
    max-width: 10ch;
    color: #fff;
    text-shadow: 0 4px 28px rgb(0 0 0 / 0.3);
}

.home-fullscreen .home-eyebrow {
    color: color-mix(in srgb, var(--color-primary) 76%, #fff);
}

.home-fullscreen .home-lead {
    color: rgb(255 255 255 / 0.9);
    text-shadow: 0 2px 16px rgb(0 0 0 / 0.3);
}

.home-fullscreen .home-fullscreen-benefits {
    width: 100%;
    max-width: none;
    gap: clamp(14px, 1.8vw, 26px);
    padding: clamp(30px, 3.4vw, 52px) max(var(--container-side-padding), calc((100% - var(--container-width)) / 2));
}

.home-fullscreen-benefits article {
    padding: clamp(22px, 2.4vw, 34px);
}

.home-line-icon {
    color: var(--color-text);
}

.home-line-icon svg {
    width: 68%;
    height: 68%;
}

.home-line-icon .home-icon-accent {
    stroke: var(--home-secondary);
    stroke-width: 2.2;
}

@media (min-width: 2200px) {
    .home-orbit-layout {
        min-height: 960px;
    }

    .home-orbit-visual {
        min-height: 780px;
    }

    .home-illustration-layout {
        min-height: 900px;
    }
}

@media (max-width: 1050px) {
    .home-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-benefits-count-1 {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-orbit-layout {
        grid-template-columns: minmax(310px, 0.85fr) minmax(420px, 1.15fr);
    }

    .home-profile-chip-side {
        right: 0;
    }

    .home-benefits article {
        align-items: flex-start;
    }

    .home-illustration-layout {
        grid-template-columns: minmax(300px, 0.9fr) minmax(330px, 1.1fr);
        gap: 34px;
    }
}

/* Tablet potřebuje větší bezpečný okraj než desktop a více místa než mobil. */
@media (min-width: 700px) and (max-width: 1366px) {
    .home-fullscreen .home-header,
    .home-fullscreen .home-fullscreen-copy {
        width: min(calc(100% - clamp(64px, 8vw, 112px)), var(--container-width));
    }

    .home-fullscreen .home-fullscreen-benefits {
        padding-right: clamp(32px, 4vw, 56px);
        padding-left: clamp(32px, 4vw, 56px);
    }
}

@media (max-width: 820px) {
    .home-header {
        min-height: 76px;
    }

    .home-nav {
        gap: 14px;
    }

    .home-nav a:not(.home-button) {
        font-size: 0.92rem;
    }

    .home-orbit-layout {
        display: flex;
        min-height: calc(100svh - 76px);
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
        padding-top: 40px;
        padding-bottom: 92px;
    }

    .home-illustration-layout {
        display: flex;
        min-height: calc(100svh - 76px);
        align-items: stretch;
        flex-direction: column;
        gap: 22px;
        padding-top: 44px;
        padding-bottom: 54px;
    }

    .home-illustration-copy {
        max-width: 620px;
    }

    .home-illustration-copy h1 {
        font-size: clamp(2.8rem, 11vw, 5rem);
    }

    .home-illustration-visual {
        height: min(76vh, 620px);
    }

    .home-registration-stat-women {
        left: 0;
    }

    .home-registration-stat-men {
        right: 0;
    }

    .home-copy h1,
    .home-fullscreen-copy h1 {
        font-size: clamp(2.8rem, 11vw, 5rem);
    }

    .home-orbit-visual {
        min-height: 530px;
    }

    .home-orbit-photo {
        right: 6%;
        width: 88%;
        height: 100%;
    }

    .home-profile-chip-side,
    .home-message-chip {
        display: none;
    }

    .home-profile-chip-top {
        top: 8%;
        left: 1%;
    }

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

    .home-benefits article,
    .home-orbit-benefits article,
    .home-illustration-benefits article,
    .home-fullscreen-benefits article {
        padding: 20px;
    }

    .home-benefits article + article {
        border-left: 1px solid color-mix(in srgb, var(--home-decoration) 11%, #e9e3e6);
    }

    .home-orbit-benefits {
        margin-top: 22px;
    }

    .home-illustration-benefits {
        margin-top: 22px;
    }

    .home-illustration-stories {
        gap: 20px;
        margin-top: 24px;
    }

    .home-illustration-story,
    .home-illustration-story-reverse {
        display: flex;
        min-height: 0;
        flex-direction: column;
        border-radius: 24px;
    }

    .home-illustration-story-media {
        order: 1;
    }

    .home-illustration-story-copy {
        order: 2;
        padding: clamp(28px, 8vw, 46px);
    }

    .home-illustration-story-copy h2,
    .home-illustration-banner-copy h2 {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }

    .home-illustration-story-media {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .home-illustration-story-button {
        width: 100%;
        justify-content: center;
    }

    .home-illustration-banner {
        min-height: 460px;
        place-items: end center;
        border-radius: 24px;
    }

    .home-illustration-banner-overlay {
        background: linear-gradient(180deg, rgb(24 18 22 / .16), rgb(24 18 22 / .78) 72%, rgb(24 18 22 / .9));
    }

    .home-illustration-banner-copy {
        width: 100%;
        padding: 38px 26px;
        text-align: left;
    }

    .home-fullscreen-hero,
    .home-fullscreen-copy {
        min-height: 760px;
    }

    .home-fullscreen-overlay {
        background:
            linear-gradient(180deg, rgb(10 9 10 / 0.34) 0%, rgb(10 9 10 / 0.18) 28%, rgb(10 9 10 / 0.82) 70%, rgb(10 9 10 / 0.92) 100%);
    }

    .home-fullscreen-copy {
        justify-content: flex-end;
        padding-bottom: 64px;
    }

    .home-fullscreen-picture img {
        object-position: center center;
    }

}

@media (max-width: 540px) {
    .home-logo-desktop {
        display: none;
    }

    .home-logo-mobile {
        display: block;
    }

    .home-logo {
        height: 38px;
    }

    .home-header .home-nav {
        position: static;
    }

    .home-nav .home-login-link {
        position: absolute;
        top: 29px;
        right: 128px;
        font-size: 0.84rem;
    }

    .home-nav .home-register-link {
        position: absolute;
        top: 18px;
        right: 0;
    }

    .home-button.home-button-small {
        height: 46px;
        min-height: 46px;
        padding: 0 17px;
        border-radius: 14px;
        font-size: 0.96rem;
        line-height: 1;
    }

    .home-button {
        min-height: 54px;
        padding-inline: 22px;
    }

    .home-orbit-visual {
        min-height: 430px;
    }

    .home-illustration-layout {
        padding-top: 34px;
    }

    .home-illustration-visual {
        height: 460px;
    }

    .home-registration-stats {
        display: grid;
        inset: auto 6px 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .home-registration-stat-bubble {
        position: relative;
        inset: auto;
        min-width: 0;
        gap: 8px;
        padding: 11px 12px;
        border-radius: 17px;
    }

    .home-registration-stat-bubble::after {
        display: none;
    }

    .home-registration-stat-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        border-radius: 11px;
        font-size: 1.15rem;
    }

    .home-registration-stat-copy small {
        overflow: hidden;
        font-size: 0.63rem;
        text-overflow: ellipsis;
    }

    .home-registration-stat-copy strong {
        font-size: 1.55rem;
    }

    .home-registration-stat-copy strong span {
        font-size: 0.74rem;
    }

    .home-illustration-button {
        width: 100%;
    }

    .home-profile-chip-top {
        min-width: 168px;
        transform: scale(0.9);
        transform-origin: left top;
    }

    .home-benefit-icon,
    .home-line-icon {
        width: 54px;
        height: 54px;
    }

    .home-fullscreen-hero,
    .home-fullscreen-copy {
        min-height: 700px;
    }
}

@media (max-width: 350px) {
    .home-nav .home-login-link {
        right: 116px;
        font-size: 0.8rem;
    }

    .home-button.home-button-small {
        padding-inline: 14px;
        font-size: 0.92rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-button {
        transition: none;
    }
}

.home-latest-profiles {
    position: relative;
    overflow: hidden;
    padding: clamp(64px, 7vw, 112px) 0 clamp(72px, 8vw, 128px);
    background:
        radial-gradient(circle at 8% 10%, color-mix(in srgb, var(--color-secondary-light) 22%, transparent), transparent 22rem),
        radial-gradient(circle at 92% 82%, color-mix(in srgb, var(--color-primary) 10%, transparent), transparent 25rem),
        var(--color-page-background);
}

.home-latest-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.home-latest-header {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.home-latest-grid {
    grid-column: 1 / -1;
    grid-row: 2;
}

.home-latest-eyebrow {
    margin: 0 0 10px;
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.home-latest-header h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4.4rem);
    font-weight: 680;
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.home-latest-all {
    display: inline-flex;
    grid-column: 1;
    grid-row: 3;
    justify-self: center;
    min-height: 48px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 22%, #e2d9dd);
    border-radius: 15px;
    color: var(--color-primary);
    background: rgb(255 255 255 / 0.72);
    font-weight: 680;
    text-decoration: none;
    backdrop-filter: blur(12px);
    margin: 28px 0 0;
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.home-latest-all:hover,
.home-latest-all:focus-visible {
    color: #fff;
    background: var(--color-primary);
    box-shadow: 0 14px 28px color-mix(in srgb, var(--color-primary) 22%, transparent);
    transform: translateY(-2px);
}

.home-latest-profiles .profile-list-photo img.profile-silhouette-image {
    box-sizing: border-box;
    padding: 10% 11% 0;
    object-fit: contain;
    object-position: center bottom;
    opacity: 0.9;
}

@media (max-width: 760px) {
    .home-latest-profiles {
        padding: 52px 0 68px;
    }

    .home-latest-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-latest-header {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 24px;
    }

    .home-latest-grid {
        grid-column: 1;
        grid-row: 2;
    }

    .home-latest-header h2 {
        font-size: clamp(2rem, 10vw, 3.25rem);
    }

    .home-latest-all {
        grid-column: 1;
        grid-row: 3;
        width: 100%;
        min-height: 54px;
        margin: 24px 0 0;
        padding: 12px 18px;
        font-size: 0.94rem;
    }
}

@media (max-width: 430px) {
    .home-latest-all {
        margin-top: 18px;
    }
}
