/* EUROSERVICE - pixel-match to reference mockup */
@font-face {
    font-family: 'TBC Contractica';
    src: url('../assets/TBCContracticaCAPS-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #FF6600;
    --primary-hover: #E55C00;
    --dark: #1A1A1A;
    --text-main: #333333;
    --text-muted: #777777;
    --bg-light: #F7F7F7;
    --white: #FFFFFF;
    --border: #E8E8E8;
    --footer-dark: #1C1C1C;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1200px;
    --header-height: 86px;
}

html[lang="ka"] {
    --font-heading: 'TBC Contractica', sans-serif;
    --font-body: 'TBC Contractica', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 12px);
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    min-width: 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-sm {
    padding: 12px 22px;
    font-size: 10px;
    letter-spacing: 0.8px;
}

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

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

.btn-whatsapp {
    background-color: #25d366;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background-color: #1da851;
}

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

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

.btn-outline {
    background-color: var(--white);
    color: var(--dark);
    border: 1px solid var(--dark);
}

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

.btn i {
    font-size: 17px;
    margin-top: -5px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-outline:hover i.fa-arrow-up-right-from-square {
    transform: translate(3px, -3px);
}

/* --- Section tags --- */
.section-tag {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 2.5px;
    margin-bottom: 16px;
    display: block;
}

.section-tag--with-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-tag--with-line::before {
    content: '';
    width: 28px;
    height: 2px;
    background-color: var(--primary);
    flex-shrink: 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.12;
    color: var(--dark);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 22px 0;
    padding-top: max(22px, env(safe-area-inset-top));
    background: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.header--scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 0 var(--border);
    padding: 14px 0;
    padding-top: max(14px, env(safe-area-inset-top));
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 23px;
    color: var(--dark);
    letter-spacing: -0.2px;
    justify-self: start;
}

.logo__text {
    flex-shrink: 0;
    white-space: nowrap;
}

.logo__suffix {
    color: var(--primary);
    font-weight: 800;
    margin-left: 3px;
}

.logo__img {
    width: auto;
    height: 52px;
    display: block;
    flex-shrink: 0;
    margin-right: 12px;
    border-radius: 4px;
    object-fit: contain;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover .logo__img {
    transform: scale(1.06);
}

.logo--footer .logo__img {
    height: 48px;
}

.nav {
    justify-self: center;
}

.nav ul {
    display: flex;
    gap: 32px;
}

.nav a {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--dark);
    letter-spacing: 0.8px;
    position: relative;
    padding-bottom: 4px;
}

.nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-self: end;
}

.header-icon-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--primary);
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.header-icon-btn:hover,
.header-icon-btn:focus-visible {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.phone-link--icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--primary);
    cursor: pointer;
    padding: 0;
    font: inherit;
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.phone-link--icon i {
    font-size: 15px;
    color: inherit;
}

.phone-link--icon:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

/* --- Language switcher --- */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    padding: 3px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.header--scrolled .lang-switcher,
.header:not(.header--scrolled) .lang-switcher {
    background: rgba(255, 255, 255, 0.85);
}

.lang-switcher__btn {
    min-width: 36px;
    padding: 7px 10px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    line-height: 1;
}

.lang-switcher__btn:hover {
    color: var(--dark);
}

.lang-switcher__btn.is-active {
    background: var(--white);
    color: var(--dark);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.lang-switcher__btn.is-active:hover {
    color: var(--primary);
}

.lang-switcher--compact .lang-switcher__btn {
    min-width: 32px;
    padding: 6px 8px;
    font-size: 9px;
}

.lang-switcher--wide {
    width: 100%;
    padding: 4px;
    gap: 4px;
}

.lang-switcher--wide .lang-switcher__btn {
    flex: 1;
    min-width: 0;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.lang-switcher__code {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.lang-switcher__name {
    font-size: 10px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.85;
}

.lang-switcher--wide .lang-switcher__btn.is-active .lang-switcher__name {
    color: var(--primary);
    opacity: 1;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 24px);
    background-color: var(--white);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.96) 30%,
        rgba(255, 255, 255, 0.72) 44%,
        rgba(255, 255, 255, 0.15) 58%,
        rgba(255, 255, 255, 0) 68%
    );
    z-index: 1;
    pointer-events: none;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: url('../assets/fliphero.webp') no-repeat center center / cover;
    transform: scale(1.05);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 520px;
    padding: 40px 0 80px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 62px;
    line-height: 1.02;
    font-weight: 900;
    color: var(--dark);
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 34px;
    max-width: 420px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.section-header-split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 44px;
}

.section-desc-split {
    max-width: 380px;
    font-size: 13px;
    color: var(--text-muted);
    border-left: 2px solid var(--primary);
    padding-left: 18px;
    line-height: 1.75;
    margin-bottom: 6px;
    flex-shrink: 0;
}

/* --- Solutions --- */
.solutions {
    padding: 100px 0 110px;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 55%, var(--white) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, #ff9944 50%, var(--primary) 100%);
}

.solutions::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.solutions__header {
    margin-bottom: 52px;
}

.solutions__intro {
    max-width: 400px;
    font-size: 14px;
    line-height: 1.8;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: solution-counter;
}

.solution-card {
    background: var(--white);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.solution-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(255, 102, 0, 0.08);
    border-color: rgba(255, 102, 0, 0.28);
}

.solution-card:hover::after {
    transform: scaleX(1);
}

.solution-img {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    counter-increment: solution-counter;
}

.solution-img::before {
    content: '0' counter(solution-counter);
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--white);
    background: var(--primary);
    padding: 5px 9px;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.35);
}

.solution-img::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.45) 0%, rgba(26, 26, 26, 0.05) 45%, transparent 100%);
    opacity: 0.55;
    transition: opacity 0.35s ease;
}

.solution-card:hover .solution-img::after {
    opacity: 0.75;
}

.solution-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    opacity: 0.94;
    transition: filter 0.45s ease, opacity 0.45s ease, transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card:hover .solution-img img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.06);
}

.solution-info {
    position: relative;
    padding: 20px 18px 18px;
    min-height: 188px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: var(--white);
}

.solution-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: rgba(255, 102, 0, 0.08);
    border: 1px solid rgba(255, 102, 0, 0.18);
    margin-bottom: 12px;
    line-height: 1;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.solution-card:hover .solution-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.solution-icon .ti {
    display: block;
    font-size: 24px;
}

.solution-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 8px;
    transition: color 0.25s ease;
}

.solution-card:hover .solution-name {
    color: var(--primary);
}

.solution-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 0;
    flex: 0 0 auto;
}

.solution-desc:last-of-type {
    margin-bottom: 18px;
}

.solution-desc + .solution-desc {
    margin-top: 6px;
}

.solution-read-more {
    width: 100%;
    margin-top: auto;
    padding: 14px 20px;
    gap: 10px;
    font-size: 10px;
    letter-spacing: 1.2px;
    box-shadow: 0 4px 16px rgba(255, 102, 0, 0.25);
    transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.solution-read-more i {
    font-size: 11px;
    transition: transform 0.25s ease;
}

.solution-read-more:hover,
.solution-read-more:focus-visible {
    background-color: var(--primary-hover);
    color: var(--white);
    box-shadow: 0 8px 22px rgba(255, 102, 0, 0.38);
    transform: translateY(-2px);
    outline: none;
}

.solution-read-more:hover i,
.solution-read-more:focus-visible i {
    transform: translateX(4px);
}

.solution-read-more:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.28);
}

.solution-card:hover .solution-read-more {
    background-color: var(--primary-hover);
    box-shadow: 0 8px 22px rgba(255, 102, 0, 0.32);
}

/* --- Solution modal --- */
.solution-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1300;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}

.solution-modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.solution-modal {
    position: fixed;
    z-index: 1310;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.97);
    width: min(920px, calc(100% - 32px));
    max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(100svh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.solution-modal.is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.solution-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--white);
    color: var(--dark);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: color 0.25s ease, background-color 0.25s ease;
    flex-shrink: 0;
}

.solution-modal__close:hover {
    color: var(--primary);
    background: var(--bg-light);
}

.solution-modal__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: start;
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
}

.solution-modal__gallery {
    background: var(--bg-light);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-self: start;
    width: 100%;
    overflow: hidden;
}

.solution-modal__main-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    flex: 0 0 auto;
    overflow: hidden;
}

.solution-modal__main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-modal__thumbs {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid var(--border);
    overflow-x: auto;
    flex-shrink: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.solution-modal__thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 54px;
    border: 2px solid transparent;
    padding: 0;
    background: none;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.65;
    transition: opacity 0.25s ease, border-color 0.25s ease;
}

.solution-modal__thumb.is-active,
.solution-modal__thumb:hover {
    opacity: 1;
    border-color: var(--primary);
}

.solution-modal__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-modal__content {
    padding: 28px 24px 24px;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
}

@media (min-width: 769px) {
    .solution-modal__content {
        max-height: calc(100svh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    }
}

.solution-modal__icon {
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1;
}

.solution-modal__icon .ti {
    font-size: 28px;
}

.solution-modal__title {
    font-family: var(--font-heading);
    font-size: clamp(17px, 2.5vw, 22px);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 12px;
    padding-right: 40px;
}

.solution-modal__desc {
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 20px;
}

.solution-modal__desc p + p {
    margin-top: 10px;
}

.solution-modal__details-title {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dark);
    margin-bottom: 10px;
}

.solution-modal__details-list {
    margin-bottom: 16px;
}

.solution-modal__details-list li {
    position: relative;
    padding-left: 18px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 6px;
}

.solution-modal__details-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.solution-modal__cta {
    width: 100%;
    justify-content: center;
    flex-shrink: 0;
    margin-top: auto;
}

body.modal-open {
    overflow: hidden;
    touch-action: none;
}

/* Laptop / short viewport - keep 2 columns, tighten spacing */
@media (min-width: 769px) and (max-height: 860px) {
    .solution-modal {
        max-height: calc(100svh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    }

    .solution-modal__main-img {
        aspect-ratio: 4 / 6;
    }

    .solution-modal__content {
        padding: 20px 18px 18px;
        max-height: calc(100svh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    }

    .solution-modal__title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .solution-modal__desc {
        font-size: 12px;
        line-height: 1.65;
        margin-bottom: 14px;
    }

    .solution-modal__desc p + p {
        margin-top: 8px;
    }

    .solution-modal__details-list li {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .solution-modal__thumbs {
        padding: 8px 10px;
    }
}

/* Tablet & mobile - stack layout */
@media (max-width: 768px) {
    .solution-modal {
        width: calc(100% - 24px);
        max-height: calc(100svh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    }

    .solution-modal__inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
    }

    .solution-modal__gallery {
        border-right: none;
        border-bottom: 1px solid var(--border);
        flex-shrink: 0;
        max-height: none;
    }

    .solution-modal__main-img {
        flex: 0 0 auto;
        width: 100%;
        aspect-ratio: unset;
        height: clamp(130px, 24vh, 200px);
        max-height: clamp(130px, 24vh, 200px);
    }

    .solution-modal__content {
        padding: 18px 16px 16px;
    }

    .solution-modal__icon .ti {
        font-size: 24px;
    }
}

/* Very short screens - stack even on wider widths */
@media (max-height: 520px) and (min-width: 769px) {
    .solution-modal__inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
    }

    .solution-modal__gallery {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .solution-modal__main-img {
        flex: 0 0 auto;
        aspect-ratio: unset;
        height: 120px;
        max-height: 120px;
    }
}

@media (max-width: 480px) {
    .solution-modal {
        width: calc(100% - 16px);
        max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        max-height: calc(100svh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    }

    .solution-modal__close {
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .solution-modal__main-img {
        aspect-ratio: unset;
        height: clamp(110px, 22vh, 160px);
        max-height: clamp(110px, 22vh, 160px);
    }

    .solution-modal__thumbs {
        padding: 8px 10px;
    }

    .solution-modal__thumb {
        flex: 0 0 60px;
        width: 60px;
        height: 45px;
    }

    .solution-modal__content {
        padding: 16px 14px 14px;
    }

    .solution-modal__title {
        padding-right: 32px;
        margin-bottom: 10px;
    }

    .solution-modal__desc {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .solution-modal__details-list li {
        font-size: 12px;
    }
}

/* --- Contact modal --- */
.contact-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1320;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}

.contact-modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.contact-modal {
    position: fixed;
    z-index: 1330;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.97);
    width: min(460px, calc(100% - 32px));
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
    border-radius: 4px;
    overflow: hidden;
}

.contact-modal.is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.contact-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: none;
    background: var(--bg-light);
    color: var(--dark);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.contact-modal__close:hover {
    color: var(--primary);
    background: #fff;
}

.contact-modal__inner {
    padding: 36px 28px 28px;
}

.contact-modal__header {
    text-align: center;
    margin-bottom: 24px;
}

.contact-modal__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.14), rgba(255, 102, 0, 0.06));
    color: var(--primary);
    font-size: 22px;
}

.contact-modal__title {
    margin: 0 0 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--dark);
}

.contact-modal__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
}

.contact-modal__options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-modal__option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.contact-modal__option:hover {
    border-color: var(--primary);
    background: #fffaf6;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 102, 0, 0.1);
}

.contact-modal__option-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
}

.contact-modal__option--call .contact-modal__option-icon {
    background: rgba(255, 102, 0, 0.12);
    color: var(--primary);
}

.contact-modal__option--whatsapp .contact-modal__option-icon {
    background: rgba(37, 211, 102, 0.14);
    color: #1da851;
}

.contact-modal__option--whatsapp:hover {
    border-color: #25d366;
    background: #f4fdf7;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.12);
}

.contact-modal__option-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.contact-modal__option-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

.contact-modal__option-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

.contact-modal__option-value {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

.contact-modal__option-arrow {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.25s ease, color 0.25s ease;
}

.contact-modal__option:hover .contact-modal__option-arrow {
    color: var(--primary);
    transform: translateX(3px);
}

.contact-modal__option--whatsapp:hover .contact-modal__option-arrow {
    color: #1da851;
}

@media (max-width: 480px) {
    .contact-modal__inner {
        padding: 32px 20px 22px;
    }

    .contact-modal__title {
        font-size: 20px;
    }
}

/* --- Project modal --- */
.project-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1300;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}

.project-modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.project-modal {
    position: fixed;
    z-index: 1310;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.97);
    width: min(920px, calc(100% - 32px));
    max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(100svh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-modal.is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.project-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--white);
    color: var(--dark);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: color 0.25s ease, background-color 0.25s ease;
    flex-shrink: 0;
}

.project-modal__close:hover {
    color: var(--primary);
    background: var(--bg-light);
}

.project-modal__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
}

.project-modal__gallery {
    background: var(--bg-light);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-self: start;
    width: 100%;
    overflow: hidden;
}

.project-modal__main-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    flex: 0 0 auto;
    overflow: hidden;
}

.project-modal__main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-modal__thumbs {
    display: flex;
    gap: 8px;
    padding: 12px;
    overflow-x: auto;
    border-top: 1px solid var(--border);
}

.project-modal__thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    background: none;
    transition: border-color 0.25s ease;
}

.project-modal__thumb.is-active,
.project-modal__thumb:hover {
    border-color: var(--primary);
}

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

.project-modal__content {
    padding: 32px 28px 28px;
    overflow-y: auto;
    max-height: min(72vh, 640px);
}

.project-modal__tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 10px;
}

.project-modal__tag--az {
    color: #4A7A8A;
}

.project-modal__title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 8px;
}

.project-modal__loc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 18px;
}

.project-modal__specs {
    border-top: 1px solid var(--border);
    padding-top: 14px;
    margin-bottom: 24px;
}

.project-modal__specs li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 12px;
    color: var(--dark);
    padding: 6px 0;
}

.project-modal__specs li + li {
    border-top: 1px solid var(--border);
}

.project-modal__specs li span:last-child {
    color: var(--text-muted);
    text-align: right;
}

.project-modal__cta {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .project-modal__inner {
        grid-template-columns: 1fr;
    }

    .project-modal__gallery {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .project-modal__content {
        padding: 24px 20px 20px;
        max-height: none;
    }

    .project-modal__title {
        font-size: 18px;
    }
}

/* --- About company --- */
.about-company {
    padding: 90px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.about-company__inner {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 56px;
    align-items: start;
}

.about-company__text {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-company__text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-main);
}

.about-company__text strong {
    color: var(--dark);
    font-weight: 600;
}

.about-company__media {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 4 / 5;
    max-height: 520px;
}

.about-company__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-company__media:hover img {
    transform: scale(1.05);
}

/* --- Why us --- */
.why-us {
    padding: 72px 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.why-us-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: center;
}

.why-us-intro .section-title {
    margin-bottom: 30px;
}

.why-us-features {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.feature-card {
    text-align: left;
    padding: 18px 14px;
    border: 1px solid transparent;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    background: var(--white);
    border-color: var(--border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    color: var(--primary);
    margin-bottom: 14px;
    line-height: 1;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.12);
}

.feature-icon .ti {
    display: block;
    font-size: 30px;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.35;
}

.feature-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* --- Portfolio stats --- */
.portfolio {
    padding: 72px 0;
    background: var(--dark);
    color: var(--white);
}

.portfolio__intro {
    margin-bottom: 48px;
}

.section-tag--light {
    color: var(--primary);
}

.portfolio__heading {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-top: 4px;
}

.portfolio__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.portfolio-stat {
    position: relative;
    padding: 0 32px;
    text-align: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-stat:hover {
    transform: translateY(-4px);
}

.portfolio-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 0;
    width: 1px;
    height: calc(100% - 16px);
    background: rgba(255, 255, 255, 0.12);
}

.portfolio-stat:first-child {
    padding-left: 0;
}

.portfolio-stat:last-child {
    padding-right: 0;
}

.portfolio-stat__value {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    color: var(--primary);
    letter-spacing: -3px;
    margin-bottom: 12px;
}

.portfolio-stat__plus {
    font-size: 0.55em;
    letter-spacing: 0;
    vertical-align: super;
    margin-left: 2px;
}

.portfolio-stat__title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.3;
}

.portfolio-stat__text {
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    max-width: 280px;
}

/* --- Projects --- */
.projects {
    padding: 90px 0 100px;
    background: var(--white);
    overflow-x: clip;
    max-width: 100%;
}

.section-header-split--projects {
    align-items: flex-end;
}

.section-header-split__action {
    padding-bottom: 6px;
}

@container projects-slider (max-width: 1200px) {
    .project-card {
        flex-basis: calc((100cqw - var(--slider-nav-pad) - 18px) / 2);
        min-width: calc((100cqw - var(--slider-nav-pad) - 18px) / 2);
    }
}

@container projects-slider (max-width: 768px) {
    .projects-wrapper {
        gap: 0;
        min-width: 0;
    }

    .project-card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
    }
}

.projects-slider-container {
    position: relative;
    overflow-x: clip;
    overflow-y: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    container-type: inline-size;
    container-name: projects-slider;
    padding-inline: 52px;
    --slider-nav-pad: 104px;
}

.projects-slider__nav {
    position: absolute;
    top: 190px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--white);
    color: var(--dark);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.projects-slider__nav i {
    font-size: 13px;
    line-height: 1;
}

.projects-slider__nav--prev {
    left: 0;
}

.projects-slider__nav--next {
    right: 0;
}

.projects-slider__nav:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(255, 102, 0, 0.28);
}

.projects-slider__nav:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.projects-slider__nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: none;
}

.projects-slider__nav.is-hidden {
    visibility: hidden;
    pointer-events: none;
}

.projects-wrapper {
    display: flex;
    gap: 18px;
    transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    position: relative;
    min-width: 0;
}

.projects-slider-container .project-card,
.project-card--clone {
    opacity: 1;
}

.project-card--clone {
    transform: none;
}

.project-card {
    flex: 0 0 calc((100cqw - var(--slider-nav-pad) - 36px) / 3);
    min-width: calc((100cqw - var(--slider-nav-pad) - 36px) / 3);
    flex-shrink: 0;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    text-align: left;
    font: inherit;
    color: inherit;
}

.project-card:hover {
    transform: translateY(-6px);
}

.project-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

.project-img {
    height: 380px;
    overflow: hidden;
    background: #ebebeb;
    position: relative;
}

.project-img > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}

.project-img__count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.62);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    z-index: 1;
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-body {
    padding: 14px 2px 4px;
}

.project-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 6px;
}

.project-tag--az {
    color: #4A7A8A;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.project-card:hover .project-title {
    color: var(--primary);
}

.project-loc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 10px;
}

.project-specs {
    border-top: 1px solid var(--border);
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.project-specs li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.4;
}

.project-specs li span:last-child {
    text-align: right;
    flex-shrink: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #D5D5D5;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary);
    width: 26px;
    border-radius: 4px;
}

/* --- Process --- */
.process {
    padding: 100px 0 110px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 45%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, #ff9944 50%, var(--primary) 100%);
}

.process::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.process__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 52px;
}

.process__intro {
    max-width: 400px;
    font-size: 14px;
    line-height: 1.8;
}

.process-heading {
    margin-bottom: 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 24px;
    position: relative;
}

.process-grid::before {
    display: none;
}

.process-item {
    position: relative;
    z-index: 1;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 22px 18px 20px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    overflow: hidden;
}

.process-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.09), 0 4px 16px rgba(255, 102, 0, 0.08);
    border-color: rgba(255, 102, 0, 0.28);
}

.process-item:hover::after {
    transform: scaleX(1);
}

.process-item__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.process-num {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--white);
    background: var(--primary);
    padding: 5px 9px;
    line-height: 1;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-item:hover .process-num {
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(255, 102, 0, 0.4);
}

.process-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: rgba(255, 102, 0, 0.08);
    border: 1px solid rgba(255, 102, 0, 0.18);
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.process-icon .ti {
    font-size: 22px;
}

.process-item:hover .process-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.process-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.3;
    transition: color 0.25s ease;
}

.process-item:hover .process-name {
    color: var(--primary);
}

.process-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 0;
}

.process-text + .process-text {
    margin-top: 6px;
}

/* --- Partners --- */
.partners {
    padding: 72px 0;
    border-top: 1px solid var(--border);
    background-color: var(--white);
}

.partners-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(32px, 4vw, 56px);
}

.partners-title {
    flex: 0 0 auto;
    width: min(100%, 240px);
    min-width: 0;
}

.partners-heading {
    font-family: var(--font-heading);
    font-size: clamp(18px, 1.1rem + 1.2vw, 26px);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    max-width: 14em;
    text-wrap: balance;
}

.partners-slider {
    flex: 0 1 auto;
    min-width: 0;
}

.partners-dots {
    display: none;
}

.partners-logos {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(18px, 2vw, 32px);
    width: max-content;
    max-width: 100%;
    min-width: 0;
}

.partner-logo {
    height: clamp(48px, 5vw, 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.partner-logo:hover {
    transform: translateY(-3px);
}

.partner-logo:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.partner-img {
    max-width: 100%;
    max-height: clamp(28px, 3.2vw, 40px);
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(70%);
    opacity: 0.72;
    transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-logo:hover .partner-img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.06);
}

/* --- Legal page --- */
.header--legal {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 0 var(--border);
    padding: 14px 0;
    padding-top: max(14px, env(safe-area-inset-top));
}

.header-inner--legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-contacts--legal {
    margin-left: auto;
}

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

.legal-page__inner {
    max-width: 760px;
}

.legal-page__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.25s ease;
}

.legal-page__back:hover {
    color: var(--primary);
}

.legal-page h1 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 12px;
}

.legal-page__updated {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.legal-page__section + .legal-page__section {
    margin-top: 28px;
}

.legal-page__section h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.legal-page__section p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-main);
    margin-bottom: 12px;
}

.legal-page__section p:last-child {
    margin-bottom: 0;
}

.legal-page__footer {
    padding: 24px 0;
    border-top: 1px solid var(--border);
    background: #f3f3f3;
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
}

/* --- Footer --- */
.footer,
.footer-main,
.footer-offices,
.footer-bar {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
}

.footer-main {
    background-color: #F3F3F3;
    padding: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.35fr;
    gap: 32px;
    padding-block: 48px 40px;
    align-items: start;
}

.footer-logo-desc p {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 18px;
    margin-bottom: 22px;
    max-width: 230px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #E2E2E2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 13px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin: 0 0 16px;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--dark);
    font-size: 12px;
    display: inline-block;
    transition: color 0.25s ease, transform 0.25s ease, padding-left 0.25s ease;
}

.footer-col ul li a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

/* --- Footer offices strip --- */
.footer-offices {
    background: var(--white);
    border-bottom: 1px solid #DDD;
    padding: 40px 0 36px;
}

.footer-offices__heading {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-offices__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 56px;
}

.footer-office {
    padding-left: 16px;
    border-left: 3px solid #D8D8D8;
}

.footer-office--ge {
    border-left-color: var(--primary);
}

.footer-office__title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
    line-height: 1.35;
}

.footer-office__country {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 4px;
}

.footer-office--az .footer-office__country {
    color: var(--text-muted);
}

.footer-office__phones {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.footer-office__phone {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.3px;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.footer-office__phone:hover {
    color: var(--primary);
}

.footer-office__details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-office__details li {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-office__details a {
    color: var(--text-main);
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    transition: color 0.25s ease;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-office__details a:hover {
    color: var(--primary);
}

.footer-office__details i {
    color: var(--primary);
    font-size: 12px;
    width: 14px;
    flex-shrink: 0;
    margin-top: 3px;
    text-align: center;
}

.footer-office--az .footer-office__details i {
    color: var(--text-muted);
}

.footer-office--az .footer-office__phone:hover,
.footer-office--az .footer-office__details a:hover {
    color: var(--dark);
}

.footer-form p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0 0 18px;
    line-height: 1.65;
    max-width: 280px;
}

.footer-form-btn {
    width: 100%;
    padding: 16px 22px;
}

.footer-form-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-form-actions .btn-phone {
    text-transform: none;
    letter-spacing: 0.4px;
    font-size: 12px;
}

.footer-bar {
    background-color: var(--footer-dark);
    padding: 22px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    border: none;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a:hover {
    color: var(--white);
}

/* --- Mobile header actions --- */
.header-mobile-actions {
    display: none;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.offcanvas__lang {
    padding: 0 20px 20px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
    padding-top: 20px;
    flex-shrink: 0;
}

.offcanvas__lang-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 12px;
}

.menu-toggle {
    display: none;
}

.menu-toggle__bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 20px;
    height: 20px;
}

.menu-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
    opacity: 0;
    width: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Offcanvas menu --- */
.offcanvas-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    -webkit-tap-highlight-color: transparent;
}

.offcanvas-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100%;
    height: 100dvh;
    background: var(--white);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
}

.offcanvas.is-open {
    transform: translateX(0);
}

.offcanvas__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.offcanvas__logo {
    font-size: 16px;
}

.offcanvas__logo .logo__img {
    height: 40px;
    margin-right: 8px;
}

.offcanvas__close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: var(--dark);
    transition: background 0.25s ease, color 0.25s ease;
}

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

.offcanvas__nav {
    flex: 1;
    overflow-y: auto;
    padding: 24px 20px;
    -webkit-overflow-scrolling: touch;
}

.offcanvas__nav ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.offcanvas__link {
    display: block;
    padding: 16px 18px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--dark);
    border-left: 3px solid transparent;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, padding-left 0.25s ease;
}

.offcanvas__link:hover,
.offcanvas__link:focus-visible {
    background: var(--bg-light);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 22px;
}

.offcanvas__footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    background: var(--bg-light);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.offcanvas__phone {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    padding: 4px 0;
    background: none;
    border: none;
    width: 100%;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.offcanvas__phone i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: 14px;
    flex-shrink: 0;
}

.offcanvas__cta {
    width: 100%;
    padding: 16px 24px;
}

body.menu-open {
    overflow: hidden;
    touch-action: none;
}

/* --- Scroll reveal & entrance animations --- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal--left {
    transform: translateX(-36px);
}

.reveal--right {
    transform: translateX(36px);
}

.reveal--scale {
    transform: scale(0.95);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.projects-slider-container.reveal {
    transform: translateY(20px);
}

.motion-ready .hero__bg {
    animation: heroBgZoom 18s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroBgZoom {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .offcanvas,
    .offcanvas-overlay,
    .menu-toggle__bar,
    .solution-modal,
    .solution-modal-overlay,
    .project-modal,
    .project-modal-overlay,
    .contact-modal,
    .contact-modal-overlay,
    .reveal,
    .hero__bg,
    .solution-card,
    .process-item,
    .feature-card,
    .project-card,
    .portfolio-stat,
    .partner-img,
    .partner-logo,
    .projects-wrapper,
    .btn,
    .nav a::after,
    .logo__img {
        animation: none !important;
        transition: none !important;
    }

    .reveal,
    .hero-content > * {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero__bg {
        transform: none !important;
    }
}

/* --- Responsive --- */
@media (max-width: 1200px) {
    .why-us-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }

    .why-us-inner,
    .about-company__inner {
        grid-template-columns: 1fr;
    }

    .about-company__media {
        max-height: 360px;
        order: -1;
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 24px;
        gap: 20px;
    }

    .process-grid::before {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 32px;
    }

    .footer-logo-desc {
        grid-column: 1 / -1;
    }

    .footer-col--links {
        grid-column: 1 / -1;
    }

    .footer-form {
        grid-column: 1 / -1;
    }
}

@media (max-width: 992px) {
    :root {
        --header-height: 64px;
    }

    .header {
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 1px 0 var(--border);
        padding: 10px 0;
        padding-top: max(10px, env(safe-area-inset-top));
    }

    .header--scrolled {
        padding: 8px 0;
        padding-top: max(8px, env(safe-area-inset-top));
    }

    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .nav,
    .header-contacts {
        display: none;
    }

    .logo {
        font-size: clamp(11px, 2.8vw, 16px);
        flex: 0 1 auto;
        min-width: auto;
    }

    .logo__img {
        height: 38px;
        margin-right: 8px;
    }

    .header-mobile-actions {
        display: flex;
    }

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

    .hero h1 {
        font-size: 44px;
    }

    .section-header-split {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .section-header-split--projects .section-header-split__action {
        display: none;
    }

    .section-desc-split {
        max-width: 100%;
    }

    .partners-inner {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: clamp(20px, 4vw, 28px);
    }

    .partners-title {
        width: auto;
    }

    .partners-slider {
        flex: 1 1 auto;
        width: 100%;
    }

    .partners-heading {
        max-width: min(100%, 28ch);
        font-size: clamp(20px, 4.5vw, 24px);
    }

    .partners-dots {
        display: flex;
        margin-top: 14px;
    }

    .partners-logos {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        width: 100%;
        margin-inline: -20px;
        padding-inline: 20px;
        padding-bottom: 2px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 20px;
        gap: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .partners-logos::-webkit-scrollbar {
        display: none;
    }

    .partner-logo {
        flex: 0 0 calc((100% - 10px) / 2);
        height: 72px;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        padding: 14px 16px;
        background: #f8f8f8;
        border: 1px solid var(--border);
        border-radius: 6px;
    }

    .partner-logo:nth-child(even) {
        scroll-snap-align: none;
    }

    .partner-logo:hover {
        background: var(--white);
        border-color: rgba(255, 102, 0, 0.35);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    }

    .partner-img {
        max-height: 36px;
        filter: none;
        opacity: 1;
    }

    .portfolio__stats {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .portfolio-stat {
        padding: 0;
    }

    .portfolio-stat::after {
        display: none;
    }

    .portfolio-stat:not(:last-child) {
        padding-bottom: 36px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .solution-img {
        height: 160px;
    }

    .solution-info {
        min-height: auto;
        padding: 14px 14px 16px;
    }

    .why-us-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .process__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 36px;
    }

    .process__intro {
        max-width: 100%;
    }

    .about-company,
    .solutions,
    .projects,
    .process {
        padding: 72px 0;
    }

    .why-us-intro .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .reveal--left,
    .reveal--right {
        transform: translateY(32px);
    }

    .header {
        padding: 10px 0;
        padding-top: max(10px, env(safe-area-inset-top));
        left: 0;
        right: 0;
        max-width: 100%;
    }

    .header .container {
        padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
    }

    .header-inner {
        width: 100%;
        min-width: 0;
    }

    .header--scrolled {
        padding: 8px 0;
        padding-top: max(8px, env(safe-area-inset-top));
    }

    .hero {
        width: 100%;
        max-width: 100%;
        min-height: 520px;
        padding-top: calc(var(--header-height) + 12px);
        padding-bottom: 0;
        overflow: hidden;
    }

    .motion-ready .hero__bg {
        animation: none !important;
    }

    .hero__bg {
        inset: 0;
        width: 100%;
        height: 100%;
        background-position: center center;
        transform: none !important;
    }

    .hero::after {
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.86) 42%,
            rgba(255, 255, 255, 0.74) 68%,
            rgba(255, 255, 255, 0.58) 100%
        );
    }

    .hero .container {
        width: 100%;
        max-width: 100%;
        padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right));
    }

    .hero-content {
        max-width: 100%;
        width: 100%;
        padding: 20px 0 56px;
    }

    .hero h1 {
        font-size: 36px;
        letter-spacing: -1px;
        line-height: 1.08;
        overflow-wrap: anywhere;
    }

    .hero p {
        font-size: 14px;
        max-width: 100%;
        color: var(--text-main);
        line-height: 1.65;
        margin-bottom: 28px;
    }

    .hero-buttons {
        width: 100%;
        gap: 10px;
    }

    .section-title {
        font-size: 28px;
    }

    .solutions,
    .projects,
    .process {
        padding: 64px 0;
    }

    .why-us {
        padding: 56px 0;
    }

    .portfolio {
        padding: 56px 0;
    }

    .portfolio__heading {
        font-size: 26px;
    }

    .portfolio-stat__value {
        font-size: 52px;
    }

    .portfolio-stat__text {
        max-width: 100%;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .solution-card {
        display: flex;
        flex-direction: column;
    }

    .solution-img {
        height: 200px;
        min-height: unset;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .solution-info {
        padding: 16px 16px 18px;
        min-height: auto;
    }

    .solution-name {
        font-size: 14px;
    }

    .solution-desc {
        font-size: 12px;
    }

    .why-us-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        display: grid;
        grid-template-columns: 44px 1fr;
        gap: 4px 14px;
        align-items: start;
    }

    .feature-icon {
        grid-row: span 2;
        margin-bottom: 0;
    }

    .feature-icon .ti {
        font-size: 26px;
    }

    .feature-title {
        font-size: 13px;
    }

    .feature-desc {
        font-size: 12px;
    }

    .about-company {
        padding: 56px 0;
    }

    .about-company__media {
        max-height: 280px;
        aspect-ratio: 16 / 10;
    }

    .about-company__text p {
        font-size: 14px;
    }

    .section-header-split {
        margin-bottom: 32px;
        gap: 16px;
    }

    .section-desc-split {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid var(--primary);
        padding-top: 14px;
        width: 100%;
    }

    .project-title {
        font-size: 13px;
        line-height: 1.4;
    }

    .project-specs li {
        font-size: 11px;
        flex-wrap: wrap;
        gap: 4px;
    }

    .projects-slider-container {
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: 100%;
    }

    .projects-slider__nav {
        top: 160px;
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.96);
    }

    .projects-slider__nav i {
        font-size: 11px;
    }

    .projects-slider__nav--prev {
        left: 6px;
    }

    .projects-slider__nav--next {
        right: 6px;
    }

    .projects-wrapper {
        gap: 0;
        width: 100%;
    }

    .project-card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .project-img {
        height: 320px;
    }

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

    .process-item {
        padding: 18px 16px 16px;
        border: 1px solid var(--border);
    }

    .process-item:hover {
        transform: none;
    }

    .process__header {
        margin-bottom: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding-block: 28px 24px;
    }

    .footer .container {
        padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right));
    }

    .footer-logo-desc,
    .footer-form {
        grid-column: auto;
    }

    .footer-logo-desc {
        padding-bottom: 24px;
        margin-bottom: 0;
        border-bottom: 1px solid var(--border);
    }

    .footer-logo-desc .logo__text {
        white-space: normal;
    }

    .footer-logo-desc p {
        max-width: none;
        margin-top: 14px;
        margin-bottom: 16px;
        font-size: 13px;
        line-height: 1.65;
    }

    .footer-col--links {
        grid-column: auto;
        padding: 24px 0;
        border-bottom: 1px solid var(--border);
    }

    .footer-col h4 {
        margin-bottom: 14px;
    }

    .footer-col ul li {
        margin-bottom: 8px;
    }

    .footer-col ul li a {
        font-size: 13px;
        line-height: 1.5;
        display: inline-block;
        padding: 2px 0;
    }

    .footer-form {
        padding-top: 24px;
        border-top: none;
    }

    .footer-form p {
        max-width: none;
        margin-bottom: 16px;
    }

    .footer-offices__inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-offices {
        padding: 28px 0 24px;
    }

    .footer-offices__heading {
        margin-bottom: 16px;
    }

    .footer-office {
        padding-left: 12px;
    }

    .footer-office__title {
        margin-bottom: 10px;
    }

    .footer-office__phones {
        margin-bottom: 10px;
    }

    .footer-office__details li {
        font-size: 12px;
        word-break: break-word;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        font-size: 10px;
        line-height: 1.5;
    }

    .footer-bar {
        padding: 18px 0;
        padding-bottom: max(18px, env(safe-area-inset-bottom));
    }

    .footer-office__phone {
        font-size: 15px;
        word-break: break-word;
    }

    .offcanvas__link {
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .partners {
        padding: 48px 0;
    }

    .partners-logos {
        margin-inline: -16px;
        padding-inline: 16px;
        scroll-padding-inline: 16px;
        gap: 8px;
    }

    .partner-logo {
        flex: 0 0 calc((100% - 8px) / 2);
        height: 68px;
        padding: 12px 14px;
    }

    .partner-img {
        max-height: 32px;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 58px;
    }

    .header-inner {
        gap: 8px;
    }

    .logo {
        font-size: clamp(11px, 3.1vw, 13px);
    }

    .logo__img {
        height: 34px;
        margin-right: 6px;
    }

    .header-mobile-actions {
        gap: 6px;
    }

    .header-icon-btn {
        width: 42px;
        height: 42px;
    }

    .offcanvas {
        width: min(300px, 92vw);
    }

    .hero h1 {
        font-size: clamp(26px, 7.5vw, 30px);
        letter-spacing: -0.5px;
    }

    .hero-content {
        padding: 16px 0 36px;
    }

    .hero p {
        font-size: 13px;
    }

    .section-tag {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .solution-img {
        height: 180px;
    }

    .project-img {
        height: 340px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .btn {
        padding: 14px 24px;
    }

    .slider-dots {
        margin-top: 24px;
    }

    .portfolio-stat__value {
        font-size: 44px;
    }

    .partners-heading {
        font-size: clamp(17px, 4.8vw, 20px);
        max-width: none;
    }

    .footer-grid {
        padding-block: 24px 20px;
    }

    .footer-logo-desc {
        padding-bottom: 20px;
    }

    .footer-col--links {
        padding: 20px 0;
    }

    .footer-form {
        padding-top: 20px;
    }

    .footer-col h4 {
        font-size: 9px;
        margin-bottom: 12px;
        letter-spacing: 1.3px;
    }

    .footer-col ul li {
        margin-bottom: 6px;
    }

    .footer-col ul li a {
        font-size: 12px;
    }

    .footer-form p {
        font-size: 12px;
        margin-bottom: 14px;
    }

    .footer-form-btn {
        padding: 15px 20px;
    }

    .logo--footer .logo__img {
        height: 40px;
    }
}

/* --- Touch devices --- */
@media (hover: none) and (pointer: coarse) {
    .solution-card:hover {
        transform: none;
        box-shadow: none;
        border-color: var(--border);
    }

    .solution-card:hover::after {
        transform: scaleX(0);
    }

    .solution-card:hover .solution-icon {
        background: rgba(255, 102, 0, 0.08);
        border-color: rgba(255, 102, 0, 0.18);
        color: var(--primary);
        transform: none;
    }

    .solution-card:hover .solution-name {
        color: var(--dark);
    }

    .solution-card:hover .solution-img img {
        filter: grayscale(30%);
        transform: none;
    }

    .solution-card:active .solution-img img {
        filter: grayscale(0%);
    }

    .solution-card:active {
        transform: scale(0.99);
    }

    .process-item:hover {
        transform: none;
        box-shadow: none;
        border-color: var(--border);
    }

    .process-item:hover::after {
        transform: scaleX(0);
    }

    .process-item:hover .process-num,
    .process-item:hover .process-icon,
    .process-item:hover .process-name {
        transform: none;
        color: inherit;
    }

    .process-item:hover .process-num {
        color: var(--white);
        box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
    }

    .process-item:hover .process-icon {
        background: rgba(255, 102, 0, 0.08);
        border-color: rgba(255, 102, 0, 0.18);
        color: var(--primary);
    }

    .process-item:hover .process-name {
        color: var(--dark);
    }

    .feature-card:hover,
    .project-card:hover,
    .portfolio-stat:hover {
        transform: none;
        box-shadow: none;
        background: transparent;
        border-color: transparent;
    }

    .project-card:hover .project-title {
        color: var(--dark);
    }

    .project-card:hover .project-img img {
        transform: none;
    }

    .partner-logo:hover,
    .partner-logo:hover .partner-img {
        transform: none;
    }

    .btn,
    .header-icon-btn,
    .lang-switcher__btn,
    .offcanvas__link,
    .solution-read-more {
        min-height: 44px;
    }
}

/* --- Tech service strip --- */
.tech-service {
    padding: 72px 0;
    background-color: var(--white);
}

.tech-service-inner {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: center;
    background-color: var(--dark);
    border-radius: 10px;
    padding: 48px 52px;
}

.tech-service__head .section-tag {
    margin-bottom: 12px;
}

.tech-service__title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 14px;
}

.tech-service__desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 26px;
}

.tech-service__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.tech-service__list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px 32px;
}

.tech-service__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.tech-service__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: rgba(255, 102, 0, 0.14);
    color: var(--primary);
    font-size: 22px;
}

.tech-service__item-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.tech-service__item-desc {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 992px) {
    .tech-service {
        padding: 56px 0;
    }

    .tech-service-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 40px 32px;
    }
}

@media (max-width: 600px) {
    .tech-service {
        padding: 48px 0;
    }

    .tech-service-inner {
        padding: 32px 22px;
        border-radius: 8px;
    }

    .tech-service__list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tech-service__cta {
        width: 100%;
        justify-content: center;
    }
}
