/* ========================================
   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 .shade {
        background: rgba(0, 0, 0, 0.78);
    }

    .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;
    }
}
