/* ========================================
   Mehrateam Red Theme
   ======================================== */

:root {
    --color-red: #e85a4f;
    --color-red-hover: #d44b40;
    --color-black: #1a1a1a;
    --color-gray: #f0f0f0;
    --color-gray-text: #8c8c8c;
    --color-blue: #2b5cff;
    --color-white: #ffffff;
    --nav-height: 72px;
    --slider-btn-size: 48px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-black);
    background: var(--color-white);
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

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

.uk-container {
    max-width: 1200px;
}


/* ----------------------------------------
   Global
---------------------------------------- */

.w-200{
    width: 200px;
}

/* ----------------------------------------
   Navbar
---------------------------------------- */

.navbar {
    position: relative;
    z-index: 100;
    background: var(--color-white);
}

.navbar .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--nav-height);
    padding: 0 24px;
}

.navbar .logo {
    display: block;
    width: 50px;
    height: 50px;
}

.navbar .nav {
    display: none;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar .nav .link {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-black);
    padding-bottom: 4px;
}

.navbar .nav .link:hover {
    color: var(--color-red);
}

.navbar .nav .link.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--color-red);
}

.navbar .actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar .lang {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-black);
    cursor: pointer;
}

.navbar .lang .flag {
    width: 20px;
    height: 14px;
    border-radius: 1px;
}

.navbar .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--color-black);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.navbar .icon:hover {
    color: var(--color-red);
}

.navbar .icon svg {
    width: 22px;
    height: 22px;
}

.navbar .cta {
    display: none;
}

.navbar .toggle {
    display: inline-flex;
}

/* Offcanvas */

.navbar .offcanvas .uk-offcanvas-bar {
    background: var(--color-white);
    color: var(--color-black);
    padding: 40px 28px;
}

.navbar .offcanvas .nav {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar .offcanvas .nav li + li {
    margin-top: 20px;
}

.navbar .offcanvas .link {
    font-size: 18px;
    font-weight: 600;
}

.navbar .offcanvas .link.active {
    color: var(--color-red);
}

.navbar .offcanvas .cta {
    display: block;
    margin-top: 32px;
}

@media (min-width: 960px) {
    .navbar .inner {
        padding: 0 40px;
    }

    .navbar .nav {
        display: flex;
    }

    .navbar .lang,
    .navbar .cta {
        display: inline-flex;
    }

    .navbar .lang {
        height: 40px;
        padding: 0 12px;
        border: 1px solid #d9d9d9;
    }

    .navbar .actions > a.icon {
        width: 40px;
        height: 40px;
        border: 1px solid #d9d9d9;
    }

    .navbar .toggle {
        display: none;
    }
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}

.btn.primary {
    background: var(--color-red);
    color: var(--color-white);
    padding: 12px 22px;
}

.btn.primary:hover {
    background: var(--color-red-hover);
    color: var(--color-white);
}

.btn.outline {
    background: transparent;
    color: var(--color-black);
    border: 1px solid var(--color-black);
    padding: 12px 28px;
}

.btn.outline:hover {
    background: var(--color-black);
    color: var(--color-white);
}

.slider-nav {
    display: inline-flex;
    line-height: 0;
}

.slider-nav .prev,
.slider-nav .next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--slider-btn-size);
    height: var(--slider-btn-size);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.slider-nav .prev {
    background: var(--color-black);
}

.slider-nav .next {
    background: var(--color-red);
}

.slider-nav .prev:hover,
.slider-nav .next:hover {
    opacity: 0.85;
    color: var(--color-white);
}

.slider-nav svg {
    width: 16px;
    height: 16px;
}

/* ----------------------------------------
   Hero
   ---------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
}

.hero .items {
    min-height: 640px;
}

.hero .slide {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "content"
        "media"
        "tagline";
    height: 100%;
    min-height: 640px;
}

.hero .content {
    grid-area: content;
    position: relative;
    background: var(--color-gray);
    padding: 40px 24px 32px 48px;
}

.hero .dots {
    position: absolute;
    left: 18px;
    top: 48px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero .dots .dot {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-black);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero .dots > .uk-active > .dot {
    background: var(--color-red);
    transform: scale(1.15);
}

.hero .label {
    display: block;
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-black);
}

.hero .title {
    margin: 0 0 28px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-black);
    max-width: 320px;
}

.hero .media {
    grid-area: media;
    position: relative;
    background: var(--color-blue);
    min-height: 280px;
}

.hero .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .tagline {
    grid-area: tagline;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--slider-btn-size);
    padding: 0 16px;
    background: var(--color-white);
    font-size: 12px;
    font-weight: 400;
    color: var(--color-gray-text);
    text-align: center;
    z-index: 100;
    margin: 0 0 0 70px;
}

.hero .tagline span {
    margin-left: 4px;
}

.hero .controls {
    position: absolute;
    left: 10px;
    bottom: 20px;
    z-index: 3;
}

@media (min-width: 960px) {
    .hero .items,
    .hero .slide {
        min-height: 650px;
        height: 650px;
    }

    .hero .slide {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr auto;
        grid-template-areas:
            "content media"
            "tagline media";
    }

    .hero .content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 60px 80px;
    }

    .hero .dots {
        left: 28px;
        top: 50%;
        transform: translateY(-50%);
    }

    .hero .label {
        font-size: 12px;
        letter-spacing: 0.16em;
        margin-bottom: 16px;
    }

    .hero .title {
        font-size: 44px;
        max-width: 420px;
        margin-bottom: 36px;
    }

    .hero .media {
        min-height: 100%;
        aspect-ratio: auto;
        height: 100%;
    }

    .hero .controls {
        left: 50%;
        bottom: 15px;
        transform: translateX(-50%);
    }

        .hero .tagline {
            margin: 15px 0;
        }
}

/* ----------------------------------------
   About
   ---------------------------------------- */

.about {
    padding: 48px 0 64px;
    background: var(--color-white);
}

.about .container{
    max-width: 1426px;
}

.about .layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about .media {
    position: relative;
}

.about .media img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.about .badge {
    position: absolute;
    right: 30px;
    bottom: -25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 120px;
    padding: 18px 20px;
    background: var(--color-black);
    color: var(--color-white);
}

.about .badge .years {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}

.about .badge .tag {
    margin-top: 6px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.9;
}

.about .content {
    padding: 0 24px;
    display: flex;
    flex-direction: column;
}

.about .title {
    margin: 10px 0 16px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-black);
}

.about .text {
    margin: 0 0 36px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.75;
    color: var(--color-gray-text);
}

.about .stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid transparent;
}

.about .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 16px;
}

.about .stat + .stat {
    border-left: 1px solid #e5e5e5;
}

.about .stat .value {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-black);
}

.about .stat .label {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gray-text);
}

@media (min-width: 960px) {
    .about {
        padding: 80px 0 100px;
    }

    .about .layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 56px;
        align-items: center;
    }

    .about .media img {
        aspect-ratio: 1 / 1;
    }

    .about .badge {
        min-width: 140px;
        padding: 22px 24px;
    }

    .about .badge .years {
        font-size: 32px;
    }

    .about .badge .tag {
        font-size: 11px;
    }

    .about .title {
        font-size: 32px;
        margin: 0 0 20px;
    }

    .about .text {
        font-size: 15px;
        margin-bottom: 48px;
        max-width: 480px;
    }

    .about .stat .value {
        font-size: 48px;
    }

    .about .stat .label {
        font-size: 12px;
    }
}

/* ----------------------------------------
   Features
   ---------------------------------------- */

.features {
    padding: 64px 24px;
    background: var(--color-white);
}

.features .card {
    text-align: center;
    padding: 24px 16px;
}

.features .card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--color-gray);
}

.features .card .icon img {
    width: 36px;
    height: 36px;
}

.features .card .title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-black);
}

.features .card .text {
    margin: 0 auto;
    max-width: 280px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-gray-text);
}

@media (min-width: 960px) {
    .features {
        padding: 70px 40px;
    }

    .features .card {
        padding: 16px 24px;
    }

    .features .card .title {
        font-size: 20px;
    }

    .features .card .text {
        font-size: 14px;
    }
}

/* ----------------------------------------
   Offer
   ---------------------------------------- */

.offer {
    padding: 48px 0 72px;
    background: var(--color-white);
}

.offer .container {
    position: relative;
}

.offer .title {
    margin: 0 0 28px 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-black);
}

.offer .panels {
    display: block;
    position: relative;
}

.offer .panel {
    position: relative;
    display: none;
    overflow: hidden;
    min-height: 420px;
    color: var(--color-white);
    background: var(--color-black);
    outline: none;
}

.offer .panel.is-active {
    display: block;
}

.offer .media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.offer .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 0.55s ease;
}

.offer .shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.70);
    transition: background 0.45s ease;
}

.offer .body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 420px;
    height: 100%;
    padding: 88px 24px 40px;
}

.offer .icon {
    position: absolute;
    top: 24px;
    right: 24px;
    display: inline-flex;
    width: 40px;
    height: 40px;
    color: var(--color-white);
}

.offer .icon svg {
    width: 100%;
    height: 100%;
}

.offer .name-vertical {
    display: none;
}

.offer .detail {
    max-width: 28em;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.offer .label {
    display: block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.92);
}

.offer .text {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-white);
}

.offer .panel.is-active .media img {
    transform: scale(1);
}

.offer .nav {
    position: absolute;
    right: 24px;
    bottom: -24px;
    display: flex;
    z-index: 3;
}

.offer .nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: var(--color-white);
    transition: background 0.2s ease;
}

.offer .nav-btn svg {
    width: 16px;
    height: 16px;
}

.offer .nav-btn.prev {
    background: var(--color-black);
}

.offer .nav-btn.next {
    background: var(--color-red);
}

.offer .nav-btn.prev:hover {
    background: #111;
}

.offer .nav-btn.next:hover {
    background: var(--color-red-hover);
}

@media (min-width: 960px) {
    .offer {
        padding: 70px 0;
    }

    .offer .title {
        margin: 0 0 40px 0;
        font-size: 36px;
    }

    .offer .panels {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 10px;
        height: 520px;
    }

    .offer .panel {
        display: block;
        flex: 1 1 0;
        width: 0;
        min-width: 0;
        min-height: 0;
        height: 100%;
        cursor: pointer;
        transition: flex-grow 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .offer .panels:not(:hover):not(:focus-within) .panel.is-active,
    .offer .panel:hover,
    .offer .panel:focus-within {
        flex-grow: 6.5;
    }

    .offer .media img {
        transform: scale(1.14);
    }

    .offer .body {
        justify-content: space-between;
        min-height: 0;
        padding: 28px 22px;
    }

    .offer .icon {
        position: static;
        align-self: flex-start;
        width: 48px;
        height: 48px;
    }

    .offer .name-vertical {
        display: block;
        position: absolute;
        left: 22px;
        bottom: 28px;
        margin: 0;
        font-size: 15px;
        font-weight: 600;
        letter-spacing: 0.04em;
        white-space: nowrap;
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        opacity: 1;
        transition: opacity 0.25s ease;
    }

    .offer .detail {
        position: absolute;
        left: 28px;
        right: 28px;
        bottom: 32px;
        max-width: 34em;
        opacity: 0;
        pointer-events: none;
        transform: translateY(12px);
    }

    .offer .label {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .offer .text {
        font-size: 26px;
        line-height: 1.3;
    }

    .offer .panels:not(:hover):not(:focus-within) .panel.is-active .detail,
    .offer .panel:hover .detail,
    .offer .panel:focus-within .detail {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        transition-delay: 0.12s;
    }

    .offer .panels:not(:hover):not(:focus-within) .panel.is-active .name-vertical,
    .offer .panel:hover .name-vertical,
    .offer .panel:focus-within .name-vertical {
        opacity: 0;
    }

    .offer .panels:not(:hover):not(:focus-within) .panel.is-active .media img,
    .offer .panel:hover .media img,
    .offer .panel:focus-within .media img {
        transform: scale(1);
    }

    .offer .nav {
        display: none;
    }
}

/* ----------------------------------------
   Services
   ---------------------------------------- */

.services {
    padding: 48px 24px;
    background: var(--color-white);
}

.services .inner {
    display: flex;
    flex-direction: column;
}

.services .label {
    display: block;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-gray-text);
}

.services .title {
    margin: 0 0 28px;
    max-width: 20em;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-black);
}

.services .cta-checkout {
    margin-bottom: 40px;
}

.services .cta-all {
    margin-top: 40px;
}

.services .groups {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.services .group .card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 100%;
    padding: 28px 24px;
    border-top: 1px solid var(--color-black);
    background: transparent;
    color: var(--color-black);
    transition: background 0.25s ease, color 0.25s ease;
}

.services .group .name {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: inherit;
    transition: color 0.25s ease;
}

.services .group .list {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.services .group .list li {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.9;
    color: inherit;
    transition: color 0.25s ease;
}

.services .group .action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-top: auto;
    background: var(--color-red);
    color: var(--color-black);
    opacity: 0;
    transition: opacity 0.25s ease, background 0.2s ease;
}

.services .group .action svg {
    width: 14px;
    height: 14px;
}

.services .group .card:hover,
.services .group .card:focus-visible {
    background: var(--color-black);
    color: var(--color-white);
    outline: none;
}

.services .group .card:hover .name,
.services .group .card:focus-visible .name,
.services .group .card:hover .list li,
.services .group .card:focus-visible .list li {
    color: var(--color-white);
}

.services .group .card:hover .action,
.services .group .card:focus-visible .action {
    opacity: 1;
}

@media (min-width: 960px) {
    .services {
        padding: 80px 40px;
    }

    .services .inner {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "label checkout"
            "title checkout"
            "all ."
            "groups groups";
        column-gap: 48px;
        align-items: start;
    }

    .services .label {
        grid-area: label;
        margin-bottom: 12px;
    }

    .services .title {
        grid-area: title;
        margin: 0 0 28px;
        max-width: 16em;
        font-size: 32px;
    }

    .services .cta-checkout {
        grid-area: checkout;
        margin: 0;
        justify-self: end;
    }

    .services .cta-all {
        grid-area: all;
        margin: 0 0 56px;
    }

    .services .groups {
        grid-area: groups;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 32px;
        row-gap: 24px;
    }

    .services .group .card {
        padding: 32px 28px;
    }

    .services .group .name {
        font-size: 20px;
    }

    .services .group .list li {
        font-size: 15px;
    }

    .services .group .action {
        width: 44px;
        height: 44px;
    }
}


/* ----------------------------------------
   Commitment
---------------------------------------- */

.commitment {
    padding: 64px 24px 80px;
    background: var(--color-white);
}

.commitment .layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.commitment .label {
    display: block;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-gray-text);
}

.commitment .title {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-black);
}

.commitment .text {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
    color: var(--color-black);
}

@media (min-width: 960px) {
    .commitment {
        padding: 100px 40px 120px;
    }

    .commitment .layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "text heading";
        column-gap: 80px;
        align-items: start;
    }

    .commitment .heading {
        grid-area: heading;
    }

    .commitment .text {
        grid-area: text;
        font-size: 16px;
        line-height: 1.8;
    }

    .commitment .label {
        margin-bottom: 18px;
    }

    .commitment .title {
        max-width: 14em;
        font-size: 36px;
        line-height: 1.25;
    }
}


/* ----------------------------------------
   Creative works
---------------------------------------- */

.works {
    padding: 48px 0 80px;
    overflow: hidden;
    background: var(--color-white);
}

.works .layout {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.works .intro {
    padding: 0 24px;
}

.works .label {
    display: block;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-gray-text);
}

.works .title {
    margin: 0;
    max-width: 12em;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-black);
}

.works .controls {
    display: none;
}

.works .viewport {
    margin-left: 24px;
}

.works .items {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.works .slide {
    width: 78vw;
    max-width: 320px;
    padding-right: 14px;
    box-sizing: border-box;
}

.works .slide img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--color-gray);
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

@media (min-width: 960px) {
    .works {
        padding: 80px 0 120px;
    }

    .works .layout {
        display: grid;
        grid-template-columns: minmax(280px, calc((min(1200px, 100% - 160px) - 80px) / 2)) minmax(0, 1fr);
        column-gap: 80px;
        align-items: center;
        max-width: none;
        /* Align with .commitment text inside .uk-container */
        padding-left: max(80px, calc((100% - 1200px) / 2));
    }

    .works .intro {
        padding: 0;
    }

    .works .title {
        margin-bottom: 40px;
        font-size: 36px;
        line-height: 1.25;
    }

    .works .controls {
        display: block;
    }

    .works .viewport {
        margin-left: 0;
        min-width: 0;
        overflow: hidden;
    }

    .works .slide {
        width: 300px;
        max-width: none;
        padding-right: 16px;
    }
}


/* ----------------------------------------
   Team
---------------------------------------- */

.team {
    padding: 48px 0 80px;
    background: var(--color-white);
    overflow: hidden;
    overflow-anchor: none;
}

.team .intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 24px 40px 24px;
}

.team .label {
    display: block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-gray-text);
}

.team .title {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-black);
}

.team .lead {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.75;
    color: var(--color-gray-text);
}

.team .join {
    align-self: flex-start;
}

.team .picker {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 10px;
    min-height: 78px;
    margin-bottom: 0;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
    bottom: -30px;
    z-index: 10;
    left: 15px;
}

.team .picker::-webkit-scrollbar {
    display: none;
}

.team .thumb {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    padding: 0;
    border: none;
    background: var(--color-gray);
    cursor: pointer;
    overflow: hidden;
    transition: width 0.28s ease, height 0.28s ease, transform 0.28s ease;
}

.team .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team .thumb.is-active {
    width: 72px;
    height: 72px;
    transform: translateY(-6px);
}

.team .feature {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #e8e8e8;
    margin-top: 8px;
    min-height: 0;
    overflow: hidden;
}

.team .portrait {
    order: -1;
    position: relative;
    background: #e8e8e8;
    overflow: hidden;
}

.team .portrait img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 2.5;
    object-fit: cover;
    object-position: right center;
    display: block;
}

.team .info {
    position: relative;
    z-index: 1;
    padding: 36px 24px 40px;
}

.team .role {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-black);
}

.team .name {
    margin: 0 0 14px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-black);
}

.team .bio {
    margin: 0 0 18px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    color: #555;
}

.team .more {
    display: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-black);
    cursor: pointer;
}

.team .more:hover {
    color: var(--color-red);
}

.team .stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 20px;
    margin: 48px 24px 0 24px;
    overflow-anchor: none;
}

.team .stat {
    text-align: center;
}

.team .ring {
    --pct: 0;
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 16px;
}

.team .ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.team .ring .track {
    fill: none;
    stroke: #e6e6e6;
    stroke-width: 2.5;
}

.team .ring .bar {
    fill: none;
    stroke: var(--color-red);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 282.74;
    stroke-dashoffset: 282.74;
    transition: stroke-dashoffset 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.team .ring .value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-black);
}

.team .stat-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-black);
}

.team .stat-text {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--color-gray-text);
}

@media (min-width: 960px) {
    .team {
        padding: 80px 40px 120px;
    }

    .team .intro {
        display: grid;
        grid-template-columns: minmax(280px, 1.1fr) minmax(240px, 1fr) auto;
        align-items: start;
        column-gap: 48px;
        margin: 0 0 56px 0;
    }

    .team .title {
        max-width: 11em;
        font-size: 36px;
        line-height: 1.25;
    }

    .team .lead {
        padding-top: 28px;
        font-size: 15px;
        line-height: 1.75;
    }

    .team .join {
        margin-top: 28px;
        justify-self: end;
    }

    .team .picker {
        justify-content: center;
        gap: 12px;
        min-height: 102px;
        overflow: visible;
        margin-bottom: -28px;
        bottom: 0;
        left: 0;
    }

    .team .thumb {
        width: 72px;
        height: 72px;
    }

    .team .thumb.is-active {
        width: 92px;
        height: 92px;
        transform: translateY(-10px);
    }

    .team .feature {
        display: block;
        min-height: 0;
        aspect-ratio: 1135 / 560;
    }

    .team .portrait {
        order: 0;
        position: absolute;
        inset: 0;
        min-height: 0;
        background: transparent;
    }

    .team .portrait img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 0;
        max-width: none;
        margin: 0;
        aspect-ratio: auto;
        object-fit: cover;
        object-position: center center;
    }

    .team .info {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-sizing: border-box;
        height: 100%;
        min-height: 0;
        padding: 64px 48px 64px 72px;
        max-width: 500px;
    }

    .team .role {
        margin-bottom: 14px;
        font-size: 13px;
    }

    .team .name {
        margin-bottom: 20px;
        font-size: 44px;
    }

    .team .bio {
        margin-bottom: 28px;
        font-size: 15px;
        line-height: 1.75;
    }

    .team .more {
        display: inline-flex;
    }

    .team .stats {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
        margin: 64px 0 0 0;
    }

    .team .ring {
        width: 130px;
        height: 130px;
        margin-bottom: 20px;
    }

    .team .ring .value {
        font-size: 32px;
    }

    .team .stat-title {
        font-size: 15px;
    }

    .team .stat-text {
        font-size: 13px;
        max-width: 18em;
        margin-inline: auto;
    }
}


/* ----------------------------------------
   Logos (clients)
---------------------------------------- */

.logos {
    padding: 48px 24px 80px;
    background: var(--color-white);
}

.logos .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 20px;
    align-items: center;
    justify-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.logos .grid li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 120px;
}

.logos .grid img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 64px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.45;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.logos .grid img:hover {
    filter: grayscale(0);
    opacity: 1;
}

@media (min-width: 960px) {
    .logos {
        padding: 64px 40px 100px;
    }

    .logos .grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 24px 40px;
    }

    .logos .grid li {
        max-width: 140px;
    }

    .logos .grid img {
        max-height: 72px;
    }
}


/* ----------------------------------------
   Footer
   Desktop proportions from Landing.svg (1920×406)
---------------------------------------- */

.footer {
    --footer-bg: #1c1c1c;
    --footer-label: #a3a3a3;
    background: var(--footer-bg);
    color: var(--color-white);
    padding: 64px 24px 72px;
}

.footer .inner {
    display: flex;
    flex-direction: column;
    gap: 56px;
    max-width: 1180px;
    margin: 0 auto;
}

.footer .logo {
    display: inline-block;
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
}

.footer .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer .tagline {
    margin: 0;
    max-width: 14em;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--color-white);
}

.footer .main {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.footer .quote {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.55;
    color: var(--color-white);
}

.footer .meta {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.footer .label {
    margin: 0 0 16px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--footer-label);
}

.footer .text {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-white);
}

.footer .info {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer .info li + li {
    margin-top: 6px;
}

.footer .info a {
    display: inline-block;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-white);
}

.footer .info a:hover {
    color: var(--color-red);
}

.footer .social {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}

.footer .social .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--color-white);
}

.footer .social .icon svg {
    width: 100%;
    height: 100%;
}

.footer .social .icon:hover {
    color: var(--color-red);
}

@media (min-width: 960px) {
    .footer {
        padding: 79px 40px;
        min-height: 406px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
    }

    .footer .inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 64px;
        width: 100%;
    }

    .footer .brand {
        flex: 0 0 200px;
        padding-top: 48px;
    }

    .footer .logo {
        width: 88px;
        height: 88px;
        margin-bottom: 14px;
    }

    .footer .tagline {
        font-size: 16px;
        line-height: 1.5;
        max-width: 12.5em;
    }

    .footer .main {
        flex: 0 1 600px;
        width: 100%;
        max-width: 600px;
        gap: 110px;
    }

    .footer .quote {
        font-size: 22px;
        line-height: 1.4;
        max-width: none;
    }

    .footer .meta {
        flex-direction: row;
        gap: 0;
    }

    .footer .visit {
        flex: 0 0 294px;
        width: 294px;
    }

    .footer .contact {
        flex: 1 1 auto;
    }

    .footer .label {
        margin-bottom: 12px;
        font-size: 12px;
        letter-spacing: 0.12em;
    }

    .footer .text,
    .footer .info a {
        font-size: 15px;
        line-height: 1.65;
    }

    .footer .info li + li {
        margin-top: 4px;
    }

    .footer .social {
        margin-top: 20px;
        gap: 18px;
    }

    .footer .social .icon {
        width: 20px;
        height: 20px;
    }
}

@media (min-width: 1200px) {
    .footer {
        padding-left: max(40px, calc((100% - 1180px) / 2));
        padding-right: max(40px, calc((100% - 1180px) / 2));
    }
}


