/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #1F2C36;
    --color-primary-light: rgba(31, 44, 54, 0.6);
    --color-primary-lighter: rgba(31, 44, 54, 0.15);
    --color-white: #FAF9F5;
    --color-bg-light: #F5F8FA;
    --color-bg-dark: #1F2C36;
    --color-text-dark: #343B33;
    --color-text-gray: #767676;
    --color-border: rgba(31, 44, 54, 0.15);
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    /* scroll-behavior: smooth; Conflict with Lenis */
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: var(--font-family);
    font-weight: 500;
    color: var(--color-primary);
    /* background-color: var(--color-white); */
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

* {
    box-sizing: border-box;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    min-height: 1008px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

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

.hero__background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Desktop position adjustment */
    object-position: center;
    transform: scale(1.1) translateY(var(--hero-parallax-y, 0px));
    will-change: transform;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 44, 54, 0.2);
    z-index: 1;
}

.hero__gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, rgba(31, 44, 54, 1) 0%, rgba(31, 44, 54, 0) 100%);
    opacity: 0.4;
    z-index: 2;
}

.hero__container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
    height: 100%;
}

.hero__nav {
    position: absolute;
    top: 42px;
    right: calc((100% - 1440px) / 2 + 56px);
    display: flex;
    gap: 54px;
    align-items: center;
    animation: fadeInDown 0.8s ease-out;
    z-index: 4;
}

@media (max-width: 1440px) {
    .hero__nav {
        right: 56px;
    }
}

.hero__nav-link {
    color: var(--color-white);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3125em;
    text-decoration: none;
    position: relative;
    transition: opacity var(--transition-base);
}

.hero__nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-white);
    transition: width var(--transition-base);
}

.hero__nav-link:hover {
    opacity: 0.8;
}

.hero__nav-link:hover::after {
    width: 100%;
}

.hero__text-group {
    position: absolute;
    top: 42px;
    left: calc((100% - 1440px) / 2 + 50px);
    max-width: 735px;
    animation: fadeInLeft 1s ease-out 0.2s both;
    z-index: 4;
    will-change: transform;
}

@media (max-width: 1440px) {
    .hero__text-group {
        left: 50px;
    }
}

.hero__title {
    font-size: 37px;
    font-weight: 500;
    line-height: 1.33em;
    color: var(--color-white);
    margin-bottom: 28px;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    background-color: var(--color-white);
    border-radius: 720px;
    text-decoration: none;
    transition: transform var(--transition-base);
    overflow: hidden;
}

@media (hover: hover) {
    .hero__cta:hover {
        transform: scale(1.05);
    }
}

.hero__cta-text-wrap {
    position: relative;
    display: block;
    height: 1em;
    overflow: hidden;
}

.hero__cta-text {
    display: block;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 500;
    line-height: 0.8125em;
}

.hero__cta-text--primary {
    transform: none;
}

.hero__cta-text--secondary {
    display: none;
}

.hero__heading {
    position: absolute;
    bottom: 130px;
    right: calc((100% - 1440px) / 2 + 56px);
    font-size: 200px;
    font-weight: 500;
    line-height: 0.9em;
    color: var(--color-white);
    text-align: right;
    animation: fadeInRight 1s ease-out 0.4s both;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    width: 1101px;
    height: 360px;
    margin: 0;
    z-index: 4;
    will-change: transform;
}

@media (max-width: 1440px) {
    .hero__heading {
        right: 56px;
        font-size: 150px;
    }
}

.hero__scroll {
    position: absolute;
    bottom: 150px;
    left: calc((100% - 1440px) / 2 + 56px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 64px;
    animation: fadeInUp 1s ease-out 0.6s both;
    transition: transform var(--transition-base);
    z-index: 4;
}

.hero__scroll-icon {
    width: 48px;
    height: 64px;
    display: block;
}

@media (max-width: 1440px) {
    .hero__scroll {
        left: 56px;
    }
}

.hero__scroll:hover {
    transform: translateY(5px);
}

/* About Section */
.about {
    padding: 56px 0 60px;
    background-color: #FFFFFF;
    position: relative;
    z-index: 2;
}

.about__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 56px;
}

.about__experience {
    display: flex;
    flex-direction: column;
    gap: 84px;
}

.about__section-header {
    display: flex;
    justify-content: space-between;
    gap: 0;
    padding-top: 15px;
    border-top: 1px solid var(--color-border);
    animation: fadeInUp 0.8s ease-out;
    align-items: flex-start;
    position: relative;
}

.about__label {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.625em;
    color: var(--color-primary);
    flex-shrink: 0;
    padding-top: 0;
    /* width: 92px; */
    position: absolute;
    left: 0;
    top: 15px;
}

.about__description {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.37em;
    color: var(--color-primary);
    max-width: 987px;
    margin: 0;
    padding-top: 0;
    margin-left: 341px;
}

.about__facts {
    width: 100%;
    max-width: 100%;
    padding-top: 15px;
    border-top: 1px solid var(--color-border);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    position: relative;
    height: 222px;
}

.about__facts-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.64em;
    color: var(--color-primary-light);
    margin: 0;
    position: absolute;
    left: 341px;
    top: 15px;
    width: auto;
}

.about__facts-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    position: absolute;
    right: 0;
    top: 15px;
    max-width: 656px;
    width: 656px;
}

.about__fact-item {
    display: flex;
    gap: 16px;
    width: 100%;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
}

.about__fact-label {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.64em;
    color: var(--color-primary);
    width: 230px;
    flex-shrink: 0;
}

.about__fact-value {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.64em;
    color: var(--color-primary-light);
    flex: 1;
}

/* Services Section */
.services {
    padding: 54px 56px;
    background-color: #FFFFFF;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.services__container {
    max-width: 1328px;
    margin: 0 auto;
}

.services__header {
    margin-bottom: 60px;
    padding-top: 15px;
    border-top: 1px solid var(--color-border);
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    min-height: 294px;
}

.services__label {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.625em;
    color: var(--color-primary);
    display: block;
    position: absolute;
    left: 0;
    top: 15px;
    margin: 0;
    width: 92px;
}

.services__title {
    font-size: 80px;
    font-weight: 500;
    line-height: 1.24em;
    color: var(--color-primary);
    margin: 0;
    position: absolute;
    left: 341px;
    top: 15px;
    width: 987px;
}

.services__description {
    font-size: 26px;
    font-weight: 500;
    line-height: 1.33em;
    color: var(--color-primary);
    max-width: 670px;
    margin: 0;
    position: absolute;
    left: 341px;
    top: 155.72px;
}

.services__list {
    display: flex;
    flex-direction: column;
    /* gap: 35px; */
}

.service {
    padding: 36px 0;
    border-bottom: 1px solid var(--color-border);
    animation: fadeInUp 0.8s ease-out both;
    display: grid;
    grid-template-columns: 340px 330px 656px;
    gap: 0;
    align-items: start;
    /* display: flex; */
    /* justify-content: space-between; */
}

.service:first-child {
    padding-top: 36px;
    border-top: 1px solid var(--color-border);
}

.service:nth-child(1) { animation-delay: 0.1s; }
.service:nth-child(2) { animation-delay: 0.2s; }
.service:nth-child(3) { animation-delay: 0.3s; }
.service:nth-child(4) { animation-delay: 0.4s; }
.service:nth-child(5) { animation-delay: 0.5s; }
.service:nth-child(6) { animation-delay: 0.6s; }

.service__header {
    display: flex;
    align-items: flex-start;
    gap: 44px;
    width: auto;
    grid-column: 1;
    margin: 0;
    margin-top: 4px;
}

.service__arrow {
    display: none;
}

.service__number {
    font-size: 14.9px;
    font-weight: 500;
    line-height: 1.76em;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 4px;
}

.service__title {
    font-size: 26px;
    font-weight: 500;
    line-height: 1.31em;
    color: var(--color-primary);
    margin: 0 0 36px 0;
    grid-column: 2;
    padding: 0;
}


.service__content-wrapper {
    grid-column: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.service__content {
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: 100%;
    position: relative;
    padding-bottom: 40px;
    padding-top: 8px;
}

.service__info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* max-width: 572px; */
}

.service__subtitle {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-primary);
    height: 26px;
    margin: 0;
}

.service__description {
    font-size: 15.86px;
    font-weight: 500;
    line-height: 1.66em;
    color: var(--color-primary-light);
    margin: 0;
}

.service__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.service__tag {
    display: inline-block;
    padding: 1px 10px;
    border: 1px solid var(--color-border);
    border-radius: 720px;
    font-size: 12px;
    font-weight: 500;
    line-height: 2.19em;
    color: var(--color-primary);
    transition: all var(--transition-base);
}


/* Advantages Section */
.advantages {
    padding: 42px 14px;
    background-color: transparent;
}

.advantages__container {
    max-width: 1328px;
    margin: 0 auto;
    background-color: #FAFAFA;
    border-radius: 8px;
    padding: 42px;
}

.advantages__header {
    padding-top: 15px;
    border-top: 1px solid var(--color-border);
    margin-bottom: 44px;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    min-height: 119px;
}

.advantages__label {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.625em;
    color: var(--color-primary);
    display: block;
    position: absolute;
    left: 0;
    top: 15px;
    margin: 0;
}

.advantages__description {
    font-size: 26px;
    font-weight: 500;
    line-height: 1.31em;
    color: var(--color-primary);
    max-width: 478px;
    margin: 0;
    position: absolute;
    left: 341px;
    top: 16px;
}

.advantages__grid {
    display: flex;
    flex-direction: column;
    gap: 84px;
}

.advantages__row {
    display: flex;
    gap: 44px;
    padding-top: 44px;
    border-top: 1px solid var(--color-border);
    animation: fadeInUp 0.8s ease-out both;
}

.advantages__row:nth-child(1) { animation-delay: 0.1s; }
.advantages__row:nth-child(2) { animation-delay: 0.2s; }

.advantage {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
    transition: transform var(--transition-base);
}

@media (hover: hover) {
    .advantage:hover {
        transform: translateY(-5px);
    }
}

.advantage__icon {
    width: 152px;
    height: 145px;
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

@media (hover: hover) {
    .advantage:hover .advantage__icon {
        transform: scale(1.1) rotate(5deg);
    }
}

.advantage__icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.advantage__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.advantage__title {
    font-size: 26px;
    font-weight: 500;
    line-height: 1.31em;
    color: var(--color-primary);
}

.advantage__text {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.64em;
    color: var(--color-primary-light);
}

/* FAQ Section */
.faq {
    padding: 42px;
    background-color: #FFFFFF;
}

.faq__container {
    max-width: 1328px;
    margin: 0 auto;
    display: flex;
    gap: 302px;
    padding-top: 15px;
    border-top: 1px solid var(--color-border);
    justify-content: center;
}

.faq__header {
    width: 379px;
    flex-shrink: 0;
    animation: fadeInLeft 0.8s ease-out;
}

.faq__title {
    font-size: 81.9px;
    font-weight: 500;
    line-height: 1.21em;
    color: var(--color-primary);
    margin: 0 0 27.6px 0;
}

.faq__description {
    font-size: 15.72px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-primary);
    max-width: 319px;
    margin: 0;
}

.faq__list {
    flex: 1;
    max-width: 647px;
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

.faq__item {
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.faq__question-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 47px 0;
    position: relative;
    z-index: 1;
}

.faq__left {
    display: flex;
    align-items: center;
    gap: 44px;
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    padding: 0 0 0 60px;
    font-size: 16px;
    line-height: 1.64em;
    color: var(--color-primary-light);
    opacity: 0;
}

.faq__item.active .faq__answer {
    max-height: 500px;
    /* padding: 20px 0 32px 60px; */
    opacity: 1;
    margin-bottom: 32px;
}

.faq__number {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5em;
    color: var(--color-text-gray);
    flex-shrink: 0;
}

.faq__question-text {
    font-size: 24px;
    font-weight: 500;
    line-height: 1em;
    color: var(--color-text-dark);
    transition: color var(--transition-base), opacity var(--transition-base);
}

@media (hover: hover) {
    .faq__item:hover .faq__question-text {
        color: var(--color-primary);
        opacity: 0.7;
    }
}

.faq__item.active .faq__question-text {
    color: var(--color-primary);
    opacity: 1;
}

.faq__toggle {
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform var(--transition-base);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq__toggle img {
    width: 100%;
    height: 100%;
    display: block;
}

.faq__item.active .faq__toggle {
    transform: rotate(45deg);
}

/* Footer Section */
.footer {
    background-color: #1F2C36;
    color: #FAF9F5;
    padding: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    overflow: hidden;
}

.main-wrapper {
    position: relative;
    z-index: 1;
    background-color: #FFFFFF;
    width: 100%;
    /* margin-bottom will be set by JS */
}

.footer__border-top {
    height: 44px; /* Matches Figma y: 44 */
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__marquee {
    padding: 32px 0 80px;
    overflow: hidden;
    white-space: nowrap;
}

.footer__marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 43px;
}

.footer__marquee-item {
    display: flex;
    align-items: center;
    gap: 43px;
    flex-shrink: 0;
}

.footer__marquee-text {
    font-size: 200px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
    color: #ECEAE9;
}

.footer__marquee-star {
    width: 60px;
    height: 60px;
    opacity: 0.3;
}

.footer__main-border {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 32px 0 0;
    margin: 0 16px 20px;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 24px;
    margin-bottom: 285px;
}

.footer__info {
    max-width: 363px;
}

.footer__badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    margin-bottom: 24px;
}

.footer__badge-dot {
    font-size: 24px;
}

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

.footer__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    line-height: 1.1;
}

.footer__phone {
    font-size: 60px;

    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.footer__arrow {
    width: 64px;
    height: 64px;
    transition: transform 0.3s ease;
}

.footer__phone:hover {
    opacity: 0.8;
}

.footer__email {
    font-size: 60px;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.footer__email:hover {
    opacity: 0.7;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 24px 20px;
}

.footer__copyright {
    font-size: 16px;
    opacity: 0.7;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social-link {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.01);
    transition: all var(--transition-base);
}

.footer__social-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

.footer__social-link img {
    width: 32px;
    height: 32px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1440px) {
    .hero__heading {
        font-size: 180px;
    }
    
    .services__title {
        font-size: 70px;
        left: 300px;
    }
    
    .services__description {
        left: 300px;
    }
    
    .about__description {
        margin-left: 300px;
        max-width: 900px;
    }
    
    .about__facts-title {
        left: 300px;
    }
    
    .advantages__description {
        left: 264px;
    }
    
    .contact__title {
        font-size: 180px;
    }
}

@media (max-width: 1200px) {
    .hero__heading {
        font-size: 120px;
    }
    
    .services__title {
        font-size: 60px;
        left: 200px;
    }
    
    .services__description {
        left: 200px;
    }
    
    .about__description {
        margin-left: 200px;
        max-width: 800px;
    }
    
    .about__facts-title {
        left: 200px;
    }
    
    .about__facts-list {
        max-width: 600px;
    }
    
    .advantages__description {
        left: 200px;
    }
    
    .contact__title {
        font-size: 150px;
    }
    
    .contact__phone,
    .contact__email {
        font-size: 50px;
    }
}

@media (max-width: 1024px) {
    /* Tablet Styles */
    .hero {
        min-height: 1008px;
    }

    .hero__background-image {
        /* Tablet position adjustment */
        object-position: center;
    }
    
    .hero__heading {
        font-size: 100px;
        right: 40px;
        width: auto;
        height: auto;
        bottom: 130px;
    }
    
    .hero__title {
        font-size: 37px;
        max-width: 735px;
    }

    .hero__nav {
        right: 56px;
        gap: 54px;
    }

    .hero__text-group {
        left: 40px;
        max-width: 735px;
    }

    .hero__scroll {
        left: 56px;
    }
    
    .services {
        padding: 54px 24px;
    }
    
    .services__header {
        min-height: 294px;
    }
    
    .services__title {
        font-size: 65px;
        left: 341px;
        width: auto;
    }

    .services__label {
        left: 0;
    }

    .services__description {
        left: 341px;
        max-width: 651px;
        top: 140px;
    }
    
    .about__container,
    .advantages__container,
    .faq {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .about__description {
        font-size: 36px;
        margin-left: 341px;
        max-width: 651px;
    }
    
    .about__facts-title {
        left: 341px;
    }
    
    .about__facts-list {
        max-width: 656px;
    }
    
    .service {
        flex-direction: row;
        /* gap: 60px; */
    }

    .service__header {
        width: 320px;
        gap: 44px;
    }

    .service__content-wrapper {
        max-width: 100%;
    }
    
    .faq__container {
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
    }
    
    .faq__header {
        width: 100%;
    }

    .faq__title {
        font-size: 82px;
        margin-bottom: 20px;
    }

    .faq__description {
        max-width: 100%;
    }

    .faq__list {
        max-width: 100%;
    }
    
    .contact__title {
        font-size: 150px;
    }
    
    .contact__phone,
    .contact__email {
        font-size: 45px;
    }

    .contact__container {
        padding: 392px 56px 80px;
    }
    
    .contact__title-track {
        gap: 120px;
    }
    
    .contact__title-item {
        gap: 43px;
    }
    
    .contact__star {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 900px) {
    /* Tablet Medium */
    .hero__heading {
        font-size: 130px;
        right: 32px;
    }
    
    .hero__title {
        font-size: 32px;
    }
    
    .services__title {
        font-size: 55px;
        left: 200px;
    }
    
    .services__description {
        left: 200px;
        font-size: 24px;
    }
    
    .about__description {
        font-size: 30px;
        margin-left: 200px;
    }
    
    .about__facts-title {
        left: 200px;
    }
    
    .advantages__description {
        left: 200px;
        font-size: 22px;
    }
}

@media (max-width: 1366px) {
    /* iPad Pro/Air/Tablet Design Match */
    .service:first-child {
        padding-top: 36px;
        border-top: 1px solid var(--color-border);
    }

    .hero {
        min-height: 1008px;
        display: block;
    }
    
    .hero__container {
        padding: 0;
        max-width: 100%;
        height: 100%;
    }
    
    .hero__text-group {
        position: absolute;
        top: 42px;
        left: 40px;
        width: 735px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .hero__title {
        font-size: 37px;
        line-height: 1.3em;
        margin-bottom: 32px;
        text-align: left;
    }

    .hero__cta {
        margin-bottom: 42px;
    }

    .hero__heading {
        position: absolute;
        font-size: 120px;
        line-height: 0.9em;
        right: 40px;
        bottom: 150px;
        width: 621px;
        height: 270px;
        text-align: right;
        margin: 0;
    }
    
    .hero__scroll {
        left: 56px;
        bottom: 50px;
    }

    /* About Section */
    .about {
        padding: 64px 16px 72px;
    }
    
    .about__container {
        padding: 0 24px;
        max-width: 100%;
    }

    .about__experience {
        gap: 96px;
    }

    .about__section-header {
        padding-top: 16px;
        flex-direction: column;
    }
    
    .about__label {
        position: static;
        width: auto;
        font-size: 18.4px;
        margin-bottom: 64px;
    }
    
    .about__description {
        font-size: 36.4px;
        margin-left: 0;
        max-width: 100%;
        line-height: 1.1em;
    }
    
    .about__facts {
        height: auto;
        padding-top: 16px;
    }
    
    .about__facts-title {
        position: static;
        font-size: 17.8px;
        margin-bottom: 16px;
    }
    
    .about__facts-list {
        position: static;
        max-width: 100%;
        width: 100%; /* Reset from desktop fixed width */
        align-items: flex-start;
        gap: 16px;
    }

    .about__fact-item {
        justify-content: space-between;
        align-items: left;
        padding-bottom: 16px;
    }

    .about__fact-label {
        width: 160px;
        font-size: 18.1px;
    }

    .about__fact-value {
        font-size: 18.1px;
        /* text-align: left; */
        text-align: right;
    }
    
    /* Services Section */
    .services {
        padding: 51px 40px 51px;
    }

    .services__container {
        /* padding: 0 24px; */
        max-width: 100%;
        gap: 96px;
    }
    
    .services__header {
        min-height: auto;
        padding: 48px 0 0;
        margin-bottom: 0;
    }
    
    .services__label {
        position: static;
        margin-bottom: 46px;
        font-size: 18.4px;
    }

    .services__title {
        font-size: 64.8px;
        position: static;
        width: 100%;
    }
    
    .services__description {
        position: static;
        margin-top: 48px;
        font-size: 26px;
        max-width: 100%;
        /* max-width: 640px; */
    }

    .services__list {
        gap: 0;
        margin-top: 40px;
    }

    .service {
        display: flex; /* Reset grid to flex column for tablet */
        flex-direction: column;
        /* gap: 48px; */
        /* padding: 0 0 48px; */
        border-bottom: 1px solid var(--color-border);
    }

    .service__header {
        width: 100%;
        margin-bottom: 0;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        grid-column: auto;
    }

    .service__number {
        font-size: 17px;
        margin: 0;
    }

    .service__title {
        font-size: 36px;
        padding: 0;
        margin: 48px 0 0;
        width: 100%;
        grid-column: auto;
    }

    .service__content-wrapper {
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-top: 24px;
        grid-column: auto;
    }

    .service__subtitle {
        font-size: 18.1px;
        height: auto;
        margin-bottom: 16px;
    }

    .service__description {
        font-size: 18px;
        max-width: 100%;
    }

    .service__tags {
        margin-top: 24px;
        gap: 7px;
    }

    .service__tag {
        font-size: 14px;
        padding: 1px 10px;
    }
    
    /* Advantages Section */
    .advantages {
        padding: 0;
    }

    .advantages__container {
        padding: 48px 24px 72px;
        margin: 16px;
        max-width: calc(100% - 32px);
    }

    .advantages__header {
        margin-bottom: 64px;
        padding-top: 0;
        border-top: 1px solid var(--color-border);
        padding-top: 20px;
    }

    .advantages__label {
        position: static;
        font-size: 18.3px;
        margin-bottom: 48px;
        display: block;
    }
    
    .advantages__description {
        position: static;
        margin: 0;
        font-size: 32px;
        /* max-width: 640px; */
        max-width: 100%;
        line-height: 1.2;
    }
    
    .advantages__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        border-top: 1px solid var(--color-border);
    }

    .advantages__row {
        display: contents;
    }

    .advantage {
        border-bottom: 1px solid var(--color-border);
        padding: 48px 24px 48px 0;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .advantage:nth-child(2n) {
        padding-right: 24px;
    }

    .advantage__icon {
        width: 152px;
        height: 145px;
        margin-bottom: 12px;
    }

    .advantage__title {
        font-size: 28px;
        font-weight: 500;
    }

    .advantage__text {
        font-size: 18px;
        line-height: 1.5;
        color: var(--color-primary-light);
    }
    
    /* FAQ Section */
    .faq {
        padding: 44px 40px;
    }

    .faq__container {
        padding: 48px 0px 48px;
        flex-direction: column;
        gap: 36px;
    }

    .faq__header {
        width: 100%;
    }

    .faq__title {
        font-size: 64.8px;
        margin-bottom: 48px;
    }

    .faq__description {
        font-size: 26px;
        max-width: 100%;
        /* max-width: 640px; */
    }

    .faq__list {
        margin-top: 40px;
        max-width: 100%;
    }


    .faq__item {
        /* padding: 0 0 47px; */
    }

    .faq__question-text {
        font-size: 26px;
    }

    .faq__answer {
        font-size: 18px;
        /* padding: 24px 0 0; */
    }

    /* Footer Section */
    .footer {
        padding: 0;
    }

    .footer__marquee-text {
        font-size: 160px;
    }

    .footer__main-border {
        margin: 0 32px 16px;
    }

    .footer__content {
        /* flex-direction: column; */
        gap: 32px;
        padding: 0px 0px 0;
        margin-bottom: 120px;
    }

    .footer__info {
        max-width: 100%;
    }

    .footer__contacts {
        align-items: flex-start;
        gap: 4px;
    }

    .footer__phone, .footer__email {
        font-size: 26px;
        white-space: normal;
    }

    .footer__bottom {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        padding: 0 0px 20px;
    }
}


@media (max-width: 1440px) {
    /* Desktop 1440px */
    .service {
        grid-template-columns: 300px 324px 656px;
        /* display: flex; */
        /* justify-content: space-between; */
    }
    

}

/* Animations for Marquee Star */
@keyframes rotateStar {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.footer__marquee-star {
    animation: rotateStar 10s linear infinite;
}

/* Mobile adjustments (600px и ниже) */
@media (max-width: 600px) {
    :root {
        --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ===== 1. HERO SECTION MOBILE ===== */
    .hero {
        min-height: 100vh;
        height: 100vh;
        padding-bottom: 0;
    }

    .hero__background-image {
        /* Mobile position adjustment (shifted 20px left, 10% down) */
        object-position: calc(50% - 15vw) 30px;
        transform: scale(1) translateY(var(--hero-parallax-y, 0px));
    }

    .hero__container {
        padding: 24px 16px 0;
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 100vh;
        position: relative;
    }

    .hero__nav {
        position: static;
        order: 1;
        gap: 24px;
        width: auto;
        margin-top: 0;
        justify-content: flex-start;
    }

    .hero__nav-link {
        font-size: 20px;
        line-height: 1.35em;
    }

    .hero__text-group {
        position: static;
        order: 2;
        margin: 24px 0 0 0;
        max-width: 100%;
        transform: none !important;
        text-align: left;
    }

    .hero__title {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 24px;
        font-weight: 500;
    }

    .hero__cta {
        padding: 16px 32px 15.75px;
        height: 54px;
        margin-top: 8px;
    }

    .hero__cta-text {
        font-size: 16px;
        line-height: 0.8125em;
    }

    .hero__cta-text-wrap {
        height: 1em;
    }

    .hero__heading {
        position: absolute;
        bottom: 32px;
        left: 16px;
        right: 16px;
        font-size: 80px;
        line-height: 0.9;
        width: auto;
        height: auto;
        margin: 0;
        text-align: right;
        transform: none !important;
    }

    .hero__scroll {
        display: none;
    }

    .hero__scroll-icon {
        display: none;
    }

    /* ===== 2. ABOUT SECTION MOBILE ===== */
    .about {
        padding: 0;
        margin-top: 0;
        background-color: var(--color-bg-dark);
    }

    .about__container {
        padding: 44px 16px 60px;
    }

    .about__experience {
        gap: 54px;
    }

    .about__section-header {
        flex-direction: column;
        gap: 48px;
        position: static;
        padding: 20px 0 0;
        border-top: 1px solid rgba(250, 249, 245, 0.15);
    }

    .about__label {
        position: static;
        width: auto;
        font-size: 16px;
        line-height: 1.2em;
        color: var(--color-white);
        margin-bottom: 0;
    }

    .about__description {
        margin-left: 0;
        font-size: 22px;
        line-height: 1.3;
        text-align: left;
        color: var(--color-white);
        max-width: 987px;
    }

    .about__facts {
        height: auto;
        padding-top: 20px;
        padding-bottom: 0;
        position: static;
        border-top: 1px solid rgba(250, 249, 245, 0.15);
    }

    .about__facts-title {
        position: static;
        margin-bottom: 48px;
        font-size: 16px;
        line-height: 1.6875em;
        left: 0;
        color: rgba(250, 249, 245, 0.6);
    }

    .about__facts-list {
        position: static;
        align-items: flex-start;
        gap: 0;
        max-width: 100%;
    }

    .about__fact-item {
        flex-direction: column;
        gap: 4px;
        padding: 0 0 16px 0;
        border-bottom: 1px solid rgba(250, 249, 245, 0.15);
        margin-bottom: 0;
    }

    .about__fact-item:not(:first-child) {
        padding-top: 16px;
    }

    .about__fact-label {
        width: auto;
        font-size: 16.3px;
        line-height: 1.66em;
        color: var(--color-white);
    }

    .about__fact-value {
        font-size: 16.3px;
        line-height: 1.4;
        color: rgba(250, 249, 245, 0.6);
        text-align: left;
    }

    /* ===== 3. SERVICES SECTION MOBILE ===== */
    .services {
        padding: 51px 16px 60px;
        background-color: #FFFFFF;
    }

    .services__header {
        height: auto;
        padding-top: 20px;
        margin-bottom: 44px;
        border-top: 1px solid var(--color-border);
    }

    .services__label {
        position: static;
        width: auto;
        margin: 0 0 24px 0;
        font-size: 16px;
        line-height: 1.2em;
    }

    .services__title {
        position: static;
        margin: 0 0 15px 0;
        width: auto;
        height: auto;
        font-size: 36px;
        line-height: 1.22em;
        text-align: left;
    }

    .services__description {
        position: static;
        margin: 0;
        font-size: 20px;
        text-align: left;
        max-width: 100%;
        line-height: 1.3;
    }

    .services__list {
        gap: 0;
        border-top: 1px solid var(--color-border);
    }

    .service {
        flex-direction: column;
        gap: 0;
        padding: 20px 0 32px 0;
        border-bottom: 1px solid var(--color-border);
    }

    .service:first-child {
        border-top: none;
        padding-top: 20px;   
    }

    .service__header {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0;
        width: 100%;
        position: relative;
        /* padding: 20px 0 0 0; */
        margin-bottom: 24px;
    }

    .service__number {
        position: static;
        font-size: 15px;
        line-height: 1.5em;
        flex-shrink: 0;
        order: 1;
        margin: 0;
    }

    .service__arrow {
        display: block;
        width: 24px;
        height: 24px;
        position: static;
        order: 2;
        margin: 0;
    }

    .service__arrow img {
        width: 24px;
        height: 24px;
        display: block;
    }

    .service__title {
        width: 100%;
        margin: 0px 0 4px 0;
        font-size: 22px;
        line-height: 1.31em;
        text-align: left;
        flex-basis: 100%;
    }

    .service__content-wrapper {
        max-width: 100%;
        padding: 0;
    }

    .service__content {
        padding-bottom: 0;
        gap: 32px;
    }

    .service__info {
        gap: 8px;
    }

    .service__subtitle {
        font-size: 16px;
        line-height: 1.5;
        font-weight: 500;
        height: auto;
        margin-bottom: 8px;
    }

    .service__description {
        font-size: 16px;
        text-align: left;
        line-height: 1.5;
        color: rgba(31, 44, 54, 0.6);
    }

    .service__tags {
        display: flex;
        flex-wrap: wrap;
        column-gap: 4px;
        row-gap: 8px;
        margin-top: 0;
    }

    .service__tag {
        font-size: 13px;
        line-height: 2.08em;
        padding: 0 8px;
        height: 30px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        display: inline-block;
    }

    /* ===== 4. ADVANTAGES SECTION MOBILE ===== */
    .advantages {
        padding: 0;
        background-color: #FFFFFF;
    }

    .advantages__container {
        padding: 44px 16px;
        background-color: #FAFAFA;
        border-radius: 6px;
        margin: 6px;
        max-width: calc(100% - 12px);
    }

    .advantages__header {
        height: auto;
        margin-bottom: 44px;
        padding-top: 20px;
        border-top: 1px solid var(--color-border);
    }

    .advantages__label {
        position: static;
        font-size: 16px;
        line-height: 1.2em;
        margin-bottom: 46.8px;
    }

    .advantages__description {
        position: static;
        left: 0;
        margin: 0;
        font-size: 20px;
        text-align: left;
        max-width: 100%;
        line-height: 1.3;
    }

    .advantages__grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid var(--color-border);
    }

    .advantages__row {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-top: 0;
        border-top: none;
    }

    .advantage {
        gap: 32px;
        align-items: flex-start;
        padding-top: 32px;
        padding-bottom: 32px;
        border-bottom: 1px solid var(--color-border);
    }

    .advantage:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .advantage__icon {
        width: 152px;
        height: 145px;
        max-width: 152px;
        margin-bottom: 0;
    }

    .advantage__content {
        gap: 16px;
    }

    .advantage__title {
        font-size: 26px;
        line-height: 1.31em;
    }

    .advantage__text {
        font-size: 16px;
        text-align: left;
        line-height: 1.5;
        color: rgba(31, 44, 54, 0.6);
    }

    /* ===== 5. FAQ SECTION MOBILE ===== */
    .faq {
        padding: 44px 16px;
        background-color: #FFFFFF;
    }

    .faq__container {
        flex-direction: column;
        gap: 44px;
        padding: 24px 0 0;
        border-top: 1px solid var(--color-border);
    }

    .faq__header {
        width: 100%;
    }

    .faq__title {
        font-size: 36px;
        line-height: 1.22em;
        margin-bottom: 24px;
        text-align: left;
    }

    .faq__description {
        font-size: 20px;
        text-align: left;
        max-width: 100%;
        line-height: 1.3;
    }

    .faq__list {
        max-width: 100%;
        padding-top: 0;
        border-top: none;
        margin-top: 0;
    }

    .faq__item {
        border-bottom: 1px solid var(--color-border);
        padding: 24px 0 32px 0;
    }

    .faq__item:first-child {
        border-top: 1px solid var(--color-border);
    }

    .faq__question-wrapper {
        display: block;
        padding: 0;
        width: 100%;
        position: relative;
    }

    .faq__left {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        gap:24px;
    }

    .faq__number {
        font-size: 16px;
        line-height: 1.69em;
        color: #767676;
        /* margin-bottom: 24px; */
    }

    .faq__toggle {
        position: absolute;
        top: 0;
        right: 0;
        width: 24px;
        height: 24px;
    }

    .faq__question-text {
        width: 100%;
        font-size: 22px;
        line-height: 1.31em;
        text-align: left;
        color: var(--color-primary);
        font-weight: 500;
    }

    .faq__answer {
        padding: 0;
        font-size: 16px;
        line-height: 1.5;
        color: rgba(31, 44, 54, 0.6);
    }

    .faq__item.active .faq__answer {
        padding: 24px 0 0px;
        margin-bottom: 0px;
    }

    /* ===== 6. FOOTER SECTION MOBILE ===== */
    .footer {
        min-height: auto;
        padding-top: 44px;
    }

    .footer__border-top {
        height: 8px;
        margin:0 16px 0;
        width: auto;

    }

    .footer__marquee{
        padding: 60px 0;
    }

    .footer__marquee-text {
        font-size: 100px;
        line-height: 1.21em;
    }

    .footer__marquee-track {
        gap: 24px;
    }

    .footer__marquee-item {
        gap: 24px;
    }

    .footer__marquee-star {
        width: 32.66px;
        height: 32.66px;
        opacity: 0.3;
    }

    .footer__main-border{
        padding: 0 0 0;
        margin: 0 16px 16px;
    }

    .footer__content {
        padding: 0px 0px 24px;
        margin-bottom: 84px;
        gap: 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .footer__info {
        gap: 24px;
        max-width: 100%;
        padding: 20px 0 24px 0;
        /* border-top: 1px solid rgba(255, 255, 255, 0.15); */
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        width: 100%;
    }

    .footer__badge {
        font-size: 16px;
        line-height: 1.2em;
        margin-bottom: 24px;
    }

    .footer__description {
        font-size: 20px;
        text-align: left;
        line-height: 1.3;
    }

    .footer__contacts {
        position: static;
        align-items: flex-start;
        width: 100%;
        padding-top: 32px;
        border-top: none;
        gap: 8px;
        flex-direction: column;
    }

    .footer__phone,
    .footer__email {
        font-size: 26px;
        line-height: 1.21em;
        gap: 8px;
        justify-content: flex-start;
        text-align: left;
        padding: 0;
        width: 100%;
    }

    .footer__arrow {
        width: 32px;
        height: 32px;
    }

    .footer__bottom {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 16px;
        width: 100%;
        padding: 0 0px 8px;
    }

    .footer__copyright {
        font-size: 16px;
        line-height: 1.64em;
        opacity: 0.7;
    }

    .footer__social {
        justify-content: flex-end;
    }
}

/* Extra small screens */
@media (max-width: 375px) {
    .hero__heading {
        font-size: 64px;
    }

    .footer__phone,
    .footer__email {
        font-size: 24px;
    }
}

@media (max-width: 320px) {
    .hero__heading {
        font-size: 48px;
        line-height: 1;
    }

    .footer__phone,
    .footer__email {
        font-size: 20px;
    }
}
