:root {
    --color-primary: #c18546;
    --color-bg: #f3f3f3;
    --text-color-main: #000000;
    --container-max-width: 1440px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-main);
    background-color: var(--color-bg);
}

/* Header */
header {
    height: 144px;
    padding: 0 82px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

.header-container {
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1276px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--color-primary);
    text-decoration: none;
}

nav {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
    flex: 1;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 24px;

    transition: color 0.3s;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-end;
}

/* Custom Dropdown */
.custom-dropdown {
    position: relative;
    width: 136px;
    height: 56px;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid #000000;
    background-color: var(--color-bg);
    cursor: pointer;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    height: 56px;
    width: 136px;
}

.dropdown-toggle:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.dropdown-toggle:hover img {
    filter: invert(58%) sepia(37%) saturate(729%) hue-rotate(351deg) brightness(92%) contrast(88%);
}

.custom-dropdown.active .dropdown-toggle {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.custom-dropdown.active .dropdown-toggle img {
    filter: invert(58%) sepia(37%) saturate(729%) hue-rotate(351deg) brightness(92%) contrast(88%);
}

/* .dropdown-toggle:hover {
    background: #f9f9f9;
} */

.globe-icon {
    font-size: 18px;
}

.current-lang {
    font-weight: 400;
    font-style: Regular;
    font-size: 20px;

    line-height: 24px;

}

.arrow {
    font-size: 12px;
    transition: transform 0.3s;
}

.custom-dropdown.active .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100%);
    left: 0;
    width: 136px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.custom-dropdown.active .dropdown-menu {
    display: flex;
}

.dropdown-item {
    padding: 15px 20px;
    border: 1px solid transparent;
    background: transparent;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 24px;

}

.dropdown-item:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.dropdown-item.active {
    color: var(--color-primary);
    font-weight: 500;
}

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

.social-icons a {
    color: #333;
    font-size: 18px;
}

.social-icons a img {
    transition: filter 0.3s ease;
}

.social-icons a:hover img {
    filter: invert(58%) sepia(37%) saturate(729%) hue-rotate(351deg) brightness(92%) contrast(88%);
}

/* Hero Section */
.hero {
    height: 814px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 21, 49, 0.2);
    pointer-events: none;
    z-index: 1;
}

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

.hero-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.hero-title h1 {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
    font-size: 100px;
    line-height: 120px;
    letter-spacing: 0;
    text-align: center;
    margin-bottom: 0;
}

.hero-subtitle {
    position: absolute;
    top: calc(50% + 160px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.hero-subtitle p {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 36px;
    letter-spacing: 0;
    text-align: center;
}

/* Hero Navigation Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    background: transparent;
    border: none;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.hero-arrow:hover {
    background: #ffffff1a;
    border: 1px solid rgba(255, 255, 255);
    backdrop-filter: blur(8px);
}

.hero-arrow-left {
    left: 40px;
}

.hero-arrow-right {
    right: 40px;
}

/* Hero Progress Bar */
.hero-progress {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero-progress-bar {
    display: flex;
    width: 120px;
    height: 2px;
}

.hero-progress-segment {
    flex: 1;
    background: rgba(243, 243, 243, 0.3);
    transition: background 0.3s ease;
}

.hero-progress-segment.active {
    background: var(--color-primary);
}

:is(footer, section) h2 {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 32px;
    letter-spacing: 0;
    text-transform: uppercase;
}

:is(section, footer) :is(a, p) {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
}

section p:not(:last-of-type) {
    margin-bottom: 20px;
}

.project-details-left p:not(:last-of-type) {
    margin-bottom: 0;
}

/* Project Navigation */
.project-navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding: 0 82px;
    max-width: var(--container-max-width);
    margin: 0 auto 200px;
    height: 56px;
}

.project-nav-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 16px 20px;
    border: 1px solid #000000;
}

.project-nav-button:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.project-nav-button:hover svg {
    stroke: var(--color-primary);
}

.project-nav-prev {
    justify-self: start;
}

.project-nav-next {
    justify-self: end;
}

.project-nav-title {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
}

.project-content {
    padding: 100px 82px 60px 82px;
    max-width: var(--container-max-width);
    margin: 0 auto;
    position: relative;
}

.project-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 82px;
    right: 82px;
    border-top: 1px solid #d6d1d1;
}

.project-header h1 {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 70px;
    line-height: 72px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.project-header h1::after {
    content: "";
    display: block;
    height: 1px;
    background: #D6D1D1;
    margin-top: 20px;
}

.project-header h2 {
    font-family: "Adamina", serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0;
}

/* Project Slider */
.project-slider-container {
    position: relative;
    width: 100%;
    height: 720px;
    margin-bottom: 60px;
    overflow: hidden;
}

.project-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.project-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.project-slide.active {
    opacity: 1;
}

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

/* Project Navigation Arrows */
.project-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: transparent;
    border: none;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.3s;
}

.project-arrow:hover {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.project-arrow-left {
    left: 20px;
}

.project-arrow-right {
    right: 20px;
}

/* Project Progress Bar */
.project-progress {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.project-progress-bar {
    display: flex;
    width: 120px;
    height: 2px;
}

.project-progress-segment {
    flex: 1;
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease;
}

.project-progress-segment.active {
    background: var(--color-primary);
}

.project-details {
    display: grid;
    grid-template-columns: 864px 1fr;
    gap: 20px;
}

.project-details-left {
    width: 864px;
    padding: 0 20px 40px 0;
}

.project-details-right {
    padding: 0 20px 40px 20px;
}

.project-details h2 {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    line-height: 24px;

    text-transform: unset;
}

.project-label {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    line-height: 24px;

    display: inline;
}

.project-label-group p {
    display: inline;
    margin: 0;
}

.project-details h3 {
    font-family: "Adamina", serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0;
    margin-bottom: 20px;
}

.project-details :is(p, li) {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
}

.project-details li {

    list-style-position: outside;
    margin-left: 30px;
}

.project-details p:last-child {
    margin-bottom: 0;
}

.project-info-groups {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.project-info-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-info-label {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    color: #000000;
    text-transform: uppercase;
}

.project-info-value {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 200px 82px;
}

.two-column>.animate-on-scroll {
    opacity: 0;
}

.two-column>.animate-on-scroll:first-child.visible {
    animation: slideInFromLeft 1s ease-out forwards;
}

.two-column>.animate-on-scroll:last-child.visible {
    animation: slideInFromRight 1s ease-out forwards;
}

.section-title {
    margin-bottom: 40px;
}

.section-title::after {
    content: "";
    display: block;
    width: 120px;
    height: 1px;
    background: var(--text-color-main);
    margin-top: 20px;
}

.section-content h3 {
    font-family: "Adamina", serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0;
    margin-bottom: 20px;
}

.section-content h3:last-of-type {
    margin-bottom: 40px;
}

.section-content p {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    color: var(--text-color-main);
    margin-bottom: 15px;
}

.image-placeholder {
    width: 100%;
}

.image-placeholder img,
.image-placeholder-dark img {
    width: 100%;
    height: auto;
    display: block;
}

/* Central Section */
.central {
    background:
        linear-gradient(rgba(20, 21, 49, 0.7), rgba(20, 21, 49, 0.7)),
        url("../images/mission/image.webp");
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.central h2 {
    margin-bottom: 40px;
}

.central h2.visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

.central p.visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

.central h2::after {
    content: "";
    display: block;
    width: 120px;
    height: 1px;
    background: white;
    margin: 20px auto 0;
}

.central p {
    max-width: 844px;
    margin: 0 auto;
}

.central.сta p {
    max-width: 1060px;
}

#how-we-work.central p {
    max-width: 1060px;
}

.cta-button {
    margin-top: 60px;
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    transition: all 0.3s;
}

.cta-button.visible {
    animation: slideUpFromBottom 0.8s ease-out forwards;
}

.cta-button:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* Why Clients Section */
.why-clients {
    padding: 200px 0;
    overflow: hidden;
}

.why-clients .section-title {
    margin-bottom: 100px;
    padding-left: 82px;
}

.why-clients .container {
    padding: 0;
}

.benefits-scroll-container {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 20px;
    padding-left: 82px;
}

.benefits-scroll-container::-webkit-scrollbar {
    display: none;
}

.benefits-scroll-container.grabbing {
    cursor: grabbing;
}

.benefit-card {
    min-width: 304px;
    width: 304px;
    height: 403px;
    border: 1px solid #d9d9d9;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition:
        border-color 0.3s,
        background-image 0.3s;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.benefit-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg,
            rgba(20, 21, 49, 0) 30.66%,
            rgba(20, 21, 49, 0.4) 49.55%,
            rgba(20, 21, 49, 0.8) 97.85%),
        url("../images/cards/active.webp");
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.benefit-card:hover {
    border-color: transparent;
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.benefit-number {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 32px;
    letter-spacing: 0;
    color: #000000;
    transition: color 0.3s ease;
}

.benefit-card:hover .benefit-number {
    color: #ffffff;
}

.benefit-arrow-wrapper {
    position: relative;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.benefit-arrow {
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.benefit-arrow-up {
    opacity: 1;
}

.benefit-arrow-down {
    display: none;
}

.benefit-card:hover .benefit-arrow-up {
    transform: rotate(180deg);
    filter: brightness(0) invert(1);
}

.benefit-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto 0fr;
    transition: grid-template-rows 0.3s ease;
}

.benefit-card:hover .benefit-content {
    grid-template-rows: auto 1fr;
}

.benefit-card h4 {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 26px;
    letter-spacing: 0;
    text-align: left;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.benefit-card:hover h4 {
    color: #ffffff;
}

.benefit-subtitle {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    margin-top: 0;
    color: #ffffff;
    overflow: hidden;
    opacity: 0;
    transition:
        opacity 0.3s ease,
        margin-top 0.3s ease;
}

.benefit-card:hover .benefit-subtitle {
    opacity: 1;
    margin-top: 40px;
}

/* Commitment Section */
.commitment .two-column {
    padding-top: 0;
}

/* Footer */
footer {
    padding: 200px 82px 40px;
}

.project-footer {
    padding: 40px 82px 40px;
    position: relative;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.project-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 82px;
    right: 82px;
    border-top: 1px solid #D6D1D1;
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 128px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-contacts {
    padding-top: 18px;
    display: grid;
    gap: 40px;
}

.footer-contacts h2 {
    font-size: 40px;
    line-height: 42px;
}

.footer-contacts h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.contact-items-group {
    display: grid;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #000000;
    cursor: pointer;
}

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

.contact-item:hover img {
    filter: invert(58%) sepia(37%) saturate(729%) hue-rotate(351deg) brightness(92%) contrast(88%);
}

.footer-links {
    padding-top: 28px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-links a {
    color: #000000;
    text-decoration: none;
}

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

.footer-bottom {
    display: flex;
    justify-content: flex-end;
    gap: 40px;
    margin-top: 100px;
    padding-top: 20px;
}

.footer-bottom p {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;

    margin: 0;
}

/* Contacts Page Footer Styles */
.footer-contacts-page .footer-container {
    grid-template-columns: auto 1fr;
    border-top: 1px solid #d6d1d1;
    gap: 100px;
    padding-top: 40px;
}

.footer-contacts-page .footer-links {
    justify-self: end;
}

.footer-contacts-page .footer-links ul {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.footer-contacts-page .footer-links li {
    margin-bottom: 0;
}

#nordic-precision.two-column {
    padding-top: 100px;
    padding-bottom: 100px;
}

#nordic-precision.two-column>.animate-on-scroll.visible {
    animation: fadeInUp 0.8s ease-out forwards !important;
}

#our-mission.central {
    background:
        linear-gradient(rgba(20, 21, 49, 0.7), rgba(20, 21, 49, 0.7)),
        url("../images/two-column/our-mission.webp");
    background-size: cover;
    background-position: center;
}

#building-projects.central {
    background:
        linear-gradient(rgba(20, 21, 49, 0.7), rgba(20, 21, 49, 0.7)),
        url("../images/mission/building-projects.webp");
    background-size: cover;
    background-position: center;
}

#vision.central {
    background:
        linear-gradient(rgba(20, 21, 49, 0.7), rgba(20, 21, 49, 0.7)),
        url("../images/mission/vision.webp");
    background-size: cover;
    background-position: center;
}

#thinking.central {
    background:
        linear-gradient(rgba(20, 21, 49, 0.7), rgba(20, 21, 49, 0.7)),
        url("../images/mission/vision.webp");
    background-size: cover;
    background-position: center;
}

#how-we-work.central {
    background:
        linear-gradient(rgba(47, 49, 64, 0.8), rgba(47, 49, 64, 0.8)),
        url("../images/how-we-work/image.webp");
    background-size: cover;
    background-position: center;
}

/* Our Values Section */
.our-values {
    padding: 200px 82px;
}

.values-intro {
    font-family: "Adamina", serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
}

p.values-intro.big-indent {
    margin-bottom: 100px;
    opacity: 0;
}

p.values-intro.big-indent.visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

.values-content {
    display: grid;
    grid-template-columns: 628px 1fr;
    gap: 20px;
    margin-bottom: 100px;
}

.values-image {
    background: #14153133;
    opacity: 0;
}

.values-image.animate-on-scroll.visible {
    animation: slideInFromLeft 0.8s ease-out forwards;
}

.values-image img {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 628px;
}

.value-card {
    background-color: var(--color-bg);
    padding: 20px;
    transition: background-color 0.3s ease;
    height: 150px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr;
    gap: 10px 20px;
    border-bottom: 1px solid #d9d9d9;
    opacity: 0;
}

.value-card.animate-on-scroll.visible {
    animation: slideInFromRight 0.8s ease-out forwards;
}

.value-card:hover {
    background: linear-gradient(0deg,
            rgba(20, 21, 49, 0.7),
            rgba(20, 21, 49, 0.7));
}

.value-card:hover h3,
.value-card:hover p {
    color: #ffffff;
}

.value-card h3 {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 26px;
    letter-spacing: 0;
    text-transform: uppercase;
    margin-bottom: 0;
    grid-column: 1 / -1;
}

.value-card p {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0;
    margin: 0;
    align-self: end;
}

.value-arrow {
    width: 24px;
    height: 24px;
    align-self: end;
    justify-self: end;
    filter: invert(58%) sepia(37%) saturate(729%) hue-rotate(351deg) brightness(92%) contrast(88%);
    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.value-card:hover .value-arrow {
    transform: rotate(180deg);
}

.values-footer {
    font-family: "Adamina", serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0;
    text-align: center;
    max-width: 844px;
    margin: 0 auto;
}

/* Our Clients & Partners Section */
.clients-partners {
    padding: 200px 0;
}

.clients-partners .container {
    padding: 0 82px;
}

.clients-partners .section-title {
    margin-bottom: 80px;
}

/* Brand Slider */
.brands-slider {
    overflow: hidden;
    width: calc(100% + 164px);
    margin-left: -82px;
}

.brands-track {
    display: flex;
    gap: 60px;
    animation: scroll-brands 30s linear infinite;
    width: max-content;
}

@keyframes scroll-brands {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.brand-logo {
    flex-shrink: 0;
    width: 304px;
    height: 304px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.brand-logo:hover img {
    filter: grayscale(0%);
}

/* Three Column Section */
.three-column-section {
    padding: 100px 82px 200px 82px;
}

.three-column {
    display: grid;
    grid-template-columns: 304px 628px 1fr;
    gap: 20px;
    align-items: end;
    transition: grid-template-columns 0.4s ease;
}

.three-column>.animate-on-scroll {
    opacity: 0;
}

.three-column>.column-left.animate-on-scroll.visible {
    animation: slideInFromLeft 0.8s ease-out forwards;
}

.three-column>.column-middle.animate-on-scroll.visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

.three-column>.column-right.animate-on-scroll.visible {
    animation: slideInFromRight 0.8s ease-out forwards;
}

/* Transform layout when a service is selected */
.three-column.service-selected {
    grid-template-columns: 520px 412px 1fr;
}

.column-left {
    width: 304px;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    position: relative;
    transition: width 0.4s ease;
}

.three-column.service-selected .column-left {
    width: 520px;
}

.column-left .section-title {
    margin-bottom: 40px;
}

.column-left h3 {
    font-family: "Adamina", serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0;
    margin-bottom: 20px;
}

.column-left p {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    margin-top: auto;
}

/* Service content blocks - only one visible at a time */
.service-content {
    display: none;
}

.service-content.active {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}

.service-content .section-title {
    flex-shrink: 0;
}

.service-content h3 {
    flex-shrink: 0;
}

.service-content p {
    margin-top: auto;
}

.column-middle {
    width: 628px;
    height: 576px;
    position: relative;
    transition: width 0.4s ease;
}

.three-column.service-selected .column-middle {
    width: 412px;
}

.column-middle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* Service images - only one visible at a time */
.service-image {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

.service-image.active {
    display: block;
}

.column-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-self: stretch;
    /* Take full height */
    position: relative;
}

/* Service descriptions pinned to top of right column */
.service-description {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    color: #000000;
}

.service-description.active {
    display: block;
}

/* Push services-reset button to bottom (first visible element) */
.column-right .services-reset {
    margin-top: auto;
}

.text-block {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    cursor: pointer;
    transition: color 0.3s ease;
    color: #000000;
    /* Black by default (all active look) */
}

/* When a service is selected, inactive items become gray */
.three-column.service-selected .text-block {
    color: #999999;
}

/* Active item is always black */
.three-column.service-selected .text-block.active {
    color: #000000;
}

.three-column.service-selected .text-block:hover {
    color: var(--color-primary);
}

.three-column .text-block:hover {
    color: var(--color-primary);
}

.services-reset {
    display: block;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 20px;
    text-align: left;
    padding: 0;
    margin-bottom: 20px;
    color: #999999;
    transition: color 0.3s ease;
    line-height: 40px;
}

.services-reset:hover {
    color: var(--color-primary);
}

/* When a service is selected, hide the reset button */
.three-column:not(.service-selected) .services-reset {
    visibility: hidden;
    height: 0;
    margin-bottom: 0;
    overflow: hidden;
}

/* When a service is selected, show the reset button */
.three-column.service-selected .services-reset {
    visibility: visible;
    height: 40px;
    margin-bottom: 20px;
    font-family: Inter;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #c8c6c6;
}

/* Contact Hero Section */
.contact-hero {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.contact-hero-container {
    position: relative;
    width: 1440px;
    height: 571px;
    padding: 0 0 60px 60px;
    display: flex;
    align-items: flex-end;
}

.contact-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    z-index: 0;
}

.contact-hero-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-hero-text h1 {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 32px;
    letter-spacing: 0;
    text-transform: uppercase;
    margin: 0;
    color: #ffffff;
}

.contact-hero-text p {
    font-family: "Adamina", serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0;
    margin: 0;
    color: #ffffff;
}

/* Contact Content Section */
.contact-content-section {
    padding: 100px 82px 200px 82px;
    background-color: var(--color-bg);
}

.contact-content-grid {
    display: grid;
    grid-template-columns: 412px auto;
    gap: 20px;
    align-items: start;
}

.contact-content-grid>.animate-on-scroll {
    opacity: 0;
}

.contact-content-grid>.animate-on-scroll.visible {
    animation: slideInFromLeft 0.8s ease-out forwards;
}

.contact-content-grid>.contact-text-column.animate-on-scroll.visible {
    animation: slideInFromRight 0.8s ease-out forwards;
}

.contact-button-column {
    display: flex;
    align-items: flex-start;
}

.contact-cta-button {
    display: inline-block;
    background: transparent;
    border: 1px solid #000000;
    padding: 15px 30px;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
}

.contact-cta-button:hover {
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.contact-text-column {
    width: 844px;
}

.contact-text-column p {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    margin: 0;
}

.contact-text-column p:first-child {
    font-family: "Adamina", sans-serif;
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 40px;
}

/* Info Section */
.info-section {
    padding: 0 82px 200px 82px;
    background-color: var(--color-bg);
}

.info-grid {
    display: grid;
    grid-template-columns: 412px 1fr;
    gap: 20px;
    align-items: start;
}

.info-grid>.animate-on-scroll {
    opacity: 0;
}

.info-grid>.animate-on-scroll.visible:first-child {
    animation: slideInFromLeft 0.8s ease-out forwards;
}

.info-grid>.animate-on-scroll.visible:last-child {
    animation: slideInFromRight 0.8s ease-out forwards;
}

.info-image-column {
    width: 412px;
    height: 412px;
}

.info-image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-content-column {
    display: flex;
    flex-direction: column;
}

.info-content-column .section-title {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 42px;
    letter-spacing: 0;
    text-transform: uppercase;
    margin: 0 0 20px 0;
}

.info-content-column .section-title::after {
    display: none;
}

.info-content-column h3 {
    font-family: "Adamina", serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0;
    margin: 0 0 40px 0;
}

.info-content-column p {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    margin: 0;
}

.photo-contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.photo-contact-item:last-child {
    margin-bottom: 0;
}

.photo-contact-item img {
    width: 24px;
    height: 24px;
}

.photo-contact-item:hover {
    color: var(--color-primary);
}

.photo-contact-item:hover img {
    filter: invert(58%) sepia(37%) saturate(729%) hue-rotate(351deg) brightness(92%) contrast(88%);
}

/* Map Section */
.map-section {
    padding: 0 82px 0 82px;
    background-color: var(--color-bg);
}

.map-grid {
    display: grid;
    grid-template-columns: 412px 1fr;
    gap: 20px;
    align-items: start;
}

.map-grid>.animate-on-scroll {
    opacity: 0;
}

.map-grid>.animate-on-scroll.visible:first-child {
    animation: slideInFromLeft 0.8s ease-out forwards;
}

.map-grid>.animate-on-scroll.visible:last-child {
    animation: slideInFromRight 0.8s ease-out forwards;
}

.map-placeholder-column {
    width: 412px;
    height: 844px;
    display: flex;
    flex-direction: column;
}

.company-info-title {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 42px;
    letter-spacing: 0;
    text-transform: uppercase;
    margin: 0 0 40px 0;
}

.company-info-title::after {
    content: "";
    display: block;
    width: 120px;
    height: 1px;
    background: var(--text-color-main);
    margin-top: 20px;
}

.company-info-groups {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.company-info-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.company-info-label {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    color: #000000;
    text-transform: uppercase;
}

.company-info-value {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

a.company-info-value:hover {
    color: var(--color-primary);
}

.company-social-buttons {
    display: flex;
    gap: 40px;
    margin-top: auto;
}

.company-social-button {
    display: inline-block;
    background: transparent;
    border: 1px solid #000000;
    padding: 15px 30px;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
}

.company-social-button:hover {
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.map-column {
    width: 844px;
    height: 844px;
}

.map-column iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Numbers Section */
.numbers-section {
    padding: 100px 82px 0 82px;
    background-color: var(--color-bg);
}

.projects-list .section-title-centered {
    opacity: 1;
}

.section-title-centered {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 32px;
    letter-spacing: 0;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
}

.section-title-centered.visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

.section-title-centered::after {
    content: "";
    display: block;
    width: 120px;
    height: 1px;
    background: var(--text-color-main);
    margin: 20px auto 0;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.number-item {
    padding: 20px 20px 0;
    opacity: 0;
}

.number-item.visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

.number {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
    font-size: 70px;
    line-height: 72px;

    text-align: center;
    color: var(--color-primary);
    margin-bottom: 40px;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-label {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 26px;

    text-align: center;
    color: var(--text-color-main);
    padding: 0 20px;
}

/* Projects List Section */
.projects-list {
    padding: 0 20px 200px 20px;
}

.projects-list .container {
    max-width: 1276px;
    /* 412px × 3 + 20px × 2 = 1276px */
    margin: 0 auto;
    border-top: 1px solid #D6D1D1;
    padding-top: 200px;
}

.projects-list h1 {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 42px;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.projects-list-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 100px;
    margin-left: auto;
    margin-right: auto;
}

.projects-list-text span {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    margin: 0;
    text-align: center;
}

.projects-list-text span+span {
    margin-top: 10px;
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 100px;
}

.category-btn {
    background: transparent;
    border: none;
    padding: 0;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    text-align: center;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
}

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

.category-btn.active {
    color: #000000;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 412px);
    gap: 20px;
    justify-content: center;
}

.project-card {
    width: 412px;
    height: 412px;
    overflow: hidden;
    position: relative;
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.project-card-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.project-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover effect: zoom image */
.project-card:hover .project-card-image {
    transform: scale(1.1);
}

/* Dark overlay */
.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 20px;
}

/* Show overlay on hover */
.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-text {
    text-align: left;
    color: white;
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

/* Show text on hover */
.project-card:hover .project-card-text {
    transform: translateY(0);
    opacity: 1;
}

.project-card-title {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0;
    margin: 20px 0 0 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.project-card-description {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Breadcrumb Navigation */
.project-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 60px;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
}

.breadcrumb-text {
    color: #000000;
}

.breadcrumb-separator {
    width: 8px;
    height: 14px;
    filter: brightness(0);
    transition: filter 0.3s ease;
}

.breadcrumb-category-link {
    color: #000000;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.breadcrumb-category-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb-category-link:hover {
    color: var(--color-primary);
}

/* Animations */
@keyframes slideDownFromTop {
    from {
        opacity: 0;
        transform: translateY(-60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUpFromBottom {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header animation - only on specific pages */
header.animate-header .logo,
header.animate-header nav {
    opacity: 0;
    animation: slideDownFromTop 0.8s ease-out forwards;
}

/* Footer animation */
footer .footer-logo.animate-on-scroll,
footer .footer-contacts.animate-on-scroll,
footer .footer-links.animate-on-scroll {
    opacity: 0;
}

footer .footer-logo.animate-on-scroll.visible,
footer .footer-contacts.animate-on-scroll.visible,
footer .footer-links.animate-on-scroll.visible {
    animation: slideUpFromBottom 0.8s ease-out forwards;
}

/* Scroll animation for content */
.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-on-scroll.slide-from-left.visible {
    animation: slideInFromLeft 0.8s ease-out forwards;
}

/* Hero slider text animation */
.hero-title h1,
.hero-subtitle p {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-title h1 {
    animation-delay: 0.3s;
}

.hero-subtitle p {
    animation-delay: 0.5s;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* --- Tablet: max-width 1024px --- */
@media (max-width: 1024px) {
    /* Header */
    header {
        height: 100px;
        padding: 0 40px;
    }

    nav ul {
        display: none;
    }

    /* Hero */
    .hero {
        height: 500px;
    }

    .hero-title h1 {
        font-size: 70px;
        line-height: 80px;
    }

    .hero-subtitle {
        top: calc(50% + 100px);
    }

    .hero-subtitle p {
        font-size: 22px;
        line-height: 28px;
    }

    .hero-arrow-left {
        left: 20px;
    }

    .hero-arrow-right {
        right: 20px;
    }

    /* Two Column */
    .two-column {
        grid-template-columns: 1fr;
        padding: 80px 40px;
        gap: 40px;
    }

    .image-placeholder img,
    .image-placeholder-dark img {
        width: 100%;
        height: auto;
    }

    /* Section titles & text */
    :is(footer, section) h2 {
        font-size: 26px;
        line-height: 30px;
    }

    :is(section, footer) :is(a, p) {
        font-size: 18px;
        line-height: 22px;
    }

    .section-content h3 {
        font-size: 20px;
        line-height: 28px;
    }

    /* Central / CTA */
    .central {
        padding: 80px 20px;
    }

    /* Why Clients */
    .why-clients {
        padding: 80px 0;
    }

    .why-clients .section-title {
        margin-bottom: 60px;
        padding-left: 40px;
    }

    .benefits-scroll-container {
        padding-left: 40px;
    }

    .benefit-card {
        min-width: 260px;
        width: 260px;
        height: 340px;
    }

    /* Commitment */
    .commitment .two-column {
        padding-top: 0;
    }

    /* Footer */
    footer {
        padding: 80px 40px 40px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        margin-top: 40px;
        flex-wrap: wrap;
        gap: 20px;
    }

    /* Our Values (about page) */
    .our-values {
        padding: 80px 40px;
    }

    .values-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .values-list {
        max-width: 100%;
    }

    .value-card {
        height: auto;
        min-height: 120px;
    }

    p.values-intro.big-indent {
        margin-bottom: 60px;
    }

    /* Numbers Section */
    .numbers-section {
        padding: 80px 40px 0;
    }

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .number {
        font-size: 50px;
        line-height: 54px;
    }

    /* Clients & Partners (about page) */
    .clients-partners {
        padding: 80px 0;
    }

    .clients-partners .container {
        padding: 0 40px;
    }

    .brands-slider {
        width: calc(100% + 80px);
        margin-left: -40px;
    }

    .brand-logo {
        width: 200px;
        height: 200px;
    }

    /* Three Column / Services */
    .three-column-section {
        padding: 60px 40px 80px;
    }

    .three-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .three-column.service-selected {
        grid-template-columns: 1fr;
    }

    .column-left {
        width: 100%;
    }

    .three-column.service-selected .column-left {
        width: 100%;
    }

    .column-middle {
        width: 100%;
        height: 400px;
    }

    .three-column.service-selected .column-middle {
        width: 100%;
    }

    .column-right {
        position: static;
    }

    .service-description {
        position: static;
        margin-bottom: 20px;
    }

    /* Contacts Page */
    .contact-hero-container {
        width: 100%;
        height: 400px;
        padding: 0 0 40px 40px;
    }

    .contact-content-section {
        padding: 60px 40px 80px;
    }

    .contact-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-text-column {
        width: 100%;
    }

    .info-section {
        padding: 0 40px 80px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .info-image-column {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .map-section {
        padding: 0 40px;
    }

    .map-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-placeholder-column {
        width: 100%;
        height: auto;
    }

    .map-column {
        width: 100%;
        height: 0;
        padding-bottom: 100%;
        position: relative;
    }

    .map-column iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .company-social-buttons {
        margin-top: 40px;
    }

    /* Project Detail Page */
    .project-content {
        padding: 60px 40px 40px;
    }

    .project-content::before {
        left: 40px;
        right: 40px;
    }

    .project-header h1 {
        font-size: 46px;
        line-height: 50px;
    }

    .project-slider-container {
        height: 450px;
    }

    .project-details {
        grid-template-columns: 1fr;
    }

    .project-details-left {
        width: 100%;
        padding-right: 0;
    }

    .project-details-right {
        padding-left: 0;
    }

    /* Project Navigation */
    .project-navigation {
        grid-template-columns: 1fr;
        padding: 0 40px;
        margin-bottom: 80px;
        height: auto;
        gap: 15px;
        text-align: center;
    }

    .project-nav-prev {
        justify-self: center;
    }

    .project-nav-next {
        justify-self: center;
    }

    .project-footer {
        padding: 40px 40px;
    }

    .project-footer::before {
        left: 40px;
        right: 40px;
    }

    /* Projects List */
    .projects-list {
        padding: 0 20px 80px;
    }

    .projects-list .container {
        padding-top: 80px;
    }

    .category-filter {
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 60px;
    }

    .projects-list-text {
        margin-bottom: 60px;
    }

    /* Footer contacts page */
    .footer-contacts-page .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-contacts-page .footer-links {
        justify-self: start;
    }

    .footer-contacts-page .footer-links ul {
        flex-direction: column;
        gap: 20px;
    }
}

/* --- Mobile: max-width 768px --- */
@media (max-width: 768px) {
    /* Header */
    header {
        height: 70px;
        padding: 0 20px;
    }

    .header-container {
        padding: 0 0;
    }

    .header-actions {
        gap: 10px;
    }

    .custom-dropdown {
        width: 100px;
        height: 44px;
    }

    .dropdown-toggle {
        width: 100px;
        height: 44px;
        padding: 8px 12px;
        font-size: 14px;
    }

    .current-lang {
        font-size: 16px;
        line-height: 20px;
    }

    .dropdown-item {
        padding: 10px 12px;
        font-size: 16px;
        line-height: 20px;
    }

    .dropdown-menu {
        width: 100px;
    }

    .social-icons a img {
        width: 20px;
        height: 20px;
    }

    /* Hero */
    .hero {
        height: 400px;
    }

    .hero-title h1 {
        font-size: 48px;
        line-height: 56px;
    }

    .hero-subtitle {
        top: calc(50% + 70px);
    }

    .hero-subtitle p {
        font-size: 16px;
        line-height: 22px;
    }

    .hero-arrow-left {
        left: 10px;
    }

    .hero-arrow-right {
        right: 10px;
    }

    /* Two Column */
    .two-column {
        padding: 60px 20px;
        gap: 30px;
    }

    /* Section titles & text */
    :is(footer, section) h2 {
        font-size: 22px;
        line-height: 26px;
    }

    :is(section, footer) :is(a, p) {
        font-size: 16px;
        line-height: 20px;
    }

    .section-content h3 {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 15px;
    }

    .section-content h3:last-of-type {
        margin-bottom: 25px;
    }

    .section-content p {
        font-size: 16px;
        line-height: 20px;
    }

    /* Central / CTA */
    .central {
        padding: 60px 20px;
    }

    .central p {
        max-width: 100%;
    }

    .central.сta p {
        max-width: 100%;
    }

    #how-we-work.central p {
        max-width: 100%;
    }

    .cta-button {
        margin-top: 30px;
        padding: 12px 24px;
        font-size: 14px;
        line-height: 18px;
    }

    /* Why Clients */
    .why-clients {
        padding: 60px 0;
    }

    .why-clients .section-title {
        margin-bottom: 40px;
        padding-left: 20px;
    }

    .benefits-scroll-container {
        padding-left: 20px;
        gap: 15px;
    }

    .benefit-card {
        min-width: 230px;
        width: 230px;
        height: 300px;
        padding: 15px;
    }

    .benefit-card h4 {
        font-size: 18px;
        line-height: 22px;
    }

    .benefit-subtitle {
        font-size: 14px;
        line-height: 18px;
    }

    /* Footer */
    footer {
        padding: 60px 20px 30px;
    }

    .footer-container {
        gap: 30px;
    }

    .footer-contacts h2 {
        font-size: 30px;
        line-height: 34px;
    }

    .footer-bottom {
        margin-top: 30px;
        flex-direction: column;
        gap: 8px;
    }

    /* Our Values (about page) */
    .our-values {
        padding: 60px 20px;
    }

    .values-content {
        margin-bottom: 60px;
    }

    .values-footer {
        font-size: 18px;
        line-height: 24px;
    }

    .value-card h3 {
        font-size: 20px;
        line-height: 24px;
    }

    .value-card p {
        font-size: 16px;
        line-height: 20px;
    }

    /* Numbers Section */
    .numbers-section {
        padding: 60px 20px 0;
    }

    .number {
        font-size: 40px;
        line-height: 44px;
        margin-bottom: 20px;
    }

    .number-label {
        font-size: 18px;
        line-height: 22px;
    }

    .section-title-centered {
        font-size: 22px;
        line-height: 26px;
        margin-bottom: 40px;
    }

    /* Clients & Partners */
    .clients-partners {
        padding: 60px 0;
    }

    .clients-partners .container {
        padding: 0 20px;
    }

    .brands-slider {
        width: calc(100% + 40px);
        margin-left: -20px;
    }

    .brand-logo {
        width: 150px;
        height: 150px;
    }

    .brands-track {
        gap: 30px;
    }

    /* Three Column / Services */
    .three-column-section {
        padding: 40px 20px 60px;
    }

    .three-column {
        gap: 20px;
    }

    .column-middle {
        height: 280px;
    }

    .column-left .section-title {
        margin-bottom: 20px;
    }

    .column-left h3 {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 15px;
    }

    .column-left p {
        font-size: 16px;
        line-height: 20px;
    }

    .text-block {
        font-size: 16px;
        line-height: 20px;
    }

    .service-description {
        font-size: 16px;
        line-height: 20px;
    }

    /* Contacts Page */
    .contact-hero-container {
        height: 300px;
        padding: 0 0 20px 20px;
    }

    .contact-hero-text h1 {
        font-size: 20px;
        line-height: 24px;
    }

    .contact-hero-text {
        gap: 20px;
    }

    .contact-content-section {
        padding: 40px 20px 60px;
    }

    .contact-cta-button {
        padding: 12px 20px;
        font-size: 16px;
        line-height: 20px;
    }

    .contact-text-column p:first-child {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 20px;
    }

    .info-section {
        padding: 0 20px 60px;
    }

    .info-content-column .section-title {
        font-size: 28px;
        line-height: 32px;
    }

    .info-content-column h3 {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 20px;
    }

    .map-section {
        padding: 0 20px;
    }

    .company-info-title {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 30px;
    }

    .company-social-buttons {
        gap: 20px;
        flex-wrap: wrap;
    }

    .company-social-button {
        padding: 12px 20px;
        font-size: 16px;
    }

    /* Project Detail Page */
    .project-content {
        padding: 40px 20px 30px;
    }

    .project-content::before {
        left: 20px;
        right: 20px;
    }

    .project-header h1 {
        font-size: 32px;
        line-height: 36px;
        margin-bottom: 20px;
    }

    .project-header h2 {
        font-size: 18px;
        line-height: 24px;
    }

    .project-slider-container {
        height: 280px;
        margin-bottom: 30px;
    }

    .project-details :is(p, li) {
        font-size: 16px;
        line-height: 20px;
    }

    .project-details h2 {
        font-size: 16px;
        line-height: 20px;
    }

    .project-details h3 {
        font-size: 18px;
        line-height: 24px;
    }

    .project-info-label {
        font-size: 16px;
        line-height: 20px;
    }

    .project-info-value {
        font-size: 16px;
        line-height: 20px;
    }

    /* Project Navigation */
    .project-navigation {
        padding: 0 20px;
        margin-bottom: 40px;
    }

    .project-nav-button {
        font-size: 14px;
        line-height: 18px;
        padding: 12px 16px;
    }

    .project-nav-title {
        font-size: 16px;
        line-height: 20px;
    }

    .project-footer {
        padding: 30px 20px;
    }

    .project-footer::before {
        left: 20px;
        right: 20px;
    }

    /* Projects List */
    .projects-list .container {
        padding-top: 60px;
    }

    .projects-list h1 {
        font-size: 28px;
        line-height: 32px;
    }

    .category-filter {
        gap: 10px;
        margin-bottom: 40px;
    }

    .category-btn {
        font-size: 14px;
        line-height: 18px;
    }

    .projects-list-text span {
        font-size: 16px;
        line-height: 20px;
    }

    .projects-list-text {
        margin-bottom: 40px;
    }

    /* Project breadcrumb */
    .project-breadcrumb {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 30px;
        gap: 8px;
    }

    /* Footer contacts page */
    .footer-contacts-page .footer-container {
        padding-top: 30px;
    }
}

/* --- Projects Grid Responsive --- */
@media (max-width: 1320px) {
    .projects-grid {
        grid-template-columns: repeat(2, 412px);
    }

    .projects-list .container {
        max-width: 844px;
    }
}

@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: 412px;
    }

    .projects-list .container {
        max-width: 412px;
    }
}

@media (max-width: 450px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .project-card {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}