@font-face {
    font-family: 'HyperspaceRace';
    src: url('../font/HyperspaceRace-Regular.otf') format('OpenType');
}
@font-face {
    font-family: 'HyperspaceRaceBold';
    src: url('../font/HyperspaceRace-Bold.otf') format('OpenType');
}

@font-face {
    font-family: 'HyperspaceRaceExpandedItalic';
    src: url('../font/HyperspaceRace-ExpandedItalic.otf') format('OpenType');
}

@font-face {
    font-family: 'HyperspaceRaceItalic';
    src: url('../font/HyperspaceRace-CondensedItalic.otf') format('OpenType');
}

@font-face {
    font-family: 'HyperspaceRaceItalicBold';
    src: url('../font/HyperspaceRace-BoldItalic.otf') format('OpenType');
}

@font-face {
    font-family: 'HyperspaceRaceExtendedItalicBold';
    src: url('../font/HyperspaceRace-ExpandedBoldItalic.otf') format('OpenType');
}

@font-face {
    font-family: 'HyperspaceRaceExItalicBold';
    src: url('../font/HyperspaceRace-ExtendedBoldItalic.otf') format('OpenType');
}

@font-face {
    font-family: 'HyperspaceRaceLightItalic';
    src: url('../font/HyperspaceRace-LightItalic.otf') format('OpenType');
}

:root{
    --bg: #E7E7E7;
    --text: #ADA6A8;
    --muted: #6b7280;
    --border: rgba(17,24,39,.10);

    --primary: #2563eb;
    --primary-contrast: #ffffff;

    --container: 1600px;
    --gutter: 28px;

    --header-h: 84px;

    --text-strong: #FFFFFF;

    --accent: #E4002B;

    --hero-min-h: 640px;
    --hero-max-h: 820px;

    --cyan: #00c7b1;

    /* typografie (doplníme font-family z designu) */
    --font: 'HyperspaceRace', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --font-light-italic: 'HyperspaceRaceLightItalic', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --font-italic: 'HyperspaceRaceItalic', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --font-bold: 'HyperspaceRaceBold', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --font-expanded-bold-italic: 'HyperspaceRaceExtendedItalicBold', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --font-expanded-italic: 'HyperspaceRaceExpandedItalic', 'HyperspaceRace', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --font-extended-bold-italic: 'HyperspaceRaceExItalicBold', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

    --btn-primary-1: #E4002B;
    --btn-primary-2: #720016;

    --btn-ghost-1: #2E2E2E;
    --btn-ghost-2: #1D1618;

    --btn-secondary-1: #00c7b1;
    --btn-secondary-2: #006459;

    --btn-height: 60px;
    --btn-padding-x: 34px;
    --btn-min-width: 210px;

    --btn-font-size: 18px;
    --btn-font-weight: 700;
    --btn-letter-spacing: 0.01em;

    --btn-text-color: #ffffff;

    --btn-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    --btn-shadow-hover: 0 14px 28px rgba(0, 0, 0, 0.34);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body {
    margin:0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
}

.container-header {
    margin-right: 61px;
}

.container{
    width: min(var(--container), 100% - (var(--gutter) * 2));
    margin-inline: auto;
}

/* header shell */
.site-header{
    position: absolute; /* ve screenu sedí na hero; když chceš sticky, změň na sticky */
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;

    /* tmavý gradient/overlay přes hero pozadí */
    background: url('../img/dark-bg.png'), no-repeat, center;
}

.header{
    height: var(--header-h);
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* logo přesně uprostřed */
    align-items: center;
}

/* left placeholder keeps logo centered */
.header__left{
    min-width: 1px;
}

/* logo center */
.header__logo{
    justify-self: center;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.header__logo img{
    width: 196px;
    height: 23px;
    display: block;
    opacity: 1;
}

/* nav right */
.header__nav{
    justify-self: end;
    display: flex;
    align-items: center;
    gap: var(--gutter);
}

.nav__link {
    list-style: none;
}
/* links */
.nav__link li a {
    font-family: var(--font-expanded-italic);
    position: relative;
    display: inline-flex;
    align-items: center;
    font-weight: normal;

    line-height: 22px;
    height: 44px;
    padding: 0 2px;

    font-size: 18px;
    letter-spacing: 0;
    text-decoration: none;
    color: var(--text);
    transition: color .15s ease;
}

.nav__link li a:hover{
    color: var(--text-strong);
}

.nav__link li.current-menu-item a{
    color: var(--text-strong);
}

/* red triangle indicator above active item */
.nav__link li.current-menu-item a::before{
    content:"";
    position:absolute;
    top: 6px;              /* posuň dle toho, jak vysoko ho chceš */
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid var(--accent);
}

/* burger (hidden on desktop) */
.header__burger{
    display: none;
    justify-self: end;

    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.header__burger span{
    display:block;
    width: 18px;
    height: 2px;
    background: rgba(255,255,255,.85);
    position: relative;
    border-radius: 2px;
}
.header__burger span::before,
.header__burger span::after{
    content:"";
    position:absolute;
    left:0;
    width: 18px;
    height: 2px;
    background: rgba(255,255,255,.85);
    border-radius: 2px;
}
.header__burger span::before{ top:-6px; }
.header__burger span::after{ top: 6px; }

/* responsive */
@media (max-width: 980px){
    .header__nav{ display:none; }
    .header__burger{ display:inline-flex; align-items:center; justify-content:center; }
}

/* focus */
.nav__link li a:focus-visible,
.header__burger:focus-visible,
.header__logo:focus-visible{
    outline: 3px solid rgba(225,0,42,.35);
    outline-offset: 2px;
    border-radius: 10px;
}

/* HERO wrapper */
.hero{
    position: relative;
    overflow: hidden;

    /* místo aby header měl background, hero jde POD něj */
    padding-top: var(--header-h);

    display: grid;
    align-items: center;

    color: rgba(255,255,255,.92);
}

/* obsah */
.hero__inner{
    position: relative;
    z-index: 5; /* nad vrstvami */
    padding-block: clamp(40px, 6vw, 96px);
}

.hero__content{
    max-width: 700px;
}

.hero__title{
    font-family: var(--font-expanded-bold-italic);
    margin: 0 0 45px;
    font-size: clamp(38px, 4.4vw, 76px);
    line-height: 1.05;
    letter-spacing: .2px;
    font-weight: 700;
}

.hero__lead{
    font-family: var(--font-expanded-italic);
    margin: 0 0 45px;
    color: #F3F2F3;
    font-size: clamp(14px, 1.5vw, 31px);
    line-height: 1.4;
}

.hero__cta{
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* 1) tmavé pozadí (pattern) */
.hero__bg{
    position: absolute;
    inset: 0;
    z-index: 0;

    background:
            url('../img/dark-bg.png') center/cover no-repeat;
    /* pokud je bg už tmavé, můžeš raději jen:
       background: url(...) center/cover no-repeat;
    */
}

/* 2) barevné klíny */
.hero__shape{
    position: absolute;
    z-index: 2;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

/* červený klín – dole vpravo */
.hero__shape--red{
    right: -28%;
    bottom: -5%;
    width: 100%;
    height: 100%;
    background-image: url('../img/red-header.png');
    filter: drop-shadow(0 30px 50px rgba(0,0,0,.35));
    z-index: 3;
}

/* modrý klín – nad červeným, víc dole */
.hero__shape--cyan{
    right: -32%;
    bottom: -57%;
    width: 100%;
    height: 100%;
    background-image: url('../img/blue-header.png');
    filter: drop-shadow(0 30px 50px rgba(0,0,0,.25));
}

/* 3) postava běžce – úplně nahoře před klíny */
.hero__runner{
    position: absolute;
    z-index: 4;

    right: 6%;
    bottom: -6%;

    width: min(650px, 48vw);
    height: min(722px, 62vw);

    background: url('../img/header.png') right bottom / contain no-repeat;
    pointer-events: none;
}

/* Jemné stmavení pravé strany, aby text vlevo byl čitelný */
.hero::after{
    content:"";
    position:absolute;
    inset:0;
    z-index: 1;
    background: linear-gradient(
            90deg,
            rgba(0,0,0,.55) 0%,
            rgba(0,0,0,.25) 38%,
            rgba(0,0,0,0) 70%
    );
}


@media (max-width: 1300px) {
    .hero__runner {
        width: min(450px, 48vw);
    }
}

@media (max-width: 1050px) {
    .hero__runner {
        right: -8%;
        bottom: -12%;
        width: min(520px, 72vw);
        height: min(620px, 92vw);
        opacity: .95;
    }
}
/* Mobile doladění */
@media (max-width: 980px){
    .hero{
        padding-top: calc(var(--header-h) + 10px);
    }

    .hero__content{
        max-width: 520px;
    }

    .hero__runner{
        right: -8%;
        bottom: -12%;
        width: min(520px, 72vw);
        height: min(620px, 92vw);
        opacity: .95;
    }

    .hero__shape--red{
        right: -19%;
        bottom: -27%;
        width: 110vw;
        height: 60vw;
    }

    .hero__shape--cyan{
        right: -20%;
        bottom: -72%;
        width: 92vw;
        height: 52vw;
    }
}

@media (max-width: 680px){
    .hero__runner{
        display: none;
    }

    .hero__shape--red{
        display: none;

    }

    .hero__shape--cyan{
        display: none;

    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 52px;
    padding: 0 32px;

    border: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;

    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    font-size: 18px;
    font-style: italic;
    font-weight: 700;
    line-height: 1;

    transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.btn:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

.btn--primary {
    background-image: url("../img/btn-primary.svg");
}

.btn--ghost {
    background-image: url("../img/btn-ghost.svg");
}

.btn--secondary {
    background-image: url("../img/btn-secondary.svg");
}

.btn-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.reasons-section {
    background: #1C1C1C;
    padding: 128px 0 128px;
    color: #ffffff;
    overflow: hidden;
}

.reasons-section .container {
    width: min(var(--container), calc(100% - 96px));
    margin: 0 auto;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 56px;
    row-gap: 56px;
    align-items: start;
}

.reason-card {
    min-width: 311px;
}

.reason-card__head {
    align-items: start;
    margin-bottom: 26px;
}

.reason-card__number {
    font-family: var(--font-extended-bold-italic);
    font-size: 76px;
    line-height: 0.85;
    font-weight: 900;
    font-style: italic;
    color: #0A0809;
    letter-spacing: -0.03em;
    transform: translateY(-2px);
    position: relative;
    top: 27px;
    left: -50px;
}

.reason-card__title {
    margin: 0;
    font-family: var(--font-bold);
    font-size: 29px;
    line-height: 1.22;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 3;
}

.reason-card__content p {
    margin: 0;
    max-width: 311px;
    font-family: inherit;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 400;
    color: #F3F2F3;
}

.reason-card__content a {
    color: #00c7b1;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.reason-card__content a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.reason-card__content a:focus-visible {
    outline: 2px solid #00c7b1;
    outline-offset: 2px;
}

/* větší desktop jemné doladění */
@media (min-width: 1440px) {
    .reasons-grid {
        column-gap: 64px;
    }
}

/* tablet */
@media (max-width: 1100px) {
    .reasons-section {
        padding: 72px 0 64px;
    }

    .reasons-section .container {
        width: min(1240px, calc(100% - 56px));
    }

    .reasons-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 40px;
        row-gap: 44px;
    }

    .reason-card__number {
        left: -27px;
    }

    .reason-card__content p {
        max-width: none;
    }
}

/* mobile */
@media (max-width: 700px) {
    .reasons-section {
        padding: 56px 0 48px;
    }

    .reasons-section .container {
        width: calc(100% - 32px);
    }

    .reasons-grid {
        grid-template-columns: 1fr;
        row-gap: 36px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .reason-card__head {
        margin-bottom: 18px;
    }

    .reason-card__number {
        font-size: 40px;
    }

    .reason-card__title {
        font-size: 20px;
        line-height: 1.2;
    }

    .reason-card__content p {
        font-size: 15px;
        line-height: 1.5;
    }

    .reason-card__number {
        left: -23px;
    }
}

.gallery-section {
    position: relative;
    overflow: hidden;
    padding: 155px 0 195px;
    background-color: #0f1012;
    color: #fff;
    isolation: isolate;
}

.gallery-section__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image:
            linear-gradient(
                    180deg,
                    rgba(8, 9, 11, 0.22) 0%,
                    rgba(8, 9, 11, 0.12) 30%,
                    rgba(8, 9, 11, 0.20) 100%
            ),
            url("../img/dark-bg.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.gallery-section__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
            linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.08) 24%, rgba(0, 0, 0, 0.18) 100%);
    pointer-events: none;
}

.gallery-section__inner {
    position: relative;
    width: min(1280px, calc(100% - 88px));
    margin: 0 auto;
    z-index: 2;
}

.gallery-section__head {
    display: flex;
    justify-content: center;
    margin-bottom: 38px;
    text-align: center;
}

.gallery-section__title {
    margin: 0;
    max-width: 580px;
    color: #ffffff;
    font-size: 47px;
    line-height: 57px;
    font-family: var(--font-expanded-bold-italic);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.gallery-section__logo {
    position: absolute;
    left: 125px;
    top: 130px;
    bottom: 36px;
    z-index: 1;
    pointer-events: none;
    opacity: 1;
}

.gallery-section__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left top;
}

/* desktop collage */
.gallery-collage {
    display: grid;
    grid-template-columns: 1.16fr 1.16fr 1.18fr 1.06fr;
    grid-template-rows: 224px 82px 186px 304px;
    gap: 8px;
    align-items: stretch;
    margin-left: 42px;
}

.gallery-card {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    z-index: 2;
}

.gallery-card a {
    display: block;
    width: 100%;
    height: 100%;
}

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

.gallery-card--1 {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.gallery-card--2 {
    grid-column: 2;
    grid-row: 1 / span 3;
}

.gallery-card--3 {
    grid-column: 3;
    grid-row: 1 / span 2;
}

.gallery-card--4 {
    grid-column: 4;
    grid-row: 1;
}

.gallery-card--5 {
    grid-column: 1;
    grid-row: 3 / span 2;
}

.gallery-card--6 {
    grid-column: 2;
    grid-row: 4;
}

.gallery-card--8 {
    grid-column: 3;
    grid-row: 3 / span 2;
}

.gallery-card--7 {
    grid-column: 4;
    grid-row: 2 / span 3;
}

.gallery-card--outlined {
    outline: 1px solid #2ea6dc;
    outline-offset: -1px;
    box-shadow:
            0 0 0 1px rgba(46, 166, 220, 0.18),
            0 14px 32px rgba(0, 0, 0, 0.28);
}

.gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.02) 0%,
            rgba(0, 0, 0, 0.06) 100%
    );
    pointer-events: none;
}

/* tablet */
@media (max-width: 1100px) {
    .gallery-section {
        padding: 48px 0 64px;
    }

    .gallery-section__inner {
        width: min(1280px, calc(100% - 48px));
    }

    .gallery-section__logo {
        left: 25px;
    }

    .gallery-section__head {
        margin-bottom: 28px;
    }

    .gallery-section__title {
        font-size: 38px;
    }

    .gallery-collage {
        margin-left: 26px;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 220px 180px 180px 180px;
        gap: 10px;
    }

    .gallery-card--1 {
        grid-column: 1;
        grid-row: 1;
    }

    .gallery-card--2 {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .gallery-card--3 {
        grid-column: 3;
        grid-row: 1;
    }

    .gallery-card--4 {
        grid-column: 3;
        grid-row: 2;
    }

    .gallery-card--5 {
        grid-column: 1;
        grid-row: 2 / span 2;
    }

    .gallery-card--6 {
        grid-column: 2;
        grid-row: 3;
    }

    .gallery-card--8 {
        grid-column: 3;
        grid-row: 3;
    }

    .gallery-card--7 {
        grid-column: 1 / span 3;
        grid-row: 4;
    }
}

/* mobile */
@media (max-width: 700px) {
    .gallery-section {
        padding: 38px 0 48px;
    }

    .gallery-section__inner {
        width: calc(100% - 28px);
    }

    .gallery-section__logo {
       display: none;
    }

    .gallery-section__title {
        max-width: 100%;
        font-size: 30px;
        line-height: 1.08;
    }

    .gallery-card img {
        max-height: 274px;
    }

    .gallery-collage {
        margin-left: 0;
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 10px;
    }

    .gallery-card,
    .gallery-card--1,
    .gallery-card--2,
    .gallery-card--3,
    .gallery-card--4,
    .gallery-card--5,
    .gallery-card--6,
    .gallery-card--7,
    .gallery-card--8 {
        grid-column: auto;
        grid-row: auto;
        min-height: 210px;
    }

    .gallery-card--2,
    .gallery-card--7 {
        min-height: 280px;
    }
}

.follow-section {
    background: #e7e7e7;
    padding: 180px 0 180px;
    color: #1f1f1f;
}

.follow-section__inner {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.follow-section__head {
    margin-bottom: 26px;
    text-align: center;
}

.follow-section__title {
    margin: 0 0 46px;
    font-size: 47px;
    line-height: 57px;
    font-family: var(--font-expanded-bold-italic);
    color: #1C1617;
}

.follow-section__text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 29px;
    line-height: 35px;
    color: #1C1617;
    font-family: var(--font-light-italic);
}

.follow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-bottom: 86px;
    align-items: start;
}

.follow-card {
    display: block;
    text-decoration: none;
    border: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.follow-card img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

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

.follow-card:focus-visible {
    outline: 2px solid #2b2528;
    outline-offset: 4px;
}

.follow-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
}

.follow-socials__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 70px;
    height: auto;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.follow-socials__link svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.follow-socials__link:hover {
    opacity: 0.7;
    transform: translateY(-1px);
}

.follow-socials__link:focus-visible {
    outline: 2px solid #2b2528;
    outline-offset: 3px;
}

/* tablet */
@media (max-width: 900px) {
    .follow-section {
        padding: 40px 0 36px;
    }

    .follow-section__inner {
        width: min(1120px, calc(100% - 36px));
    }

    .follow-section__title {
        font-size: 48px;
    }

    .follow-section__text {
        font-size: 18px;
    }

    .follow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .follow-card:last-child {
        grid-column: 1 / -1;
        max-width: 375px;
        justify-self: center;
    }
}

/* mobile */
@media (max-width: 640px) {
    .follow-section {
        padding: 34px 0 34px;
    }

    .follow-section__inner {
        width: calc(100% - 24px);
    }

    .follow-section__head {
        margin-bottom: 20px;
    }

    .follow-section__title {
        margin-bottom: 10px;
        font-size: 38px;
    }

    .follow-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 22px;
    }

    .follow-card:last-child {
        grid-column: auto;
        max-width: none;
        justify-self: auto;
    }

    .follow-socials {
        gap: 10px;
        flex-wrap: wrap;
    }

    .follow-socials__link img {
        max-width: 25px;
    }
}

.contact-form-section {
    background: #e7e7e7;
    padding: 72px 0;
}

.contact-form-section__inner {
    width: min(1310px, calc(100% - 64px));
    margin: 0 auto;
}

.contact-card {
    background: #e4002b;
    box-shadow: 0 36px 70px rgba(126, 41, 57, 0.18);
    padding: 72px 150px 72px;
}

.contact-card__head {
    text-align: center;
    margin-bottom: 42px;
}

.contact-card__title {
    margin: 0 0 13px;
    color: #fff;
    font-size: 47px;
    line-height: 57px;
    font-family: var(--font-expanded-bold-italic);
}

.contact-card__text {
    margin: 0 auto;
    max-width: 820px;
    color: #FFFFFF;
    font-size: 29px;
    line-height: 35px;
    font-family: var(--font-light-italic);
}

.contact-form {
    margin: 0 auto;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: 415px 1fr;
    gap: 16px;
    align-items: start;
}

.contact-form__col--left {
    display: grid;
    gap: 10px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    margin: 0 0 5px;
    color: #fff;
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 0;
    border-radius: 0;
    background: #efefef;
    color: #3a3a3a;
    font: inherit;
    box-sizing: border-box;
    outline: none;
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-field input {
    height: 49px;
    padding: 0 14px;
}

.form-field textarea {
    min-height: 308px;
    padding: 26px;
    resize: vertical;
    line-height: 1.45;
}

.form-field input:focus,
.form-field textarea:focus {
    box-shadow: inset 0 0 0 2px rgba(0, 199, 177, 0.9);
    background: #f7f7f7;
}

.contact-form__options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 32px;
    flex-wrap: wrap;
    color: #fff;
}

.contact-form__options-label {
    font-size: 15px;
    line-height: 1.2;
}

.choice {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    cursor: pointer;
    color: #fff;
}

.choice__text {
    font-size: 15px;
    line-height: 1;
}

.choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice__box {
    width: 19px;
    height: 19px;
    background: #efefef;
    display: inline-block;
    box-sizing: border-box;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.choice input:checked + .choice__box {
    background: #00c7b1;
}

.choice input:focus-visible + .choice__box {
    box-shadow: 0 0 0 2px #fff;
}

.contact-form__consent {
    max-width: 500px;
    margin: 23px auto 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    line-height: 1.35;
}

.contact-form__submit {
    display: flex;
    justify-content: center;
    margin-top: 43px;
}

/* button */
.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.btn:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

.btn--secondary {
    background-image: url("../img/btn-secondary.svg");
}

/* tablet */
@media (max-width: 1100px) {
    .contact-form-section {
        padding: 52px 0;
    }

    .contact-form-section__inner {
        width: calc(100% - 40px);
    }

    .contact-card {
        padding: 46px 44px 40px;
    }

    .contact-card__head {
        margin-bottom: 34px;
    }

    .contact-card__title {
        font-size: 48px;
    }

    .contact-card__text {
        font-size: 18px;
        max-width: 700px;
    }

    .contact-form__grid {
        grid-template-columns: 280px 1fr;
    }
}

/* mobile */
@media (max-width: 760px) {
    .contact-form-section {
        padding: 28px 0;
    }

    .contact-form-section__inner {
        width: calc(100% - 20px);
    }

    .contact-card {
        padding: 32px 18px 28px;
    }

    .contact-card__head {
        margin-bottom: 24px;
    }

    .contact-card__title {
        font-size: 38px;
    }

    .contact-card__text {
        font-size: 17px;
        line-height: 1.35;
    }

    .contact-form {
        max-width: none;
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contact-form__col--left {
        gap: 8px;
    }

    .form-field label {
        font-size: 14px;
    }

    .form-field input {
        height: 46px;
    }

    .form-field textarea {
        min-height: 220px;
        padding: 14px 14px;
    }

    .contact-form__options {
        margin-top: 18px;
        gap: 10px 14px;
    }

    .contact-form__options-label {
        width: 100%;
        text-align: center;
    }

    .contact-form__consent {
        margin-top: 16px;
        font-size: 13px;
    }

    .contact-form__submit {
        margin-top: 22px;
    }

    .btn {
        min-width: 190px;
        height: 52px;
        padding: 0 28px;
        font-size: 16px;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.suprive-signup {
    background:
            linear-gradient(
                    90deg,
                    rgba(0, 0, 0, 0.18) 0%,
                    rgba(0, 0, 0, 0.05) 20%,
                    rgba(0, 0, 0, 0.08) 100%
            ),
            url("../img/dark-bg.png") center / cover no-repeat;
    padding: 54px 0;
    margin-top: 180px;
    margin-bottom: 180px;
}

.suprive-signup__outer {
    width: min(1510px, calc(100% - 40px));
    margin: 0 auto;
}

.suprive-signup__panel {
    position: relative;
    display: grid;
    grid-template-columns: 620px minmax(0, 1fr);
    align-items: center;
    min-height: 280px;

    overflow: visible;
}

.suprive-signup__media {
    position: relative;
    height: 100%;
}

.suprive-signup__packshot {
    position: absolute;
    top: 50%;
    transform: translate(-25%, -60%) scale(1.5);
    max-height: 600px;
}

.suprive-signup__content {
    position: relative;
    z-index: 3;
    padding: 36px 54px 34px 36px;
    max-width: 660px;
    color: #ffffff;
}

.suprive-signup__logo {
    display: block;
    width: 246px;
    max-width: 100%;
    height: auto;
    margin: 0 0 10px;
}

.suprive-signup__title {
    margin: 0 0 8px;
    font-size: 29px;
    line-height: 35px;
    color: #ffffff;
    font-family: var(--font-expanded-italic);
}

.suprive-signup__title span {
    font-family: var(--font-expanded-bold-italic);
}

.suprive-signup__text {
    margin: 0 0 26px;
    font-size: 18px;
    line-height: 22px;
    color: #F3F2F3;
}

.suprive-signup__note {
    margin: 0 0 11px;
    font-size: 18px;
    line-height: 22px;
    color: #F3F2F3;
}

.suprive-signup__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 0;
    max-width: 450px;
    align-items: stretch;
}

.suprive-signup__input {
    width: 100%;
    height: 34px;
    border: 0;
    border-radius: 0;
    padding: 0 16px;
    background: #ffffff;
    color: #2b2b2b;
    font-size: 15px;
    line-height: 1;
    outline: none;
    box-sizing: border-box;
    font-family: var(--font);
}

.suprive-signup__input::placeholder {
    color: #6f6f6f;
    opacity: 1;
    font-style: italic;
}

.suprive-signup__input:focus {
    box-shadow: inset 0 0 0 2px rgba(0, 199, 177, 0.95);
}

.suprive-signup__button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 18px;
    border: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    white-space: nowrap;
    font-size: 15px;
    line-height: 1;
    font-style: italic;
    font-weight: 700;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    transition: transform 0.2s ease, filter 0.2s ease;
    background-image: url("../img/btn-secondary.svg");
    left: -21px;
}

.suprive-signup__button:hover {
    filter: brightness(1.04);
}

.suprive-signup__button:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

/* širší desktop */
@media (min-width: 1500px) {
    .suprive-signup__panel {
        grid-template-columns: 650px minmax(0, 1fr);
        min-height: 282px;
    }

    .suprive-signup__packshot {
        left: 34px;
        width: 720px;
    }
}

/* tablet */
@media (max-width: 1180px) {
    .suprive-signup {
        padding: 68px 0 60px;
        margin-bottom: 90px;
        margin-top: 90px;
    }

    .suprive-signup__outer {
        width: calc(100% - 28px);
    }

    .suprive-signup__panel {
        grid-template-columns: 48% 52%;
        min-height: 260px;
    }

    .suprive-signup__packshot {
        left: 8px;
        bottom: -16px;
        width: 56vw;
        min-width: 420px;
    }

    .suprive-signup__content {
        padding: 30px 34px 30px 22px;
    }

    .suprive-signup__logo {
        width: 220px;
        margin-bottom: 10px;
    }

    .suprive-signup__title {
        font-size: 25px;
    }

    .suprive-signup__text {
        font-size: 15px;
        margin-bottom: 18px;
    }
}

/* menší tablet / větší mobil */
@media (max-width: 900px) {
    .suprive-signup {
        padding: 48px 0 46px;
    }

    .suprive-signup__panel {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .suprive-signup__media {
        display: none;
    }

    .suprive-signup__packshot {
        left: 50%;
        bottom: -6px;
        width: min(560px, 88vw);
        min-width: 0;
        transform: translateX(-56%);
    }

    .suprive-signup__content {
        padding: 22px 24px 28px;
        max-width: none;
    }

    .suprive-signup__logo {
        width: 210px;
    }

    .suprive-signup__form {
        max-width: 100%;
        grid-template-columns: minmax(0, 1fr) 130px;
    }
}

/* mobile */
@media (max-width: 640px) {
    .suprive-signup {
        padding: 32px 0 34px;
    }

    .suprive-signup__outer {
        width: calc(100% - 16px);
    }

    .suprive-signup__media {
        height: 195px;
    }

    .suprive-signup__packshot {
        width: 105%;
        max-width: 470px;
        transform: translateX(-55%);
    }

    .suprive-signup__content {
        padding: 18px 16px 22px;
    }

    .suprive-signup__logo {
        width: 178px;
        margin-bottom: 10px;
    }

    .suprive-signup__title {
        font-size: 22px;
    }

    .suprive-signup__text {
        font-size: 14px;
        line-height: 1.35;
        margin-bottom: 16px;
    }

    .suprive-signup__note {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .suprive-signup__input,
    .suprive-signup__button {
        height: 42px;
    }

    .suprive-signup__button {
        width: 100%;
        max-width: 220px;
    }
}

.experience-section {
    position: relative;
    overflow: hidden;
    min-height: 730px;
    background: #1C1C1C;
    color: #ffffff;
    isolation: isolate;
}

.experience-section__bg {
    position: absolute;
    inset: 0;
    z-index: -5;
    background: #1C1C1C;
}

.experience-section__bottom-cut {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 235px;
    clip-path: polygon(0 92%, 100% 0, 100% 100%, 0 100%);
    background: #e7e7e7;
    z-index: 4;
}

.experience-section__red-shape {
    position: absolute;
    left: -910px;
    bottom: -366px;
    width: 100%;
    aspect-ratio: 2758 / 1807;
    background: url("../img/RED 2.png") left bottom / contain no-repeat;
    z-index: 0;
    pointer-events: none;
}

.experience-section__inner {
    position: relative;
    width: min(1520px, calc(100% - 48px));
    min-height: 730px;
    margin: 0 auto;
}

.experience-section__people {
    position: absolute;
    inset: 0;
    pointer-events: none;
    left: -100px;
}

.experience-section__person {
    position: absolute;
    bottom: 42px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.18));
}

.experience-section__person--front {
    left: 58px;
    width: min(430px, 31vw);
    z-index: 3;
    top: 85px;
}

.experience-section__person--back {
    left: 236px;
    width: min(365px, 26vw);
    z-index: 2;
    top: 140px;
}

.experience-section__content {
    position: relative;
    z-index: 4;
    max-width: 470px;
    margin-left: 800px;
    padding-top: 134px;
    padding-right: 230px;
}

.experience-section__title {
    margin: 0 0 28px;
    font-size: 47px;
    font-family: var(--font-expanded-bold-italic);
    line-height: 57px;
    color: #ffffff;
    min-width: 331px;
    text-wrap: balance;
}

.experience-section__text {
    margin: 0;
    font-size: 18px;
    line-height: 22px;
    min-width: 557px;
    color: #F3F2F3;
}

.experience-section__text a {
    color: #00C7B1;
    transition: all 0.2s ease;
    text-decoration: none;
}

.experience-section__text a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.experience-section__text a:focus-visible {
    outline: 2px solid #00c7b1;
    outline-offset: 2px;
}

.experience-section__watermark {
    position: absolute;
    right: 122px;
    bottom: 56px;
    width: 142px;
    z-index: 4;
    pointer-events: none;
}

.experience-section__watermark img {
    display: block;
    width: 100%;
    height: auto;
}

/* širší desktop */
@media (min-width: 1600px) {
    .experience-section {
        min-height: 760px;
    }

    .experience-section__inner {
        min-height: 760px;
    }

    .experience-section__content {
        padding-top: 100px;
        padding-right: 260px;
    }
}

/* tablet */
@media (max-width: 1180px) {
    .experience-section {
        min-height: 670px;
    }

    .experience-section__inner {
        width: calc(100% - 32px);
        min-height: 670px;
    }

    .experience-section__bottom-cut {
        height: 200px;
    }

    .experience-section__red-shape {
        bottom: -192px;
        left: -510px;
    }

    .experience-section__person--front {
        left: 10px;
        width: min(360px, 36vw);
    }

    .experience-section__person--back {
        left: 220px;
        width: min(300px, 28vw);
    }

    .experience-section__content {
        max-width: 420px;
        padding-top: 110px;
        padding-right: 56px;
        margin-left: 500px;
    }

    .experience-section__title {
        margin-bottom: 22px;
    }

    .experience-section__text {
        font-size: 16px;
        min-width: auto;
    }

    .experience-section__watermark {
        right: 52px;
        bottom: 38px;
        width: 118px;
    }
}

/* menší tablet */
@media (max-width: 900px) {
    .experience-section {
        min-height: auto;
    }

    .experience-section__inner {
        min-height: 0;
        padding-top: 54px;
        padding-bottom: 220px;
    }

    .experience-section__content {
        max-width: 100%;
        position: relative;
        margin-left: 400px;
        z-index: 5;
    }

    .experience-section__title {
        max-width: 460px;
        font-size: 46px;
        margin-bottom: 20px;
    }

    .experience-section__text {
        max-width: 520px;
        font-size: 16px;
    }

    .experience-section__people {
        position: absolute;
        height: 520px;
        margin-top: 24px;
    }

    .experience-section__person {
        bottom: 0;
    }

    .experience-section__person--front {
        left: 0;
        width: min(340px, 50vw);
        top: 200px;
    }

    .experience-section__person--back {
        left: min(190px, 28vw);
        width: min(280px, 42vw);
        top: 290px;
    }

    .experience-section__red-shape {
        bottom: -177px;
        left: -50px;
    }

    .experience-section__bottom-cut {
        height: 175px;
    }

    .experience-section__watermark {
        right: 28px;
        bottom: 32px;
        width: 110px;
    }
}

@media (max-width: 820px) {
    .experience-section__person--front {
        top: 250px;
    }

    .experience-section__person--back {
        top: 340px;
    }
}

@media (max-width: 765px) {
    .experience-section__person--front {
        position: relative;
        top: 0;
        left: 0;
    }

    .experience-section__person--back {
        position: relative;
        top: 0;
        left: 0;
    }

    .experience-section__people {
        position: relative;
        top: 0;
        left: 0;
        height: auto;
        margin-top: 0;
        margin-bottom: 40px;
    }
}

/* mobile */
@media (max-width: 640px) {
    .experience-section__inner {
        width: calc(100% - 20px);
        padding-top: 38px;
        padding-bottom: 140px;
    }

    .experience-section__title {
        font-size: 34px;
        line-height: 0.98;
        margin-bottom: 16px;
    }

    .experience-section__text {
        font-size: 14px;
        line-height: 1.5;
        max-width: none;
    }

    .experience-section__red-shape {
        bottom: -177px;
        left: -276px;
    }

    .experience-section__content {
        margin-left: 5px;
        padding: 0;
    }

    .experience-section__bottom-cut {
        height: 120px;
        clip-path: polygon(0 82%, 100% 0, 100% 100%, 0 100%);
    }

    .experience-section__watermark {
        right: 16px;
        bottom: 16px;
        width: 84px;
    }
}

.audience-section {
    
    padding: 44px 0 54px;
    color: #1f1a1c;
}

.audience-section__inner {
    width: min(1220px, calc(100% - 54px));
    margin: 0 auto;
}

.audience-section__head {
    text-align: center;
    margin-bottom: 95px;
}

.audience-section__title {
    margin: 0 0 15px;
    font-size: 76px;
    font-family: var(--font-expanded-bold-italic);
    line-height: 91px;
    letter-spacing: 0.005em;
    color: #1C1617;
}

.audience-section__text {
    max-width: 750px;
    font-family: var(--font-light-italic);
    margin: 0 auto;
    font-size: 29px;
    line-height: 35px;
    color: #1C1617;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 100px;
    align-items: start;
}

.audience-item {
    display: grid;
    grid-template-columns: 232px 1fr;
    column-gap: 18px;
    align-items: start;
    min-width: 0;
}

.audience-item__media {
    position: relative;
    width: 232px;
    aspect-ratio: 108 / 176;
    margin: 0;
    overflow: hidden;
}

.audience-item__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
}

/* barevný klín dole vlevo */
.audience-item__media::after {
    content: "";
    position: absolute;
    left: -33px;
    bottom: -238px;
    width: 100%;
    height: 100%;
    transform: rotate(180deg);
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.audience-item__media--red::after {
    background-image: url("../img/red_3.png");
}

.audience-item__media--turq::after {
    background-image: url("../img/turq_3.png");
}

.audience-item__content {
    min-width: 0;
    padding-top: 2px;
}

.audience-item__title {
    margin: 0 0 10px;
    font-size: 45px;
    font-family: var(--font-expanded-bold-italic);
    line-height: 55px;
    color: #1C1617;
}

.audience-item__title span {
    font-family: var(--font-expanded-italic);
    font-size: 0.72em;
    font-weight: 400;
}

.audience-item__copy {
    max-width: 398px;
}

.audience-item__copy p {
    margin: 0;
    font-size: 18px;
    line-height: 22px;
    color: #1C1617;
}

.audience-item__copy a {
    color: #00C7B1;
    text-decoration: none;
}

.audience-item__copy a:hover {
    opacity: 0.8;
}

.audience-item__copy a:focus-visible {
    outline: 2px solid #00bfae;
    outline-offset: 2px;
}

.audience-item__copy--outlined {
    padding: 7px 8px;
    border: 2px solid #78b9ff;
}

.audience-section__cta {
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

/* button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 45px;
    padding: 0 32px;
    border: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    font-size: 18px;
    line-height: 1;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.btn:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

/* tablet */
@media (max-width: 1100px) {
    .audience-section {
        padding: 40px 0 48px;
    }

    .audience-section__inner {
        width: calc(100% - 36px);
    }

    .audience-section__head {
        margin-bottom: 36px;
    }

    .audience-section__title {
        font-size: 48px;
    }

    .audience-grid {
        column-gap: 34px;
        row-gap: 36px;
    }

    .audience-item__media::after {
        bottom: -104px;
    }

    .audience-item {
        grid-template-columns: 96px 1fr;
        column-gap: 16px;
    }

    .audience-item__media {
        width: 96px;
    }

    .audience-item__title {
        font-size: 26px;
    }

    .audience-item__copy {
        max-width: 100%;
    }
}

/* mobile */
@media (max-width: 760px) {
    .audience-section {
        padding: 32px 0 40px;
    }

    .audience-section__inner {
        width: calc(100% - 22px);
    }

    .audience-section__head {
        margin-bottom: 28px;
    }

    .audience-section__title {
        font-size: 30px;
        line-height: 1;
    }

    .audience-section__text {
        font-size: 18px;
        line-height: 20px;
        max-width: 420px;
    }

    .audience-grid {
        grid-template-columns: 1fr;
        row-gap: 28px;
    }

    .audience-item {
        grid-template-columns: 88px 1fr;
        column-gap: 14px;
    }

    .audience-item__media {
        width: 88px;
    }

    .audience-item__media::after {
        bottom: -96px;
    }

    .audience-item__title {
        font-size: 23px;
        line-height: 23px;
        margin-bottom: 8px;
    }

    .audience-item__copy p {
        font-size: 13px;
        line-height: 1.45;
    }

    .audience-item__copy--outlined {
        padding: 6px 7px;
        border-width: 2px;
    }

    .audience-section__cta {
        margin-top: 26px;
    }

    .btn {
        min-width: 190px;
        height: 52px;
        padding: 0 28px;
        font-size: 16px;
    }
}

.ticker-section {
    margin-top: 100px;
    overflow: hidden;
    padding-top: 18px;
}

.ticker-section.--second {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 20px;
}

.ticker {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.ticker__track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    animation: ticker-scroll 26s linear infinite;
}

.ticker__item,
.ticker__sep {
    display: inline-block;
    flex: 0 0 auto;
    font-family: var(--font-expanded-bold-italic);
    font-size: 139px;
    color: #1C1617;
}

.ticker__item {
    
    font-size: clamp(54px, 8vw, 106px);
}

.ticker__sep {
    font-size: clamp(54px, 8vw, 106px);
    margin: 0 34px;
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* tablet */
@media (max-width: 1024px) {
    .ticker-section {
        padding: 14px 0 16px;
    }

    .ticker__sep {
        margin: 0 24px;
    }

    .ticker__track {
        animation-duration: 22s;
    }
}

/* mobile */
@media (max-width: 640px) {
    .ticker-section {
        margin-top: 50px;
        padding: 10px 0 12px;
    }

    .ticker__item,
    .ticker__sep {
        line-height: 0.95;
    }

    .ticker__item {
        font-size: clamp(34px, 10vw, 52px);
    }

    .ticker__sep {
        font-size: clamp(34px, 10vw, 52px);
        margin: 0 16px;
    }

    .ticker__track {
        animation-duration: 18s;
    }
}

/* accessibility */
@media (prefers-reduced-motion: reduce) {
    .ticker__track {
        animation: none;
        transform: translateX(0);
    }
}

.references-section {
    margin-top: 100px;
    
    padding: 34px 0 50px;
    overflow: hidden;
}

.references-section__inner {
    width: min(1280px, calc(100% - 44px));
    margin: 0 auto;
}

.references-section__head {
    text-align: center;
    margin-bottom: 28px;
}

.references-section__title {
    margin: 0 0 6px;
    font-size: 47px;
    font-family: var(--font-expanded-bold-italic);
    line-height: 57px;
    color: #1C1617;
}

.references-section__subtitle {
    margin: 0;
    font-size: 29px;
    font-family: var(--font-light-italic);
    line-height: 35px;
    color: #1C1617;
}

.references-logos {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 18px;
    align-items: center;
    max-width: 1350px;
    margin: 0 auto 70px;
}

.references-logos__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 104px;
    text-decoration: none;
}

.references-logos__item img {
    display: block;
    max-width: 120px;
    max-height: 104px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
}

.references-slider {
    position: relative;
}

.references-slider__track {
    display: flex;
    gap: 21px;
    transition: transform 0.45s ease;
    will-change: transform;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
}

[data-slider].is-dragging .references-slider__track {
    cursor: grabbing;
    transition: none;
}

.reference-card {
    flex: 0 0 calc(50% - 7px);
    min-width: 0;
    display: grid;
    grid-template-columns: 278px 1fr;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08),
                0 20px 40px rgba(0,0,0,0.12);
    max-height: 378px;
}

.reference-card__image {
    position: relative;
    min-height: 180px;
    background: #ddd;
    clip-path: polygon(0 0, 100% 0, 65% 100%, 0% 100%);
}

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

.reference-card__content {
    display: flex;
    flex-direction: column;
    padding: 22px 26px 18px 22px;
    min-width: 0;
}

.reference-card__name {
    margin: 0 0 2px;
    font-size: 29px;
    font-family: var(--font-bold);
    line-height: 35px;
    color: #1C1617;
}

.reference-card__meta {
    margin: 0 0 20px;
    font-size: 18px;
    line-height: 22px;
    color: #ADA6A8;
}

.reference-card__text {
    margin: 0;
    font-size: 18px;
    line-height: 22px;
    color: #1C1617;
}

.reference-card__signature {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    padding-top: 12px;
}

.reference-card__signature img {
    display: block;
    max-width: 120px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.references-slider__controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 35px;
}

.references-slider__arrow {
    width: 38px;
    height: 43px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.references-slider__arrow span {
    display: block;
    width: 100%;
    height: 100%;
    clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.references-slider__arrow--prev span {
    background: #C4BFC1;
}

.references-slider__arrow--next span {
    background: #e4002b;
}

.references-slider__arrow--prev {
    transform: scaleX(-1);
}

.references-slider__arrow:hover {
    opacity: 0.8;
}

.references-slider__arrow:active {
    transform: scaleX(var(--scale-x, 1)) translateY(1px);
}

.references-slider__arrow--prev {
    --scale-x: -1;
    transform: scaleX(-1);
}

.references-slider__arrow--next {
    --scale-x: 1;
    transform: none;
}

/* tablet */
@media (max-width: 1100px) {
    .references-section {
        margin-top: 90px;
        padding: 30px 0 38px;
    }

    .references-section__inner {
        width: calc(100% - 30px);
    }

    .references-logos {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: 520px;
        gap: 14px 18px;
        margin-bottom: 28px;
    }

    .reference-card {
        flex-basis: 100%;
    }

    .reference-card__name {
        font-size: 24px;
    }
}

/* mobile */
@media (max-width: 680px) {
    .references-section {
        padding: 26px 0 30px;
        margin-top: 50px;
    }

    .references-section__inner {
        width: calc(100% - 18px);
    }

    .references-section__head {
        margin-bottom: 20px;
    }

    .references-section__title {
        font-size: 30px;
    }

    .references-section__subtitle {
        font-size: 18px;
    }

    .references-logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px 12px;
        margin-bottom: 22px;
    }

    .references-logos__item {
        min-height: 48px;
    }

    .references-logos__item img {
        max-height: 46px;
    }

    .reference-card {
        grid-template-columns: 92px 1fr;
    }

    .reference-card__image {
        min-height: 160px;
    }

    .reference-card__content {
        padding: 16px 14px 14px 14px;
    }

    .reference-card__name {
        font-size: 20px;
    }

    .reference-card__meta {
        margin-bottom: 10px;
        font-size: 12px;
    }

    .reference-card__text {
        font-size: 12px;
        line-height: 1.4;
    }

    .reference-card__signature img {
        max-width: 92px;
        max-height: 30px;
    }

    .references-slider__controls {
        margin-top: 14px;
        gap: 12px;
    }

    .references-slider__arrow {
        width: 24px;
        height: 20px;
    }
}
@media (max-width: 350px) {
    .reference-card {
        max-height: 550px;
    }
}

.site-footer {
    position: relative;
    overflow: hidden;
    color: #1C1617;
    padding: 34px 0 26px;
    height: 275px;
    isolation: isolate;
}

.site-footer__watermark {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.site-footer__watermark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.site-footer__inner {
    position: relative;
    z-index: 1;
    width: min(1260px, calc(100% - 48px));
    margin: 0 auto;
}

.site-footer__top {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1.25fr 1fr;
    column-gap: 42px;
    row-gap: 28px;
    align-items: start;
}

.site-footer__col {
    font-size: 18px;
    line-height: 22px;
}

.site-footer__col ul {
    padding: 0;
    margin: 0;
}

.site-footer__col ul li {
    list-style: none;
}

.site-footer__col p,
.site-footer__col a,
.site-footer__social-title {
    margin: 0;
    color: #4a4345;
    text-decoration: none;
}

.site-footer__col p + p,
.site-footer__col a + a {
    margin-top: 4px;
}

.site-footer__col--links {
    display: flex;
    flex-direction: column;
}

.site-footer__col a:hover {
    opacity: 0.75;
}

.site-footer__col a:focus-visible,
.site-footer__socials a:focus-visible {
    outline: 2px solid #8f8789;
    outline-offset: 2px;
}

.site-footer__col--places p {
    position: relative;
    padding-left: 18px;
}

.site-footer__col--places p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 10px;
    height: 14px;
    background: currentColor;
    opacity: 0.38;
    clip-path: path("M5 0C2.24 0 0 2.24 0 5c0 3.75 5 9 5 9s5-5.25 5-9c0-2.76-2.24-5-5-5Zm0 7.1A2.1 2.1 0 1 1 5 2.9a2.1 2.1 0 0 1 0 4.2Z");
}

.site-footer__social-title {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 400;
    text-align: left;
}

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

.site-footer__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    color: #8a8285;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-footer__socials a svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    display: block;
}

.site-footer__socials a:hover {
    opacity: 0.72;
    transform: translateY(-1px);
}

.site-footer__bottom {
    margin-top: 84px;
    text-align: center;
}

.site-footer__bottom p {
    margin: 0;
    font-size: 18px;
    line-height: 22px;
    color: #C4BFC1;
}

/* tablet */
@media (max-width: 1100px) {
    .site-footer {
        padding: 30px 0 34px;
        height: auto;
    }

    .site-footer__inner {
        width: calc(100% - 32px);
    }

    .site-footer__top {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 15px;
        row-gap: 22px;
    }

    .site-footer__col--social {
        grid-column: 1 / -1;
        margin: 0 auto;
    }

    .site-footer__bottom {
        margin-top: 42px;
    }
}

@media (max-width: 915px) {
    .site-footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 42px;
        row-gap: 22px;
    }
}

/* mobile */
@media (max-width: 650px) {
    .site-footer__col {
        font-size: 16px;
    }
}

@media (max-width: 370px) {
    .site-footer {
        padding: 24px 0 28px;
        height: auto;
    }

    .site-footer__inner {
        width: calc(100% - 20px);
    }

    .site-footer__top {
        grid-template-columns: 1fr;
        row-gap: 18px;
    }

    .site-footer__col {
        font-size: 18px;
    }

    .site-footer__social-title {
        margin-bottom: 8px;
    }

    .site-footer__col--social {
        margin: 0;
    }

    .site-footer__bottom {
        margin-top: 26px;
    }

    .site-footer__bottom p {
        font-size: 13px;
        line-height: 1.35;
    }
}